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
ba597694175d6671a7e19b840d418421ce576468
3,218
hpp
C++
src/factor.hpp
mgbellemare/SkipCTS
ff142fa87bc16b1e2e381cf4f9e4959e754b9028
[ "Apache-2.0" ]
48
2015-01-27T10:19:27.000Z
2022-02-02T07:49:56.000Z
src/factor.hpp
GitHubBeinner/SkipCTS
48af5c74ed43f724c61cdcf2e1a022f48c460ed7
[ "Apache-2.0" ]
2
2017-02-12T21:42:47.000Z
2018-02-27T01:44:10.000Z
src/factor.hpp
GitHubBeinner/SkipCTS
48af5c74ed43f724c61cdcf2e1a022f48c460ed7
[ "Apache-2.0" ]
10
2016-06-15T07:06:33.000Z
2020-08-10T12:04:21.000Z
#ifndef __FACTOR_HPP__ #define __FACTOR_HPP__ /****************************** Author: Joel Veness Date: 2011 ******************************/ #include "common.hpp" // a generic structure for combining compressors for byte oriented data template <typename T, size_t N> class Factor : public Co...
23.489051
86
0.585768
mgbellemare
ba6100fde06249aa43bfcc6992e3430ba02c6454
1,082
cpp
C++
libs/numeric/linear_algebra/test/vector_test_rolf.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
libs/numeric/linear_algebra/test/vector_test_rolf.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
libs/numeric/linear_algebra/test/vector_test_rolf.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
#include<boost/numeric/ublas/vector.hpp> #include<boost/numeric/ublas/io.hpp> // #include "vector_concepts.hpp" #include <boost/numeric/linear_algebra/vector_concepts.hpp> typedef double Type; namespace ublas = boost::numeric::ublas; typedef ublas::vector<Type> Vector; namespace math { concept_map AdditiveAbelian...
27.74359
340
0.735675
lit-uriy
ba66771c3bd8825de3c402918534382e02f7d236
4,940
cpp
C++
accelerator/compression/ZlibStreamCompressor.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
2
2019-05-13T02:34:51.000Z
2019-11-14T06:52:44.000Z
accelerator/compression/ZlibStreamCompressor.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
null
null
null
accelerator/compression/ZlibStreamCompressor.cpp
Yeolar/accelerator
04d36eac69490df9ae71c7cfd71481d83ca51914
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Facebook, Inc. * Copyright 2017 Yeolar * * 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 ap...
31.069182
79
0.664575
Yeolar
ba682e4e3c88c10e6bda68d00264237a3bd1d7d8
6,651
cpp
C++
hlp/dlls/carnet.cpp
Parpaing-1337-Krew/HL-Parpaing-updated
cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a
[ "Unlicense" ]
2
2020-01-08T10:13:18.000Z
2020-07-14T12:50:08.000Z
hlp/dlls/carnet.cpp
Parpaing-1337-Krew/HL-Parpaing-updated
cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a
[ "Unlicense" ]
null
null
null
hlp/dlls/carnet.cpp
Parpaing-1337-Krew/HL-Parpaing-updated
cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a
[ "Unlicense" ]
null
null
null
#include "extdll.h" #include "util.h" #include "cbase.h" #include "weapons.h" #include "player.h" LINK_ENTITY_TO_CLASS( weapon_carnet, CCarnet ); enum carnet_e { CARNET_IDLE = 0, CARNET_IDLE2, CARNET_ATTACK, CARNET_HOLSTER, CARNET_DRAW, }; // -------------------------------------------- // U...
27.37037
194
0.574049
Parpaing-1337-Krew
ba6a30c247258445d3cf7673c7de9cbaa36b8230
3,959
cpp
C++
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/src/Utils/Client.cpp
introlab/opentera-webrtc
cf92ccd0b239646f6caf68e3638b8f28598ea609
[ "Apache-2.0" ]
12
2021-05-30T18:32:36.000Z
2022-03-25T12:31:57.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/src/Utils/Client.cpp
introlab/opentera-webrtc
cf92ccd0b239646f6caf68e3638b8f28598ea609
[ "Apache-2.0" ]
22
2021-03-17T12:18:42.000Z
2022-03-19T19:12:51.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/src/Utils/Client.cpp
introlab/opentera-webrtc-teleop
ecb671635832d6d66e0f2f0a7e90b0877ce7c338
[ "Apache-2.0" ]
1
2022-02-07T21:30:33.000Z
2022-02-07T21:30:33.000Z
#include <OpenteraWebrtcNativeClient/Utils/Client.h> using namespace opentera; using namespace std; bool opentera::operator==(const sio::message& m1, const sio::message& m2) { if (m1.get_flag() != m2.get_flag()) { return false; } switch (m1.get_flag()) { case sio::message::flag_in...
27.493056
104
0.547866
introlab
ba6b28d9bb741c070d86d00659946b69938084c1
53,813
cpp
C++
src/liboslcomp/oslcomp.cpp
brechtvl/OpenShadingLanguage
71c4fb263fcdc88decf2b86d346836f7a2b4d463
[ "BSD-3-Clause" ]
1
2019-08-08T04:31:36.000Z
2019-08-08T04:31:36.000Z
src/liboslcomp/oslcomp.cpp
brechtvl/OpenShadingLanguage
71c4fb263fcdc88decf2b86d346836f7a2b4d463
[ "BSD-3-Clause" ]
null
null
null
src/liboslcomp/oslcomp.cpp
brechtvl/OpenShadingLanguage
71c4fb263fcdc88decf2b86d346836f7a2b4d463
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of co...
35.380013
101
0.566852
brechtvl
ba6bf1d4d74ecc1ae8703547a00746bd2410bb94
14,219
cxx
C++
Src/Projects/shader_SuperDynamicLighting/SuperDynamicLighting_shader.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
null
null
null
Src/Projects/shader_SuperDynamicLighting/SuperDynamicLighting_shader.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
null
null
null
Src/Projects/shader_SuperDynamicLighting/SuperDynamicLighting_shader.cxx
musterchef/OpenMoBu
b98e9f8d6182d84e54da1b790bbe69620ea818de
[ "BSD-3-Clause" ]
null
null
null
// SuperDynamicLighting_shader.cxx /* Sergei <Neill3d> Solokhin 2018 GitHub page - https://github.com/Neill3d/OpenMoBu Licensed under The "New" BSD License - https ://github.com/Neill3d/OpenMoBu/blob/master/LICENSE */ // Class declaration #include "SuperDynamicLighting_shader.h" #include "SuperShaderModelInfo.h" #i...
27.449807
244
0.717983
musterchef
ba6c36dbbcf34975ef6d78b779bf32d8dcf7a97e
578
hpp
C++
src/Builtins/Lists/ListsModule.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
1
2021-03-12T13:39:17.000Z
2021-03-12T13:39:17.000Z
src/Builtins/Lists/ListsModule.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
null
null
null
src/Builtins/Lists/ListsModule.hpp
pawel-jarosz/nastya-lisp
813a58523b741e00c8c27980fe658b546e9ff38c
[ "MIT" ]
null
null
null
// // Created by caedus on 21.12.2020. // #pragma once #include <string> #include "Modules/ModuleBuilder.hpp" #include "Builtins/Lists/ListsEvaluators.hpp" namespace nastya::builtins::lists { const std::string MODULE_NAME = "Lang.Lists"; using Builder = modules::ModuleBuilder<HeadEvaluator, TailEvaluator, QuoteEva...
24.083333
85
0.754325
pawel-jarosz
ba6d1a8a428059866e62a5786b783efc64f029a2
9,803
cpp
C++
regress/ged/push.cpp
luzpaz/brlcad
9a63f606548d12e18f7f4b91b0a609c1862312f7
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
regress/ged/push.cpp
luzpaz/brlcad
9a63f606548d12e18f7f4b91b0a609c1862312f7
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
regress/ged/push.cpp
luzpaz/brlcad
9a63f606548d12e18f7f4b91b0a609c1862312f7
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* R E G R E S S _ P U S H . C P P * BRL-CAD * * Copyright (c) 2020-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * versi...
33.230508
190
0.630113
luzpaz
ba6d2cb4d9b45d4972a3e37d4608c558a464d707
593
cpp
C++
785A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
785A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
785A.cpp
dipubiswas1303/codeforces_solve
ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; /* NAME : DIPU BISWAS JUST CSE 2019 - 2020 PROBLEM CODE : 785A LINK : https://codeforces.com/problemset/problem/785/A */ int main() { int t, sum = 0; cin >> t; while(t--) { string a; cin >> a; if(a[0] == 'T') ...
16.472222
57
0.409781
dipubiswas1303
ba6e04e48ffb434f8c5bc2e8a4646e4dd5ccf55b
406,115
tpp
C++
uppsrc/ide/app.tpp/Assist_en-us.tpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
uppsrc/ide/app.tpp/Assist_en-us.tpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
uppsrc/ide/app.tpp/Assist_en-us.tpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
topic "Assist++"; [l288;i1120;a17;O9;~~~.1408;2 $$1,0#10431211400427159095818037425705:param] [a83;*R6 $$2,5#31310162474203024125188417583966:caption] [H4;b83;*4 $$3,5#07864147445237544204411237157677:title] [i288;O9;C2 $$4,6#40027414424643823182269349404212:item] [b42;a42;ph2 $$5,5#4541300047534217475409124418055...
1,245.751534
48,871
0.959492
UltimateScript
ba72f34a97aa3b29f0b9bf199c01d1041d16a9b1
249,840
cpp
C++
source/keyboard_mouse.cpp
cpascal/LuaAutoHotkey
5acf40c2014093754106281ba7617060f686ffee
[ "BSD-3-Clause" ]
null
null
null
source/keyboard_mouse.cpp
cpascal/LuaAutoHotkey
5acf40c2014093754106281ba7617060f686ffee
[ "BSD-3-Clause" ]
null
null
null
source/keyboard_mouse.cpp
cpascal/LuaAutoHotkey
5acf40c2014093754106281ba7617060f686ffee
[ "BSD-3-Clause" ]
null
null
null
/* AutoHotkey Copyright 2003-2009 Chris Mallett (support@autohotkey.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 License, or (at your option) any later version. Thi...
56.95008
336
0.735098
cpascal
ba7483e7d1040721503ac4dca15f9cbfc3b303c2
14,680
cc
C++
mistral/arch.cc
MyskYko/nextpnr
4707bfc3c9b3f6605e335586333c6337c2896224
[ "0BSD" ]
null
null
null
mistral/arch.cc
MyskYko/nextpnr
4707bfc3c9b3f6605e335586333c6337c2896224
[ "0BSD" ]
null
null
null
mistral/arch.cc
MyskYko/nextpnr
4707bfc3c9b3f6605e335586333c6337c2896224
[ "0BSD" ]
null
null
null
/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2021 Lofty <dan.ravensloft@gmail.com> * * 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 ...
30.081967
117
0.623297
MyskYko
ba7557b4902636f0d5563ea825a20d9ebb50a5bf
15,052
cpp
C++
opencl/test/unit_test/helpers/memory_properties_helpers_tests.cpp
rscohn2/compute-runtime
c0b6e6852d1c3870b089de651c3dd27ca82b1431
[ "MIT" ]
1
2020-09-03T17:10:38.000Z
2020-09-03T17:10:38.000Z
opencl/test/unit_test/helpers/memory_properties_helpers_tests.cpp
Acidburn0zzz/compute-runtime
79ba0ff1f963c80aec47384728d3733995a0e09c
[ "MIT" ]
null
null
null
opencl/test/unit_test/helpers/memory_properties_helpers_tests.cpp
Acidburn0zzz/compute-runtime
79ba0ff1f963c80aec47384728d3733995a0e09c
[ "MIT" ]
null
null
null
/* * Copyright (C) 2019-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/test/unit_test/mocks/mock_device.h" #include "shared/test/unit_test/mocks/ult_device_factory.h" #include "opencl/source/helpers/memory_properties_helpers.h" #include "opencl/source/mem_obj/mem_obj_helper.h" #inc...
49.35082
135
0.732261
rscohn2
ba759b8fcb848d440e6d9a154daa88494d6299d8
27,354
hpp
C++
esp/bindings/SOAP/Platform/soapmessage.hpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
esp/bindings/SOAP/Platform/soapmessage.hpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
esp/bindings/SOAP/Platform/soapmessage.hpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
40.705357
138
0.672187
oxhead
ba76ec310ab996d0702c19fa8d6da305c5c67e1c
5,633
cpp
C++
gzip.cpp
nvbodong/cryptopp-NV_8_2_0
d9226d28cbf15cee40dad53a828f78bf7631fa37
[ "BSL-1.0" ]
null
null
null
gzip.cpp
nvbodong/cryptopp-NV_8_2_0
d9226d28cbf15cee40dad53a828f78bf7631fa37
[ "BSL-1.0" ]
null
null
null
gzip.cpp
nvbodong/cryptopp-NV_8_2_0
d9226d28cbf15cee40dad53a828f78bf7631fa37
[ "BSL-1.0" ]
null
null
null
// gzip.cpp - originally written and placed in the public domain by Wei Dai #include "pch.h" #include "gzip.h" #include "argnames.h" NAMESPACE_BEGIN(CryptoPP_NV_2) // Checks whether the character is valid for ISO/IEC 8859-1 as required by RFC 1952 static inline bool Is8859Character(char c) { const unsigne...
26.952153
96
0.665542
nvbodong
ba78390bfc840a22d880e234fcc8cf6f38249a7c
1,594
cpp
C++
THEVERSION/lib/SafeTexture.cpp
gordonfreeman424/GSGE
8814710ed89fb1abb05b595aa6af6f8893aafee5
[ "BSD-2-Clause" ]
4
2020-11-01T01:53:06.000Z
2021-06-04T02:02:30.000Z
THEVERSION/lib/SafeTexture.cpp
gordonfreeman424/GSGE
8814710ed89fb1abb05b595aa6af6f8893aafee5
[ "BSD-2-Clause" ]
null
null
null
THEVERSION/lib/SafeTexture.cpp
gordonfreeman424/GSGE
8814710ed89fb1abb05b595aa6af6f8893aafee5
[ "BSD-2-Clause" ]
null
null
null
#include "SafeTexture.h" #include <cassert> #include <iostream> namespace gekRender { SafeTexture::SafeTexture(GLuint texture_object) { m_texture = texture_object; DaddyO = nullptr; TextureUpdates = false; if (texture_object) isnull = false; else isnull = true; } SafeTexture::SafeTexture(Texture...
27.482759
102
0.695107
gordonfreeman424
ba7bd9cd59eef41be13be1ed1728fded3897e2e4
2,286
cpp
C++
test/test_chain_iterator.cpp
JohnReid/myrrh
09dc97c739232c03493e2344e64735b30eea5f99
[ "MIT" ]
1
2015-06-04T00:39:51.000Z
2015-06-04T00:39:51.000Z
test/test_chain_iterator.cpp
JohnReid/myrrh
09dc97c739232c03493e2344e64735b30eea5f99
[ "MIT" ]
null
null
null
test/test_chain_iterator.cpp
JohnReid/myrrh
09dc97c739232c03493e2344e64735b30eea5f99
[ "MIT" ]
null
null
null
/** @file Copyright John Reid 2006, 2013, 2015 */ #define BOOST_TEST_MODULE chain iterator // Generate main() in this object file #ifdef _MSC_VER # pragma warning( disable : 4244 ) #endif //_MSC_VER #include "myrrh/chain_iterator.h" #include <boost/progress.hpp> #include <boost/test/unit_test.hpp> #include <boos...
30.891892
141
0.646107
JohnReid
ba7f4071802d34e076dfff87bfce98aec61aa837
1,865
hpp
C++
fgsig/include/fgsig/any_connection.hpp
fgoujeon/signal
f798522534788b9ab1e25a0e38db6faf20fb6f3a
[ "BSL-1.0" ]
34
2018-10-29T23:37:48.000Z
2022-02-15T16:12:47.000Z
fgsig/include/fgsig/any_connection.hpp
fgoujeon/signal
f798522534788b9ab1e25a0e38db6faf20fb6f3a
[ "BSL-1.0" ]
3
2018-11-02T19:56:22.000Z
2019-03-30T16:30:07.000Z
fgsig/include/fgsig/any_connection.hpp
fgoujeon/signal
f798522534788b9ab1e25a0e38db6faf20fb6f3a
[ "BSL-1.0" ]
3
2018-11-03T04:51:20.000Z
2021-03-25T09:21:25.000Z
//Copyright Florian Goujeon 2018 - 2019. //Distributed under the Boost Software License, Version 1.0. //(See accompanying file LICENSE_1_0.txt or copy at //https://www.boost.org/LICENSE_1_0.txt) //Official repository: https://github.com/fgoujeon/signal #ifndef FGSIG_ANY_CONNECTION_HPP #define FGSIG_ANY_CONNECTION_HPP ...
23.024691
77
0.57319
fgoujeon
ba8124b5c3ac15fc110cefe94101ea769462756a
6,830
cpp
C++
src/contacts/contact-point.cpp
Rascof/tsid
567982b46ab06522bf414cad180d941a7cc532a8
[ "BSD-2-Clause" ]
null
null
null
src/contacts/contact-point.cpp
Rascof/tsid
567982b46ab06522bf414cad180d941a7cc532a8
[ "BSD-2-Clause" ]
null
null
null
src/contacts/contact-point.cpp
Rascof/tsid
567982b46ab06522bf414cad180d941a7cc532a8
[ "BSD-2-Clause" ]
null
null
null
// // Copyright (c) 2017 CNRS, NYU, MPI Tübingen // // This file is part of tsid // tsid is free software: you can redistribute it // and/or modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation, either version // 3 of the License, or (at your option) any lat...
29.313305
105
0.688726
Rascof
ba82018eafa170caa6d16c48ff2356d63921da3b
26,542
cpp
C++
samples/meta_reader/main.cpp
stephenatwork/xlang
0747c3b362c02a9736b3a4ca1bd3e005b4f52279
[ "MIT" ]
1
2019-10-23T20:33:45.000Z
2019-10-23T20:33:45.000Z
samples/meta_reader/main.cpp
stephenatwork/xlang
0747c3b362c02a9736b3a4ca1bd3e005b4f52279
[ "MIT" ]
null
null
null
samples/meta_reader/main.cpp
stephenatwork/xlang
0747c3b362c02a9736b3a4ca1bd3e005b4f52279
[ "MIT" ]
null
null
null
#include "pch.h" using namespace std::chrono; using namespace std::experimental::filesystem; using namespace std::string_view_literals; using namespace xlang; using namespace xlang::meta::reader; using namespace xlang::text; using namespace xlang::cmd; template <typename...T> struct overloaded : T... { using T::opera...
27.001017
127
0.483724
stephenatwork
ba835836a663cb8777696f7115262fc31639ccc7
148
cpp
C++
OpenROV2x/CModule.cpp
pictographer/pi-i2c
d3b4c9faf5cd17b37f9e0863c4559c2ea06bdd0e
[ "MIT" ]
1
2018-04-08T13:41:33.000Z
2018-04-08T13:41:33.000Z
OpenROV2x/CModule.cpp
pictographer/pi-i2c
d3b4c9faf5cd17b37f9e0863c4559c2ea06bdd0e
[ "MIT" ]
null
null
null
OpenROV2x/CModule.cpp
pictographer/pi-i2c
d3b4c9faf5cd17b37f9e0863c4559c2ea06bdd0e
[ "MIT" ]
null
null
null
// Includes #include <Arduino.h> #include "CModule.h" #include "NModuleManager.h" CModule::CModule() { NModuleManager::RegisterModule( this ); }
13.454545
40
0.716216
pictographer
ba8443dfc9584a31f2f601c14d2e29779a8ef2a3
1,392
cpp
C++
module/spikes_t/src/SpikeS.cpp
fderue/SPIKES
ae224f4c01991cbccb80b19bdd4d0d18201604b9
[ "MIT" ]
5
2017-02-21T05:12:26.000Z
2019-05-04T04:25:50.000Z
module/spikes_t/src/SpikeS.cpp
fderue/SPIKES
ae224f4c01991cbccb80b19bdd4d0d18201604b9
[ "MIT" ]
null
null
null
module/spikes_t/src/SpikeS.cpp
fderue/SPIKES
ae224f4c01991cbccb80b19bdd4d0d18201604b9
[ "MIT" ]
null
null
null
#include "spikes_t/SpikeS.h" void SpikeS::createBranchesKp2(const list<KeyPoint2*>& l_kp2) { v_branch.resize(0); float radius2 = pow(m_searchR, 2); for (auto& it : l_kp2) { float d2 = pow((it->kp.pt.x - xy.x), 2) + pow((it->kp.pt.y - xy.y), 2); if (d2<radius2) { Point relpos = Point((int)it->kp.pt.x, (i...
22.095238
89
0.608477
fderue
ba8477492caf6c272da893bb7c3dd8fcb0a26941
4,428
hpp
C++
engine/src/vulkan/module/overlay/UIManager.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/module/overlay/UIManager.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/module/overlay/UIManager.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
#pragma once #include <pch.hpp> #include <vulkan/vulkan.h> #include <vulkan/LogicalDevice.hpp> #include <vulkan/module/overlay/element/StaticElement.hpp> #include <vulkan/util/CommandBufferHolder.hpp> #include <vulkan/util/CommandRecorderProvider.hpp> struct tElementObject { cUIElement* ppElement = nullptr; s...
31.183099
111
0.672764
Velikss
ba87c7fab27d1d100c3302ff8c071249493f29d3
8,765
cpp
C++
SPOJ/ORDERSET.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
SPOJ/ORDERSET.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
SPOJ/ORDERSET.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<deque> using namespace std; typedef struct node { struct node* left; struct node* right; int height; int data; int number; }node; node* generate(int key,int height1) { node* n = new node; n->left = NULL; n->right = NULL; // if(p!=NULL)n->parent = p; ...
25.931953
149
0.548888
Mindjolt2406
ba8a3b5da3ad402bcff47d797519d8c5430ecd01
958
hh
C++
PacGeom/PacPieceTraj.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacGeom/PacPieceTraj.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacGeom/PacPieceTraj.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // Name: // PacPieceTraj // Description: // Piecewise helix, but removing all the 'diff' stuff. // Environment: // Software developed for PACRAT / SuperB // Copyright Information: // Copyright (C) 2008 Lawrence Berkeley Laboratory // Aut...
30.903226
76
0.621086
brownd1978
ba94c9d3d3881c0b58dfcbf7332175884abfdd9e
1,399
cpp
C++
LinearRegression.cpp
aidenfrog/c-Machine-Learning-Library-WIP-
a58542ca8fed167fa2e5e8ef8ce022dcd9bed29c
[ "MIT" ]
null
null
null
LinearRegression.cpp
aidenfrog/c-Machine-Learning-Library-WIP-
a58542ca8fed167fa2e5e8ef8ce022dcd9bed29c
[ "MIT" ]
null
null
null
LinearRegression.cpp
aidenfrog/c-Machine-Learning-Library-WIP-
a58542ca8fed167fa2e5e8ef8ce022dcd9bed29c
[ "MIT" ]
null
null
null
#include "LinearRegression.h" #include <cstdlib> namespace Metagross { LinearRegression::LinearRegression() { m = 0; n = 2; initTheta(); } LinearRegression::LinearRegression(int features) { m = 0; n = features; initTheta(); } LinearRegression::LinearRegression(double a) { m = 0; n = 2; initThe...
19.430556
72
0.619728
aidenfrog
ba9531f0cc4746ab15f8d1b54a73bca3a00cd0ac
1,242
cpp
C++
Dynamic Programming/EqualSumPartition_DP_TopDown.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Dynamic Programming/EqualSumPartition_DP_TopDown.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Dynamic Programming/EqualSumPartition_DP_TopDown.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; bool EqualSumPart(vector<int>& arr, int n){ int sum = 0; for(int i=0;i<n;++i){ sum = sum + arr[i]; } if(sum%2!=0){ return false; } else if(sum%2==0){ vector<vector<bool>> t; for(int i=0;i<n+1;++i){ vector<...
20.032258
60
0.400966
parth1614
ba95ee3cfbf5217429f64a8cb077cf9351152afb
9,101
hpp
C++
source/backend/cpu/BinaryUtils.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1
2021-09-17T03:22:16.000Z
2021-09-17T03:22:16.000Z
source/backend/cpu/BinaryUtils.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/BinaryUtils.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
#include <math.h> #include <algorithm> #include "compute/CommonOptFunction.h" #include "MNN_generated.h" template <typename _Arg1, typename _Arg2, typename _ErrorCode> struct BinaryMax { _ErrorCode operator()(const _Arg1& x, const _Arg2& y) const { return std::max(x, y); } }; template <typename _Arg1,...
30.850847
121
0.593781
JujuDel
ba971debe07ae6bf85e5bb426414ef350c87544d
656
hpp
C++
SKM Client API/LicenseKeyChecker.hpp
svedi-travis/skm_temp
1b10527a2f3ebd384575544100fe681bc19fa4b2
[ "BSD-2-Clause" ]
null
null
null
SKM Client API/LicenseKeyChecker.hpp
svedi-travis/skm_temp
1b10527a2f3ebd384575544100fe681bc19fa4b2
[ "BSD-2-Clause" ]
null
null
null
SKM Client API/LicenseKeyChecker.hpp
svedi-travis/skm_temp
1b10527a2f3ebd384575544100fe681bc19fa4b2
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "LicenseKey.hpp" namespace serialkeymanager_com { class LicenseKey; class LicenseKeyChecker { bool status_; LicenseKey const* key_; public: LicenseKeyChecker(LicenseKey const* license_key); explicit operator bool() const; LicenseKeyChecker& has_feature(int feature); LicenseKeyCh...
23.428571
74
0.78811
svedi-travis
ba9808e877a90543c12e055f06c6514c1258c467
3,490
cpp
C++
source/math/distribution/distribution1D.cpp
xh5a5n6k6/cadise
797b116b96d7d3989b58454422501f6ace04c4b8
[ "MIT" ]
33
2019-04-15T16:42:27.000Z
2021-01-23T09:54:48.000Z
source/math/distribution/distribution1D.cpp
xh5a5n6k6/cadise
797b116b96d7d3989b58454422501f6ace04c4b8
[ "MIT" ]
null
null
null
source/math/distribution/distribution1D.cpp
xh5a5n6k6/cadise
797b116b96d7d3989b58454422501f6ace04c4b8
[ "MIT" ]
null
null
null
#include "math/distribution/distribution1D.h" #include "fundamental/assertion.h" #include "math/math.h" namespace cadise { Distribution1D::Distribution1D() = default; Distribution1D::Distribution1D(const real* const value, const std::size_t sizeNumber) : _cdf(sizeNumber + 1) { CADISE_ASSERT(value); _d...
27.480315
87
0.629799
xh5a5n6k6
ba9977bb6ada7ffce6a4c11dc4e5678ada7cf470
3,916
cpp
C++
src/other/ext/openscenegraph/src/OpenThreads/win32/Win32ThreadBarrier.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
1
2019-10-23T16:17:49.000Z
2019-10-23T16:17:49.000Z
src/other/openscenegraph/src/OpenThreads/win32/Win32ThreadBarrier.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/openscenegraph/src/OpenThreads/win32/Win32ThreadBarrier.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
1
2018-12-21T21:09:47.000Z
2018-12-21T21:09:47.000Z
/* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * i...
26.639456
82
0.555924
lf-
ba99b27431500dea12701c734a823c6e47fe6472
519
cpp
C++
recipes/libsigcpp/2.x.x/test_package/test_package.cpp
dyndrite/conan-center-index
106b5c2f532d5129e7ca1997e29e4e105bb3018c
[ "MIT" ]
1
2021-11-11T03:07:13.000Z
2021-11-11T03:07:13.000Z
recipes/libsigcpp/2.x.x/test_package/test_package.cpp
dyndrite/conan-center-index
106b5c2f532d5129e7ca1997e29e4e105bb3018c
[ "MIT" ]
null
null
null
recipes/libsigcpp/2.x.x/test_package/test_package.cpp
dyndrite/conan-center-index
106b5c2f532d5129e7ca1997e29e4e105bb3018c
[ "MIT" ]
null
null
null
/* Copyright 2003 - 2016, The libsigc++ Development Team * * Assigned to the public domain. Use as you wish without * restriction. */ #include <iostream> #include <string> #include <sigc++/sigc++.h> // make sure that sigc++config.h can be included #include <sigc++config.h> void on_print(const std::string &str...
20.76
59
0.680154
dyndrite
ba9a652e5ede8f02f9268cd19443d68a886c13c0
167
cpp
C++
src/atcoder/abc008/a/sol_0.cpp
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
1
2021-07-11T03:20:10.000Z
2021-07-11T03:20:10.000Z
src/atcoder/abc008/a/sol_0.cpp
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
39
2021-07-10T05:21:09.000Z
2021-12-15T06:10:12.000Z
src/atcoder/abc008/a/sol_0.cpp
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int s, t; cin >> s >> t; cout << t - s + 1 << '\n'; }
13.916667
30
0.556886
kagemeka
ba9aadd959936566085482cd2733e0a624b3a33a
5,077
cpp
C++
branch/old_angsys/angsys_beta1/source/angsys/angsys.shared/source/files/input_text_file.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta1/source/angsys/angsys.shared/source/files/input_text_file.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta1/source/angsys/angsys.shared/source/files/input_text_file.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
/*********************************************************************************************************************/ /* File Name: input_text_file.cpp */ /* Author: Ing. Jesus Rocha <chuyangel.rm@gmail.com>, July 2016. ...
30.401198
165
0.609415
ChuyX3
ba9ba202a7ff2cdd3d8ea2127e6d9ed2e2256e84
13,234
cc
C++
src/arch/x86/bios/intelmp.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-05-04T13:23:30.000Z
2021-05-04T13:23:30.000Z
src/arch/x86/bios/intelmp.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-04-17T17:13:56.000Z
2021-04-17T17:13:56.000Z
src/arch/x86/bios/intelmp.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-08-23T05:37:55.000Z
2021-08-23T05:37:55.000Z
/* * Copyright (c) 2008 The Hewlett-Packard Development Company * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardwar...
33.335013
79
0.689134
fei-shan
baa13dd731b3fd03386451d4624ed05b655ac103
5,495
hpp
C++
Connect6/cppbind/headers/decl/connect6.hpp
revsic/AlphaZero-Connect6
802884c14b5eeac711b42cea96c2c7a39a7690bf
[ "MIT" ]
19
2018-08-27T14:31:57.000Z
2021-04-15T06:24:40.000Z
Connect6/cppbind/headers/decl/connect6.hpp
revsic/AlphaZero-Connect6
802884c14b5eeac711b42cea96c2c7a39a7690bf
[ "MIT" ]
14
2018-11-16T17:53:30.000Z
2019-03-12T10:39:36.000Z
Connect6/cppbind/headers/decl/connect6.hpp
revsic/AlphaZero-Connect6
802884c14b5eeac711b42cea96c2c7a39a7690bf
[ "MIT" ]
2
2018-12-27T06:37:05.000Z
2019-09-10T09:22:47.000Z
#ifndef CONNECT6_DEC_H #define CONNECT6_DEC_H #include <cstring> #include <memory> #include <string> #include <tuple> #include <vector> namespace Connect6_RustFFI { constexpr size_t BOARD_SIZE = 15; constexpr size_t BOARD_CAPACITY = BOARD_SIZE * BOARD_SIZE; using Callback = void(*)(int player, float* val...
28.035714
122
0.559418
revsic
baa40439e2811fc71fe1432b51ee2750286cf1c0
1,948
cpp
C++
terrain.cpp
Wiolarz/cpp_dungeon
c26b34936cef2ec0f828ec66abcc79029c443e31
[ "Apache-2.0" ]
null
null
null
terrain.cpp
Wiolarz/cpp_dungeon
c26b34936cef2ec0f828ec66abcc79029c443e31
[ "Apache-2.0" ]
null
null
null
terrain.cpp
Wiolarz/cpp_dungeon
c26b34936cef2ec0f828ec66abcc79029c443e31
[ "Apache-2.0" ]
null
null
null
/* */ #include "terrain.h" #include "jobs.h" #include "balance.h" #include "economy.h" // from economy import roman_numbers /* def name_generator(): prefix = ["", "Green", "Dark", "Toxic", "Inferno", "Orc", "Goblin", "Dragon"] core = ["Forest", "Cave", "Dungeon", "Town", "Village", "Mountains", "Graveyar...
26.324324
104
0.618583
Wiolarz
baa4b218b1eaf9afb1123e2538549163362a6d5d
2,229
cc
C++
chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// 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 "chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.h" #include "base/values.h" #include "chrome/browser/profiles/profile.h" #inc...
37.779661
80
0.770749
kjthegod
baa6137d5acc4efed5439500ba49d1ef13fe9643
985
cpp
C++
Chapter11/dtime/timedemo.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2019-08-13T17:51:24.000Z
2019-08-13T17:51:24.000Z
Chapter11/dtime/timedemo.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
null
null
null
Chapter11/dtime/timedemo.cpp
yapbenzet/absolute-c-plusplus
67adef6c177e7ef3c71406cd26cef2a944fd0d19
[ "MIT" ]
1
2020-06-05T13:37:56.000Z
2020-06-05T13:37:56.000Z
#include <iostream> #include "dtime.h" void readHour(int& theHour); int main() { using DTimeSavitch::DigitalTime; using std::cout; using std::cin; using std::endl; int theHour; readHour(theHour); DigitalTime clock(theHour, 0), oldClock; oldClock = clock; clock.advance(15); if(clock == oldClock...
20.957447
64
0.616244
yapbenzet
baa8e29c32064a8fa8d5ac92c606eebb7593ff0a
6,168
cc
C++
shell/platform/embedder/tests/embedder_test_backingstore_producer.cc
ModProg/engine
93cb5dbbc70092b5c675ebf53fde7dea39086382
[ "BSD-3-Clause" ]
13
2020-08-09T10:30:50.000Z
2021-09-06T18:26:05.000Z
shell/platform/embedder/tests/embedder_test_backingstore_producer.cc
christopherfujino/engine
14c3686153b1af6d8766aebd20a3c1b0d795ac77
[ "BSD-3-Clause" ]
1
2020-10-31T01:10:11.000Z
2020-10-31T01:10:11.000Z
shell/platform/embedder/tests/embedder_test_backingstore_producer.cc
christopherfujino/engine
14c3686153b1af6d8766aebd20a3c1b0d795ac77
[ "BSD-3-Clause" ]
9
2021-03-11T04:52:17.000Z
2021-12-17T09:19:06.000Z
// Copyright 2013 The Flutter 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 "flutter/shell/platform/embedder/tests/embedder_test_backingstore_producer.h" #include "flutter/fml/logging.h" #include "third_party/skia/include...
34.458101
86
0.713359
ModProg
baab0f2df56bc5f253ca4250cbe20f4ded927fff
1,110
cpp
C++
src/sockets/tcp6.cpp
YuriyLisovskiy/xalwart.server
6bc008167f738c0cf5a28293b38886b0d1d79454
[ "Apache-2.0" ]
null
null
null
src/sockets/tcp6.cpp
YuriyLisovskiy/xalwart.server
6bc008167f738c0cf5a28293b38886b0d1d79454
[ "Apache-2.0" ]
null
null
null
src/sockets/tcp6.cpp
YuriyLisovskiy/xalwart.server
6bc008167f738c0cf5a28293b38886b0d1d79454
[ "Apache-2.0" ]
null
null
null
/** * socket/tcp6.cpp * * Copyright (c) 2021 Yuriy Lisovskiy */ #include "./tcp6.h" // C++ libraries. #include <netinet/tcp.h> #if defined(__linux__) || defined(__APPLE__) #include <arpa/inet.h> #endif // Server libraries. #include "../exceptions.h" __SERVER_BEGIN__ void TCP6Socket::set_options() { int optio...
23.617021
107
0.727928
YuriyLisovskiy
baab9d8071b8bb2794f9a672dd55b9c1cddcf584
28,226
cpp
C++
src/mame/drivers/wyvernf0.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/wyvernf0.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/wyvernf0.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Luca Elia /*************************************************************************** Wyvern F-0 (1985, Taito) driver by Luca Elia Typical Taito mid-80s hardware but with dual video output. Sound board: Z80, 2 x YM2149, OKI M5232 CPU board: Z80, ROM and RAM, 687...
37.188406
248
0.673989
Robbbert
baad72da6556a6125156879bde8eab090eb45b0e
1,670
cpp
C++
CCF-CSP/201403-3.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
CCF-CSP/201403-3.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
CCF-CSP/201403-3.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
//Author:LanceYu #include<iostream> #include<string> #include<cstring> #include<cstdio> #include<cctype> #include<vector> #include<cstdlib> #include<queue> #include<set> #include<ctime> #include<algorithm> #include<complex> #include<cmath> #include<array> #include<stack> #include<bitset> #define ll long long using name...
16.7
61
0.528144
windcry1
bab121be66617749e38e8f1a4ffe430f0d073984
13,761
cc
C++
src/moe/moe.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
src/moe/moe.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
src/moe/moe.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
/* -*- C++ -*- */ /*============================================================================= // // // This file is part of the PDP++ software package. // // ...
32.764286
92
0.613691
emer
bab264266851030e48a843133ebbdcc58a9d13d7
9,899
cpp
C++
Simbody/examples/ExampleBricardMechanism.cpp
elen4/simbody
3ddbc16323afa45b7698c38e07266a7de15e2ad2
[ "Apache-2.0" ]
2
2020-01-15T05:03:30.000Z
2021-01-16T06:18:47.000Z
Simbody/examples/ExampleBricardMechanism.cpp
sohapouya/simbody
3729532453b22ffa3693962210941184f5617f5b
[ "Apache-2.0" ]
null
null
null
Simbody/examples/ExampleBricardMechanism.cpp
sohapouya/simbody
3729532453b22ffa3693962210941184f5617f5b
[ "Apache-2.0" ]
1
2021-09-24T15:20:36.000Z
2021-09-24T15:20:36.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm) Example: Bricard Mechanism * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
45.617512
123
0.649156
elen4
bab2ec233075ba676dff8d0e42de010ef64bf5eb
5,202
cpp
C++
src/lib/corelib/refstring.cpp
millimoji/ribbon
59e6659848f5edc435d58078f0cdcd805daf9f3f
[ "MIT" ]
null
null
null
src/lib/corelib/refstring.cpp
millimoji/ribbon
59e6659848f5edc435d58078f0cdcd805daf9f3f
[ "MIT" ]
null
null
null
src/lib/corelib/refstring.cpp
millimoji/ribbon
59e6659848f5edc435d58078f0cdcd805daf9f3f
[ "MIT" ]
null
null
null
#include "pch.h" namespace Ribbon { namespace RefStringInternal { static const size_t STRINGBLOCKSIZE = 0x4000; struct StringBuffer { uint64_t buf[STRINGBLOCKSIZE / sizeof(uint64_t)]; }; template <size_t ELEMENTSIZE> union StringMemoryBuffer { uint64_t buf[ELEMENTSIZE / sizeof(uint64_t)]; StringMemoryBuffer* pr...
27.967742
109
0.72549
millimoji
bab4c66de5f9b3cf4d36529995cb4f40361dcb6c
26,404
cpp
C++
amf/public/samples/CPPSamples/VCEEncoderD3D/VideoRenderVulkan.cpp
EwoutH/AMF
ec6e3804c82fba7a597c86b261bc29e5c33da578
[ "MIT" ]
null
null
null
amf/public/samples/CPPSamples/VCEEncoderD3D/VideoRenderVulkan.cpp
EwoutH/AMF
ec6e3804c82fba7a597c86b261bc29e5c33da578
[ "MIT" ]
null
null
null
amf/public/samples/CPPSamples/VCEEncoderD3D/VideoRenderVulkan.cpp
EwoutH/AMF
ec6e3804c82fba7a597c86b261bc29e5c33da578
[ "MIT" ]
null
null
null
// // Notice Regarding Standards. AMD does not provide a license or sublicense to // any Intellectual Property Rights relating to any standards, including but not // limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4; // AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; and M...
39.059172
217
0.750644
EwoutH
bab510e77201a753e7796048d2f5074e928f339c
6,758
cc
C++
device/usb/usb_device_impl.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
device/usb/usb_device_impl.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/usb/usb_device_impl.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.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 "device/usb/usb_device_impl.h" #include <fcntl.h> #include <stddef.h> #include <algorithm> #include "base/bind.h" #include "base/location.h" #...
36.928962
79
0.70509
Wzzzx
3bf87b4a380c744cc508f4b4ad92fbad263f6720
5,393
hpp
C++
sph_yamauchi/run/hdr_bhns.hpp
yamauchi1132/Research_Codes
c9e104f8592277cb4aa5c479b014c78c702a0939
[ "FSFAP" ]
null
null
null
sph_yamauchi/run/hdr_bhns.hpp
yamauchi1132/Research_Codes
c9e104f8592277cb4aa5c479b014c78c702a0939
[ "FSFAP" ]
null
null
null
sph_yamauchi/run/hdr_bhns.hpp
yamauchi1132/Research_Codes
c9e104f8592277cb4aa5c479b014c78c702a0939
[ "FSFAP" ]
null
null
null
class BlackHoleNeutronStar : public SPH { public: PS::S64 istar; PS::F64 eps; PS::F64 size; BlackHoleNeutronStar() { this->id = 0; this->mass = 0.; this->pos = 0.; this->vel = 0.; this->vel2 = 0.; this->acc = 0.; this->uene = 0...
34.570513
96
0.457259
yamauchi1132
3bfdd28a0534865c90cdb5391cdb44593c42ef88
1,875
cc
C++
src/sandbox/spawn_strategy/run.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
null
null
null
src/sandbox/spawn_strategy/run.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
null
null
null
src/sandbox/spawn_strategy/run.cc
TheEvilSkeleton/zypak
51c8771bc6bb1f68e41663e01c487b414481c57e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Endless Mobile, Inc. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "run.h" #include <dirent.h> #include <sys/prctl.h> #include <sys/signal.h> #include <memory> #include <string> #include "base/debug.h" #include "base/fd_map.h" #inc...
21.306818
78
0.617067
TheEvilSkeleton
3bff25cc7c0c9a2ffdd135c72c7abc45515c0660
2,365
cpp
C++
gwen/UnitTest/Properties.cpp
vonture/GWEN
6fdc75cdcc7f1c2a1ecf6c7479a99fad4d1d13e9
[ "MIT" ]
273
2015-01-01T23:19:18.000Z
2022-03-25T00:38:46.000Z
gwen/UnitTest/Properties.cpp
McSimp/GWEN
ea137166c0483a6e7bd2237cf590919b2177da5d
[ "MIT" ]
4
2015-03-15T16:16:58.000Z
2022-03-08T03:35:54.000Z
gwen/UnitTest/Properties.cpp
McSimp/GWEN
ea137166c0483a6e7bd2237cf590919b2177da5d
[ "MIT" ]
92
2015-01-11T19:51:53.000Z
2022-03-17T20:12:12.000Z
#include "Gwen/UnitTest/UnitTest.h" #include "Gwen/Controls/Properties.h" #include "Gwen/Controls/PropertyTree.h" #include "Gwen/Controls/Property/ColorSelector.h" #include "Gwen/Controls/Property/Checkbox.h" #include "Gwen/Controls/Property/ComboBox.h" using namespace Gwen; class Properties : public GUnit { public:...
33.309859
124
0.632135
vonture
ce015bfed323d6b04b117624c4c2150f86298386
356
cpp
C++
samples/hello_ar_c/app/src/main/gef_abertay/maths/plane.cpp
JD1305/arcore-android-sdk
ac3661d9dc65a608235d775cf6a916df2329b399
[ "Apache-2.0" ]
null
null
null
samples/hello_ar_c/app/src/main/gef_abertay/maths/plane.cpp
JD1305/arcore-android-sdk
ac3661d9dc65a608235d775cf6a916df2329b399
[ "Apache-2.0" ]
null
null
null
samples/hello_ar_c/app/src/main/gef_abertay/maths/plane.cpp
JD1305/arcore-android-sdk
ac3661d9dc65a608235d775cf6a916df2329b399
[ "Apache-2.0" ]
null
null
null
#include <maths/plane.h> #include <math.h> namespace gef { Plane::Plane() { } Plane::Plane(float a, float b, float c, float d) : Vector4(a, b, c, d) { } void Plane::Normalise() { float distance = sqrtf(a()*a() + b()*b() + c()*c()); set_a(a() / distance); set_b(b() / distance); set_c(c() / dista...
13.692308
54
0.547753
JD1305
ce02d45db7df382b3cc69b04b7aac3cfdf1c89ff
4,646
cpp
C++
src/proxy/AsyncOperationProxy.cpp
Bhaskers-Blu-Org2/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
19
2019-06-16T02:29:24.000Z
2022-03-01T23:20:25.000Z
src/proxy/AsyncOperationProxy.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
null
null
null
src/proxy/AsyncOperationProxy.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
5
2019-11-03T11:40:25.000Z
2020-08-05T14:56:13.000Z
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:AsyncOperationProxy.cpp ****/ #include "pch.h" #include "AsyncOperationProxy.h" #include <foundation/library/event_args_base.h> using namespac...
32.48951
133
0.736332
Bhaskers-Blu-Org2
ce0531a1904b1ca49276fc757ac8ef1b73ccb9df
13,328
cpp
C++
arl-hourglass/arl-hourglass/MargolusNeighborhoodSimulatorOpenCL.cpp
bernhardrieder/Hourglass-Simulation
737c756fc283859bb89d9c670b67a0be7aa979d6
[ "Unlicense" ]
null
null
null
arl-hourglass/arl-hourglass/MargolusNeighborhoodSimulatorOpenCL.cpp
bernhardrieder/Hourglass-Simulation
737c756fc283859bb89d9c670b67a0be7aa979d6
[ "Unlicense" ]
null
null
null
arl-hourglass/arl-hourglass/MargolusNeighborhoodSimulatorOpenCL.cpp
bernhardrieder/Hourglass-Simulation
737c756fc283859bb89d9c670b67a0be7aa979d6
[ "Unlicense" ]
null
null
null
#include "MargolusNeighborhoodSimulatorOpenCL.h" #include <iostream> #include <fstream> inline int randomNumber(int low, int high) { return low + rand() / (RAND_MAX / (high - low)); } MargolusNeighborhoodSimulatorOpenCL::MargolusNeighborhoodSimulatorOpenCL(bool useGpu, int platformId, int deviceId) { srand(static_c...
49.180812
235
0.742047
bernhardrieder
ce0642bd0413b578bf56cc463b50c3903b1b68f7
9,456
cpp
C++
ngraph/test/backend/split.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
ngraph/test/backend/split.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
ngraph/test/backend/split.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
39.898734
99
0.646785
artyomtugaryov
ce0698b2a75fcf88040ce21cb13cafcedc0393a0
668
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/math/tools/tuple.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
310
2017-02-02T09:14:48.000Z
2022-03-21T06:50:11.000Z
ReactNativeFrontend/ios/Pods/boost/boost/math/tools/tuple.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
61
2017-01-22T20:35:25.000Z
2019-12-13T14:48:46.000Z
ReactNativeFrontend/ios/Pods/boost/boost/math/tools/tuple.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
54
2017-03-02T06:55:57.000Z
2022-02-21T01:12:20.000Z
// (C) Copyright John Maddock 2010. // Use, modification and distribution are subject to 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) #ifndef BOOST_MATH_TUPLE_HPP_INCLUDED #define BOOST_MATH_TUPLE_HPP_INCLUDED #include <boost...
23.857143
68
0.736527
Harshitha91
ce12fcf0d052224457f167be80fba405b4bbb754
1,101
cpp
C++
src/core/cpp/model/RevoluteJoint.cpp
NeroGames/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
26
2020-09-02T18:14:36.000Z
2022-02-08T18:28:36.000Z
src/core/cpp/model/RevoluteJoint.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
14
2020-08-30T01:37:04.000Z
2021-07-19T20:47:29.000Z
src/core/cpp/model/RevoluteJoint.cpp
sk-landry/Nero-Game-Engine
8543b8bb142738aa28bc20e929b342d3e6df066e
[ "MIT" ]
6
2020-09-02T18:14:57.000Z
2021-12-31T00:32:09.000Z
//////////////////////////////////////////////////////////// // Nero Game Engine // Copyright (c) 2016-2020 Sanou A. K. Landry //////////////////////////////////////////////////////////// ///////////////////////////HEADERS////////////////////////// //NERO #include <Nero/core/cpp/model/RevoluteJoint.h> /////////////////...
23.934783
66
0.485014
NeroGames
ce1581f1c59cb506b4fce2356868d2ea144f4c9b
7,768
cpp
C++
tools/hvm-bench/interp-dispatch-bench.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
1
2020-08-28T03:07:10.000Z
2020-08-28T03:07:10.000Z
tools/hvm-bench/interp-dispatch-bench.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
null
null
null
tools/hvm-bench/interp-dispatch-bench.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ //===----------------------------------------------------------------------===// /// \file /// This benchmark is intended to measur...
36.130233
80
0.597065
exced
ce17fb2a04fcb71df4f6129c11f75cf0b2fe25e6
6,322
cc
C++
Fleece/Core/Doc.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
Fleece/Core/Doc.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
Fleece/Core/Doc.cc
KraemerDEM/fleece
41e8d9e576f59f1373866ff3db1f319ecb10ad69
[ "Apache-2.0" ]
null
null
null
// // Doc.cc // // Copyright © 2018 Couchbase. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
29.404651
130
0.575767
KraemerDEM
ce1965d30c8b195c8b0e749058dc71e4f7b76ac2
1,042
cxx
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDisallowedCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
2
2019-02-08T08:45:27.000Z
2020-09-07T05:55:18.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDisallowedCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Source/cmDisallowedCommand.cxx
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
1
2018-06-04T08:50:33.000Z
2018-06-04T08:50:33.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmDisallowedCommand.h" #include "cmMakefile.h" #include "cmake.h" class cmExecutionStatus; bool cmDisallowedCommand::InitialPass(std::vector<std::string> const...
32.5625
79
0.672745
duonglvtnaist
ce1ab38d768b61712c4d3e2337a8df6c6f949ab8
1,894
cpp
C++
hard/0381randomizedCollection.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
hard/0381randomizedCollection.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
hard/0381randomizedCollection.cpp
wanghengg/LeetCode
4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; class RandomizedCollection { private: unordered_map<int, unordered_set<int>> index; // 保存数出现的位置index vector<int> nums; public: /** Initialize your data structure here. */ RandomizedCollection...
35.074074
123
0.639388
wanghengg
ce1af03cef9382475a34d95675c4395de42961ee
3,969
cpp
C++
4-1 Programming for Data Structures-Travel System/TravelSystem V2.6.6.06/sourece_code/qtpro/simulation.cpp
wenhanshi/project-in-BUPT
786089be5afb0cfc0389622a59eea68b4720058f
[ "MIT" ]
44
2017-03-06T03:01:46.000Z
2022-03-14T14:57:17.000Z
4-1 Programming for Data Structures-Travel System/TravelSystem V2.6.6.06/sourece_code/qtpro/simulation.cpp
wenhanshi/project-in-BUPT
786089be5afb0cfc0389622a59eea68b4720058f
[ "MIT" ]
null
null
null
4-1 Programming for Data Structures-Travel System/TravelSystem V2.6.6.06/sourece_code/qtpro/simulation.cpp
wenhanshi/project-in-BUPT
786089be5afb0cfc0389622a59eea68b4720058f
[ "MIT" ]
21
2017-05-20T06:45:31.000Z
2021-11-25T11:45:15.000Z
#include<iostream> #include"Graph.h" using namespace std ; extern int Time;// 系统时间 extern TST arr_tst[MAX_TST]; S_STATE state_trans(Graph &travel_graph,int target) // 用以计算下一个状态S_STATE ,参量 state_n作为全局变量被该函数窥视 { S_STATE state_next; int diff; cout<<"e_now"<<arr_tst[target].e_now<<endl; if(arr_tst[target...
40.917526
131
0.609977
wenhanshi
ce1bd7feb0c627c86e9d47eba759dc98a4be38f1
749
hpp
C++
qubus/include/qubus/isl/pw_aff.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/isl/pw_aff.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/include/qubus/isl/pw_aff.hpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#ifndef QUBUS_ISL_PW_AFF_HPP #define QUBUS_ISL_PW_AFF_HPP #include <qubus/isl/set.hpp> #include <qubus/isl/map.hpp> #include <qubus/isl/value.hpp> #include <isl/aff.h> namespace qubus { namespace isl { class pw_aff { public: explicit pw_aff(isl_pw_aff* handle_); pw_aff(const pw_aff& other); ~pw_aff();...
15.604167
50
0.703605
qubusproject
ce1d3812e64f2c8bb4bd12d1fc12c575eb357a8e
7,324
cc
C++
kythe/cxx/doc/doc.cc
bef0/kythe
2adcb540ae9dbd61879315a5ade8d3716ee3d3d8
[ "Apache-2.0" ]
null
null
null
kythe/cxx/doc/doc.cc
bef0/kythe
2adcb540ae9dbd61879315a5ade8d3716ee3d3d8
[ "Apache-2.0" ]
null
null
null
kythe/cxx/doc/doc.cc
bef0/kythe
2adcb540ae9dbd61879315a5ade8d3716ee3d3d8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 The Kythe Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
35.553398
82
0.684872
bef0
ce1d8b7711c1b2bc638f9f6fee4ea68f4f1a8eec
331
cpp
C++
src/cpp/rand.cpp
cedrikaagaard/thistlethwaite
f6bf5cb42cd36f066cd5d51de77ff589004ed7af
[ "Unlicense" ]
2
2018-08-02T09:34:38.000Z
2022-02-21T05:17:14.000Z
src/cpp/rand.cpp
cedrikaagaard/thistlethwaite
f6bf5cb42cd36f066cd5d51de77ff589004ed7af
[ "Unlicense" ]
null
null
null
src/cpp/rand.cpp
cedrikaagaard/thistlethwaite
f6bf5cb42cd36f066cd5d51de77ff589004ed7af
[ "Unlicense" ]
null
null
null
#include <vector> #include <sstream> #include "rand.hpp" #include "enums.hpp" rotation get_random_rotation() { return (rotation) (rand() % 12); } std::string thistlethwaite::get_random_rotations(const int &n) { std::stringstream ss; for (int i = 0; i < n; i++) { ss << rottoa(get_random_rotation()); } return ...
18.388889
64
0.667674
cedrikaagaard
ce1e047632d6b27fc8579f9352ee6df00b2e5a4d
3,635
cpp
C++
DearPyGui/src/core/AppItems/nodes/mvNode.cpp
NamWoo/DearPyGui
da4a3c7a0dbb3d5dfd8b0a7991521890ddd3e513
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/nodes/mvNode.cpp
NamWoo/DearPyGui
da4a3c7a0dbb3d5dfd8b0a7991521890ddd3e513
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/nodes/mvNode.cpp
NamWoo/DearPyGui
da4a3c7a0dbb3d5dfd8b0a7991521890ddd3e513
[ "MIT" ]
null
null
null
#include "mvNode.h" #include <imnodes.h> #include "mvApp.h" #include "mvLog.h" #include "mvItemRegistry.h" #include "mvImNodesThemeScope.h" #include "mvFontScope.h" #include "mvPythonExceptions.h" namespace Marvel { static std::string FindRenderedTextEnd(const char* text, const char* text_end = nullptr) { int siz...
23.603896
128
0.689133
NamWoo
ce21b25ac6f9c25b0a9339c01e04acc45979a46c
7,245
cc
C++
extensions/browser/quota_service.cc
cvsuser-chromium/chromium
acb8e8e4a7157005f527905b48dd48ddaa3b863a
[ "BSD-3-Clause" ]
4
2017-04-05T01:51:34.000Z
2018-02-15T03:11:54.000Z
extensions/browser/quota_service.cc
cvsuser-chromium/chromium
acb8e8e4a7157005f527905b48dd48ddaa3b863a
[ "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
extensions/browser/quota_service.cc
cvsuser-chromium/chromium
acb8e8e4a7157005f527905b48dd48ddaa3b863a
[ "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/browser/quota_service.h" #include "base/message_loop/message_loop.h" #include "base/stl_util.h" #include "chrome/browser/extensions/...
37.53886
79
0.666943
cvsuser-chromium
ce21bc65544c6e6dae1c1706a6b9b94bde734c55
5,810
cpp
C++
indexer/feature_covering.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
indexer/feature_covering.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
indexer/feature_covering.cpp
AddisMap/omim
3e7e4ed7b24f12a7d6cabf4d83b968523f150f1b
[ "Apache-2.0" ]
null
null
null
#include "indexer/feature_covering.hpp" #include "indexer/feature.hpp" #include "indexer/locality_object.hpp" #include "geometry/covering_utils.hpp" using namespace std; namespace { // This class should only be used with covering::CoverObject()! template <int DEPTH_LEVELS> class FeatureIntersector { public: struc...
27.932692
97
0.663339
AddisMap
ce21f257e0df8914cc123c7d107948398b2f22bc
100
cpp
C++
src/_sample/_sample.cpp
sacrificerXY/base-cpp-cmake-doctest
2f2020affabce2cdeb552aea0ad7fff7cce6a5ad
[ "Unlicense" ]
1
2020-06-19T17:29:50.000Z
2020-06-19T17:29:50.000Z
src/_sample/_sample.cpp
sacrificerXY/base-cpp-cmake-doctest-sfml-imgui
7cb0b647f111eb94f6b5ded6c9a14faea764423d
[ "Unlicense" ]
null
null
null
src/_sample/_sample.cpp
sacrificerXY/base-cpp-cmake-doctest-sfml-imgui
7cb0b647f111eb94f6b5ded6c9a14faea764423d
[ "Unlicense" ]
null
null
null
#include <_sample/_sample.h> foo::foo(int bar): bar{bar} {} void foo::add(int x) { bar += x; }
20
35
0.58
sacrificerXY
ce2213564a2bf3274366a5fe32bee2f5291d6c70
8,541
cpp
C++
src/lapack_like/factor/LU.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/factor/LU.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/factor/LU.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include <El.hpp> #include "./LU/Local.hpp" #include "...
27.028481
80
0.581197
jeffhammond
ce2362fd20e4c8d5e4280906d3909c0995a22f73
8,264
cpp
C++
test/helpers/test_helpers.cpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
test/helpers/test_helpers.cpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
test/helpers/test_helpers.cpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
1
2019-09-06T09:58:14.000Z
2019-09-06T09:58:14.000Z
// #define CATCH_CONFIG_RUNNER #include "catch.hpp" #include "execution/operator/persistent/buffered_csv_reader.hpp" #include "common/file_system.hpp" #include "common/value_operations/value_operations.hpp" #include "compare_result.hpp" #include "main/query_result.hpp" #include "test_helpers.hpp" #include "parser/pars...
29.726619
114
0.683204
xhochy
ce24207e63ef7af8be2c6ed86b898a9a988824bf
3,693
cc
C++
tools/gn/source_file.cc
asdfghjjklllllaaa/gn
23d22bcaa71666e872a31fd3ec363727f305417e
[ "BSD-3-Clause" ]
null
null
null
tools/gn/source_file.cc
asdfghjjklllllaaa/gn
23d22bcaa71666e872a31fd3ec363727f305417e
[ "BSD-3-Clause" ]
null
null
null
tools/gn/source_file.cc
asdfghjjklllllaaa/gn
23d22bcaa71666e872a31fd3ec363727f305417e
[ "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 "tools/gn/source_file.h" #include "base/logging.h" #include "tools/gn/filesystem_utils.h" #include "tools/gn/source_dir.h" #include "util/bu...
30.02439
78
0.665042
asdfghjjklllllaaa
ce25b0ff5f72ee8bdf2f7d5b9dd4fdd7c6059fa5
1,137
cpp
C++
gcommon/source/gguinodecomponentanimation.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
gcommon/source/gguinodecomponentanimation.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
gcommon/source/gguinodecomponentanimation.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
// // GGuiNodeComponentAnimation.h // // Created by David Coen on 2011 04 12 // Copyright 2010 Pleasure seeking morons. All rights reserved. // #include "GGuiNodeComponentAnimation.h" #include "GGuiType.h" //static public methods /*static*/ GGuiNodeComponentAnimation::TPointerGuiNodeComponentBase GGuiNodeComponent...
23.204082
104
0.80387
DavidCoenFish
ce25d01edcf0739c118e954e9399eb22d0ed8a97
5,215
cc
C++
components/sync/engine/net/server_connection_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/sync/engine/net/server_connection_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/sync/engine/net/server_connection_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync/engine/net/server_connection_manager.h" #include <errno.h> #include <ostream> #include "base/metrics/histogram.h" #includ...
28.972222
80
0.757047
zealoussnow
ce2780b5b5a30459f87d7568b78a1dd5b25f299c
2,602
hpp
C++
libmeasure/common/CMgmt.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
3
2016-01-20T13:41:52.000Z
2018-04-10T17:50:49.000Z
libmeasure/common/CMgmt.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
libmeasure/common/CMgmt.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
/* * CMgmt.hpp * * Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * * encoding: UTF-8 * tab size: 4 * * ...
32.123457
201
0.714066
akiml
ce2924d19ad001b98a323af036880186f60808c3
8,492
hxx
C++
Source/SIMPLib/ITK/itkInPlaceImageToDream3DDataFilter.hxx
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
3
2018-01-18T18:27:02.000Z
2021-06-13T06:10:52.000Z
Source/SIMPLib/ITK/itkInPlaceImageToDream3DDataFilter.hxx
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
211
2016-07-27T12:18:16.000Z
2021-11-02T13:42:11.000Z
Source/SIMPLib/ITK/itkInPlaceImageToDream3DDataFilter.hxx
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
23
2016-02-15T21:23:47.000Z
2021-08-11T15:35:24.000Z
#pragma once #include "itkInPlaceImageToDream3DDataFilter.h" #include "itkGetComponentsDimensions.h" #include "SIMPLib/Geometry/ImageGeom.h" #include <QString> namespace itk { template <typename PixelType, unsigned int VDimension> InPlaceImageToDream3DDataFilter<PixelType, VDimension>::InPlaceImageToDream3DDataFilte...
39.682243
184
0.753768
mhitzem
ce293b72ed3af3114e15282a4a53eb16a99a11db
226
cpp
C++
Geekforgeeks/C)Recursion/3_printing_n_to_1.cpp
i-see-pixels/Coffee-and-code
d0dde5417291f112bd7e0183b9753cfac38e135c
[ "MIT" ]
12
2021-08-19T17:02:21.000Z
2021-11-08T13:06:19.000Z
Geekforgeeks/C)Recursion/3_printing_n_to_1.cpp
i-see-pixels/Coffee-and-code
d0dde5417291f112bd7e0183b9753cfac38e135c
[ "MIT" ]
11
2021-09-30T05:26:41.000Z
2021-10-29T20:28:44.000Z
Geekforgeeks/C)Recursion/3_printing_n_to_1.cpp
i-see-pixels/Coffee-and-code
d0dde5417291f112bd7e0183b9753cfac38e135c
[ "MIT" ]
29
2021-08-17T14:14:41.000Z
2021-10-31T15:14:04.000Z
#include<bits/stdc++.h> using namespace std; void func(int n) { if(n==0) { cout<<endl; return ; } cout<<n<<" "; func(n-1); } int main(){ func(5); func(2); return 0; }
13.294118
24
0.433628
i-see-pixels
ce2a94e8f660d3fa8a5f4e4207dbc93374709a30
6,558
cpp
C++
src/plugins/anim/nodes/loaders/amc.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
232
2017-10-09T11:45:28.000Z
2022-03-28T11:14:46.000Z
src/plugins/anim/nodes/loaders/amc.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
26
2019-01-20T21:38:25.000Z
2021-10-16T03:57:17.000Z
src/plugins/anim/nodes/loaders/amc.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
33
2017-10-26T19:20:38.000Z
2022-03-16T11:21:43.000Z
#include <OpenEXR/ImathMatrixAlgo.h> #include <actions/io.h> #include <possumwood_sdk/datatypes/filename.h> #include <possumwood_sdk/node_implementation.h> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <fstream> #include <unordered_map> #include "datatypes/animation.h" #include "tokenizer...
26.877049
110
0.655078
martin-pr
ce2c80dce1ad26804c366ba833a063f7ba431034
400,339
cpp
C++
edk/edkImages/poweredEDKColor.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/edkImages/poweredEDKColor.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
edk/edkImages/poweredEDKColor.cpp
Edimartin/edk-source
de9a152e91344e201669b0421e5f44dea40cebf9
[ "MIT" ]
null
null
null
#include "poweredEDKColor.h" /* Library C++ poweredEDKColor - Image with powered by edk technology for be used in background with color. Copyright 2013 Eduardo Moura Sales Martins (edimartin@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documen...
186.986922
203
0.693762
Edimartin
ce2d3d530909413d33ebafe49be1f9bd6af8820a
32,117
cc
C++
runtime/vm/compiler/backend/range_analysis_test.cc
TheRakeshPurohit/sdk
2885ecc42664e4972343addeb73beb892f4737ea
[ "BSD-3-Clause" ]
1
2022-02-27T08:22:00.000Z
2022-02-27T08:22:00.000Z
runtime/vm/compiler/backend/range_analysis_test.cc
Fareed-Ahmad7/sdk
5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5
[ "BSD-3-Clause" ]
4
2021-11-09T10:35:35.000Z
2022-01-13T10:04:12.000Z
runtime/vm/compiler/backend/range_analysis_test.cc
Fareed-Ahmad7/sdk
5183ba3ca4fe3787cae3c0a6cc7f8748ff01bcf5
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/compiler/backend/range_analysis.h" #include "vm/compiler/backend/il_test_helper.h" #includ...
46.278098
80
0.591151
TheRakeshPurohit
ce2ef79ae1ab3277933af64010cd2428830b3741
739
cpp
C++
leetcode/cpp/Problem16.cpp
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/Problem16.cpp
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/Problem16.cpp
angelusualle/algorithms
86286a49db2a755bc57330cb455bcbd8241ea6be
[ "Apache-2.0" ]
null
null
null
#include "Problem16.h" #include <algorithm> using std::sort; // O(N^2) where n is num of nums int find_closest_sum(vector<int>& nums, int target){ sort(nums.begin(), nums.end()); int answer = 0; bool answered = false; for (int i = 0; i < nums.size() - 2; ++i){ int j = i + 1; int k = nu...
25.482759
72
0.435724
angelusualle
ce30d6abd9aa31cfd6ea9aa713a3fa5e8546651c
4,665
cpp
C++
navaEngine/navaEngine/src/apps/TestGame.cpp
vkramer/navaEngine
9fa4cea9a9002ac62b548ec8c73b7984aed73ecb
[ "MIT" ]
7
2018-08-04T00:25:10.000Z
2021-02-23T04:16:34.000Z
navaEngine/navaEngine/src/apps/TestGame.cpp
vkramer/navaEngine
9fa4cea9a9002ac62b548ec8c73b7984aed73ecb
[ "MIT" ]
null
null
null
navaEngine/navaEngine/src/apps/TestGame.cpp
vkramer/navaEngine
9fa4cea9a9002ac62b548ec8c73b7984aed73ecb
[ "MIT" ]
2
2018-03-13T08:24:33.000Z
2019-07-30T21:02:55.000Z
#include "TestGame.h" #include "../engine/components/model/Vertex.h" #include "../engine/shader/BasicShader.h" #include "../engine/components/renderer/Renderer.h" #include "../engine/components/camera/Camera.h" #include <glfw/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/typ...
46.65
125
0.612862
vkramer
ce32028d05bcf3e2e6dfece8859d92176a6ab5f6
1,870
cpp
C++
src/dynarmic/common/x64_disassemble.cpp
Morph1984/dynarmic
4dcebc18228114761ad9dc6a3543bcd4f3317396
[ "0BSD" ]
573
2016-08-31T20:21:20.000Z
2021-08-29T14:01:11.000Z
src/dynarmic/common/x64_disassemble.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
366
2016-09-02T06:37:43.000Z
2021-08-11T18:38:24.000Z
src/dynarmic/common/x64_disassemble.cpp
xerpi/dynarmic
bcfe377aaa5138af740e90af5be7a7dff7b62a52
[ "0BSD" ]
135
2016-09-01T02:02:58.000Z
2021-08-13T01:25:22.000Z
/* This file is part of the dynarmic project. * Copyright (c) 2021 MerryMage * SPDX-License-Identifier: 0BSD */ #include "dynarmic/common/x64_disassemble.h" #include <Zydis/Zydis.h> #include <fmt/printf.h> #include "dynarmic/common/common_types.h" namespace Dynarmic::Common { void DumpDisassembledX64(const void...
32.807018
131
0.716043
Morph1984
ce326cad6022eaba256b11f445d8eeefe6000c3a
3,601
cxx
C++
Testing/testReceiveVideo.cxx
Sunderlandkyl/OpenIGTLinkIO
4b792865f07e0dbc812c328176d74c94a5e5983c
[ "Apache-2.0" ]
null
null
null
Testing/testReceiveVideo.cxx
Sunderlandkyl/OpenIGTLinkIO
4b792865f07e0dbc812c328176d74c94a5e5983c
[ "Apache-2.0" ]
null
null
null
Testing/testReceiveVideo.cxx
Sunderlandkyl/OpenIGTLinkIO
4b792865f07e0dbc812c328176d74c94a5e5983c
[ "Apache-2.0" ]
null
null
null
#include <string> #include "igtlioLogic.h" #include "igtlioConnector.h" #include "vtkTimerLog.h" #include "vtkImageData.h" #include "igtlioVideoConverter.h" #include "vtkMatrix4x4.h" #include <vtksys/SystemTools.hxx> #include "igtlioVideoConverter.h" #include <vtkImageDifference.h> #include "IGTLIOFixture.h" #include "...
34.625
170
0.636768
Sunderlandkyl
ce339a34006767ba97621f417f892638c3bf02bb
1,116
cpp
C++
3DLfC4D/source/PluginManager.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
3
2018-10-06T17:05:53.000Z
2020-06-29T21:31:11.000Z
3DLfC4D/source/PluginManager.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
28
2018-11-14T19:08:18.000Z
2019-06-30T10:25:13.000Z
3DLfC4D/source/PluginManager.cpp
FMalmberg/3Delight-for-Cinema-4D
78e7e81044fed4226c3613f46edb1e80c58247d6
[ "MIT" ]
6
2018-08-29T11:02:39.000Z
2019-05-13T13:35:17.000Z
#include "PluginManager.h" #include "c4d.h" using namespace std; class HookDeleter{ public: void operator()(DL_Hook* hook){ if(hook){ hook->Free(); } } }; PluginManager::~PluginManager(){ } long PluginManager::GetAPIVersion(){ return DL_API_VERSION; } void PluginManager::RegisterHook(HookAllocator alloca...
19.241379
93
0.724014
FMalmberg
ce36729597b2f6e736aef061459c759da757b499
12,013
hpp
C++
include/tdc/stat/phase.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
null
null
null
include/tdc/stat/phase.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
null
null
null
include/tdc/stat/phase.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
null
null
null
#pragma once #include <concepts> #include <functional> #include <memory> #include <string> #include <utility> #include "phase_extension.hpp" #include "json.hpp" namespace tdc { namespace stat { /// \brief Represents a runtime statistics phase. /// /// Phases are used to track statistics like runtime and memory allo...
33.369444
130
0.643053
herlez
ce37c82e60ad20ced92940418933f0e1c17f7b61
1,347
cpp
C++
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
778
2015-01-01T03:30:02.000Z
2022-03-20T15:58:39.000Z
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
47
2019-12-11T02:34:13.000Z
2020-06-08T19:26:59.000Z
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/deallocate.pass.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
412
2015-01-01T06:25:38.000Z
2022-03-26T16:58:34.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
27.489796
91
0.541203
medismailben
ce3d912d998a4e2274285118b38f40f2164e0647
3,955
cpp
C++
src/helpers/encoding/der.cpp
PhantomChain/cpp-crypto
d11e267ad0cbac56475c134209bd43b0a70dad59
[ "MIT" ]
null
null
null
src/helpers/encoding/der.cpp
PhantomChain/cpp-crypto
d11e267ad0cbac56475c134209bd43b0a70dad59
[ "MIT" ]
null
null
null
src/helpers/encoding/der.cpp
PhantomChain/cpp-crypto
d11e267ad0cbac56475c134209bd43b0a70dad59
[ "MIT" ]
null
null
null
/** * This file is part of Phantom Cpp Crypto. * * (c) PhantomChain <info@phantom.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. **/ #include "helpers/encoding/der.h" #include <cassert> #include <string> #include <vector> #inc...
36.962617
120
0.638432
PhantomChain
ce4092915ee68c65b049607b78a05700dfece697
20,896
cc
C++
net/instaweb/rewriter/image_url_encoder_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/image_url_encoder_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/image_url_encoder_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
1
2020-03-14T15:50:55.000Z
2020-03-14T15:50:55.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
34.143791
80
0.755456
PeterDaveHello
ce44d3676cdb620fb67665568474e477e8849dec
13,833
cpp
C++
Onboard-SDK-ROS/dji_sdk_demo/src/demo_flight_control.cpp
NMMI/aerial-alter-ego
ba6517ecc1986e4808f6c17df3348dc5637d9cf7
[ "BSD-3-Clause" ]
1
2018-11-06T12:06:28.000Z
2018-11-06T12:06:28.000Z
src/Onboard-SDK-ROS-3.6/dji_sdk_demo/src/demo_flight_control_original.cpp
isuran/droneautomation
c53017f8c8d4c03e3095ec7b6269d5a2659489e5
[ "MIT" ]
null
null
null
src/Onboard-SDK-ROS-3.6/dji_sdk_demo/src/demo_flight_control_original.cpp
isuran/droneautomation
c53017f8c8d4c03e3095ec7b6269d5a2659489e5
[ "MIT" ]
2
2021-05-18T07:04:23.000Z
2021-05-23T13:22:13.000Z
/** @file demo_flight_control.cpp * @version 3.3 * @date May, 2017 * * @brief * demo sample of how to use flight control APIs * * @copyright 2017 DJI. All rights reserved. * */ #include "dji_sdk_demo/demo_flight_control.h" #include "dji_sdk/dji_sdk.h" const float deg2rad = C_PI/180.0; const float rad2de...
27.337945
132
0.672739
NMMI
ce45cbd966372909b417ea75fa8e583c8df9f6e8
1,238
cpp
C++
leetcode/problems/easy/463-island-perimeter.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/463-island-perimeter.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/463-island-perimeter.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Island Perimeter You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water, and there is exactly one island (i.e., one or more connected land cells). Th...
30.95
239
0.555735
wingkwong
ce48b5b5c2ab35e3770e41793b7575e79e46b58a
2,988
cpp
C++
src/armnn/layers/SpaceToBatchNdLayer.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/armnn/layers/SpaceToBatchNdLayer.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/armnn/layers/SpaceToBatchNdLayer.cpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "SpaceToBatchNdLayer.hpp" #include "LayerCloneBase.hpp" #include <armnn/TypesUtils.hpp> #include <armnnUtils/DataLayoutIndexed.hpp> #include <backendsCommon/WorkloadData.hpp> #include <backendsCommon/WorkloadFactory.hpp...
33.2
114
0.716533
muthukumaravel7
ce4a9668daf057808b4a31b4221ead86e3b42ee0
15,439
hpp
C++
Include/LIEF/PE/Binary.hpp
RaniaJarraya/fraudulent_behavior_detection
d1506603fd3468a6c106c73d4880623c5a9b4869
[ "BSD-3-Clause" ]
54
2020-01-29T18:44:56.000Z
2022-03-14T11:24:59.000Z
Include/LIEF/PE/Binary.hpp
RaniaJarraya/fraudulent_behavior_detection
d1506603fd3468a6c106c73d4880623c5a9b4869
[ "BSD-3-Clause" ]
13
2021-03-19T09:25:18.000Z
2022-02-10T12:15:24.000Z
Include/LIEF/PE/Binary.hpp
RaniaJarraya/fraudulent_behavior_detection
d1506603fd3468a6c106c73d4880623c5a9b4869
[ "BSD-3-Clause" ]
8
2019-05-19T11:24:28.000Z
2022-02-16T20:19:30.000Z
/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * 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 appli...
34.772523
177
0.658592
RaniaJarraya
ce4f165f184274539a683f4fc5e0d83b81805c8c
592
cpp
C++
src/lib/clxx/cl/events.cpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
1
2015-08-12T13:11:35.000Z
2015-08-12T13:11:35.000Z
src/lib/clxx/cl/events.cpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
67
2015-01-03T10:11:13.000Z
2015-10-21T11:03:06.000Z
src/lib/clxx/cl/events.cpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
null
null
null
// @COPYRIGHT@ // Licensed under MIT license (LICENSE.txt) /** // doc: clxx/cl/events.cpp {{{ * \file clxx/cl/events.cpp * \todo Write documentation */ // }}} #include <clxx/cl/events.hpp> #include <clxx/cl/functions.hpp> #include <clxx/util/obj2cl.hpp> namespace clxx { void wait_for_events(clxx::events const& eve...
22.769231
62
0.662162
ptomulik
ce4f828b580dc1891c6de463eabeecdc7f27bc45
31,317
cpp
C++
avocadod/MMFiles/MMFilesHashIndex.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
avocadod/MMFiles/MMFilesHashIndex.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
avocadod/MMFiles/MMFilesHashIndex.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
31.601413
113
0.647029
jjzhang166
ce50851c4766453e22e46d0e33548f1d30636ff6
10,913
cpp
C++
thrift/compiler/test/fixtures/basic/gen-cpp/MyServicePrioChild.cpp
lucyge/FBThrift
2cb49e1c1ee1712416db9cc1f4b833382b04d8cd
[ "Apache-2.0" ]
1
2018-02-28T06:45:51.000Z
2018-02-28T06:45:51.000Z
thrift/compiler/test/fixtures/basic/gen-cpp/MyServicePrioChild.cpp
lucyge/FBThrift
2cb49e1c1ee1712416db9cc1f4b833382b04d8cd
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/basic/gen-cpp/MyServicePrioChild.cpp
lucyge/FBThrift
2cb49e1c1ee1712416db9cc1f4b833382b04d8cd
[ "Apache-2.0" ]
1
2018-02-28T06:45:18.000Z
2018-02-28T06:45:18.000Z
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "thrift/compiler/test/fixtures/basic/gen-cpp/MyServicePrioChild.h" #include <folly/ScopeGuard.h> #include "thrift/compiler/test/fixtures/basic/gen-cpp/module_reflection.h" const uint64_t...
33.271341
245
0.717951
lucyge
ce512d1d8c230afd75330de8b02071309b37e10f
1,558
cpp
C++
codeforces/ITMO academy pilot course/segment tree 1/step1/segment tree minimum.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codeforces/ITMO academy pilot course/segment tree 1/step1/segment tree minimum.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codeforces/ITMO academy pilot course/segment tree 1/step1/segment tree minimum.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
#include <iostream> #include <climits> using namespace std; const int N =1e6+2; typedef long long ll; ll tree[4*N]; ll arr[N]; void build(int node, int st, int en){ if(st == en){ tree[node] = arr[st]; return; } int mid = (st + en) / 2; build(node * 2, st , mid); build(node* 2 +1, mi...
20.773333
56
0.439024
punnapavankumar9
ce5463566ffacfcf8bd2aa365b6d9744835aa4a0
3,573
cc
C++
stapl_release/docs/tutorial_guide/ex_302.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/tutorial_guide/ex_302.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/tutorial_guide/ex_302.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include "ch3.hpp" typedef stapl::map<int, stapl::map<int,int> > map_map_int_tp; // ## 1 typedef stapl::map_view<map_map_int_tp> map_map_int_vw_tp; size_t ex_302(size_t, stapl::stream<ifstream> &, stapl::stream<ofstream> &); stapl::exit_code stapl_main(int argc, c...
27.484615
77
0.615449
parasol-ppl
ce549a255cbd00f75375f63d5d136e01f8c4a04f
3,171
cpp
C++
subcPrograms/Pmachine/sto.cpp
Raffson/Sub-C-compiler
1780cc32d4ac16184dc8a2c9f2aad30794a13090
[ "MIT" ]
1
2021-04-29T06:40:54.000Z
2021-04-29T06:40:54.000Z
resources/Pmachine/sto.cpp
arminnh/ba3-c-to-p-compiler
2c649e1d3643471bac681c2656c1c7d6249be4d7
[ "MIT" ]
null
null
null
resources/Pmachine/sto.cpp
arminnh/ba3-c-to-p-compiler
2c649e1d3643471bac681c2656c1c7d6249be4d7
[ "MIT" ]
1
2017-01-30T19:19:31.000Z
2017-01-30T19:19:31.000Z
// sto.cpp #include "sto.h" /** * Constructor * @param type specifies on which type is to be stored (StackElementType) */ Sto::Sto(StackElementType type) : fType(type) {} /** * Destructor */ Sto::~Sto() {} /** * Checks the contents of the stack and then performs the store operation. * @return none * @param...
22.020833
100
0.641753
Raffson