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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b896eac1a6f0c72429150e6a6b60f352dc5abbc0 | 200,737 | inl | C++ | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | 1 | 2021-12-10T23:35:04.000Z | 2021-12-10T23:35:04.000Z | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | {std::array<float,2>{0.112185247f, 0.532156646f},
std::array<float,2>{0.805555999f, 0.294173867f},
std::array<float,2>{0.498026997f, 0.193157688f},
std::array<float,2>{0.589425921f, 0.773976266f},
std::array<float,2>{0.302895069f, 0.95057106f},
std::array<float,2>{0.746437192f, 0.122187138f},
std::array<float,2>{0.2218... | 49.008057 | 51 | 0.734728 | st-ario |
b89742fe085002c45c3f5a4a9fb94c96a059e040 | 1,875 | cpp | C++ | src/common/utils/ConvertTimeType.cpp | Sasasu/nebula | 78ac8edb396162da3d01e4cb485a2ae789a6d633 | [
"Apache-2.0"
] | 1 | 2020-12-10T05:59:11.000Z | 2020-12-10T05:59:11.000Z | src/common/utils/ConvertTimeType.cpp | Sasasu/nebula | 78ac8edb396162da3d01e4cb485a2ae789a6d633 | [
"Apache-2.0"
] | null | null | null | src/common/utils/ConvertTimeType.cpp | Sasasu/nebula | 78ac8edb396162da3d01e4cb485a2ae789a6d633 | [
"Apache-2.0"
] | 1 | 2020-03-25T10:17:26.000Z | 2020-03-25T10:17:26.000Z | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "utils/ConvertTimeType.h"
namespace nebula {
StatusOr<int64_t> ConvertTimeType::toTimestamp(const VariantType... | 37.5 | 89 | 0.5376 | Sasasu |
b899df87e8d62a1020c5dbdb3dcaca9161f8c4da | 6,066 | cpp | C++ | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | 1 | 2017-05-12T15:21:00.000Z | 2017-05-12T15:21:00.000Z | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | null | null | null | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | null | null | null | //
// Vector4.cpp
// MiniVideoCard
//
// Created by Heriberto Delgado on 4/24/17.
// Copyright © 2017 Heriberto Delgado. All rights reserved.
//
#include "Vector4.h"
#include <cmath>
namespace MiniVideoCard
{
using namespace std;
Vector4::Vector4()
{
source = new vector<double>(4);
... | 19.823529 | 87 | 0.491263 | Izhido |
b89f98ab630861341e4c18551e3ba73349b145d5 | 15,272 | cc | C++ | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T21:25:45.000Z | 2021-07-05T21:25:45.000Z | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 1 | 2021-04-06T08:53:46.000Z | 2021-04-07T10:55:44.000Z | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 2 | 2021-04-05T13:17:54.000Z | 2021-04-09T00:23:23.000Z | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
// Auto-generated file. Do not edit!
// Specification: test/f32-vdivc-relu.yaml
// Generator: tools/generate-vbinary-test.py
#include <gtest/gtest.... | 34.709091 | 134 | 0.729767 | kimishpatel |
b89fe533e9ef7d1c71158b974bcdc0da8af3c7b0 | 1,177 | hpp | C++ | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | 3 | 2019-04-28T16:01:38.000Z | 2020-12-06T02:39:03.000Z | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | 12 | 2020-12-06T05:30:02.000Z | 2021-04-27T00:18:13.000Z | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | null | null | null | #pragma once
#include <set>
#include <string>
#include <vector>
#include <unordered_set>
namespace pyutils {
template <typename T1, typename T2>
bool in(T1 to_find, std::vector<T2> vec) {
return std::find(vec.begin(), vec.end(), to_find) != vec.end();
}
template <typename T1, typename T2>
... | 30.973684 | 106 | 0.629567 | codpro880 |
b8a2826d3cc571ef68e839fac575526e961f6916 | 1,302 | cpp | C++ | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <eepp/ui/uieventdispatcher.hpp>
#include <eepp/ui/uiscenenode.hpp>
#include <eepp/ui/uiwidget.hpp>
#include <eepp/window/inputevent.hpp>
#include <eepp/window/window.hpp>
namespace EE { namespace UI {
UIEventDispatcher* UIEventDispatcher::New( SceneNode* sceneNode ) {
return eeNew( UIEventDispatcher, ( scen... | 27.702128 | 90 | 0.722734 | jayrulez |
b8a536f02e1af6e6fe587541f2a6b6bee246bf95 | 1,441 | hpp | C++ | include/mtao/reindex/compressing_reindexer.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | include/mtao/reindex/compressing_reindexer.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | include/mtao/reindex/compressing_reindexer.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include "mtao/reindex/reindexer_base.hpp"
namespace mtao::reindex {
// Compresses a set of integers to sequential set of integers; useful
template <typename IndexType = size_t>
struct CompressingReindexer
: public ReindexerBase<CompressingReindexer<IndexType>, Index... | 32.75 | 79 | 0.673144 | mtao |
b8a72f335431cd9f790e87c4e43692dea43cd26b | 85,938 | cc | C++ | solvers/mosek_solver.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | solvers/mosek_solver.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | solvers/mosek_solver.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | #include "drake/solvers/mosek_solver.h"
#include <algorithm>
#include <array>
#include <atomic>
#include <cmath>
#include <limits>
#include <list>
#include <stdexcept>
#include <unordered_map>
#include <utility>
#include <vector>
#include <Eigen/Core>
#include <Eigen/SparseCore>
#include <mosek.h>
#include "drake/co... | 42.670308 | 93 | 0.672066 | RobotLocomotion |
b8a78ee407f8c2ed483e83d3171b0468536e498d | 723 | cpp | C++ | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 3 | 2020-11-01T06:31:30.000Z | 2022-02-21T20:37:51.000Z | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | null | null | null | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 1 | 2021-05-05T18:56:31.000Z | 2021-05-05T18:56:31.000Z | //https://codeforces.com/group/Rv2Qzg0DgK/contest/291373/problem/V
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
typedef long long ll;
typedef long double ld;
ll mod = 1e9 + 7;
void solve ()
{
ll d;
cin >> d;
if (!d)
{
cout << "Y " << 0.000000000 << " " << 0.00... | 19.540541 | 71 | 0.470263 | MaGnsio |
b8a7b79c89288860224ae75b3a34c6d0a1c730ba | 8,451 | cpp | C++ | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 4 | 2015-05-02T21:04:15.000Z | 2015-10-28T09:47:22.000Z | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 1 | 2020-11-12T21:52:36.000Z | 2020-11-12T21:52:36.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 ... | 26.914013 | 114 | 0.568572 | BIMDataHub |
b8a8acee82d130cf6137950540b237d933b242dd | 4,978 | hpp | C++ | src/odb/src/def/def/defiVia.hpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 525 | 2019-11-20T00:21:42.000Z | 2022-03-31T05:38:44.000Z | src/odb/src/def/def/defiVia.hpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 741 | 2019-11-20T15:19:38.000Z | 2022-03-31T23:09:17.000Z | src/odb/src/def/def/defiVia.hpp | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 215 | 2019-11-25T13:37:43.000Z | 2022-03-28T00:51:29.000Z | // *****************************************************************************
// *****************************************************************************
// Copyright 2013, Cadence Design Systems
//
// This file is part of the Cadence LEF/DEF Open Source
// Distribution, Product Version 5.8.
//
//... | 32.324675 | 86 | 0.580755 | erictaur |
b8ac2b1f6429115981daf70980d15abdb730ed60 | 6,737 | cpp | C++ | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | 1 | 2021-04-06T05:53:44.000Z | 2021-04-06T05:53:44.000Z | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | null | null | null | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | 5 | 2019-05-23T02:54:44.000Z | 2019-07-03T02:32:52.000Z | // Copyright (C) 2017-2019 Baidu, 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 34.372449 | 145 | 0.654891 | juniuszhou |
b8ae207ddbf2d60ece5b086f10f23123ac256b56 | 2,285 | cpp | C++ | code/tools/gtkradiant/radiant/shaders.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 11 | 2016-06-03T07:46:15.000Z | 2021-09-09T19:35:32.000Z | code/tools/gtkradiant/radiant/shaders.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 1 | 2016-10-14T23:06:19.000Z | 2016-10-14T23:06:19.000Z | code/tools/gtkradiant/radiant/shaders.cpp | raynorpat/xreal | 2fcbf9179fa22dc6e808bb65b879ac2ee7616ebd | [
"BSD-3-Clause"
] | 5 | 2016-10-13T04:43:58.000Z | 2019-08-24T14:03:35.000Z | /*
Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | 31.736111 | 77 | 0.69628 | raynorpat |
b8ae5bc2e7d6ca0f0ef55a2bc3dcc11ae0263e80 | 15,446 | hpp | C++ | aindex/hash.hpp | ad3002/Lyrebird | 8c0a186e32d61189f073401152c52a89bfed46ed | [
"MIT"
] | null | null | null | aindex/hash.hpp | ad3002/Lyrebird | 8c0a186e32d61189f073401152c52a89bfed46ed | [
"MIT"
] | null | null | null | aindex/hash.hpp | ad3002/Lyrebird | 8c0a186e32d61189f073401152c52a89bfed46ed | [
"MIT"
] | null | null | null | //
// Created by Aleksey Komissarov on 30/08/15.
//
#ifndef STIRKA_HASH_H
#define STIRKA_HASH_H
#include <stdint.h>
#include <unordered_map>
#include <string>
#include "emphf/common.hpp"
#include "emphf/perfutils.hpp"
#include "emphf/mphf.hpp"
#include "emphf/base_hash.hpp"
#include <atomic>
#include "kmers.hpp"
#inc... | 31.016064 | 267 | 0.554383 | ad3002 |
b8aec3205e680eb749aa90ed476ab2e6940f0865 | 2,315 | cc | C++ | zircon/system/core/devmgr/fshost/filesystem-mounter.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | zircon/system/core/devmgr/fshost/filesystem-mounter.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | zircon/system/core/devmgr/fshost/filesystem-mounter.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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 <fbl/unique_fd.h>
#include <fs-management/mount.h>
#include <lib/zx/process.h>
#include <minfs/minfs.h>
#include <zircon/status.h>
#include "file... | 30.866667 | 100 | 0.6946 | OpenTrustGroup |
b8af06c9abe107a8d93854f352579b0dc6261f58 | 53,941 | cc | C++ | src/bgp/test/bgp_export_uplist_test.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | 1 | 2015-11-08T07:28:10.000Z | 2015-11-08T07:28:10.000Z | src/bgp/test/bgp_export_uplist_test.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | src/bgp/test/bgp_export_uplist_test.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "bgp/test/bgp_export_test.h"
#include "base/logging.h"
using namespace std;
//
// Used for UpdateList tests.
//
class BgpExportUpdateListTest : public BgpExportTest {
protected:
void InitAdvertiseInfo(BgpAttrPtr attrX, int start_i... | 42.141406 | 81 | 0.617489 | sysbot |
b8b09cb873f39c39cadfd4d13d084a9e83f23cb0 | 15,587 | cpp | C++ | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp
*
* @brief is_nothrow_move_assignable のテスト
*
* @author myoukaku
*/
#include <bksge/fnd/type_traits/is_nothrow_move_assignable.hpp>
#include <bksge/fnd/config.hpp>
#include <gtest/gtest.h>
#include <cstddef>
#include "type_traits_te... | 54.5 | 89 | 0.796561 | myoukaku |
b8b1ce562650f1d43797e0b6df76c983244740d5 | 4,448 | cpp | C++ | src/kvstore/raftex/test/LogAppendTest.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 1 | 2020-04-11T12:12:39.000Z | 2020-04-11T12:12:39.000Z | src/kvstore/raftex/test/LogAppendTest.cpp | bright-starry-sky/nebula | d0fb27ae3fb11175087f073231cba28b573995f6 | [
"Apache-2.0"
] | 24 | 2021-09-15T12:42:03.000Z | 2021-09-16T04:59:19.000Z | src/kvstore/raftex/test/LogAppendTest.cpp | bright-starry-sky/nebula | d0fb27ae3fb11175087f073231cba28b573995f6 | [
"Apache-2.0"
] | 1 | 2020-08-03T10:19:39.000Z | 2020-08-03T10:19:39.000Z | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include <folly/String.h>
#include <gtest/gtest.h>
#include "common/base/Base.h"
#include "common/fs/FileUtils.h"
#incl... | 30.675862 | 91 | 0.683678 | blacklovebear |
b8b5202e27369a74430aa130db68501ff6891eec | 7,644 | cpp | C++ | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | 1 | 2019-08-21T05:54:42.000Z | 2019-08-21T05:54:42.000Z | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | null | null | null | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | 1 | 2019-10-11T09:34:49.000Z | 2019-10-11T09:34:49.000Z | /* Copyright (c) 2018 PaddlePaddle 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... | 37.655172 | 79 | 0.669021 | hcj5206 |
b8b78ce03ce88990d5527bc5b35bf80976b92c48 | 10,392 | cpp | C++ | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | 5 | 2021-02-24T09:00:36.000Z | 2022-02-10T16:37:10.000Z | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2021 Red Hat, Inc.
This file is part of microdnf: https://github.com/rpm-software-management/libdnf/
Microdnf 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
... | 44.221277 | 155 | 0.705639 | redpesk-labs |
b8bac0e5d60cfff9a9be59952de077f3d2294cf1 | 3,546 | cpp | C++ | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | 11 | 2018-10-26T02:15:53.000Z | 2019-05-25T16:08:17.000Z | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | /**
* @file liblava/asset/write_image.cpp
* @brief Write image data to file
* @authors Lava Block OÜ and contributors
* @copyright Copyright (c) 2018-present, MIT License
*/
#include <liblava/asset/write_image.hpp>
#include <liblava/resource/format.hpp>
#define STB_IMAGE_WRITE_IMPLEMENTATI... | 37.723404 | 79 | 0.545403 | TheLavaBlock |
b8bd76d1127a490b65f979e8ef31cefbaed5856f | 9,013 | cpp | C++ | src/transactions/test/ClawbackTests.cpp | HashCash-Consultants/hcnet-core | 7e22872b959b1df9588c1df4c3ac6dc280e70461 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/transactions/test/ClawbackTests.cpp | HashCash-Consultants/hcnet-core | 7e22872b959b1df9588c1df4c3ac6dc280e70461 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/transactions/test/ClawbackTests.cpp | HashCash-Consultants/hcnet-core | 7e22872b959b1df9588c1df4c3ac6dc280e70461 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | 2 | 2019-02-27T11:00:58.000Z | 2019-03-04T07:42:52.000Z | // Copyright 2021 Hcnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "ledger/LedgerTxn.h"
#include "lib/catch.hpp"
#include "main/Application.h"
#include "te... | 38.517094 | 80 | 0.491845 | HashCash-Consultants |
b8bd9345bf72982f3b6e1fb25dd4000561a8d103 | 4,795 | hpp | C++ | lib/inc/hocon/parser/config_document.hpp | museghost/cpp-hocon | e785538ce822c9a8a2c10be2b923d84f9ddd7765 | [
"Apache-2.0"
] | null | null | null | lib/inc/hocon/parser/config_document.hpp | museghost/cpp-hocon | e785538ce822c9a8a2c10be2b923d84f9ddd7765 | [
"Apache-2.0"
] | 1 | 2021-08-01T07:33:25.000Z | 2021-08-01T07:33:25.000Z | lib/inc/hocon/parser/config_document.hpp | museghost/cpp-hocon | e785538ce822c9a8a2c10be2b923d84f9ddd7765 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include <memory>
#include <hocon/config_value.hpp>
#include "../export.h"
namespace hocon {
/**
* Represents an individual HOCON or JSON file, preserving all
* formatting and syntax details. This can be used to replace
* individual values and exactly render the orig... | 48.928571 | 115 | 0.632742 | museghost |
b8be026a135c73a5aecefd2b73b43b50f3b9111e | 513 | cc | C++ | components/sync/base/data_type_histogram.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/sync/base/data_type_histogram.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/sync/base/data_type_histogram.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2015 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/base/data_type_histogram.h"
#include "base/metrics/sparse_histogram.h"
void SyncRecordDatatypeBin(const std::string& name, int... | 36.642857 | 76 | 0.768031 | google-ar |
b8bf5a2a3d963b36cde083ca61b3043efb6afa48 | 9,580 | cpp | C++ | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "resources/TexturePool.hpp"
#include "command/TransferPool.hpp"
#include "resource/DescriptorSet.hpp"
#include "resource/DescriptorPool.hpp"
#include "resource/DescriptorSetLayout.hpp"
#include "util/easylogging++.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb/stb_image.h"
namespace vpsk {
TexturePool:... | 52.065217 | 188 | 0.643946 | fuchstraumer |
b8bfd6f1c0a6458a56b771a83746516946943bb4 | 10,255 | cpp | C++ | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | 1 | 2021-08-19T16:42:04.000Z | 2021-08-19T16:42:04.000Z | // Copyright (C) 2017-2020, monoDrive, LLC. All Rights Reserved.
#include "DataFrame.h"
#include "Stopwatch.h"
#define IMU_DATA_PACKET_SIZE 35
#define GPS_DATA_PACKET_SIZE 66
#define LIDAR_PACKET_SIZE 1206
ByteBuffer BinaryDataFrame::write() const {
ByteBuffer buffer = data_frame;
write_mono_header(buffer);
... | 29.638728 | 95 | 0.69137 | tomd-tc |
b8c03410ed29ed47d5733852a62c406b6b55a807 | 8,343 | hpp | C++ | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | 2 | 2017-07-04T14:57:48.000Z | 2017-08-04T19:03:51.000Z | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | null | null | null | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | null | null | null | /*
* Counter.hpp
*
* Created on: Aug 23, 2009
* Author: stewie
*/
#ifndef COUNTER_HPP_
#define COUNTER_HPP_
#include <cassert>
#include <cstddef>
#include <ostream>
#include <utility>
#include <map>
#include <algorithm> // for std::swap
#include <functional> // for std::less
#include <boost/type_traits.hp... | 27.354098 | 81 | 0.694115 | Markfrancisrogers |
fef630089d62ff61e4f4594c83b262fe9c6b6871 | 522 | cpp | C++ | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | 4 | 2019-11-08T11:04:02.000Z | 2021-09-08T08:24:50.000Z | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | 1 | 2019-11-08T11:07:35.000Z | 2019-11-22T06:33:24.000Z | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
int main()
{
int n;
scanf("%d",&n);
char a[100][100];
for(int i=0;i<n;i++)
{
scanf("%s",a[i]);
}
for(int j=0;j<n;j++){
for(int k=0;a[j][k]!='\0';k++) //for(int k=0;k<strlen(a[j]);k++) a[j]!='\0'wrong //
{
switch(a[j][k]){
case 'A': printf(... | 20.076923 | 91 | 0.408046 | GengchenXU |
fef735766ae662e378631ffe8044b7b8f5a9012d | 364 | cpp | C++ | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Aphelion-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | 3 | 2019-11-11T16:16:27.000Z | 2019-11-11T16:16:36.000Z | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Aphelion-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | 1 | 2020-05-03T14:58:09.000Z | 2020-05-03T14:58:09.000Z | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Shinobu-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | null | null | null | #include "Aphelion/Core/EntryPoint.h"
#include "PhysicsDemoLayer.h"
#include "PhysicsRaycastLayer.h"
extern std::unique_ptr<ap::Application> ap::CreateApplication()
{
auto app = std::make_unique<ap::Application>();
app->GetLayerStack().PushLayer(new PhysicsDemoLayer());
//app->GetLayerStack().PushLayer(new... | 28 | 64 | 0.730769 | antjowie |
fef836dd703e6141bb449622248096b28ad20948 | 1,284 | cpp | C++ | Silence.Core/AudioFile.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null | Silence.Core/AudioFile.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | 4 | 2016-07-15T21:23:08.000Z | 2016-08-28T21:40:16.000Z | Silence.Core/AudioFile.cpp | wt-student-projects/silence-enter-the-forest | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null |
#include "AudioFile.h"
AudioAsset::AudioAsset(std::string name) :
isAudioStream(false),
sample(NULL),
stream(NULL),
name(name)
{
}
AudioAsset::~AudioAsset()
{
}
void AudioAsset::grabFromFile(std::string filename, bool isAudioStream, bool loop)
{
this->isAudioStream = isAudioStream;
this->fil... | 20.709677 | 114 | 0.634735 | wt-student-projects |
fef9bb230a36eac781b7d57746884ea493766b0b | 930 | cpp | C++ | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 143 | 2015-06-22T12:30:01.000Z | 2022-03-21T08:41:17.000Z | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 542 | 2017-06-02T13:46:26.000Z | 2022-03-31T16:35:17.000Z | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 81 | 2015-10-21T22:21:59.000Z | 2022-03-24T14:07:55.000Z | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <catch2/catch.hpp>
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/config.h>
#include <util/namespace.h>
#include <util/simplify_expr.h>
#include <util/std_expr.h>
#include <util/std_types.h... | 30 | 96 | 0.692473 | shmarovfedor |
fefa6eba61a1f1c267f30e93999b0cc3b6e05c75 | 53,561 | cpp | C++ | UnrealEngine-4.11.2-release/Engine/Source/Editor/WorldBrowser/Private/LevelCollectionModel.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2016-10-01T21:35:52.000Z | 2016-10-01T21:35:52.000Z | UnrealEngine-4.11.2-release/Engine/Source/Editor/WorldBrowser/Private/LevelCollectionModel.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | null | null | null | UnrealEngine-4.11.2-release/Engine/Source/Editor/WorldBrowser/Private/LevelCollectionModel.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2021-04-27T08:48:33.000Z | 2021-04-27T08:48:33.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "WorldBrowserPrivatePCH.h"
#include "SourceControlWindows.h"
#include "AssetToolsModule.h"
#include "EditorSupportDelegates.h"
#include "Matinee/MatineeActor.h"
#include "LevelCollectionModel.h"
#include "ShaderCompiler.h"
#include "Engine/LevelStr... | 27.780602 | 229 | 0.762159 | armroyce |
fefaa9aa0ec37a06ead7f04682332d33c8b937d3 | 5,496 | cc | C++ | content/shell/browser/web_test/fake_bluetooth_delegate.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/shell/browser/web_test/fake_bluetooth_delegate.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/shell/browser/web_test/fake_bluetooth_delegate.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 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 "content/shell/browser/web_test/fake_bluetooth_delegate.h"
#include "content/public/browser/web_contents.h"
#include "device/bluetooth/bluetooth... | 35.688312 | 80 | 0.771652 | sarang-apps |
fefb47768604aa04897836cb0a95e66a5d198c52 | 12,705 | cpp | C++ | Signer/DlgGetPattern.cpp | WhiteGroup/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 15 | 2016-11-03T20:39:13.000Z | 2022-01-17T16:00:21.000Z | Signer/DlgGetPattern.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | null | null | null | Signer/DlgGetPattern.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 16 | 2016-11-04T11:40:39.000Z | 2022-02-25T07:25:52.000Z | #include "DlgGetPattern.h"
#include "ui_GetPattern.h"
#include "QGetPatternModel.h"
#include <QFileDialog>
#include <QObject>
#include <QMessageBox>
#include <QMenu>
#include <QVariant>
extern QFileDialog *q_pFileOpenDialog ;
//---------------------------------------------------------------------
DlgGetPattern::DlgGetP... | 35 | 251 | 0.645258 | WhiteGroup |
fefb93da5b9a062105411f024048ad28a8aa37b5 | 3,411 | cpp | C++ | modules/task_2/olenin_s_sobel_detection_edge/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/olenin_s_sobel_detection_edge/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | null | null | null | modules/task_2/olenin_s_sobel_detection_edge/main.cpp | allnes/pp_2022_spring | 159191f9c2f218f8b8487f92853cc928a7652462 | [
"BSD-3-Clause"
] | 2 | 2022-03-31T17:48:22.000Z | 2022-03-31T18:06:07.000Z | // Copyright 2022 Olenin Sergey
#include <omp.h>
#include "../../../modules/task_2/olenin_s_sobel_detection_edge/sobel_detection_edge.h"
#include "gtest/gtest.h"
const int SIZE_1 = 2;
const int SIZE_2 = 3;
const int SIZE_3 = 4;
const int SIZE_4 = 5;
const int SIZE_5 = 6;
TEST(seqSobelFilter, SobelTest1) {
Image im... | 28.190083 | 87 | 0.694225 | allnes |
fefcad29d5a49d9ec082fd9aeff448a26f135692 | 4,519 | cpp | C++ | dev/Gems/CloudGemMetric/v1/Code/Source/DefaultAttributesGenerator.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/CloudGemMetric/v1/Code/Source/DefaultAttributesGenerator.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/CloudGemMetric/v1/Code/Source/DefaultAttributesGenerator.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 32.746377 | 128 | 0.68046 | kostenickj |
fefda1966ea33b8ce12d0a7b10a18e9f37633620 | 519 | hpp | C++ | include/defs/flide_defs.hpp | ferhatgec/flide | f6b1d03cfd0934fdaaeded79dd6370816e035435 | [
"MIT"
] | 2 | 2021-06-03T20:28:02.000Z | 2021-06-11T17:34:29.000Z | include/defs/flide_defs.hpp | ferhatgec/flide | f6b1d03cfd0934fdaaeded79dd6370816e035435 | [
"MIT"
] | null | null | null | include/defs/flide_defs.hpp | ferhatgec/flide | f6b1d03cfd0934fdaaeded79dd6370816e035435 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2021 Ferhat Geçdoğan All Rights Reserved.
// Distributed under the terms of the MIT License.
//
//
#ifndef FLIDE_FLIDE_DEFS_HPP
#define FLIDE_FLIDE_DEFS_HPP
#include <cstdint>
using i8 = std::int8_t ;
using u8 = std::uint8_t ;
using i16 = std::int16_t ;
using u16 = std::uint16_... | 18.535714 | 58 | 0.693642 | ferhatgec |
3a02f7d0c09d0939d19ed2b928d006dbdc3a47f2 | 57,541 | cpp | C++ | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 17 | 2018-05-24T05:20:45.000Z | 2021-12-24T07:27:22.000Z | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 6 | 2016-10-20T02:36:07.000Z | 2017-03-08T15:23:06.000Z | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 5 | 2019-01-21T00:45:00.000Z | 2021-07-20T08:34:22.000Z | // FB Alpha Irem M90 driver module
// Based on MAME driver by Bryan McPhail
#include "tiles_generic.h"
#include "z80_intf.h"
#include "burn_ym2151.h"
#include "nec_intf.h"
#include "irem_cpu.h"
#include "dac.h"
static UINT8 *AllMem;
static UINT8 *MemEnd;
static UINT8 *AllRam;
static UINT8 *RamEnd;
static UINT8 *DrvV3... | 31.633315 | 174 | 0.591978 | atship |
3a030fb37f3a534d3576186c42cf5b6396e01071 | 6,926 | cc | C++ | wavegru_model_impl.cc | jsoref/lyra | 93584298739795dfbaeb8fa13801f4ec1128c060 | [
"Apache-2.0"
] | 2 | 2021-04-07T16:00:50.000Z | 2021-04-08T02:25:59.000Z | wavegru_model_impl.cc | mchinen/lyra | 466baa9609d718e0cf56c4231df16a05895fa54e | [
"Apache-2.0"
] | null | null | null | wavegru_model_impl.cc | mchinen/lyra | 466baa9609d718e0cf56c4231df16a05895fa54e | [
"Apache-2.0"
] | 2 | 2021-04-07T00:36:26.000Z | 2021-04-09T08:05:41.000Z | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 38.477778 | 80 | 0.714265 | jsoref |
3a04504e15d116e0b952d07fe3d1b4fb74e843d9 | 7,037 | cc | C++ | content/browser/web_package/signed_exchange_devtools_proxy.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/browser/web_package/signed_exchange_devtools_proxy.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/browser/web_package/signed_exchange_devtools_proxy.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 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 "content/browser/web_package/signed_exchange_devtools_proxy.h"
#include "base/trace_event/trace_event.h"
#include "content/browser/devtools/rend... | 37.833333 | 80 | 0.76652 | zipated |
3a0624dc1ffaf21be73c572e365e40623c7fbdb5 | 4,000 | cpp | C++ | src/compression/RvlCompression.cpp | chadbramwell/librealsense | f7cdf6e8961e1709f6d864bdb33095c00a671ca7 | [
"Apache-2.0"
] | 6,457 | 2016-01-21T03:56:07.000Z | 2022-03-31T11:57:15.000Z | src/compression/RvlCompression.cpp | chadbramwell/librealsense | f7cdf6e8961e1709f6d864bdb33095c00a671ca7 | [
"Apache-2.0"
] | 8,393 | 2016-01-21T09:47:28.000Z | 2022-03-31T22:21:42.000Z | src/compression/RvlCompression.cpp | chadbramwell/librealsense | f7cdf6e8961e1709f6d864bdb33095c00a671ca7 | [
"Apache-2.0"
] | 4,874 | 2016-01-21T09:20:08.000Z | 2022-03-31T15:18:00.000Z | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020 Intel Corporation. All Rights Reserved.
#include "RvlCompression.h"
#include <cstdint>
#include <cstring>
#include <iostream>
#include <ipDeviceCommon/Statistic.h>
RvlCompression::RvlCompression(int t_width, int t_height, rs2_format t_fo... | 30.769231 | 130 | 0.5855 | chadbramwell |
3a08f5606313c47d45294e741e1348a65ec86d4c | 3,566 | hpp | C++ | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 2 | 2017-10-29T06:43:05.000Z | 2020-03-27T10:27:07.000Z | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | null | null | null | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 5 | 2016-02-06T11:01:51.000Z | 2019-03-18T13:56:00.000Z | // Sh: A GPU metaprogramming language.
//
// Copyright (c) 2003 University of Waterloo Computer Graphics Laboratory
// Project administrator: Michael D. McCool
// Authors: Zheng Qin, Stefanus Du Toit, Kevin Moule, Tiberiu S. Popa,
// Michael D. McCool
//
// This software is provided 'as-is', without any expre... | 34.288462 | 86 | 0.706955 | Solidstatewater |
3a0d4e9d5fe8b941da502811d249aa5a1b8facce | 380 | hpp | C++ | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | null | null | null | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | 11 | 2021-09-30T14:25:02.000Z | 2021-12-07T12:04:23.000Z | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | 1 | 2021-10-03T13:23:39.000Z | 2021-10-03T13:23:39.000Z | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include "../include/level.hpp"
#include "../include/guard.hpp"
#include "../include/walkingEntity.hpp"
#include "../include/entity.hpp"
#include "../include/tile.hpp"
class Level_1 : public Level {
public:
Level_1(std::string ... | 19 | 39 | 0.7 | BokorBence |
3a10184692feff001722e8ddd18daa835b08f012 | 4,209 | cpp | C++ | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | null | null | null | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | null | null | null | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | 1 | 2019-06-18T15:13:27.000Z | 2019-06-18T15:13:27.000Z | #include "Cpufit/cpufit.h"
#include <mex.h>
#include <cstring>
#include <string>
/*
Get a arbitrary scalar (non complex) and check for class id.
https://www.mathworks.com/help/matlab/apiref/mxclassid.html
*/
template<class T> inline bool get_scalar(const mxArray *p, T &v, const mxClassID id)
{
if (mxIsNumeric(p) ... | 28.828767 | 97 | 0.614635 | yongdengzhang |
3a1249783d3e5d3b26e26a613a455309bc403877 | 10,985 | cpp | C++ | oneflow/core/job_rewriter/generate_backward_and_optimizer_op_confs.cpp | Zhangchangh/oneflow | 4ea3935458cc83dcea0abd88dd613f09c57dc01a | [
"Apache-2.0"
] | 1 | 2021-02-22T00:43:08.000Z | 2021-02-22T00:43:08.000Z | oneflow/core/job_rewriter/generate_backward_and_optimizer_op_confs.cpp | Zhangchangh/oneflow | 4ea3935458cc83dcea0abd88dd613f09c57dc01a | [
"Apache-2.0"
] | null | null | null | oneflow/core/job_rewriter/generate_backward_and_optimizer_op_confs.cpp | Zhangchangh/oneflow | 4ea3935458cc83dcea0abd88dd613f09c57dc01a | [
"Apache-2.0"
] | 1 | 2021-01-17T03:34:39.000Z | 2021-01-17T03:34:39.000Z | /*
Copyright 2020 The OneFlow 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 agre... | 48.179825 | 100 | 0.730815 | Zhangchangh |
3a125c822043a6e75043a8a29a1ca8dfce289d91 | 4,422 | cc | C++ | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 9 | 2019-09-17T10:33:58.000Z | 2021-07-29T10:03:42.000Z | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | null | null | null | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 1 | 2019-10-05T04:31:22.000Z | 2019-10-05T04:31:22.000Z | // Copyright Stephan T. Lavavej, http://nuwen.net .
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://boost.org/LICENSE_1_0.txt .
#include "bwt.hh"
#include "clock.hh"
#include "file.hh"
#include "gluon.hh"
#include "memory.hh"
#include "string.... | 29.284768 | 111 | 0.54161 | nurettin |
3a12949c40a464222685ff4a9c6f1983a4b61919 | 230 | cc | C++ | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #include "Offline/Mu2eG4/inc/checkParticleCodeForG4.hh"
#include "Geant4/G4ParticleTable.hh"
namespace mu2e {
bool checkParticleCodeForG4(int pdgId) {
return G4ParticleTable::GetParticleTable()->FindParticle(pdgId);
}
}
| 23 | 68 | 0.773913 | resnegfk |
3a168a4bfe6a2474ffe24aaa073159b33d9fcaa8 | 20,290 | cpp | C++ | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 701 | 2019-09-08T15:56:41.000Z | 2022-03-31T05:51:26.000Z | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 204 | 2019-09-01T23:02:32.000Z | 2022-03-28T14:58:39.000Z | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 188 | 2019-09-05T05:14:46.000Z | 2022-03-22T21:51:39.000Z |
#include "InstantRadiosityGameState.h"
#include "CameraController.h"
#include "GraphicsSystem.h"
#include "OgreSceneManager.h"
#include "OgreItem.h"
#include "OgreMeshManager.h"
#include "OgreMeshManager2.h"
#include "OgreMesh2.h"
#include "OgreCamera.h"
#include "OgreHlmsPbsDatablock.h"
#include "OgreRoot.h"
#in... | 42.987288 | 105 | 0.55106 | resttime |
3a170ae95d8e04702e37490f11a05a39578d66b4 | 5,344 | cpp | C++ | code/engine/PresentationPass.cpp | EgorOrachyov/Ignimbrite | 45f4f8f4c39a8b8b8f11e6a4443c0f6c4f2e5ed1 | [
"MIT"
] | 5 | 2019-12-22T13:01:38.000Z | 2021-02-25T08:17:58.000Z | code/engine/PresentationPass.cpp | EgorOrachyov/Ignimbrite | 45f4f8f4c39a8b8b8f11e6a4443c0f6c4f2e5ed1 | [
"MIT"
] | 6 | 2019-12-20T17:11:36.000Z | 2020-02-26T21:48:56.000Z | code/engine/PresentationPass.cpp | EgorOrachyov/Ignimbrite | 45f4f8f4c39a8b8b8f11e6a4443c0f6c4f2e5ed1 | [
"MIT"
] | 1 | 2019-10-09T22:27:18.000Z | 2019-10-09T22:27:18.000Z | /**********************************************************************************/
/* This file is part of Ignimbrite project */
/* https://github.com/EgorOrachyov/Ignimbrite */
/****************************************************************... | 40.793893 | 124 | 0.590943 | EgorOrachyov |
3a17808851e823047f618df7cf6e91da46ac5e20 | 1,376 | cpp | C++ | Lab2/SO_RCVBUF.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | Lab2/SO_RCVBUF.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | Lab2/SO_RCVBUF.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | /*
* Sets or gets the maximum socket receive buffer in bytes. The kernel
* doubles this value (to allow space for bookkeeping overhead) when it is set
* using setsockopt. The minimum value for this option is 256. This is the doubled value.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sy... | 26.461538 | 89 | 0.653343 | mohitreddy1996 |
3a18c2fe3e04ba95cadeb351200c26063f0c34b4 | 1,534 | cpp | C++ | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | 14 | 2021-08-23T04:59:21.000Z | 2022-03-25T10:34:55.000Z | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | null | null | null | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | 6 | 2021-08-05T17:10:10.000Z | 2022-03-31T17:26:47.000Z | #include "stdafx.h"
#include "CatmullRom.h"
/// [Static attributes]
const float CatmullRom::COEFFICIENTS[16] = { -1, 2, -1, 0, 3, -5, 0, 2, -3, 4, 1, 0, 1, -1, 0, 0 };
/// [Public methods]
CatmullRom::CatmullRom(std::vector<vec4>& waypoints) : Interpolation(waypoints)
{
}
CatmullRom::~CatmullRom()
{
}
vec4 Catmul... | 27.392857 | 138 | 0.556714 | AlfonsoLRz |
3a19b61d6ac57c7b802ee6e1589f6010aa9d5ae6 | 3,461 | hpp | C++ | modules/core/linalg/include/nt2/linalg/functions/schur.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/linalg/include/nt2/linalg/functions/schur.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/linalg/include/nt2/linalg/functions/schur.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 34.267327 | 94 | 0.660792 | pbrunet |
3a1bbb866653c97f411fa16a03b97daa79b15912 | 351 | hpp | C++ | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | #ifndef OAUTH_AUTHORIZE_HPP
#define OAUTH_AUTHORIZE_HPP
#include <oauth/credentials.hpp>
namespace network {
struct Request;
} // namespace network
namespace oauth {
/// Add App and Account OAuth 1.0a header to HTTP request.
void authorize(network::Request& request, Credentials const& keys);
} // namespace oauth
... | 21.9375 | 67 | 0.769231 | zina1995 |
3a1d2339b1f819cc8eb9f71ca30e1e25415aab87 | 4,220 | cpp | C++ | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | 1 | 2019-06-10T02:43:04.000Z | 2019-06-10T02:43:04.000Z | #include "mull/TestFrameworks/GoogleTest/GoogleTestFinder.h"
#include "FixturePaths.h"
#include "TestModuleFactory.h"
#include "mull/Config/ConfigParser.h"
#include "mull/Config/Configuration.h"
#include "mull/Driver.h"
#include "mull/Filter.h"
#include "mull/ModuleLoader.h"
#include "mull/MutationsFinder.h"
#include "... | 28.513514 | 78 | 0.755924 | clagah |
3a1e55936c6a7e7c5f307e8496c6ae0515aca40c | 2,916 | cpp | C++ | packages/SFML/src/SFML/Graphics/Glsl.cpp | JamesOrson/KomodoCPP | 62d481f1125213f9fe7553fa680eba31c38a7c74 | [
"Unlicense"
] | 1 | 2019-07-03T12:27:16.000Z | 2019-07-03T12:27:16.000Z | ext/SFML/src/SFML/Graphics/Glsl.cpp | Senryoku/NESen | 7573eddc55da0e140cf01e609b1041b2c6e4e853 | [
"MIT"
] | 9 | 2019-07-03T12:31:39.000Z | 2019-07-05T14:30:59.000Z | engine/third_party/SFML/src/SFML/Graphics/Glsl.cpp | wemadedis/wme | f84ecb6106614eefaa3bf233ca7927ad7708f143 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2019 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 33.517241 | 101 | 0.509945 | JamesOrson |
3a1f891c6d77119ed998b5ced792a70e8384aa59 | 6,459 | cc | C++ | gazebo/gui/DataLogger_TEST.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/gui/DataLogger_TEST.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/gui/DataLogger_TEST.cc | harderthan/gazebo | f00a0e4239ddb08b299dc21ab1ef106ecedb0fac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2015 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 30.904306 | 79 | 0.655055 | harderthan |
3a20cf2915156bd1063602f5ec1eac9955448318 | 1,298 | cpp | C++ | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 1 | 2021-05-05T20:42:24.000Z | 2021-05-05T20:42:24.000Z | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | //This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
//Though not required... | 31.658537 | 143 | 0.714946 | Cwc-Test |
3a22bd657441b1b00eb4ee549ae2f009ab03e1df | 298 | hpp | C++ | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 1 | 2020-03-29T16:20:02.000Z | 2020-03-29T16:20:02.000Z | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 47 | 2015-01-02T16:54:57.000Z | 2015-10-08T21:09:06.000Z | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 2 | 2015-01-02T17:23:18.000Z | 2020-03-29T16:20:04.000Z | #ifndef CLIENTDATA_HPP
#define CLIENTDATA_HPP
#include "timer.hpp"
typedef unsigned int ID;
//Intended as value in unordered_maps where key is the IpAddress
struct ClientData {
uint16_t sequence;
ID id;
bool congested = false;
Timer congestionTimer;
};
#endif //CLIENTDATA_HPP
| 17.529412 | 64 | 0.741611 | Kuxe |
3a26f1198d2d4049b8c04928d3e29b7dbe326aa3 | 989 | cpp | C++ | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <iterator>
#include <algorithm> // for std::inplace_merge
#include <functional> // for std::less
using namespace std;
template<typename RandomAccessIterator, typename Order>
void mergesort(RandomAccessIterator first, RandomAccessIterator last, Order order)
{
if (last - fir... | 24.725 | 93 | 0.647118 | sunjerry019 |
3a26fdc90c4cdb999d47cb65e158e0347b58db77 | 8,681 | cpp | C++ | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | //***********************************************************************************************
//Impromptu Modular: Modules for VCV Rack by Marc Boulé
//
//Based on code from Valley Rack Free by Dale Johnson
//See ./LICENSE.txt for all licenses
//**********************************************************************... | 26.628834 | 134 | 0.646239 | x42 |
3a270e5805aca8f01acf5f84d4a443a56727c652 | 1,283 | cpp | C++ | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | 3 | 2021-02-19T17:01:11.000Z | 2021-03-11T16:50:19.000Z | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | // https://open.kattis.com/problems/zoo
#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#define For(i, n) for (int i = 0; i < n; ++i)
#define Forcase int __t = 0; cin >> __t; while (__t--)
#define ll long long
#define ull unsigned long long
#define ar array
using... | 21.745763 | 117 | 0.522993 | YourName0729 |
3a2aa1f00cd1188fea829978206d85b9bf18103d | 367 | cpp | C++ | src/land.cpp | hgu-sit22005/telloproject-21700616 | 286646a5cf32b7799e14d86de3de0e2082988d79 | [
"MIT"
] | null | null | null | src/land.cpp | hgu-sit22005/telloproject-21700616 | 286646a5cf32b7799e14d86de3de0e2082988d79 | [
"MIT"
] | null | null | null | src/land.cpp | hgu-sit22005/telloproject-21700616 | 286646a5cf32b7799e14d86de3de0e2082988d79 | [
"MIT"
] | null | null | null | #include "land.h"
#include <cstring>
Land::Land()
{
command = new char[strlen("land 20")+1];
strcpy(command, "land 20");
}
Land::Land(int _value)
{
std::stringstream sstream;
sstream<<"land "<< _value;
command=new char[strlen(sstream.str().c_str())+1];
strcpy(command, sstream.str().c_str());
}
... | 16.681818 | 52 | 0.615804 | hgu-sit22005 |
3a2d1c7038692a23a9c99fd3b89475cf1a73ef0b | 7,981 | cpp | C++ | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | 3 | 2018-08-28T12:37:54.000Z | 2021-11-19T03:23:26.000Z | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | null | null | null | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | 4 | 2020-02-24T15:32:39.000Z | 2021-11-19T03:23:20.000Z | //
// Created by Grishka on 19.06.16.
//
#include "JitterBuffer.h"
#include "logging.h"
CJitterBuffer::CJitterBuffer(CMediaStreamItf *out, uint32_t step):bufferPool(JITTER_SLOT_SIZE, JITTER_SLOT_COUNT){
if(out)
out->SetCallback(CJitterBuffer::CallbackOut, this);
this->step=step;
memset(slots, 0, sizeof(jitter_pa... | 22.673295 | 140 | 0.697281 | we11cheng |
3a2d1f56ce25ea37596fea40e4126e743ed018c4 | 5,916 | cpp | C++ | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 7 | 2018-05-17T22:53:33.000Z | 2022-02-05T15:51:41.000Z | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | null | null | null | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 3 | 2018-05-17T22:53:42.000Z | 2022-01-18T05:53:34.000Z | // Copyright 2018 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/fpdfapi/edit/cpdf_pagecontentmanager.h"
#include <map>
#include <numeric>
#include <vector>
#include "core/fpdfapi/page/cpdf_pageobject.h"
#inc... | 38.167742 | 80 | 0.709601 | WarGloom |
3a2d48768066e8e3b0b260fd1796dd04a796a243 | 774 | cpp | C++ | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 16 | 2018-10-10T09:55:22.000Z | 2021-04-26T09:58:47.000Z | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 688 | 2018-09-26T11:42:21.000Z | 2022-03-17T09:32:25.000Z | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 5 | 2018-12-25T12:45:56.000Z | 2020-09-25T07:51:02.000Z | //
// Created by jessevw on 24.03.20.
/// ROTATES robot to face forwards
//
#include "stp/tactics/passive/Halt.h"
#include "stp/skills/Rotate.h"
namespace rtt::ai::stp::tactic {
Halt::Halt() { skills = collections::state_machine<Skill, Status, StpInfo>{skill::Rotate()}; }
std::optional<StpInfo> Halt::calculateInfo... | 23.454545 | 94 | 0.700258 | maxthielen |
3a2de28a2e2afa326429e5a2042fc971ccda01d9 | 5,256 | cc | C++ | src/third_party/v8-3.25/src/checks.cc | stbrody/mongo | e6df4d48792498545a9069f08ff78f7840700ef6 | [
"Apache-2.0"
] | 29 | 2015-01-31T08:17:36.000Z | 2022-03-06T04:40:57.000Z | src/third_party/v8-3.25/src/checks.cc | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 1 | 2015-05-29T16:12:10.000Z | 2015-05-29T16:12:10.000Z | src/third_party/v8-3.25/src/checks.cc | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 12 | 2015-01-24T08:40:28.000Z | 2017-10-04T17:23:39.000Z | // Copyright 2006-2008 the V8 project authors. 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 lis... | 36.248276 | 80 | 0.641172 | stbrody |
3a307acbf76bd4a189e8c7fca568b6e6e2455c94 | 6,244 | cpp | C++ | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | null | null | null | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | null | null | null | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | 1 | 2019-03-05T13:52:28.000Z | 2019-03-05T13:52:28.000Z | #include "Testing.h"
#include "rapidcheck/BeforeMinimalTestCase.h"
#include "rapidcheck/shrinkable/Operations.h"
namespace rc {
namespace detail {
namespace {
int sizeFor(const TestParams ¶ms, int i) {
// We want sizes to be evenly spread, even when maxSuccess is not an even
// multiple of the number of size... | 32.520833 | 79 | 0.679693 | bgn9000 |
3a3470e07c0506311f1b137b88d30ec91e0196c9 | 1,654 | cc | C++ | hardware/temp_monitor/src/ADT7410.cc | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 629 | 2017-08-31T23:09:00.000Z | 2022-03-30T11:55:40.000Z | hardware/temp_monitor/src/ADT7410.cc | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 269 | 2018-05-05T12:31:16.000Z | 2022-03-30T22:04:11.000Z | hardware/temp_monitor/src/ADT7410.cc | Robo0603179/astrobee | 19e58806c63cddd9046342c7fa2ac7808f40ad3c | [
"Apache-2.0"
] | 248 | 2017-08-31T23:20:56.000Z | 2022-03-30T22:29:16.000Z | /* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with... | 33.08 | 82 | 0.704958 | Robo0603179 |
3a359443aef92d044f2e2c17a2fdcdb2726fa5de | 10,708 | cpp | C++ | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | #include <mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.h>
#include <mscorlib/System/mscorlib_System_String.h>
#include <mscorlib/System/mscorlib_System_Type.h>
namespace mscorlib
{
namespace System
{
namespace Globalization
{
//Public Methods
mscorlib::System::Boolean IdnMappin... | 50.037383 | 189 | 0.716287 | brunolauze |
3a366ef69037c3e1fc19e4da996fa4a337d8cc82 | 1,243 | cpp | C++ | data/test/cpp/3a366ef69037c3e1fc19e4da996fa4a337d8cc82TokenSampleStream.cpp | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/cpp/3a366ef69037c3e1fc19e4da996fa4a337d8cc82TokenSampleStream.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/cpp/3a366ef69037c3e1fc19e4da996fa4a337d8cc82TokenSampleStream.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | #include "TokenSampleStream.h"
#include "S.h"
namespace opennlp
{
namespace tools
{
namespace tokenize
{
using opennlp::tools::util::FilterObjectStream;
using opennlp::tools::util::ObjectStream;
TokenSampleStream::TokenSampleStream(ObjectStream<std::string> ... | 27.622222 | 201 | 0.534191 | harshp8l |
3a36d59485d97151ed79cd3854fd2198af80e366 | 204 | cpp | C++ | Source/FSD/Private/BTDecorator_SetTagRandomCooldown.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSD/Private/BTDecorator_SetTagRandomCooldown.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSD/Private/BTDecorator_SetTagRandomCooldown.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "BTDecorator_SetTagRandomCooldown.h"
UBTDecorator_SetTagRandomCooldown::UBTDecorator_SetTagRandomCooldown() {
this->bAddToExistingDuration = false;
this->TriggerOnActivation = false;
}
| 25.5 | 72 | 0.808824 | trumank |
3a36f2586e4c69b6430af41dcf65449445ac5975 | 5,021 | cpp | C++ | src/onthepitch/player/playerbase.cpp | alexhuntley/GameplayFootball | 67a3c123e31384b757b1d223c53acf9f7fcb8b41 | [
"Apache-2.0"
] | 56 | 2020-07-22T22:11:06.000Z | 2022-03-09T08:11:43.000Z | GameplayFootball/src/onthepitch/player/playerbase.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 9 | 2021-04-22T07:06:25.000Z | 2022-01-22T12:54:52.000Z | GameplayFootball/src/onthepitch/player/playerbase.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 18 | 2020-10-15T08:11:07.000Z | 2022-03-23T14:49:46.000Z | // written by bastiaan konings schuiling 2008 - 2015
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#include "player.hpp"
#include "../match.hpp"
#include "cont... | 32.393548 | 188 | 0.678749 | alexhuntley |
3a37280be2819c3b911a1cb0c6d36b1840eb1bd7 | 1,266 | hpp | C++ | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | #pragma once
#include <tl/int_types.hpp>
#include <initializer_list>
#include <assert.h>
namespace tl
{
template<typename T, size_t N>
class Array
{
public:
static constexpr size_t s_size = N;
typedef T ElemTypes;
typedef const T* ConstIterator;
typedef T* Iterator;
constexpr size_t size()const{... | 20.095238 | 55 | 0.594787 | tuket |
3a389e08c6abd56436e6ea987651dfcac6b97292 | 1,096 | cpp | C++ | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
using namespace std;
int counter;
const int maxn = 15;
bool col[maxn], diag1[2 * maxn - 1], diag2[2 * maxn - 1];
char v[maxn][maxn];
void sol (int Qnum, int n)
{
if (Qnum == n)
{
++counter;
return;
}
int i = Qnum;
for (int j = 0; j ... | 17.967213 | 70 | 0.474453 | michaelarakel |
3a3b4342021435ef567dc0ea843cb9bfee2eefef | 61 | cpp | C++ | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | 3 | 2020-04-05T13:09:17.000Z | 2021-03-16T10:56:17.000Z | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | null | null | null | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | 1 | 2020-02-19T02:59:44.000Z | 2020-02-19T02:59:44.000Z | //
// Created by hao on 2/27/19.
//
#include "Lambertian.h"
| 10.166667 | 29 | 0.606557 | zhanghao00925 |
3a3c2f709fe302b70818aec8d117c149c2c78e40 | 849 | hpp | C++ | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | 18 | 2015-12-17T05:28:37.000Z | 2021-05-21T02:59:29.000Z | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | null | null | null | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | 8 | 2017-05-10T11:20:13.000Z | 2021-06-19T17:06:06.000Z | #ifndef OCV_CBIR_F2D_DETECTOR_H
#define OCV_CBIR_F2D_DETECTOR_H
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <vector>
/*!
* \addtogroup ocv
* @{
*/
namespace ocv{
/*!
* \addtogroup cbir
* @{
*/
namespace cbir{
class f2d_detector
{
public:
using result_type =
std::pair<st... | 18.866667 | 70 | 0.652532 | stereomatchingkiss |
3a3d6d492d0370c3705873e3aaad9a9a94e1cff1 | 1,482 | hh | C++ | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | 1 | 2020-01-06T09:43:56.000Z | 2020-01-06T09:43:56.000Z | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | #pragma once
#include <cassert>
#include <string>
#include <unordered_map>
#include "Constants.hh"
#include "Error.hh"
class FunctionDecl;
class VariableDecl;
struct Scope;
static FunctionDecl *get_context(Scope *, FunctionDecl *);
struct Scope {
Scope(Scope *parent = nullptr, FunctionDecl *context = nullptr)
... | 29.058824 | 75 | 0.7139 | walecome |
3a3d85281ac19d495973da02fc33971c8576dd1e | 1,076 | cpp | C++ | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | /*
Idea:
- Brute force.
- Try any 3 combination of divisors of `n` to construct A, B and C.
*/
#include <bits/stdc++.h>
using namespace std;
long long n;
vector<long long> d;
void divisors(long long x) {
d.clear();
int sqrtx = sqrt(x);
for(int i = 1; i <= sqrtx + 1; ++i)
if(x % i == 0) {
d... | 21.098039 | 71 | 0.398699 | khaled-farouk |
3a437a8590195242701d215fa2dfda5de27fa5b1 | 1,337 | cpp | C++ | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 3,358 | 2015-12-18T02:56:17.000Z | 2022-03-31T02:42:47.000Z | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 965 | 2015-12-21T10:35:28.000Z | 2022-03-30T02:47:00.000Z | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 1,663 | 2015-12-17T17:45:38.000Z | 2022-03-31T07:58:29.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2015 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it ... | 36.135135 | 79 | 0.676141 | urgu00 |
3a440ec6e6a0cd1f2bd3726de847c341647e1c28 | 2,168 | cpp | C++ | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 1 | 2021-11-22T01:09:10.000Z | 2021-11-22T01:09:10.000Z | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 19 | 2021-11-08T10:02:51.000Z | 2022-02-04T10:36:15.000Z | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 1 | 2021-11-10T09:53:18.000Z | 2021-11-10T09:53:18.000Z |
/** @file test1.cpp
*
* Program to test GiNaCDE library. This solve following odes
i. linear ode - the damped harmonic oscillator.
ii. nonlinear ode - modified Painlev-Ince equation */
#include "GiNaCDE.h"
int main()
{
const ex u=reader("u"),x=reader("x"),a=reader("a"),b... | 27.1 | 96 | 0.536439 | mithun218 |
3a450cce383110cc96872beee9404707f25c3ca1 | 1,043 | cpp | C++ | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 169 | 2021-05-30T10:02:19.000Z | 2022-03-27T18:09:32.000Z | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 1 | 2021-10-02T14:46:26.000Z | 2021-10-02T14:46:26.000Z | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 44 | 2021-05-30T19:56:29.000Z | 2022-03-17T14:49:00.000Z |
//Initial template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function template in C++
class Solution{
public:
//Function to return the count of number of elements in union of two arrays.
int doUnion(int a[], int n, int b[], int m) {
unordered_map<int,i... | 16.555556 | 80 | 0.400767 | bilwa496 |
3a48c59b7e3eafbeba1e6974d0056f2742de4f2c | 1,086 | cc | C++ | content/shell/browser/shell_plugin_service_filter.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/shell/browser/shell_plugin_service_filter.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/shell/browser/shell_plugin_service_filter.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "content/shell/browser/shell_plugin_service_filter.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/common/webplugin... | 31.941176 | 78 | 0.719153 | google-ar |
3a4961948da61d3b65b154ac25880978fd7c39af | 3,898 | hpp | C++ | include/Mono/Globalization/Unicode/Contraction.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 23 | 2020-08-07T04:09:00.000Z | 2022-03-31T22:10:29.000Z | include/Mono/Globalization/Unicode/Contraction.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 6 | 2021-09-29T23:47:31.000Z | 2022-03-30T20:49:23.000Z | include/Mono/Globalization/Unicode/Contraction.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 17 | 2020-08-20T19:36:52.000Z | 2022-03-30T18:28:24.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
#include "extern/beatsaber-hook/s... | 44.804598 | 133 | 0.697537 | sc2ad |
3a4ef8ea9a4a81fc72a15f8fcf13d2be9a659e90 | 744 | cpp | C++ | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | auto SPC7110::serialize(serializer& s) -> void {
Thread::serialize(s);
s(ram);
s(r4801);
s(r4802);
s(r4803);
s(r4804);
s(r4805);
s(r4806);
s(r4807);
s(r4809);
s(r480a);
s(r480b);
s(r480c);
s(dcuPending);
s(dcuMode);
s(dcuAddress);
s(dcuOffset);
s(dcuTile);
if(decompressor) s(*dec... | 12.196721 | 48 | 0.543011 | CasualPokePlayer |
3a50ad6be2727eeee08145571af0346f156dd373 | 3,913 | cpp | C++ | src/dview/dvplothelper.cpp | fossabot/wex | f38b510d0b8ec0544ed744a2a64cd4fef0e85c38 | [
"BSD-3-Clause"
] | null | null | null | src/dview/dvplothelper.cpp | fossabot/wex | f38b510d0b8ec0544ed744a2a64cd4fef0e85c38 | [
"BSD-3-Clause"
] | null | null | null | src/dview/dvplothelper.cpp | fossabot/wex | f38b510d0b8ec0544ed744a2a64cd4fef0e85c38 | [
"BSD-3-Clause"
] | null | null | null | /***********************************************************************************************************************
* WEX, Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provide... | 39.928571 | 120 | 0.677485 | fossabot |
3a50d2f3bc544022ad0983f8063b399920b2a825 | 8,527 | cc | C++ | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 7 | 2019-08-12T12:22:07.000Z | 2021-11-18T01:48:27.000Z | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 40 | 2019-07-03T04:31:19.000Z | 2022-03-31T03:40:43.000Z | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 8 | 2019-07-04T06:40:49.000Z | 2021-12-03T15:51:50.000Z | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#include "tchecker/zg/extrapolation.hh"
#include "tchecker/clockbounds/solver.hh"
namespace tchecker {
namespace zg {
/* no_extrapolation_t */
void no_extrapolation_t::extrapolate(tchecker::dbm::db_... | 32.177358 | 124 | 0.727571 | arnabSur |
3a5139ea39d54eaed7fe7eb59e8a204bd1d17dc9 | 6,863 | cc | C++ | media/video/capture/win/pin_base_win.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | media/video/capture/win/pin_base_win.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | media/video/capture/win/pin_base_win.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.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 "media/video/capture/win/pin_base_win.h"
#include "base/logging.h"
namespace media {
// Implement IEnumPins.
class TypeEnumerator
: pu... | 23.584192 | 77 | 0.662975 | nagineni |
3a5154314cb86cd231ccafc0de91077024488816 | 4,435 | cpp | C++ | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-04-08T21:03:09.000Z | 2016-03-20T17:46:31.000Z | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | null | null | null | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-08-18T08:59:07.000Z | 2021-04-02T23:03:48.000Z |
////////////////////////////////////////////////////////////////////////
//
// Modus
// C++ Music Library
// [eXtension]
//
// Copyright (c) 2012-2015 Arturo Cepeda
//
// --------------------------------------------------------------------
//
// This file is part of Modus. Permission is hereby granted, free
// ... | 37.268908 | 117 | 0.596618 | arturocepeda |
3a55fbaf2e1554ce4afd7b4bce1c2ae93604b4a2 | 18,792 | cpp | C++ | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
string database[][2] = {
{"admin12345", "wisdom123"},
{"ellejohn", "pass123"},
{"test", "pp"}
};
string username, password;
int pageNum;
bool loggedIn = false;
string Pages[7] = { "Front Page", "Headline", "News Articles", "Entertainment", "Sports... | 63.060403 | 116 | 0.461047 | Thanatoslayer6 |
3a567f2dbfee9b91afa133c07a065e585936ea74 | 5,839 | cpp | C++ | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | null | null | null | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | null | null | null | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | 1 | 2021-07-01T10:14:19.000Z | 2021-07-01T10:14:19.000Z | #include "netwin.h"
#include "codenet.h"
#include "preferences.h"
#include <QGridLayout>
#include <QLabel>
#include <QTextEdit>
#include <QToolButton>
NetWin::NetWin(QWidget *parent) : QDialog(parent, Qt::Tool), m_copyDialog(nullptr) {
setWindowTitle("DiskImagery64: " + tr("Network"));
QGridLayout *layout = n... | 25.722467 | 101 | 0.668265 | Pokefinder-org |
3a5767d5727cc6b9b5b89cc009ba17895177ae0f | 2,466 | cxx | C++ | test/api/AppMonOpenKitBuilderTest.cxx | dlopes7/openkit-native | 669871b0f48d85534c3ecfdfca2c9fb6de5811f9 | [
"Apache-2.0"
] | null | null | null | test/api/AppMonOpenKitBuilderTest.cxx | dlopes7/openkit-native | 669871b0f48d85534c3ecfdfca2c9fb6de5811f9 | [
"Apache-2.0"
] | null | null | null | test/api/AppMonOpenKitBuilderTest.cxx | dlopes7/openkit-native | 669871b0f48d85534c3ecfdfca2c9fb6de5811f9 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018-2019 Dynatrace LLC
*
* 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 ag... | 30.825 | 98 | 0.788321 | dlopes7 |
3a584adfb15c9af0c2493fb75fede196f738de81 | 5,293 | cpp | C++ | eyes-two/src/main/jni/imageutils/similar.cpp | bhfo/tess-two | 377ddf88f65d86b991ef3a073b33c1631d1a6db3 | [
"Apache-2.0"
] | 3,479 | 2015-01-05T10:07:00.000Z | 2022-03-31T06:00:43.000Z | eyes-two/src/main/jni/imageutils/similar.cpp | bhfo/tess-two | 377ddf88f65d86b991ef3a073b33c1631d1a6db3 | [
"Apache-2.0"
] | 207 | 2015-01-05T11:45:56.000Z | 2019-10-20T00:53:21.000Z | eyes-two/src/main/jni/imageutils/similar.cpp | bhfo/tess-two | 377ddf88f65d86b991ef3a073b33c1631d1a6db3 | [
"Apache-2.0"
] | 1,287 | 2015-01-05T11:51:28.000Z | 2022-03-29T03:36:11.000Z | /*
* Copyright 2011, Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 36.006803 | 77 | 0.665596 | bhfo |
3a5b9906c4d5449704697efb19ccdc5a571c2938 | 11,661 | cpp | C++ | cpp/pybind/pipelines/registration/robust_kernels.cpp | gyes00205/Open3D | 2520323e2e143699dec28d8bd559eba326d4005d | [
"MIT"
] | 1,455 | 2021-07-27T19:44:50.000Z | 2022-03-31T19:39:21.000Z | cpp/pybind/pipelines/registration/robust_kernels.cpp | gyes00205/Open3D | 2520323e2e143699dec28d8bd559eba326d4005d | [
"MIT"
] | 1,439 | 2021-07-27T16:02:52.000Z | 2022-03-31T22:29:05.000Z | cpp/pybind/pipelines/registration/robust_kernels.cpp | gyes00205/Open3D | 2520323e2e143699dec28d8bd559eba326d4005d | [
"MIT"
] | 339 | 2021-07-28T03:07:28.000Z | 2022-03-31T13:38:00.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... | 36.102167 | 101 | 0.607581 | gyes00205 |
3a5c030f53942c88c502b4e217a56c2e349ac17d | 6,816 | cpp | C++ | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | null | null | null | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | null | null | null | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | 1 | 2018-11-23T01:30:41.000Z | 2018-11-23T01:30:41.000Z | //------------------------------------------------------------------------------
/*
This file is part of Beast: https://github.com/vinniefalco/Beast
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without f... | 22.201954 | 91 | 0.563527 | SingaporeLMC |
3a5d0204289a0c9ebb6e0c41422e5d805844cce6 | 32,427 | tpp | C++ | Extern/include/ThorsSerializer/Serialize.tpp | rafalohaki/C4USMultiHack-Metin2 | 7aa4f322425df9f65e6cb2ad4fd33dc3288f95de | [
"Apache-2.0"
] | 41 | 2021-04-19T05:42:23.000Z | 2022-03-03T18:40:46.000Z | Extern/include/ThorsSerializer/Serialize.tpp | rafalohaki/C4USMultiHack-Metin2 | 7aa4f322425df9f65e6cb2ad4fd33dc3288f95de | [
"Apache-2.0"
] | 28 | 2021-05-31T09:22:16.000Z | 2021-12-17T21:31:20.000Z | Extern/include/ThorsSerializer/Serialize.tpp | rafalohaki/C4USMultiHack-Metin2 | 7aa4f322425df9f65e6cb2ad4fd33dc3288f95de | [
"Apache-2.0"
] | 56 | 2021-04-19T05:46:04.000Z | 2022-03-08T16:15:09.000Z | #ifndef THORS_ANVIL_SERIALIZE_SERIALIZE_TPP
#define THORS_ANVIL_SERIALIZE_SERIALIZE_TPP
#include "SerUtil.h"
#include "ThorsSerializerUtil.h"
#include "ThorsIOUtil/Utility.h"
#include "ThorsLogging/ThorsLogging.h"
#include <algorithm>
#include <sstream>
#include <type_traits>
#include <map>
#include <unordered_map>
... | 34.350636 | 270 | 0.621673 | rafalohaki |
3a5d3c5b446a9f5dc2404172c899fb91591c9851 | 11,876 | cpp | C++ | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | #include "Parser.hpp"
#include <assert.h>
#include <iostream>
#include <cctype>
#include <cstdio>
#include <memory>
namespace Compiling
{
namespace Parser
{
void Parser::EatToken ()
{
lastTokenIndex_++;
if (lastTokenIndex_ < currentTokensList_.size ())
{
currentToken_ = currentTokensList_.at (lastT... | 33.834758 | 129 | 0.623611 | KonstantinTomashevich |
3a5e0c10a393e2a094f6e4aa5684b3ac7a5e3c74 | 7,968 | cpp | C++ | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 33.338912 | 98 | 0.567897 | zunyibrt |
3a60b733486d822fc328a0b20aaa69250170a976 | 1,198 | cpp | C++ | CodeForces/Solutions/785D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/785D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/785D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long
typedef pair<ll, ll> pii;
#define x first
#define y second
#define mod 1000000007
pii extendedEuclid(ll a, ll b) // returns x, y for ax + by = gcd(a,b)
{
if(b == 0) return pii(1, 0);
else
{
pii d = extendedEuclid(b, a % b);
... | 18.71875 | 84 | 0.461603 | Shefin-CSE16 |
3a65754f15dd6d962d17dd4e924af4790dbf3d9e | 795 | hpp | C++ | test/00-Common/Src/Camera.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | test/00-Common/Src/Camera.hpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | test/00-Common/Src/Camera.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | #pragma once
#include "Prerequisites.hpp"
namespace vkapp
{
class Camera
{
public:
void update();
inline void reset()
{
m_position = utils::Vec3{};
m_rotation = utils::Quaternion{};
}
inline void translate( utils::Vec3 const & value )
{
m_position += value;
}
inline void rotate( utils::... | 14.722222 | 55 | 0.654088 | DragonJoker |
3a659527acedf2b7b6a533e1a6216080a418dc30 | 4,254 | cpp | C++ | example/searchable.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | example/searchable.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | example/searchable.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | /*
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/assert.hpp>
#include <boost/hana/bool.hpp>
#include <boost/hana/config.hpp>
#include <boost/hana/ext/std/integral_constant.h... | 24.308571 | 96 | 0.687353 | josephwinston |