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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33f1d1866090d7b523881c4a92cd5f1820dbc088 | 6,635 | cpp | C++ | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | #include <blah/images/image.h>
#include <blah/streams/stream.h>
#include <blah/streams/filestream.h>
#include <blah/core/log.h>
using namespace Blah;
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_JPEG
#define STBI_ONLY_PNG
#define STBI_ONLY_BMP
#include "../third_party/stb_image.h"
#define STB_IMAGE_WRITE_IMPLE... | 21.970199 | 98 | 0.674755 | AKholetsky |
33f216c181bf52fddc6e7c38d14e1a66455a1665 | 8,705 | cpp | C++ | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | /*
*
* TezosLikeTransactionDatabaseHelper
*
* Created by El Khalil Bellakrid on 27/04/2019.
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... | 48.904494 | 227 | 0.559563 | phaazon |
33f318206761e0974f2143add8de7c12bcdc3a36 | 457 | hpp | C++ | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | #pragma once
#include "ModelData.hpp"
class Light
{
private:
glm::vec3 pos = glm::vec3(0, 0, 0);
glm::vec3 color = glm::vec3(1, 1, 1);
bool isPointLight = true;
public:
Light(glm::vec3 pos, glm::vec3 color, bool isPointLight);
void Light::setPos(glm::vec3 pos2);
bool Light::getIsPointLight();
void Light::se... | 18.28 | 58 | 0.68709 | jmppmj |
33f3319ba7dee8950a9dd95f73ffc956570be68b | 612 | cc | C++ | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | // https://open.kattis.com/problems/alicedigital
#include <iostream>
#include <vector>
using namespace std;
typedef vector<int> vi;
int main() {
int t;
cin >> t;
while (t--) {
int n, m;
cin >> n >> m;
vi a(n + 1, 0);
int p = 0;
int q = 0;
int M = 0;
for (int i = 1; i <= n; i++) {
cin >> a[i];
... | 15.692308 | 48 | 0.406863 | Ashindustry007 |
33f56b32135cbdb9f7fec298a823d6a3209ba514 | 106,894 | cpp | C++ | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"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... | 32.951295 | 221 | 0.617172 | roscoche |
33f61ec978a273caa269dc28db8c99c60ea5b70c | 11,267 | cpp | C++ | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... | 31.917847 | 106 | 0.617911 | markreidvfx |
33f74ccc3b216a435803e2b9423c0caf6b88825e | 56,981 | cpp | C++ | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:25.000Z | 2018-10-13T02:50:25.000Z | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | null | null | null | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:26.000Z | 2018-10-13T02:50:26.000Z | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | 25.3587 | 134 | 0.647777 | rzsavilla |
33f7c9daf4599356166825b3a4a5694d2668467c | 1,679 | cpp | C++ | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifdef BOOST_QVM_TEST_SINGLE_HEADER
# include BOOST_QVM_TEST_SINGLE_HEADER
#else
# include <boos... | 22.092105 | 79 | 0.585468 | boostorg |
33f955f4b7b40f59688a1a7f87cf362aee8d0523 | 468 | cpp | C++ | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | #include <boost/python.hpp>
#include "OpenPGP/Subpackets/Tag2Sub28.h"
void Tag2Sub28_init()
{
boost::python::class_<Tag2Sub28, boost::python::bases<Tag2Subpacket>>("Tag2Sub28")
.def(boost::python::init<std::string &>())
.def("read", &Tag2Sub28::read)
.def("show", &Tag2Sub28::show)
.def("raw", &Tag2Sub... | 27.529412 | 82 | 0.65812 | mugwort-rc |
33f9c11b20cdbf2983f795564136aa8d1fdf4bcf | 332 | cc | C++ | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "PhysicsTools/JetMCAlgos/interface/BasePartonSelector.h"
BasePartonSelector::BasePartonSelector() {}
BasePartonSelector::~BasePartonSelector() {}
void BasePartonSelector::run(const edm::Handle<reco::GenParticleCollection>& particles,
std::unique_ptr<reco::GenParticleRefVector>& ... | 36.888889 | 87 | 0.740964 | ckamtsikis |
33facceab40746a6a205d13aaa958b7e1675ca04 | 1,047 | cpp | C++ | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /*The count-and-say sequence is the sequence of integers with the first five
terms as following:
1. 1
2. 11
3. 21
4. 1211
5. 111221
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n where 1 ≤ n ≤ 30, gene... | 19.754717 | 80 | 0.494747 | archit-1997 |
33faec5db7f5f4242cdf3e7e164458fa1e7105c6 | 2,006 | cpp | C++ | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 4 | 2019-10-18T10:01:01.000Z | 2020-07-17T03:43:48.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 1 | 2019-10-25T08:35:27.000Z | 2019-10-28T05:06:55.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 3 | 2019-07-29T09:21:11.000Z | 2021-08-28T14:25:13.000Z | /* IQIF neuron object
* Chen-Fu Yeh, 2019/11/09
*/
#include "iq_neuron.h"
using namespace std;
iq_neuron::iq_neuron(int rest, int threshold,
int reset, int a, int b, int noise)
{
x = rest; // initialize with rest potential
t_neuron = 0;
f_min = (a*rest... | 18.236364 | 77 | 0.547856 | twetto |
33faf880222e95dd8e9e2bcc92642906a952bb73 | 23,412 | cpp | C++ | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of divvyd: https://github.com/xdv/divvyd
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grant... | 38.570016 | 82 | 0.524475 | coinjet |
33fbb210810bab91e3e5e5281a19e74822a79a9e | 44,258 | cpp | C++ | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | /*
* BSD 2-Clause License
*
* Copyright (c) 2020, Christoph Neuhauser
* 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 ... | 43.390196 | 123 | 0.64908 | FelixBrendel |
33fdf339bf89884ccf4eafbeae7f765a6cd1a109 | 4,925 | cpp | C++ | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 386 | 2015-01-02T11:10:43.000Z | 2022-03-10T15:12:20.000Z | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 484 | 2015-01-09T18:28:06.000Z | 2022-03-31T16:02:04.000Z | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 99 | 2015-01-28T23:18:04.000Z | 2022-03-27T00:59:39.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 30.214724 | 151 | 0.657056 | bradleyhenke |
33fdf948cd6d64179e9d82b680ba30593b58de6f | 2,509 | cpp | C++ | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | 4 | 2015-12-16T06:43:14.000Z | 2020-01-24T06:05:47.000Z | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | /*
**==============================================================================
**
** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and associated documentation files (the "Software"),
** ... | 32.584416 | 80 | 0.62774 | LegalizeAdulthood |
33ff6e3d328c652ea717362e770c0dae140c6366 | 1,802 | hpp | C++ | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | /*
* BiasedRandomWalk.hpp
*
* Created on: 03.07.2020
* Author: Klaus Ahrens <ahrens@informatik.hu-berlin.de>
*
* adapted and reimplemented from node2vec
* part of snap [https://github.com/snap-stanford/snap]
* Copyright (c) 2007-2019, Jure Leskovec (under BSD license)
*
* see [https://arxiv.org/pdf... | 27.30303 | 100 | 0.704772 | angriman |
33ff8198ae66cc42da76d1efc0d75657d14fdb16 | 2,098 | cc | C++ | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null |
#include <string>
#include <string_view>
#include <iostream>
#include <regex>
#include <algorithm>
#include <map>
// #include <range/v3/all.hpp>
namespace {
using SatelliteGraph = std::map<std::string, std::vector<std::string>>;
SatelliteGraph map2graph(std::istream& map) {
SatelliteGraph result;
const std... | 23.840909 | 80 | 0.659676 | ovove |
d5018e36c13540c04dfcdf308c8537bae3c2e67d | 413 | hpp | C++ | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | #pragma once
#include <httplib/detail/common.hpp>
#include <httplib/http/headers.hpp>
#include <httplib/http/version.hpp>
#include <string>
HTTPLIB_OPEN_NAMESPACE
struct http_response_t {
unsigned int code = 0;
std::string reason;
http_version_t version;
http_headers_t headers;
};
std::ostream &... | 16.52 | 80 | 0.748184 | andrusha97 |
d501a76112ee571565b25b56c1e25347067fbe08 | 19,005 | hpp | C++ | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-22T11:29:02.000Z | 2020-09-22T11:29:02.000Z | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-29T08:57:13.000Z | 2020-09-29T08:57:13.000Z | #pragma once
#include <tudocomp/config.h>
#ifndef SDSL_FOUND
#pragma message "SDSL required, but not available!"
#else
//std includes:
#include <vector>
#include <tuple>
//general includes:
#include <tudocomp/util.hpp>
#include <tudocomp/ds/IntVector.hpp>
#include <tudocomp/Compressor.hpp>
#include <tudocomp/Error.... | 37.858566 | 176 | 0.473612 | 421408 |
d5046672da82a39afaaa79a713ad8494c3e43f72 | 11,486 | cpp | C++ | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | null | null | null | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-05-27T18:56:25.000Z | 2018-05-27T18:56:25.000Z | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-09-05T11:18:06.000Z | 2018-09-05T11:18:06.000Z | #include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
using namespace std;
using namespace cv;
Mat myMask;
Mat myFrame;
Mat origFrame;
int frameCols = 0, frameRows = 0;
Mat refine(Mat frame, Mat mask);
static void help()
{
cout << "\nThis... | 27.544365 | 164 | 0.560334 | 2vin |
d50497ebfd52764adcdd0be94bd42751cbd3ee60 | 2,420 | cpp | C++ | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | 9 | 2018-12-08T14:50:18.000Z | 2021-02-17T13:45:59.000Z | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | null | null | null | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | 3 | 2019-12-21T02:50:39.000Z | 2022-01-04T02:53:07.000Z | /*
* This file is part of ALVAR, A Library for Virtual and Augmented Reality.
*
* Copyright 2007-2012 VTT Technical Research Centre of Finland
*
* Contact: VTT Augmented Reality Team <alvar.info@vtt.fi>
* <http://www.vtt.fi/multimedia/alvar.html>
*
* ALVAR is free software; you can redistribute it and/... | 28.809524 | 143 | 0.746694 | dasys-lab |
d504cc00313bf908d5c69ac2805bd7c2f0928032 | 3,192 | hpp | C++ | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | /*
* HaloDataOrganizer.hpp
*
* Created on: Jun 13, 2019
* Author: stu
*/
#ifndef INCLUDE_HALODATAORGANIZER_HPP_
#define INCLUDE_HALODATAORGANIZER_HPP_
#include <map>
#include <set>
#include <algorithm>
//#include "TLBM_definitions.h"
#include "HaloDataObject.hpp"
template <class T>
class HaloDataOrganizer... | 18.344828 | 101 | 0.713033 | stu314159 |
d506401b50d2e59407dc797d4fd50dff14a4fccc | 983 | cpp | C++ | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/clouddirectory/model/UpgradeAppliedSchemaRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CloudDirectory::Model;
using namespace Aws::... | 19.27451 | 69 | 0.749746 | lintonv |
d508323b47303f8811d802f301ad5d8444d62e3f | 6,227 | cpp | C++ | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 628 | 2020-03-06T14:01:32.000Z | 2022-03-31T06:35:14.000Z | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 576 | 2020-03-06T08:25:12.000Z | 2022-03-30T04:05:29.000Z | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 38 | 2020-03-07T06:10:00.000Z | 2022-03-29T09:27:36.000Z | #include "Interface/Core/ArchHelpers/Arm64Emitter.h"
#include <FEXCore/Utils/LogManager.h>
#include <FEXCore/Core/CoreState.h>
#include "aarch64/cpu-aarch64.h"
#include "cpu-features.h"
#include "aarch64/instructions-aarch64.h"
#include "utils-vixl.h"
#include <tuple>
namespace FEXCore::CPU {
#define STATE x28
// ... | 25.838174 | 118 | 0.612012 | phire |
d50a7c441af412f4a480c5d5986a2cba15bf6819 | 12,139 | cpp | C++ | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/fetch/BodyStreamBuffer.h"
#include "core/testing/DummyPageHolder.h"
#include "modules/fetch/DataConsumerHandleTestUtil.h"
#include "pla... | 37.816199 | 195 | 0.743142 | wedataintelligence |
d50a813b21c4a7125a568638f8d335fae4043844 | 115 | cpp | C++ | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | #if !defined(DONT_DEFINE_TYPES)
#endif
#include "F:/Programming/CppLibs/imgui/imgui/examples/imgui_impl_glfw.h"
| 16.428571 | 72 | 0.791304 | CheezLang |
d50bb228f8c4f9cb398f2eafa5b7e51afb5899f1 | 12,432 | cc | C++ | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 36.890208 | 80 | 0.677687 | bopopescu |
d50bc9912659c9fac76afa8c42977160281ba429 | 1,601 | cpp | C++ | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | 3 | 2020-07-30T19:41:00.000Z | 2020-10-28T12:52:37.000Z | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | null | null | null | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | 2 | 2020-05-11T03:19:00.000Z | 2021-07-07T17:40:47.000Z | /**
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2019 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not... | 32.02 | 87 | 0.663335 | rdkcmf |
d50d608dc4b92b0c6251b547d8b1de3d39119f2a | 17,818 | cpp | C++ | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | 1 | 2020-05-06T12:52:45.000Z | 2020-05-06T12:52:45.000Z | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Andreas Pohl
* Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING)
*
* Author: Andreas Pohl
*/
#include "PluginProcessor.hpp"
#include <signal.h>
#include "PluginEditor.hpp"
#include "json.hpp"
using json = nlohmann::json;
AudioGridderAudioProcessor::AudioG... | 34.464217 | 120 | 0.599394 | b00leant |
d50f311baa5bcc6fa2ee3552adff91ceb0cc7f31 | 169 | cpp | C++ | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
void Camera::UpdateProjectionMatrix() {
m_projectionMatrix = Matrix4::Perspective(m_FOV, GetApplication()->GetAspect(), m_nearPlane, m_farPlane);
} | 33.8 | 106 | 0.775148 | jodelahithit |
d5114b098c4fc6702425173f9542b3eca474cb81 | 12,353 | hpp | C++ | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 1 | 2015-06-28T09:06:24.000Z | 2015-06-28T09:06:24.000Z | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 11 | 2015-05-05T16:16:33.000Z | 2017-08-10T08:15:50.000Z | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 1 | 2017-09-23T12:51:13.000Z | 2017-09-23T12:51:13.000Z | /**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 31.194444 | 117 | 0.80871 | pepsi7959 |
d5115f1dd807baf6f227a32812c871f3bd83d420 | 28,395 | cpp | C++ | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include <algorithm>
#include <iterator>
#define CATCH_CONFIG_PREFIX_ALL
#include "perceive/calibration/aruco-cube.hpp"
#include "perceive/contrib/catch.hpp"
#include "perceive/geometry.hpp"
#include "perceive/geometry/projective/binocular-camera.hpp"
namespace perceive
{
static const string c1001_v6 = R"V0G0N(
{
... | 56.451292 | 2,374 | 0.565522 | prcvlabs |
d511c7c5d6f4685b83a676dc6a2ae6ea6703ec81 | 7,011 | cc | C++ | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/ipc/service/gpu_memory_buffer_factory_dxgi.h"
#include <vector>
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/trace_... | 34.033981 | 103 | 0.72158 | Yannic |
d514a9e055b489dbe250836cdb055956cc54c5f0 | 6,890 | cpp | C++ | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 248 | 2015-01-08T05:21:40.000Z | 2022-03-20T02:59:16.000Z | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 39 | 2015-01-14T17:37:07.000Z | 2022-03-17T12:59:26.000Z | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 82 | 2015-01-11T13:23:49.000Z | 2022-02-19T03:17:24.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2020 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | 33.77451 | 112 | 0.697823 | xctan |
d515380d863c775cdc86b6219d718489357a7d02 | 238 | cc | C++ | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
string solve(string s) {
if(s == "AAA" || s == "BBB")
return "No";
return "Yes";
}
/*
int main() {
string s;
cin >> s;
cout << solve(s);
}
*/ | 14.875 | 32 | 0.516807 | nryotaro |
d5153aabc5ef5950d4034b68c66f9180d9050f96 | 1,748 | cpp | C++ | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
#include <vector>
#include <queue>
#define INF 10000000
using namespace std;
vector<vector<pair<int, int> > > graph;
void dijkstra(int start) {
vector<int>dist((int)graph.size(), INF);
vector<int>path((int)graph.size(), -1);
priority_queue<pair<int,int>, vector<pair<int,int> >, greater... | 25.333333 | 87 | 0.463959 | AnneLivia |
d517a7ae14c50ac5e439a7c29513aa65ab0edf66 | 3,696 | cpp | C++ | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | /**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 2018-4-14 21:58:25
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn)... | 19.659574 | 77 | 0.479708 | kazunetakahashi |
d51850c216a43599c3d9a9bf589559d88c4e7c1c | 13,177 | cpp | C++ | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 28 | 2015-07-11T17:11:12.000Z | 2022-03-26T04:14:16.000Z | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 2 | 2019-05-26T19:02:24.000Z | 2021-05-27T14:15:04.000Z | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 9 | 2019-07-04T12:54:29.000Z | 2022-02-09T13:04:38.000Z | /*
* Copyright © 2011 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, pub... | 30.431871 | 80 | 0.675951 | MauroArgentino |
d5187582d079e3d9588b50bbdcdce745ae44c5f0 | 822 | cpp | C++ | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | 1 | 2022-02-15T12:53:00.000Z | 2022-02-15T12:53:00.000Z | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class strings_recursion
{
public:
int length(char s[]);
void removeX(char s[]);
};
int strings_recursion::length(char s[])
{
if (s[0] == '\0')
{
return 0;
}
int smallStringLength = length(s + 1);
return 1 + smallStringLength;
}
void string... | 14.945455 | 42 | 0.457421 | gaurav147-star |
d518fb0e32ff30902f083db5a640d07acf40675c | 1,814 | cpp | C++ | Source/Add On - Apple/CCoreGraphics.cpp | StevoGTA/CppToolbox | ff53e4ecf02b283e608afc92769199104ba30bf1 | [
"MIT"
] | 1 | 2019-05-02T23:49:03.000Z | 2019-05-02T23:49:03.000Z | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------------------------------------------------
// CCoreGraphics.cpp ©2020 Stevo Brock All rights reserved.
//----------------------------------------------------------------------------------------------------------------------
#include "CCore... | 43.190476 | 120 | 0.495039 | StevoGTA |
d51985e8238b33ea3f6df0d1d4ca49d9e5c9ab31 | 504 | cc | C++ | components/prefs/writeable_pref_store.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/prefs/writeable_pref_store.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/prefs/writeable_pref_store.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 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/prefs/writeable_pref_store.h"
void WriteablePrefStore::ReportSubValuesChanged(
const std::string& key,
std::set<std::vector<... | 33.6 | 76 | 0.751984 | zealoussnow |
d51a6eb192ee41b0b8ce11d5816fe375a6e1b915 | 106,081 | cpp | C++ | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 16 | 2015-09-08T08:49:11.000Z | 2019-07-20T14:46:20.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 1 | 2019-02-10T08:27:48.000Z | 2019-02-10T08:27:48.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 7 | 2016-05-26T17:31:46.000Z | 2020-11-04T06:39:23.000Z | //===------- LegalizeVectorTypes.cpp - Legalization of vector types -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.971712 | 81 | 0.639172 | nettrino |
d51a8fe0a2f169cda115e9ac3721afcf1e9d24d5 | 5,873 | cc | C++ | src/run_crown/deref_expression.cc | Clown-FM/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2019-09-07T09:58:26.000Z | 2019-09-07T09:58:26.000Z | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 4 | 2019-09-07T09:53:17.000Z | 2021-09-04T16:11:20.000Z | // This file is part of CROWN, which is distributed under the revised
// BSD license. A copy of this license can be found in the file LICENSE.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PART... | 32.269231 | 103 | 0.715307 | Clown-FM |
d51cb66fc40503d58f07b6731073208bc815fb66 | 3,975 | cpp | C++ | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | #include "Assembler.hpp"
#include "MinHash.hpp"
using namespace ChanZuckerberg;
using namespace shasta;
// Use the minHash algorithm to find alignment candidates.
// Use as features sequences of m consecutive special k-mers.
void Assembler::findAlignmentCandidatesMinHash(
size_t m, // Numb... | 32.056452 | 103 | 0.693082 | ekg |
d51d1caa2d631123f846b1530b8e5e05133e36c2 | 62,133 | cpp | C++ | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 1,305 | 2018-07-28T08:48:47.000Z | 2022-03-31T23:06:59.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 582 | 2019-01-01T15:37:55.000Z | 2022-03-30T22:57:16.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 284 | 2018-10-17T22:16:26.000Z | 2022-03-30T15:38:19.000Z | #ifdef _WIN32
#include <windows.h>
#include <windowsx.h>
#else
#include "../swell/swell.h"
#endif
#include <stdlib.h>
#include <string.h>
#ifndef CURSES_INSTANCE
#define CURSES_INSTANCE ((win32CursesCtx *)m_cursesCtx)
#endif
#include "curses.h"
#include "eel_edit.h"
#include "../wdlutf8.h"
#include "../win32_utf8.h"
#i... | 29.657757 | 161 | 0.530362 | badi91 |
d51daa9e1e70d6408cdfb4d7a4b61f0e565ff340 | 29,952 | cc | C++ | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 2 | 2021-01-19T02:27:59.000Z | 2021-08-18T06:56:32.000Z | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | null | null | null | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 1 | 2020-06-22T12:46:39.000Z | 2020-06-22T12:46:39.000Z | /* Copyright 2017 The Apollo Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | 35.0726 | 80 | 0.685831 | IsaacZhang123 |
d51ec1720ee2162fa6b160278ebe048b09a56fd0 | 577 | cpp | C++ | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 8 | 2021-07-16T18:07:15.000Z | 2022-01-31T19:17:10.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 1 | 2022-01-18T23:02:26.000Z | 2022-01-18T23:02:30.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 2 | 2022-01-18T15:45:18.000Z | 2022-01-26T09:53:19.000Z | #define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"
#include <cstdio>
#include <backward.hpp>
namespace veg {
int argc = 0;
char** argv = nullptr;
} // namespace veg
auto main(int argc, char** argv) -> int {
veg::argc = argc;
veg::argv = argv;
char argname[] = "--veg-death-assertion-id";
if (argc >= 3 && //
... | 21.37037 | 51 | 0.616984 | karnkaul |
d52047756e66a3c16b8efa635ce2d1f323bae298 | 2,910 | cpp | C++ | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 3 | 2020-03-01T06:30:30.000Z | 2021-05-01T05:11:48.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 96 | 2020-01-18T18:25:48.000Z | 2022-03-26T12:26:50.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Name: scope.cpp
// Purpose: Implementation of class wex::scope
// Author: Anton van Wezenbeek
// Copyright: (c) 2020-2021 Anton van Wezenbeek
////////////////////////////////////////////////////////////////////////////////
#i... | 21.086957 | 80 | 0.576289 | antonvw |
d520fecc7313fd00060c3bd0391a55885087991f | 6,931 | hpp | C++ | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: blast_test_util.hpp 354597 2012-02-28 16:45:09Z ucko $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government... | 33.97549 | 86 | 0.665416 | OpenHero |
d5253eaacce066df546bf71ee56094c0c5c69043 | 16,440 | cpp | C++ | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | 7 | 2015-02-18T13:45:06.000Z | 2019-01-24T21:49:18.000Z | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | null | null | null | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | 2 | 2017-04-21T09:38:50.000Z | 2020-05-26T22:13:58.000Z | //****************************************************************************
//**
//** kybrd.cpp
//** -Keyboard driver
//**
//****************************************************************************
//============================================================================
// IMPLEMENTATION HEAD... | 24.212077 | 101 | 0.556873 | mooseman |
d525f95e42d6522cd7ee92b8811407b917e7369b | 42,083 | cpp | C++ | src/Vendor/gumbo/GumboInterface.cpp | luojilab/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 15 | 2018-08-31T06:54:27.000Z | 2022-01-06T07:01:29.000Z | src/Vendor/gumbo/GumboInterface.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | null | null | null | src/Vendor/gumbo/GumboInterface.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 6 | 2018-08-31T06:54:36.000Z | 2021-10-09T07:10:36.000Z | #include <string>
#include <stdio.h>
#include <list>
#include <set>
#include <algorithm>
#include "GumboInterface.h"
#include "string_buffer.h"
#include "error.h"
#include "StringUtil.h"
#include "UrlUtil.h"
//#include "pcrecpp.h"
namespace future {
static std::set<std::string> init_set(const char** arr,... | 31.977964 | 149 | 0.643348 | luojilab |
d526727055b3a97048584f86c03f0a79d2af5c06 | 5,116 | cpp | C++ | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 5 | 2015-04-16T14:27:38.000Z | 2021-11-30T14:54:39.000Z | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 8 | 2017-05-30T16:58:39.000Z | 2022-02-22T16:51:34.000Z | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 7 | 2016-05-29T08:12:59.000Z | 2019-05-02T13:39:25.000Z | /**
* @cond doxygenLibsbmlInternal
*
* @file CompartmentOutsideCycles.cpp
* @brief Ensures no cycles exist via a Compartment's 'outside' attribute.
* @author Ben Bornstein
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http:/... | 27.956284 | 80 | 0.654222 | copasi |
d5267776d7ddbb314b5aca590f788392546d2329 | 884 | hpp | C++ | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 709 | 2016-03-19T07:55:58.000Z | 2022-03-31T08:02:22.000Z | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 415 | 2017-05-21T05:05:02.000Z | 2022-03-29T16:08:27.000Z | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 123 | 2016-03-19T12:47:08.000Z | 2022-03-25T03:47:51.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "../Common.hpp"
names... | 22.666667 | 65 | 0.631222 | emadurandal |
d527fabc2345d9850127221c934ccf808739c9d3 | 860 | cpp | C++ | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | #include "system_management.h"
std::ofstream fileout("log");
System_resource::System_resource()
{
sysinfo(&memInfo);
totalVirtualMem = memInfo.totalram;
totalVirtualMem += memInfo.totalswap;
totalVirtualMem *= memInfo.mem_unit;
totalPhysMem = memInfo.totalram;
totalPhysMem *= memInfo.mem_unit;
}
uint64_t Syste... | 23.243243 | 56 | 0.790698 | radii-dev |
d52981f986e594e9ef98cc4ce1c56ba8027e82f7 | 1,518 | cpp | C++ | OpencvBuild/Opencv/Opencv/core/perf/perf_sort.cpp | kevinlq/Opencv-module-build | 73ca967ff994e0c86f2537e273040807e7250897 | [
"MIT"
] | 3 | 2017-11-02T15:12:14.000Z | 2021-06-03T06:10:48.000Z | OpencvBuild/Opencv/Opencv/core/perf/perf_sort.cpp | kevinlq/Opencv-module-build | 73ca967ff994e0c86f2537e273040807e7250897 | [
"MIT"
] | null | null | null | OpencvBuild/Opencv/Opencv/core/perf/perf_sort.cpp | kevinlq/Opencv-module-build | 73ca967ff994e0c86f2537e273040807e7250897 | [
"MIT"
] | 3 | 2018-01-03T15:11:21.000Z | 2019-05-31T03:21:01.000Z | #include "perf_precomp.hpp"
using namespace std;
using namespace cv;
using namespace perf;
using std::tr1::tuple;
using std::tr1::make_tuple;
using std::tr1::get;
#define TYPICAL_MAT_SIZES_SORT TYPICAL_MAT_SIZES
#define TYPICAL_MAT_TYPES_SORT CV_8UC1, CV_16UC1, CV_32FC1
#define SORT_TYPES ... | 28.641509 | 162 | 0.700264 | kevinlq |
d52a2e3d7bc726d86fdc5b6f25baffcad0df83ff | 7,246 | cpp | C++ | BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | wafflehammer/MonoInjector | bc7680a2ec8be606f5fdc8614c0c991a1d074382 | [
"MIT"
] | 354 | 2018-08-13T18:19:21.000Z | 2022-03-20T10:37:20.000Z | Protection/BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | Bia10/ZzukBot_V3 | 55abfb38fd07ba970d4b4020d8d96b87559509db | [
"Unlicense"
] | 6 | 2017-08-03T03:40:56.000Z | 2021-10-18T22:12:58.000Z | Protection/BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | Bia10/ZzukBot_V3 | 55abfb38fd07ba970d4b4020d8d96b87559509db | [
"Unlicense"
] | 90 | 2018-11-15T12:37:51.000Z | 2022-02-14T11:12:39.000Z | #include "LocalHookBase.h"
namespace blackbone
{
std::unordered_map<void*, DetourBase*> DetourBase::_breakpoints;
void* DetourBase::_vecHandler = nullptr;
DetourBase::DetourBase()
{
}
DetourBase::~DetourBase()
{
VirtualFree( _buf, 0, MEM_RELEASE );
}
/// <summary>
/// Allocate detour buffer as close to target a... | 28.085271 | 112 | 0.616202 | wafflehammer |
d52a8639b282d5cb9e6c66ba5def09ad823af4b9 | 3,195 | cpp | C++ | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | null | null | null | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | null | null | null | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | 1 | 2021-11-22T16:33:50.000Z | 2021-11-22T16:33:50.000Z | #include<iostream>
#include<fstream>
#include<map>
#include<vector>
#include<cstdlib>
#include<algorithm>
#include<set>
#define CH printf("check!!\n");
using namespace std;
int main(int argc,char *argv[])
{
ifstream infile1(argv[1]);
ofstream outfile(argv[2],ios_base::out | ios_base::binary);
string str1,str2;... | 23.492647 | 71 | 0.600939 | LazyShion |
d52ba182a9c2333b3469ec0a46922d3f0c6a6a4c | 250 | cpp | C++ | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 1 | 2020-05-10T12:55:07.000Z | 2020-05-10T12:55:07.000Z | #include <test/unit/math/test_ad.hpp>
TEST(mathMixMatFun, log1m) {
auto f = [](const auto& x1) { return stan::math::log1m(x1); };
stan::test::expect_common_unary_vectorized(f);
stan::test::expect_unary_vectorized(f, -21.5, -21, -1, 0.9, 3);
}
| 31.25 | 65 | 0.672 | bayesmix-dev |
d52ec5d95e092e53994be0f0e575ee1eb387cb9d | 22,717 | cpp | C++ | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | 1 | 2022-01-07T21:25:53.000Z | 2022-01-07T21:25:53.000Z | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | null | null | null | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | null | null | null | #include "LumenPCH.h"
#include <regex>
#include <stb_image.h>
#define TINYEXR_IMPLEMENTATION
#include <zlib.h>
#include <tinyexr.h>
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define TINYOBJLOADER_IMPLEMENTATION
#include "RayTracer.h"
RayTracer* RayTracer::i... | 34.842025 | 110 | 0.74693 | yuphin |
d52fe3d5cf2a04ed0a8620de3137866eaebdb5dc | 19,044 | cpp | C++ | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "Diagnostics.H"
#include "Diagnostics/ComputeDiagFunctors/ComputeDiagFunctor.H"
#include "ComputeDiagFunctors/BackTransformParticleFunctor.H"
#include "Diagnostics/FlushFormats/FlushFormat.H"
#include "Diagnostics/ParticleDiag/ParticleDiag.H"
#include "FlushFormats/FlushFormatAscent.H"
#include "FlushFormats/... | 40.433121 | 142 | 0.646765 | PhilMiller |
d5333c8297dff93bb9e32e00f2dc3310dead2358 | 5,159 | cxx | C++ | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include <cassert>
#include "UserAgent.hxx"
#include "UserAgentServerAuthManager.hxx"
#include <resip/dum/DialogUsageManager.hxx>
#include <resip/dum/ServerAuthManager.hxx>
#include <resip/dum/UserAuthInfo.hxx>
#include <resip/dum/UserProfile.hxx>
#include <rutil/MD5Stream.hxx>
#include <rutil/WinLeakCheck.hxx>
#def... | 34.393333 | 165 | 0.686373 | dulton |
d536b7e2212643e95994d8478766ff5c1aa92af6 | 20,539 | cpp | C++ | tests/popsparse/SparseFormatsTest.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 95 | 2020-07-06T17:11:23.000Z | 2022-03-12T14:42:28.000Z | tests/popsparse/SparseFormatsTest.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | tests/popsparse/SparseFormatsTest.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | 14 | 2020-07-15T12:32:57.000Z | 2022-01-26T14:58:45.000Z | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#define BOOST_TEST_MODULE SparseFormatsTest
#include "../lib/popsparse/SparseStorageInternal.hpp"
#include <boost/test/unit_test.hpp>
// CSR/CSC representation of matrix for element sparsity
// 10 20 0 0 0 0
// 0 30 0 40 0 0
//... | 46.05157 | 80 | 0.597887 | graphcore |
d53733bd8ae0d7c5652718dc3012ca238400ae83 | 9,224 | cpp | C++ | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | //
// onnxOpConverter.cpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "onnxOpConverter.hpp"
#include "OpCount.hpp"
using namespace MNN;
static int32_t _limit(int64_t i64) {
if (i64 > (int64_t)(1 << 30)) {
return 1 << 30;
}
i... | 37.803279 | 116 | 0.568517 | foreverlms |
d539757ef23d4c01ba4e3355d1ccf2d0a166d96d | 20,382 | hxx | C++ | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 38.675522 | 120 | 0.659356 | bradking |
d53a87a9e6e27378f7ec05288766cada1296d53f | 1,628 | cpp | C++ | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2004-present, Facebook, 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 ... | 26.258065 | 77 | 0.702703 | yukonfb |
d53ae992b6472b93886c119c8ad83a6aeb8a5983 | 35,578 | cpp | C++ | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | /*
* Copyright (c) 2014 - 2015, The Linux Foundation. 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 li... | 37.728526 | 100 | 0.669093 | rahulsnair |
d53b979723cc0e85ed1a29b0b3ad214062ec0e8a | 1,538 | hpp | C++ | Common/Code/IndexBox.hpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 22 | 2017-07-11T20:31:16.000Z | 2021-04-04T16:00:10.000Z | Common/Code/IndexBox.hpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | Common/Code/IndexBox.hpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 10 | 2017-12-08T21:58:58.000Z | 2021-03-20T07:16:47.000Z | //
// IndexBox.h
// InternetMap
//
// Created by Alexander on 11.12.12.
// Copyright (c) 2012 Peer1. All rights reserved.
//
#ifndef InternetMap_IndexBox_hpp
#define InternetMap_IndexBox_hpp
#include "Types.hpp"
#include <set>
static const float IndexBoxMinX = -8;
static const float IndexBoxMaxX = 8;
static cons... | 27.464286 | 104 | 0.750975 | steamclock |
d53c45114c8012f5752f54f4512f150a527c151e | 13,132 | cpp | C++ | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 110 | 2018-09-04T20:33:59.000Z | 2021-12-17T08:46:11.000Z | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 5 | 2018-09-05T20:57:08.000Z | 2021-02-24T09:02:31.000Z | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 20 | 2018-09-05T00:41:13.000Z | 2021-08-04T01:31:50.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, 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 de... | 41.0375 | 216 | 0.611407 | magcius |
d53cbc8233243df4139baac58b76bcfabc65507d | 286 | cpp | C++ | Presto/src/Presto/Components/Electronics/Communication/Channel.cpp | mradrianhh/Presto | a43f87507daa094e887df4046c8664b1e6132187 | [
"Apache-2.0"
] | 1 | 2022-02-01T03:51:10.000Z | 2022-02-01T03:51:10.000Z | Presto/src/Presto/Components/Electronics/Communication/Channel.cpp | mradrianhh/Presto | a43f87507daa094e887df4046c8664b1e6132187 | [
"Apache-2.0"
] | null | null | null | Presto/src/Presto/Components/Electronics/Communication/Channel.cpp | mradrianhh/Presto | a43f87507daa094e887df4046c8664b1e6132187 | [
"Apache-2.0"
] | null | null | null | #include "prestopch.h"
#include "Channel.h"
#include "Presto/Components/Electronics/Communication/Signals/ISignal.h"
namespace Presto
{
void Channel::Send(ISignal* signal)
{
m_Signal = signal;
}
ISignal* Channel::Read()
{
return m_Signal;
}
} | 15.888889 | 72 | 0.63986 | mradrianhh |
d53cf336010d073a46734c47291497b2dc4962d6 | 2,497 | cc | C++ | chrome/browser/ui/webui/print_preview_ui_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-02-20T14:25:04.000Z | 2019-12-13T13:58:28.000Z | chrome/browser/ui/webui/print_preview_ui_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/ui/webui/print_preview_ui_uitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/string16.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/common/chrome_switches... | 32.855263 | 77 | 0.755707 | SlimKatLegacy |
d5411a6e6847c2c0491ca39d39d322e459ea5dec | 1,055 | cpp | C++ | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 39 | 2019-06-22T12:25:54.000Z | 2022-03-14T05:42:44.000Z | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 5 | 2019-06-29T10:58:43.000Z | 2020-09-04T08:44:09.000Z | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 10 | 2019-08-07T06:08:23.000Z | 2022-03-14T05:42:47.000Z |
#include "default_theme_provider.h"
#include "ui_base/resource/resource_bundle.h"
#include "view/widget/native_widget_win.h"
namespace view
{
DefaultThemeProvider::DefaultThemeProvider() {}
DefaultThemeProvider::~DefaultThemeProvider() {}
void DefaultThemeProvider::Init(Profile* profile) {}
SkBi... | 21.979167 | 76 | 0.685308 | topillar |
d54233e19b83a05d8b9ce887d61da3a86ba34120 | 20,804 | cpp | C++ | TESTS/stepper_motor/base/main.cpp | vznncv/vznncv-stepper-driver | c933152dc421ea7ffa61b4916966ce73734f93fa | [
"MIT"
] | 2 | 2021-07-28T11:51:37.000Z | 2022-02-17T20:23:59.000Z | TESTS/stepper_motor/base/main.cpp | vznncv/vznncv-stepper-driver | c933152dc421ea7ffa61b4916966ce73734f93fa | [
"MIT"
] | null | null | null | TESTS/stepper_motor/base/main.cpp | vznncv/vznncv-stepper-driver | c933152dc421ea7ffa61b4916966ce73734f93fa | [
"MIT"
] | null | null | null | #include <cmath>
#include "greentea-client/test_env.h"
#include "mbed.h"
#include "unity.h"
#include "utest.h"
#include "vznncv_stepper_motor.h"
#include "vznncv_stepper_motor_extra.h"
using namespace utest::v1;
using vznncvsteppermotor::BaseStepperMotor;
using vznncvsteppermotor::microseconds_u32;
using vznncvstepp... | 34.964706 | 148 | 0.721977 | vznncv |
d5440368d4912236ac2556e9f1b5b13b571bc46e | 8,329 | hxx | C++ | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | // -*- C++ -*-
//===--------------------------- semaphore --------------------------------===//
//
// 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
//
//===------------... | 29.122378 | 100 | 0.715452 | K-Wu |
d5449f863e08673cc00b0f7277f890cb4164ab98 | 34,521 | cpp | C++ | Testing/Marlin-2.0.x/Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 5 | 2020-05-17T21:16:41.000Z | 2021-06-11T04:46:31.000Z | Testing/Marlin-2.0.x/Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 1 | 2020-09-27T14:53:34.000Z | 2020-09-27T14:53:34.000Z | src/HAL/shared/backtrace/unwarm_thumb.cpp | Sundancer78/Marlin-2.0.4_SKR_14_turbo_ender3 | d9dbef52e6fb4e110908a6d09d0af00fc0ac9b20 | [
"MIT"
] | 2 | 2019-07-22T20:31:15.000Z | 2021-08-01T00:15:38.000Z | /***************************************************************************
* ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
* Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle
*
* This program is PUBLIC DOMAIN.
* This means that there is no copyright and anyone is able to take a copy
... | 32.323034 | 149 | 0.499261 | qisback |
d54606df4cb1464acde729e0b0d7c31afe675644 | 2,401 | cpp | C++ | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | 7 | 2015-10-16T20:49:20.000Z | 2019-04-17T09:34:35.000Z | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | null | null | null | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | null | null | null |
#include <UnitTest/UnitTest.hpp>
#include <Euclid/Geometry/Axis.hpp>
namespace Euclid
{
namespace Geometry
{
UnitTest::Suite AxisTestSuite {
"Euclid::Geometry::Axis",
{"Construction",
[](UnitTest::Examiner & examiner) {
auto a1 = Axis<RealT>{IDENTITY};
examiner << "Identity axis has zero tr... | 28.927711 | 84 | 0.602249 | kurocha |
d5468bb44c87927ca17b5b9a853ee45a7ca6ab93 | 8,428 | cc | C++ | src/devices/testing/mock-ddk/mock-device.cc | lambdaxymox/fuchsia | 177f2940747db40d498ad4ef2442cd8f78edb965 | [
"BSD-2-Clause"
] | 1 | 2021-12-23T01:55:48.000Z | 2021-12-23T01:55:48.000Z | src/devices/testing/mock-ddk/mock-device.cc | lambdaxymox/fuchsia | 177f2940747db40d498ad4ef2442cd8f78edb965 | [
"BSD-2-Clause"
] | 1 | 2020-01-07T00:50:54.000Z | 2020-03-28T03:56:01.000Z | src/devices/testing/mock-ddk/mock-device.cc | lambdaxymox/fuchsia | 177f2940747db40d498ad4ef2442cd8f78edb965 | [
"BSD-2-Clause"
] | 1 | 2021-12-23T06:22:27.000Z | 2021-12-23T06:22:27.000Z | // Copyright 2021 The Fuchsia 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 "src/devices/testing/mock-ddk/mock-device.h"
#include <zircon/syscalls/log.h>
MockDevice::MockDevice(device_add_args_t* args, MockDevice* parent... | 30.871795 | 100 | 0.691742 | lambdaxymox |
d5480991c16607bdb60b2f0c4de714ceb7538ddc | 3,136 | cpp | C++ | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | #include "Controller.hpp"
#include "Transform.hpp"
#include "Window.hpp"
Controller::Controller(Engine& engine) : _engine(engine), _possessed(engine) {
SYSFUNC_ENABLE(SystemInterface, update, 0);
SYSFUNC_ENABLE(SystemInterface, cursorPosition, 0);
SYSFUNC_ENABLE(SystemInterface, keyInput, 0);
SYSFUNC_ENABLE(Syst... | 22.4 | 78 | 0.695791 | eslingsby |
d54be65c70afd2bb465f85bad04edc0d051e2d39 | 35,240 | cc | C++ | ui/gfx/render_text.cc | JoKaWare/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 19 | 2015-03-30T09:49:58.000Z | 2020-01-17T20:05:12.000Z | ui/gfx/render_text.cc | jjzhang166/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 1 | 2015-12-31T06:08:27.000Z | 2015-12-31T06:08:27.000Z | ui/gfx/render_text.cc | jjzhang166/WTL-DUI | 89fd6f4ed7e6a4ce85f9af29c40de0d9a85ca8b2 | [
"BSD-3-Clause"
] | 11 | 2015-06-01T06:18:03.000Z | 2020-05-10T07:18:53.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 "ui/gfx/render_text.h"
#include <algorithm>
#include "base/debug/trace_event.h"
#include "base/i18n/break_iterator.h"
#include "base/loggin... | 35.346038 | 82 | 0.694467 | JoKaWare |
d54c33c36221627729153743f6beca3a63876318 | 17,743 | cpp | C++ | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/SSL/SSL_Asynch_Stream_Test.cpp | 549654033/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | 2 | 2020-05-20T05:16:34.000Z | 2020-05-20T05:19:19.000Z | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/SSL/SSL_Asynch_Stream_Test.cpp | jimxie2012/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | null | null | null | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/SSL/SSL_Asynch_Stream_Test.cpp | jimxie2012/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | 4 | 2020-05-20T01:50:16.000Z | 2021-08-29T13:48:25.000Z | // $Id: SSL_Asynch_Stream_Test.cpp 90163 2010-05-18 21:42:20Z mitza $
// ============================================================================
//
// = LIBRARY
// tests/SSL
//
// = FILENAME
// SSL_Asynch_Stream_Test.cpp
//
// = DESCRIPTION
// This program is a functionality test of ACE_SSL_... | 31.182777 | 118 | 0.568337 | 549654033 |
d54c7144b3f02c753bf5568d57057ac816de1945 | 20,030 | cpp | C++ | SteamPlugin/Common/SteamUser.cpp | adambiser/agk-steam-plugin | a2e203789085d1680b96451a3165604eb615b9d6 | [
"MIT"
] | 10 | 2017-11-02T05:42:30.000Z | 2021-10-01T23:42:23.000Z | SteamPlugin/Common/SteamUser.cpp | adambiser/agk-steam-plugin | a2e203789085d1680b96451a3165604eb615b9d6 | [
"MIT"
] | 2 | 2018-12-13T03:00:21.000Z | 2019-04-04T01:45:02.000Z | SteamPlugin/Common/SteamUser.cpp | adambiser/agk-steam-plugin | a2e203789085d1680b96451a3165604eb615b9d6 | [
"MIT"
] | 1 | 2021-11-02T18:37:25.000Z | 2021-11-02T18:37:25.000Z | /*
Copyright (c) 2019 Adam Biser <adambiser@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | 37.092593 | 199 | 0.795756 | adambiser |
d54e82dd6e215f030261db2309d6dc11c530ec92 | 23,963 | cpp | C++ | src/ast/symboltable/SymbolTable.cpp | totorigolo/caramel | 94c8a05c0a456be6b424d415cef19b7efdc3201b | [
"MIT"
] | null | null | null | src/ast/symboltable/SymbolTable.cpp | totorigolo/caramel | 94c8a05c0a456be6b424d415cef19b7efdc3201b | [
"MIT"
] | null | null | null | src/ast/symboltable/SymbolTable.cpp | totorigolo/caramel | 94c8a05c0a456be6b424d415cef19b7efdc3201b | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2018 insa.4if.hexanome_kalate
*
* 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 us... | 38.096979 | 116 | 0.590994 | totorigolo |
d54ed2bd0cc8105b0a7363378b193d40fdc25943 | 3,021 | hpp | C++ | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z |
//*****************************************************************************
// Copyright (c) 2003. All rights reserved.
// Developed by Jarl Lindrud.
// Contact: jlindrud@hotmail.com .
//*****************************************************************************
#ifndef _UTIL_READWRITEPROTECT_HPP_
#defi... | 27.216216 | 108 | 0.506124 | importlib |
d54f736eac8ecb28f37d4e51826ad635056c4ea5 | 425 | cc | C++ | ssl/server.cc | ririripley/recipes | 04267c68a7424326b4aa8dd14b1a879b59ab887c | [
"BSD-3-Clause"
] | 2 | 2021-01-18T02:36:55.000Z | 2022-01-17T06:38:46.000Z | ssl/server.cc | ririripley/recipes | 04267c68a7424326b4aa8dd14b1a879b59ab887c | [
"BSD-3-Clause"
] | null | null | null | ssl/server.cc | ririripley/recipes | 04267c68a7424326b4aa8dd14b1a879b59ab887c | [
"BSD-3-Clause"
] | 1 | 2020-11-05T15:27:05.000Z | 2020-11-05T15:27:05.000Z | #include "InetAddress.h"
#include "TlsAcceptor.h"
#include "TlsConfig.h"
#include "TlsStream.h"
int main(int argc, char* argv[])
{
TlsConfig config;
// config.setCaFile("ca.pem");
config.setCertFile("server.pem");
config.setKeyFile("server.pem");
InetAddress listenAddr(4433);
TlsAcceptor acceptor(&config,... | 18.478261 | 44 | 0.682353 | ririripley |
d54f794032c0ebf8cba0066e0f27bfec5c6166dc | 172 | hpp | C++ | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 7 | 2017-12-31T13:16:57.000Z | 2020-12-28T12:56:15.000Z | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 2 | 2017-12-31T11:55:22.000Z | 2017-12-31T16:57:00.000Z | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 2 | 2018-07-07T12:34:04.000Z | 2020-11-01T21:58:02.000Z | #pragma warning(default:4005)
extern void** ppPluginData;
extern void* pAMXFunctions;
typedef void (*logprintf_t)(const char* szFormat, ...);
extern logprintf_t logprintf;
| 28.666667 | 55 | 0.77907 | Southclaws |
d551d758a425519a51ad37c0e06a590208172fa9 | 1,227 | hpp | C++ | src/data/include/class_data_vec.hpp | sjvs/FastSim | 7a17b61c5463112e40b12f1842d03a73c342ef55 | [
"Apache-2.0"
] | null | null | null | src/data/include/class_data_vec.hpp | sjvs/FastSim | 7a17b61c5463112e40b12f1842d03a73c342ef55 | [
"Apache-2.0"
] | 22 | 2017-06-27T07:34:02.000Z | 2018-09-17T07:36:21.000Z | src/data/include/class_data_vec.hpp | sjvs/FastSim | 7a17b61c5463112e40b12f1842d03a73c342ef55 | [
"Apache-2.0"
] | 2 | 2018-11-20T13:15:11.000Z | 2019-07-03T12:48:40.000Z | /**
* @brief define container Data_Vec
*
* @file class_data_vec.hpp
* @author Michal Vrastil
* @date 2018-07-11
*/
#pragma once
#include "stdafx.h"
#include <array>
/**
* @class: Data_Vec
* @brief: class containing data [x, y,...]
*/
template <typename T, size_t N>
class Data_Vec
{
public:
// CONSTRUCTO... | 24.058824 | 72 | 0.586797 | sjvs |
d5525677ee9f048d3c6f48de9f70c9f385e038f7 | 4,529 | cc | C++ | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | /*
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
/@@///// /@@ @@////@@ @@////// /@@
/@@ /@@ @@@@@ @@ // /@@ /@@
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
/@@ /@@/@@//// //@@ @@ /@@/@@
/@@ @@@//@@@@@@ //@@... | 28.664557 | 80 | 0.552661 | scothalverson |
d552c8da99adc3de9432770ef376b2bdc7450433 | 1,623 | cc | C++ | source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_movieclip.cc | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 39 | 2020-05-26T15:21:14.000Z | 2022-03-24T04:46:31.000Z | source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_movieclip.cc | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7 | 2020-05-11T14:04:54.000Z | 2020-06-03T15:00:20.000Z | source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_movieclip.cc | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2020-04-25T14:38:01.000Z | 2021-03-03T08:48:58.000Z | /*
* 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.
*
* This program is distributed in the hope that it will be use... | 26.177419 | 90 | 0.732594 | rbabari |
d553b3cb02174050a0817248f4f8537bc79ca289 | 1,284 | cpp | C++ | sstd/src/matrixContainer_binary/InitByComma.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | sstd/src/matrixContainer_binary/InitByComma.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | sstd/src/matrixContainer_binary/InitByComma.cpp | admiswalker/SubStandardLibrary-SSTD- | d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff | [
"MIT"
] | null | null | null | #include "bmat.hpp"
#include "SwapByTwoIndex.hpp"
/*
bool SwapByTwoIndex::getVal(class sstd::bmat& bMat, uint& p, uint& q){
// Mat 座標 <- bMat 座標
uint p_Div8 = p / 8;
uint q_Div8 = q / 8;
// bMat8x8 座標 <- bMat 座標
uint p_Mod8 = p - p_Div8 * 8; // p % 8;
uint q_Mod8 = q - q_Div8 ... | 22.928571 | 81 | 0.535826 | admiswalker |
d553f7526b1e3b55b887e22c97422f60792033fb | 7,117 | hpp | C++ | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | /**
* \file linkedlist.hpp
* \author Dan Obermiller
* \brief Implementation of a singly-linked list.
*/
#ifndef LINKEDLIST_HPP
#define LINKEDLIST_HPP 1
#include <cstddef>
#include <iterator>
#include "list.hpp"
#include "../exceptions.hpp"
/**
* \brief A paramaterized singly-linked list
*/
template <typename... | 19.287263 | 76 | 0.620627 | Dannnno |
d554bd45d843cb76d265f6338a1d1a4f5b3618ea | 10,916 | cpp | C++ | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | /*
* TFTP.cpp
*
* See also:
* * https://tools.ietf.org/html/rfc1350
* Created on: May 21, 2017
* Author: kolban
*/
#include "TFTP.h"
#include <esp_log.h>
#include <FreeRTOS.h>
#include <GeneralUtils.h>
#include <string>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <Socket.h>
#includ... | 27.496222 | 121 | 0.661964 | klaus-liebler |
d55625faab4a967a87ef961045f4929c16c50e77 | 6,462 | cpp | C++ | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 15 | 2017-05-27T16:02:51.000Z | 2018-11-30T07:02:22.000Z | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | null | null | null | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 11 | 2017-11-10T01:28:59.000Z | 2018-11-15T11:59:33.000Z | /*
textdefs.c
diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2016 Gil Dabah
This library is licensed under the BSD license. See the file COPYING.
*/
#include <stdafx.h>
#include "textdefs.h"
#ifndef DISTORM_LIGHT
static uint8_t Nibble2ChrTabl... | 37.352601 | 129 | 0.476787 | jackqk |
d556755ab874ea2f78040cb781cfb7a03579ce09 | 898 | cpp | C++ | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | //
// UtcTime - shows how to use UTC time in logs.
//
#include <plog/Log.h>
#include <plog/Init.h>
#include <plog/Formatters/CsvFormatter.h>
#include <plog/Formatters/TxtFormatter.h>
#include <plog/Appenders/ColorConsoleAppender.h>
#include <plog/Appenders/RollingFileAppender.h>
int main()
{
static plog::ColorCon... | 33.259259 | 125 | 0.721604 | hsbsw |
d55a3c2c148ef28a162c3886742247fd169362ee | 12,690 | cpp | C++ | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | 2 | 2018-04-30T09:58:48.000Z | 2018-05-14T10:13:42.000Z | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "CompoundStorageComponent_Cell.h"
#include "Character_SingleCelled.h"
#include "Logging.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "Meta_CellStage.h"
// Sets default values for this component's propert... | 27.467532 | 190 | 0.665406 | GameAboutThings |
f65b7c949823aa91c278a5e0314eea978e693527 | 4,202 | cpp | C++ | inference-engine/src/vpu/myriad_plugin/myriad_metrics.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | inference-engine/src/vpu/myriad_plugin/myriad_metrics.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 22 | 2021-02-03T12:41:51.000Z | 2022-02-21T13:04:48.000Z | inference-engine/src/vpu/myriad_plugin/myriad_metrics.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "myriad_metrics.h"
#include <algorithm>
#include <vpu/utils/error.hpp>
using namespace vpu::MyriadPlugin;
using namespace InferenceEngine;
using namespace VPUConfigParams;
using namespace PluginConfigParams;
//---------... | 31.125926 | 106 | 0.669681 | Andruxin52rus |
f65c6a13cd9a587638b413bd044a30d92a398b53 | 1,230 | cpp | C++ | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 6 | 2020-03-28T16:46:47.000Z | 2021-11-23T16:27:47.000Z | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 1 | 2021-02-10T13:48:52.000Z | 2021-02-10T13:49:32.000Z | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 5 | 2020-07-31T10:38:44.000Z | 2021-11-10T08:24:20.000Z | #include "enclave.h"
int enclave_b_flow(oe_enclave_t* enclave, const char* input_file) {
int ret = 0;
const char* encrypted_file = "./out.encrypted";
const char* decrypted_file = "./out.decrypted";
// encrypt a file
std::cout << "Host: decrypting file:" << decrypted_file << std::endl;
ret = enc... | 35.142857 | 79 | 0.590244 | VictorDebray |
f65ce637d77ce183f83b70dce6da8d0b4b8b8e71 | 16,444 | cpp | C++ | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | // 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 may... | 29.68231 | 80 | 0.662977 | j143 |
f65d48910d200e8e0757ad791c65309974977b88 | 1,913 | hpp | C++ | ios/Pods/boost-for-react-native/boost/fiber/detail/config.hpp | malsadi87/zstr-react | 63297d67be58393cb1efc57791acdd144643aeb4 | [
"MIT"
] | 156 | 2016-12-14T07:54:55.000Z | 2021-08-06T10:16:27.000Z | ios/Pods/boost-for-react-native/boost/fiber/detail/config.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 28 | 2016-10-16T19:42:37.000Z | 2018-09-14T21:29:48.000Z | ios/Pods/boost-for-react-native/boost/fiber/detail/config.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 35 | 2016-11-25T14:39:33.000Z | 2020-05-15T11:06:57.000Z |
// Copyright Oliver Kowalke 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_FIBERS_DETAIL_CONFIG_H
#define BOOST_FIBERS_DETAIL_CONFIG_H
#include <cstddef>
#include <bo... | 28.984848 | 107 | 0.788813 | malsadi87 |
f65d6152e235a9ae5307a87b311c2a1d31670c6d | 98 | cpp | C++ | examples/basic.cpp | sthagen/cpp-fmt-proxy | 18783c1019abd8ce2d25f347dce933bb65762323 | [
"MIT"
] | 1 | 2021-09-12T11:00:41.000Z | 2021-09-12T11:00:41.000Z | examples/basic.cpp | sthagen/cpp-fmt-proxy | 18783c1019abd8ce2d25f347dce933bb65762323 | [
"MIT"
] | null | null | null | examples/basic.cpp | sthagen/cpp-fmt-proxy | 18783c1019abd8ce2d25f347dce933bb65762323 | [
"MIT"
] | null | null | null | #define FMT_HEADER_ONLY
#include <fmt/format.h>
int main() {
fmt::print("Hello, {}!\n", 42);
}
| 14 | 33 | 0.622449 | sthagen |
f65e1081d2a574e654796d99e4dae40e79bc1848 | 1,743 | cpp | C++ | src/MapGenerator/Math/LineEquation.cpp | USCcorpuscallosum/spiky | 38b2d73ae8def2180e9e84f5c9b6ba814468abc9 | [
"MIT"
] | 2 | 2018-11-10T20:56:22.000Z | 2019-02-10T13:14:05.000Z | src/MapGenerator/Math/LineEquation.cpp | FutureVR/ResponsiveTerrain | f5e631539e886dffb0b4b3f398803730db31f8d7 | [
"MIT"
] | null | null | null | src/MapGenerator/Math/LineEquation.cpp | FutureVR/ResponsiveTerrain | f5e631539e886dffb0b4b3f398803730db31f8d7 | [
"MIT"
] | null | null | null | // MapGenerator
// from https://github.com/Rellikiox/MapGenerator
/*
* LineEquation.cc
*
* Created on: Mar 5, 2012
* Author: rellik
*/
#include "LineEquation.h"
equ::equ(Vec2 p1, Vec2 p2) {
// Calculamos la pendiente
if (p1.x != p2.x) {
vertical = false;
m = (p2.y - p1.y) / (p2.x - p1.x);
b = p1... | 14.056452 | 61 | 0.507745 | USCcorpuscallosum |