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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9ba92789601ca164c319229a11ad91992b027bd | 953 | hpp | C++ | CaWE/MaterialBrowser/FilterSettings.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | CaWE/MaterialBrowser/FilterSettings.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | CaWE/MaterialBrowser/FilterSettings.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_FILTER_SETTINGS_HPP_INCLUDED
#define CAFU_FILTER_SETTINGS_HPP_INCLUDED
#include "wx/wx.h"
namespace MaterialBrowser
{
class DialogT;
class Fi... | 23.243902 | 119 | 0.703043 | dns |
b9bbbcccf6cb8c868f2e5a95a691c0659a38127e | 1,739 | cpp | C++ | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_DocObserverMsg --------------------------------------------------*
****************************************************************************
* Description : Provides a document observer message *
* Devel... | 41.404762 | 78 | 0.343301 | Jeanmilost |
b9bd164f262c9f350def4a9ff8627740d5f1785e | 23,870 | hpp | C++ | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | #ifndef KANAVAL_INPUTS_HPP
#define KANAVAL_INPUTS_HPP
#include "H5Cpp.h"
#include "utils.hpp"
#include <stdexcept>
#include <vector>
#include <string>
#include <numeric>
#include <unordered_set>
#include <unordered_map>
/**
* @file inputs.hpp
*
* @brief Validate input contents.
*/
namespace kanaval {
namespace ... | 45.815739 | 188 | 0.650691 | LTLA |
b9bd5a3dc9c9dd809815ff4ffb516fc7cdba74f4 | 5,476 | cc | C++ | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | /***
DEVSIM
Copyright 2013 Devsim 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 writing, soft... | 25.70892 | 112 | 0.655771 | kwisniew |
b9beab81d437e1a0f6625a66052455a616c3d051 | 399 | hpp | C++ | LeetCode/485_MaxConsecutiveOnes.hpp | defUserName-404/Online-Judge | 197ac5bf3e2149474b191eeff106b12cd723ec8c | [
"MIT"
] | null | null | null | LeetCode/485_MaxConsecutiveOnes.hpp | defUserName-404/Online-Judge | 197ac5bf3e2149474b191eeff106b12cd723ec8c | [
"MIT"
] | null | null | null | LeetCode/485_MaxConsecutiveOnes.hpp | defUserName-404/Online-Judge | 197ac5bf3e2149474b191eeff106b12cd723ec8c | [
"MIT"
] | null | null | null | #include <vector>
class Solution
{
public:
int findMaxConsecutiveOnes(std::vector<int> &nums);
};
int Solution::findMaxConsecutiveOnes(std::vector<int> &nums)
{
int current, global;
current = global = 0;
for (int x : nums)
{
if (x)
++current;
else
curren... | 15.346154 | 60 | 0.556391 | defUserName-404 |
b9c12324bfb05b40a31934dc74d63c16798b4bc6 | 10,823 | cpp | C++ | src/txdb.cpp | z-btc/z-btc-main | 325510d88c0acafdbc041d3e03f6600c8509cda9 | [
"OML"
] | 2 | 2021-07-07T09:55:43.000Z | 2021-07-07T10:20:34.000Z | src/txdb.cpp | z-btc/z-btc-main | 325510d88c0acafdbc041d3e03f6600c8509cda9 | [
"OML"
] | null | null | null | src/txdb.cpp | z-btc/z-btc-main | 325510d88c0acafdbc041d3e03f6600c8509cda9 | [
"OML"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2019 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#include "txdb.h"
#include "chainparams.h"
#include "config.h"
#include "hash.h"
#include ... | 30.922857 | 86 | 0.629031 | z-btc |
b9c6f26b76ae199986960cd4183bfbd5b2237bf4 | 43,144 | cpp | C++ | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | null | null | null | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | null | null | null | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | 1 | 2020-01-31T03:16:34.000Z | 2020-01-31T03:16:34.000Z | /*
* Tests for Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2018 Yermalayeu Ihar.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, inclu... | 39.509158 | 264 | 0.610977 | Erensu |
b9ca6ea5ee58d713fd2c40adb8c326cdc5f2c20a | 241 | hpp | C++ | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | #ifndef _RISCV__TYPES_HPP_
#define _RISCV__TYPES_HPP_
#include <cstdint>
namespace riscv {
#if __riscv_xlen == 32
#error "only support rv64"
#endif
typedef uint32_t insn_t;
typedef uint64_t addr_t;
typedef uint64_t rlen_t;
}
#endif | 13.388889 | 30 | 0.767635 | ClasSun9 |
844df9e7409f26c78908c9d64bdb41ea9fc81d57 | 10,538 | cpp | C++ | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 398 | 2016-04-21T03:38:50.000Z | 2022-03-23T15:27:31.000Z | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 275 | 2017-12-27T04:11:55.000Z | 2022-03-30T07:35:11.000Z | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 139 | 2017-09-13T06:19:49.000Z | 2022-03-28T15:01:20.000Z | /*
* Copyright 2019-2021 Diligent Graphics 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 applica... | 36.846154 | 159 | 0.665307 | tombish |
844e9a6d366f1fcf02caebc088d1e2e96367fc4a | 17,753 | cpp | C++ | fboss/agent/state/RouteUpdater.cpp | NunoEdgarGFlowHub/fboss | b665a1dac4917dd8984573ef5a471e4825d506f9 | [
"BSD-3-Clause"
] | 1 | 2015-03-12T11:40:43.000Z | 2015-03-12T11:40:43.000Z | fboss/agent/state/RouteUpdater.cpp | NunoEdgarGFlowHub/fboss | b665a1dac4917dd8984573ef5a471e4825d506f9 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/state/RouteUpdater.cpp | NunoEdgarGFlowHub/fboss | b665a1dac4917dd8984573ef5a471e4825d506f9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
// C... | 31.53286 | 80 | 0.62902 | NunoEdgarGFlowHub |
844f2d6098495e8216d49d73b28d92d1f99d2d5d | 13,517 | cpp | C++ | services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_delegate_schema_put_test.cpp | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | null | null | null | services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_delegate_schema_put_test.cpp | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | null | null | null | services/distributeddataservice/libs/distributeddb/test/unittest/common/interfaces/distributeddb_interfaces_nb_delegate_schema_put_test.cpp | openharmony-gitee-mirror/distributeddatamgr_datamgr | 3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e | [
"Apache-2.0"
] | 1 | 2021-09-13T12:07:54.000Z | 2021-09-13T12:07:54.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 37.651811 | 114 | 0.67256 | openharmony-gitee-mirror |
84507a5d5dddb321e65cb454d045cc7912bcf42d | 1,860 | cpp | C++ | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | 9 | 2016-02-21T15:02:23.000Z | 2020-04-19T13:26:19.000Z | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | null | null | null | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | null | null | null | #include "densityxx/file_buffer.hpp"
#include "densityxx/block.hpp"
#include "densityxx/lion.hpp"
static void exit_error(density::buffer_state_t buffer_state)
{
fprintf(stderr, "%s\n", density::buffer_state_render(buffer_state).c_str());
exit(-1);
}
int
main(void)
{
uint_fast64_t read;
density::contex... | 41.333333 | 96 | 0.694624 | charlesw1234 |
84529e002a900733cadafdb3f8674d22295ef754 | 3,260 | cpp | C++ | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : alife_simulator_base2.cpp
// Created : 25.12.2002
// Modified : 12.05.2004
// Author : Dmitriy Iassenev
// Description : ALife Simulator base class
////////////////////////////////////////////////////////////////////////////
... | 33.608247 | 95 | 0.638344 | InNoHurryToCode |
845bfcc4e8e3c80f81ddfff66e484304f7e30683 | 12,863 | cc | C++ | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
#include "firestore/src/android/query_android.h"
#include "app/meta/move.h"
#include "app/src/assert.h"
#include "firestore/src/android/direction_android.h"
#include "firestore/src/android/document_snapshot_android.h"
#include "firestore/src/android/event_listener_android.h"
#include "fir... | 37.721408 | 80 | 0.709477 | tupleapp |
845e388f69978fbb92da9556f20cf55c060f582b | 1,154 | cpp | C++ | UVa 12800 - Cut/sample/12800 - Cut.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 12800 - Cut/sample/12800 - Cut.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 12800 - Cut/sample/12800 - Cut.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <math.h>
#include <algorithm>
using namespace std;
#define MAXN 256
double dp[MAXN][MAXN], dist[MAXN][MAXN];
int used[MAXN][MAXN];
double dfs(int l, int r) {
if (used[l][r]) return dp[l][r];
if (r - l <= 3) return 0;
used[l][r] = 1;
double &ret = dp[l][r];
ret = 1e+30;
for (int i = l... | 20.245614 | 54 | 0.532929 | tadvi |
8461c011be22c9876d9eafe6eacdccf9447ead3f | 4,293 | cpp | C++ | torch/csrc/jit/frontend/source_range.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 40 | 2021-06-01T07:37:59.000Z | 2022-03-25T01:42:09.000Z | torch/csrc/jit/frontend/source_range.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 14 | 2021-06-01T11:52:46.000Z | 2022-03-25T02:13:08.000Z | torch/csrc/jit/frontend/source_range.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 7 | 2021-07-20T19:34:26.000Z | 2022-03-13T21:07:36.000Z | #include <torch/csrc/jit/frontend/source_range.h>
#include <torch/csrc/jit/serialization/source_range_serialization.h>
namespace torch {
namespace jit {
c10::optional<SourceRange> Source::findSourceRangeThatGenerated(
const SourceRange& range) {
if (!gen_ranges_) {
return c10::nullopt;
}
return gen_rang... | 32.037313 | 82 | 0.629397 | wenhaopeter |
84622c95e8307a5de6589799cb15e748a55174a4 | 285 | cpp | C++ | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include"dna.h"
TEST_CASE("Verify Test Configuration", "verification") {
REQUIRE(true == true);
}
TEST_CASE("TEST GC content function")
{
REQUIRE(.375== get_gc_content("AGCTATAG"));
} | 25.909091 | 97 | 0.719298 | acc-cosc-1337-spring-2022 |
84630f7916514140f5480cee539bfa899e226f16 | 4,795 | cc | C++ | libutils/src/utils/cmd_parse.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 1,398 | 2018-12-05T19:13:15.000Z | 2022-03-29T08:26:03.000Z | libutils/src/utils/cmd_parse.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 53 | 2018-10-21T03:28:25.000Z | 2021-03-16T03:50:54.000Z | libutils/src/utils/cmd_parse.cc | Mu-L/confluo | e9b8621e99f56b1adf5675c4296c006d89e6e582 | [
"Apache-2.0"
] | 208 | 2018-10-28T03:05:46.000Z | 2022-02-06T06:16:37.000Z | #include <algorithm>
#include "cmd_parse.h"
cmd_option::cmd_option(const std::string &lopt, char sopt, bool flag) {
lopt_ = lopt;
sopt_ = sopt;
has_arg_ = flag ? no_argument : required_argument;
desc_ = "";
if (flag)
default_ = "false";
else
default_ = "";
required_ = false;
option_str_ = " -... | 24.973958 | 91 | 0.635454 | Mu-L |
84639b46a9bd7c7bca76f2f8701e008b99201c3a | 8,376 | cpp | C++ | 01_Develop/libXMFFmpeg/Source/libavformat/ffmenc.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 01_Develop/libXMFFmpeg/Source/libavformat/ffmenc.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 01_Develop/libXMFFmpeg/Source/libavformat/ffmenc.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /*
* FFM (ffserver live feed) muxer
* Copyright (c) 2001 Fabrice Bellard
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the ... | 32.847059 | 86 | 0.595989 | mcodegeeks |
8463dece1fcc5e0b7f128e88c397723782eeb9f5 | 6,689 | cpp | C++ | src/support_data/ossimNitfRegisteredTagFactory.cpp | DigitalGlobe/ossim | a03729866f15bcf3bf210e14d395c683321b12bc | [
"MIT"
] | 1 | 2018-03-04T10:45:56.000Z | 2018-03-04T10:45:56.000Z | src/support_data/ossimNitfRegisteredTagFactory.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | null | null | null | src/support_data/ossimNitfRegisteredTagFactory.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | null | null | null | //*******************************************************************
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
// Description: Nitf support class
//
//********************************************************************
// $Id: ossimNi... | 30.967593 | 95 | 0.669009 | DigitalGlobe |
8464450d998cb432119809f2afa8cd4de0d42a1c | 1,823 | cc | C++ | proxy/plugin_image_data.cc | phisixersai/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | 1 | 2015-07-03T13:18:34.000Z | 2015-07-03T13:18:34.000Z | proxy/plugin_image_data.cc | rise-worlds/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | null | null | null | proxy/plugin_image_data.cc | rise-worlds/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:46:31.000Z | 2020-01-16T01:46:31.000Z | // Copyright (c) 2010 The Native Client 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 "ppapi/proxy/plugin_image_data.h"
#include <stdio.h>
#include <string.h>
#include "native_client/src/include/portability.h"
#include "... | 24.306667 | 73 | 0.744926 | phisixersai |
846461a3b1b6ed6078f2f7964939d83171db547d | 700 | cpp | C++ | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | #include "../AST_Tipos.h"
UnarioPositivo::UnarioPositivo( Expresion* exp ) {
this->exp = exp;
}
UnarioPositivo::~UnarioPositivo( ) {
delete exp;
}
TipoDato UnarioPositivo::analizarTipo() {
return exp->analizarTipo();
}
string UnarioPositivo::toString() {
stringstream ss;
ss << "<UNARIO_POSITIVO>... | 17.948718 | 50 | 0.634286 | AlejandroRM94 |
8465576fa255b2a8124b76511d21b1adabc7f8ab | 11,853 | cpp | C++ | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "SGameplayAttributeWidget.h"
#include "UObject/UnrealType.h"
#include "Widgets/Layout/SSeparator.h"
#include "Widgets/Layout/SBox.h"
#include "Widgets/Views/STableViewBase.h"
#include "Widgets/Views/STableRow.h"
#include "Widgets/Views/SListView.h"
#include "... | 28.699758 | 181 | 0.752046 | praisesolek |
8466bd76475b50a76764acbbd6a670a8b20e5f5e | 5,602 | cc | C++ | test/domove_test.cc | GunshipPenguin/shallow-blue | a04fbd9861770c897eb566d83b0d2e3b17aa9fc0 | [
"MIT"
] | 53 | 2017-09-22T04:09:58.000Z | 2022-01-26T18:13:58.000Z | test/domove_test.cc | GunshipPenguin/shallow-blue | a04fbd9861770c897eb566d83b0d2e3b17aa9fc0 | [
"MIT"
] | 6 | 2017-06-26T19:01:45.000Z | 2021-06-16T07:43:41.000Z | test/domove_test.cc | GunshipPenguin/chess | a04fbd9861770c897eb566d83b0d2e3b17aa9fc0 | [
"MIT"
] | 19 | 2017-07-08T06:58:01.000Z | 2022-03-04T17:37:00.000Z | #include "board.h"
#include "catch.hpp"
#include <iostream>
TEST_CASE("Board::doMove works properly") {
Board board;
SECTION("doMove moves pawns up from the starting position for white") {
board.setToStartPos();
Move move(a2, a4, PAWN);
board.doMove(move);
REQUIRE((board.getPieces(WHITE, PAWN) ... | 28.150754 | 92 | 0.638879 | GunshipPenguin |
84672bfca11190f51db23a3d2a94dab8189a95c5 | 5,551 | cpp | C++ | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright 2010
//
// This file is part of starlight.
//
// starlight 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 Found... | 34.69375 | 86 | 0.593407 | klendathu2k |
846751cb9ca2a5ad89eade2eb994ba1ad7b6883a | 43 | cpp | C++ | master/core/comp/MyNet/ICombiner.cpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/comp/MyNet/ICombiner.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/comp/MyNet/ICombiner.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z | #include "StdAfx.h"
#include "icombiner.h"
| 14.333333 | 22 | 0.72093 | importlib |
846ade2d4f9573c81eada1bbfd5471cf8189755f | 2,301 | cpp | C++ | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK Authors.
*
* 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 ... | 25.285714 | 83 | 0.653629 | wiztk |
846cf4e79cac6e37c67c76d33b11c513b8596e67 | 5,933 | cpp | C++ | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 157 | 2016-10-13T17:44:11.000Z | 2022-03-30T09:34:50.000Z | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 190 | 2016-10-13T20:19:10.000Z | 2022-03-25T19:17:05.000Z | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 95 | 2016-10-13T17:44:44.000Z | 2022-03-28T02:10:52.000Z | /*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE USE OF... | 39.032895 | 92 | 0.72476 | cmcormack |
8472d89469c7e340a788bde919dc6147da506825 | 6,460 | cpp | C++ | hive/app/tblqryX4/tblqryX4_cmd_cleaner.cpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | hive/app/tblqryX4/tblqryX4_cmd_cleaner.cpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | hive/app/tblqryX4/tblqryX4_cmd_cleaner.cpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | /*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... | 32.3 | 92 | 0.562693 | syntheticgio |
84757b18f3865bb2beb1229f2e1cc4aabb60142b | 1,741 | cpp | C++ | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
using namespace std;
int main() {
int arrSize;
cout << "Please insert size of array: ";
cin >> arrSize;
//----------------------------------------------------------
// primitive dynamic array
//----------------------------------------------------------
... | 25.602941 | 65 | 0.349799 | JonMuehlst |
84765f2758a5e474c3b69071d6c8c6a3e39024f0 | 4,081 | cc | C++ | o3d/core/cross/primitive_test.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | o3d/core/cross/primitive_test.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | o3d/core/cross/primitive_test.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | /*
* Copyright 2009, Google 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 conditio... | 34.584746 | 73 | 0.715756 | rwatson |
8478479824d9c51296b55d4c0a4e2b83fcfb0e60 | 2,646 | cpp | C++ | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | #include "audio_read_ogg.hpp"
#ifndef NO_AUDIO_READ_OGG
#include <gtest/gtest.h>
#include <fstream>
#include <sstream>
namespace
{
constexpr char kFilename[] = "test.ogg";
} // namespace
class TestAudioReadOgg : public ::testing::Test
{
protected:
FILEUnique createFile()
{
FILEUnique result{std::... | 24.054545 | 106 | 0.663265 | trazfr |
8479129f6a7ad90aca9e8e535448d112392193cb | 586 | cpp | C++ | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | 1 | 2018-01-13T06:01:49.000Z | 2018-01-13T06:01:49.000Z | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | null | null | null | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | null | null | null | // 设计一个算法,找出数组中最小的k个数。以任意顺序返回这k个数均可。
// 示例:
// 输入: arr = [1,3,5,7,2,4,6,8], k = 4
// 输出: [1,2,3,4]
// 提示:
// 0 <= len(arr) <= 100000
// 0 <= k <= min(100000, len(arr))
class Solution
{
public:
vector<int> smallestK(vector<int> &arr, int k)
{
priority_queue<int> pq;
vector<int> result;
... | 18.903226 | 50 | 0.438567 | thewangcj |
8479f52619c1ba6a11e2dd76e6e865a7cb28a875 | 5,346 | cpp | C++ | src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/MultipoleChargePair.cpp | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/MultipoleChargePair.cpp | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/MultipoleChargePair.cpp | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include "MultipoleChargePair.h"
namespace Scine {
namespace Sparrow {
namespace nddo {
namespace m... | 52.930693 | 127 | 0.686308 | DockBio |
847ed136b883d118b5ad9439954b373117bdcee2 | 800 | cpp | C++ | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | 2 | 2015-12-06T05:10:14.000Z | 2021-09-05T21:48:27.000Z | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | null | null | null | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | 1 | 2017-06-06T10:50:17.000Z | 2017-06-06T10:50:17.000Z | /*
@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/count.hpp>
#include <boost/hana/equal.hpp>
#include <boost/hana/integral_constant.hpp>
#inc... | 32 | 89 | 0.70375 | qicosmos |
8481008a3ccf9b5f803022f41e871094b4494b34 | 627 | cc | C++ | src/developer/forensics/crash_reports/info/main_service_info.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/developer/forensics/crash_reports/info/main_service_info.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/developer/forensics/crash_reports/info/main_service_info.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/forensics/crash_reports/info/main_service_info.h"
#include <lib/syslog/cpp/macros.h>
namespace forensics {
namespace crash_report... | 27.26087 | 73 | 0.76555 | allansrc |
84810a1dbdf42476a57e3814463dac02838f30b1 | 8,673 | cpp | C++ | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 4 | 2019-01-21T11:47:53.000Z | 2020-06-09T02:14:15.000Z | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 6 | 2017-11-09T11:48:10.000Z | 2020-05-24T09:43:07.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 36.594937 | 201 | 0.638072 | valoni |
84819f7219e9a9f284213138f112e2c2c6481714 | 4,285 | cpp | C++ | lightclient/src/CommitteeSet.cpp | ultrain-os/ultrain-core-production | 5d26bbe51033db183d3c069a30d87bcbe9cf736e | [
"MIT"
] | 38 | 2019-08-15T08:38:15.000Z | 2022-01-14T07:31:51.000Z | lightclient/src/CommitteeSet.cpp | sighttviewliu/ultrain-core-production | c2807d9310da8b5dc1408502866be59299a96c22 | [
"MIT"
] | 4 | 2019-08-19T13:07:10.000Z | 2020-10-17T02:45:04.000Z | lightclient/src/CommitteeSet.cpp | sighttviewliu/ultrain-core-production | c2807d9310da8b5dc1408502866be59299a96c22 | [
"MIT"
] | 7 | 2019-08-15T11:11:09.000Z | 2022-01-14T08:11:46.000Z | #include <lightclient/CommitteeSet.h>
namespace ultrainio {
CommitteeSet::CommitteeSet() {}
CommitteeSet::CommitteeSet(const std::string& s) {
init(s);
}
CommitteeSet::CommitteeSet(const std::vector<char>& vc) {
init(std::string(vc.begin(), vc.end()));
}
void CommitteeSet::in... | 34.28 | 118 | 0.596033 | ultrain-os |
8482c6a3cd23974c171924500290f01445232284 | 7,363 | hxx | C++ | main/slideshow/source/inc/animationfactory.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/slideshow/source/inc/animationfactory.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/slideshow/source/inc/animationfactory.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 47.811688 | 123 | 0.469102 | Grosskopf |
8483d6ad77c96e53f0d664a8ee40ebe74dda5fcc | 1,525 | cpp | C++ | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 20,295 | 2016-07-17T06:29:04.000Z | 2022-03-31T23:32:16.000Z | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 1,399 | 2017-06-02T05:59:45.000Z | 2022-03-31T00:55:00.000Z | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 5,775 | 2016-10-14T08:10:18.000Z | 2022-03-31T18:26:39.000Z | #include <iostream>
int *stack;
int stack_idx = 0, stack_size;
void push(int x) {
if (stack_idx == stack_size) {
std::cout << "\nOverflow";
} else {
stack[stack_idx++] = x;
}
}
void pop() {
if (stack_idx == 0) {
std::cout << "\nUnderflow";
} else {
std::cout << "\n... | 24.206349 | 129 | 0.45377 | icbdubey |
8487847b530ff1b38ece80ed991cd0ddd5425ce0 | 1,537 | cpp | C++ | release/src/router/samba3/examples/pcap2nbench/closerequest.cpp | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src/router/samba3/examples/pcap2nbench/closerequest.cpp | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src/router/samba3/examples/pcap2nbench/closerequest.cpp | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*\
* pcap2nbench - Converts libpcap network traces to nbench input
* Copyright (C) 2004 Jim McDonough <jmcd@us.ibm.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | 32.702128 | 72 | 0.675342 | ghsecuritylab |
848d1f0c6552ec5698f5a328a9386e6810d43dc5 | 19,971 | cc | C++ | src/vendor/mariadb-10.6.7/sql/sp_pcontext.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/sql/sp_pcontext.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/sql/sp_pcontext.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | /* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2009, 2020, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of... | 26.878869 | 85 | 0.652496 | zettadb |
849259e892e9de9aab62504007adccc9d41f8442 | 5,666 | cpp | C++ | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 69 | 2020-12-31T03:21:58.000Z | 2022-03-07T20:11:18.000Z | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 7 | 2021-01-01T23:36:48.000Z | 2021-07-04T11:17:40.000Z | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 41 | 2021-01-16T20:49:33.000Z | 2022-01-07T23:53:21.000Z | /**********************************************************************************************
*
* raylibExtras * Utilities and Shared Components for Raylib
*
* RLTiles * Tiled map rendering
*
* LICENSE: MIT
*
* Copyright (c) 2020 Jeffery Myers
*
* Permission is hereby granted, free of charge, to any person ... | 40.184397 | 191 | 0.611013 | Julianiolo |
8496b63d67ae320df8050d902ab3c21c5968b008 | 13,276 | hpp | C++ | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Mo... | 62.919431 | 997 | 0.766195 | marksteward |
8496ef3fbdfa8c1c60545d74e023cd37ed7997d9 | 104 | cpp | C++ | example-undistortion/src/main.cpp | danoli3/ofxCv | ac235abd6b0674d61a110ec21bbf9a87f927c9d9 | [
"MIT"
] | 34 | 2015-04-16T03:27:10.000Z | 2021-12-29T07:24:33.000Z | Week12/example-background-contours/src/main.cpp | bakercp/ExperimentalMedia2013 | b0e748104c327d14e2231a0a98282503712702ed | [
"MIT"
] | 12 | 2015-04-02T13:54:51.000Z | 2021-05-28T02:47:47.000Z | Week12/example-background-contours/src/main.cpp | bakercp/ExperimentalMedia2013 | b0e748104c327d14e2231a0a98282503712702ed | [
"MIT"
] | 14 | 2015-02-05T00:04:15.000Z | 2020-06-04T13:56:37.000Z | #include "testApp.h"
int main() {
ofSetupOpenGL(640 * 2, 480, OF_WINDOW);
ofRunApp(new testApp());
}
| 14.857143 | 40 | 0.663462 | danoli3 |
8498ff62b9921dc08aa6297d807281abe45c247f | 2,834 | cpp | C++ | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/format/CellFormatter.java
#include <org/apache/poi/ss/format/CellFormatter.hpp>
#include <java/lang/Class.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/String.hpp>
#include <java/lang/StringBuffer.hpp>
#include <java/lang/StringBuilder.hpp>
#includ... | 26.485981 | 106 | 0.666902 | pebble2015 |
84990fbdec75414459c2def3567849b8143c6aee | 7,042 | cpp | C++ | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null |
#include "plugin/torchNMSPlugin/torchNMSPlugin.h"
#include <assert.h>
#include <chrono>
#include "amirCommon.h"
#include "amir_cuda_util/common_util.h"
#include "amir_cuda_util/cuda_util.h"
#include "common.h"
#include "serialize.hpp"
#include "torch_nms.h"
namespace amirstan {
namespace plugin {
namespace {
stat... | 30.885965 | 80 | 0.704913 | mmeendez8 |
849a1dc18be5959fa2b4b67d275db677aff2e660 | 3,115 | cpp | C++ | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | 1 | 2021-09-02T21:19:19.000Z | 2021-09-02T21:19:19.000Z | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | null | null | null | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | null | null | null | #include "Laberinto.h"
Laberinto::Laberinto() {
}
void Laberinto::Iniciar(Graphics^ g) {
cols = 16;
rows = 6;
Celda* auxiliar;
for (int j = 0; j < rows; j++) {
for (int i = 0; i < cols; i++)
{
auxiliar = new Celda(i, j);
grid.push_back(auxiliar);
}
}
current = grid.at(0);
}
void Laberinto::Dibujar(Gra... | 24.527559 | 95 | 0.625361 | IzaguirreYamile |
849b14b6b1a328aef7b0eda46cf7c0b9c787e7f7 | 2,222 | cpp | C++ | oi/Contest/APIO/APIO2017/merchant.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | oi/Contest/APIO/APIO2017/merchant.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | oi/Contest/APIO/APIO2017/merchant.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | // #define NDEBUG
#include <cassert>
#include <cstdio>
#include <cstring>
#include <climits>
#include <algorithm>
using namespace std;
#define NMAX 100
#define KMAX 1000
#define INF 1000000001
typedef long long i64;
static int n, m, K;
static i64 B[NMAX + 10][KMAX + 10];
static i64 S[NMAX + 10][KMAX + 10];
static... | 19.839286 | 58 | 0.355086 | Riteme |
849dce8e4558c657810228f31cf3657fa7b514e7 | 42,724 | cpp | C++ | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2019 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "single_cell_model.hpp"
#include <utility>
#include <cassert>
#include <iterator>
#include <algorithm>
#include <numeric>
#include <limits>
#include "utils/k_medoids.hpp"
... | 47.156733 | 158 | 0.666862 | gunjanbaid |
84a0d58f3426e666efc31725f9e9d6a0a3c2492d | 232 | cpp | C++ | test/stkwebapptest/StkWebAppTest1.cpp | s-takeuchi/YaizuComLib | de1c881a4b743bafec22f7ea2d263572c474cbfe | [
"MIT"
] | 4 | 2017-02-21T23:25:23.000Z | 2022-01-30T20:17:22.000Z | test/stkwebapptest/StkWebAppTest1.cpp | Aekras1a/YaizuComLib | 470d33376add0d448002221b75f7efd40eec506f | [
"MIT"
] | 161 | 2015-05-16T14:26:36.000Z | 2021-11-25T05:07:56.000Z | test/stkwebapptest/StkWebAppTest1.cpp | Aekras1a/YaizuComLib | 470d33376add0d448002221b75f7efd40eec506f | [
"MIT"
] | 1 | 2019-12-06T10:24:45.000Z | 2019-12-06T10:24:45.000Z | #include "StkWebAppTest1.h"
StkObject* StkWebAppTest1::Execute(StkObject* ReqObj, int Method, wchar_t UrlPath[StkWebAppExec::URL_PATH_LENGTH], int* ResultCode, wchar_t* HttpHeader)
{
*ResultCode = 200;
return ReqObj->Clone();
}
| 29 | 152 | 0.767241 | s-takeuchi |
84a2d156000fbfbcb42398af4f7bd338590d55c4 | 9,022 | cc | C++ | media/video/capture/file_video_capture_device.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | media/video/capture/file_video_capture_device.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | media/video/capture/file_video_capture_device.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.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 "media/video/capture/file_video_capture_device.h"
#include <string>
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/s... | 36.526316 | 80 | 0.690091 | Fusion-Rom |
84a3afa85ffb2228688c757201915a241430541d | 2,503 | hpp | C++ | src/base/solver/Jacobian.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/solver/Jacobian.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/solver/Jacobian.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //$Id$
//------------------------------------------------------------------------------
// Jacobian
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as represented... | 38.507692 | 80 | 0.615262 | IncompleteWorlds |
84a521e8079dd2b6362a0114c1d2fddfdd96e02a | 2,461 | hpp | C++ | include/fibio/http/client/request.hpp | mind-owner/fibio | a269f2e0d842bf441ac7d27f70d8bcc1801d7c92 | [
"BSD-2-Clause"
] | 243 | 2015-01-19T07:38:03.000Z | 2022-03-01T07:39:16.000Z | include/fibio/http/client/request.hpp | learnerzhang/fibio | a269f2e0d842bf441ac7d27f70d8bcc1801d7c92 | [
"BSD-2-Clause"
] | 3 | 2015-02-11T10:11:58.000Z | 2015-11-08T19:27:04.000Z | include/fibio/http/client/request.hpp | learnerzhang/fibio | a269f2e0d842bf441ac7d27f70d8bcc1801d7c92 | [
"BSD-2-Clause"
] | 53 | 2015-01-08T06:35:54.000Z | 2022-02-14T02:38:58.000Z | //
// request.hpp
// fibio
//
// Created by Chen Xu on 14-3-10.
// Copyright (c) 2014 0d0a.com. All rights reserved.
//
#ifndef fibio_http_client_request_hpp
#define fibio_http_client_request_hpp
#include <string>
#include <boost/interprocess/streams/vectorstream.hpp>
#include <fibio/http/common/request.hpp>
#inc... | 21.973214 | 89 | 0.635514 | mind-owner |
84a5811aeb3db815d1c912b6b2134308ce430dd9 | 990 | hpp | C++ | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | #include "DP/Factory.h"
namespace DP {
template <typename T, typename IDType, typename ... Args>
Factory<T, IDType, Args ...>::Factory() noexcept
{ Factory::Registry; }
template <typename T, typename IDType, typename ... Args>
CreateInfo<T, Args ...> const&
Factory<T, IDType, Args ...>::GetCreateInfo(TypeID const& T... | 30.9375 | 89 | 0.69899 | ahfakt |
84a60a737c7b8f8d0d5b2a4fb4ef18ae7f57846a | 41,342 | hpp | C++ | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#pragma once
#if !defined(RXCPP_RX_SUBSCRIBER_HPP)
#define RXCPP_RX_SUBSCRIBER_HPP
#include "rx-includes.hpp"
namespace rxcpp {
template<class T>
struct subscriber_base : public obse... | 49.452153 | 178 | 0.67048 | tcw165 |
84a87a2b9a2de1f6125bf1422ec80a49ac473d7d | 1,947 | cpp | C++ | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | #include "Logger.h"
#include <fstream>
#include <assert.h>
#include "termcolor.hpp"
namespace tfx {
#ifdef TFX_DEBUG
Logger Logger::logger = Logger();
std::ofstream& Logger::logFile = std::ofstream();
#else
std::ofstream& Logger::logFile = std::ofstream("Log_" + Util::currentDateTimeNoFormat() + ".txt");
Logger ... | 27.041667 | 106 | 0.644068 | DCubix |
84a89b5d825f668a546c48f76858f9e5c6344d8d | 2,590 | cpp | C++ | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of Swift2D. //
// ... | 35 | 80 | 0.360618 | Simmesimme |
84a8ad07b63e9345704aab5c53de3c6625546eaf | 17,117 | cc | C++ | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | 4 | 2020-04-26T10:19:45.000Z | 2021-11-22T18:24:16.000Z | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | 21 | 2020-01-08T12:23:00.000Z | 2020-11-24T05:47:25.000Z | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Northwestern Inclusive Technology Lab
*
* 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 app... | 43.224747 | 79 | 0.573056 | InclusiveTechNU |
84a993efb1c3526dde6d068a92090975c21ebafd | 383 | cpp | C++ | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | //task_5(sales prediction)
#include <iostream>
using namespace std;
main()
{
float total_sale,sale_of_year;
total_sale = 0.62;
sale_of_year= 680;
cout<<"Percentage of total sale in decimal is: "<<total_sale <<endl;
cout<<"Sale of this year is:"<< sale_of_year<<" million"<<endl;
cout<<"Pre... | 22.529412 | 71 | 0.660574 | ZapeeoSheikh |
84a9c08e981cb1f6e68f650472643971de32a9f5 | 969 | cpp | C++ | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 136 | 2015-07-15T12:49:36.000Z | 2022-03-24T12:30:25.000Z | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 59 | 2015-12-28T21:40:37.000Z | 2022-03-31T13:11:50.000Z | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 33 | 2015-12-04T08:00:07.000Z | 2022-01-28T23:39:25.000Z | #include <boost/python.hpp>
#include <boost/cstdint.hpp>
#include <Magick++/Drawable.h>
#include <Magick++.h>
using namespace boost::python;
namespace {
struct Magick_PathMovetoRel_Wrapper: Magick::PathMovetoRel
{
Magick_PathMovetoRel_Wrapper(PyObject* py_self_, const Magick::Coordinate& p0):
Magick::P... | 25.5 | 145 | 0.712074 | veryhappythings |
84aa92c516286857f6916ebd1adb24b5273a2636 | 2,285 | cpp | C++ | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstring>
#include <cstring>
#include <ctime>
#include <memory>
#include <sstream>
#include "frame/test_macros.h"
#include "std/smart_ptr.h"
struct intrusive_ptr_test_clazz {
int ref_count;
int *del_count;
intrusive_ptr_test_clazz(int *dc) : ref_count(0), del... | 25.674157 | 102 | 0.538731 | tangzhenquan |
84b10283525bfd0571d906787216e039f6a913ae | 4,271 | cpp | C++ | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | 2 | 2016-07-17T02:12:44.000Z | 2016-11-22T14:04:55.000Z | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Kyle Treubig
*
* 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... | 28.66443 | 83 | 0.660969 | vimofthevine |
84b192d0c349acc28fdd1de36e82b550678db7d6 | 7,824 | cpp | C++ | jni/app/src/main/cpp/native-lib.cpp | JessonYue/OpenGLES2ForAndroid | dd5c786c93b75f3879553bd823722afa712f869a | [
"Apache-2.0"
] | null | null | null | jni/app/src/main/cpp/native-lib.cpp | JessonYue/OpenGLES2ForAndroid | dd5c786c93b75f3879553bd823722afa712f869a | [
"Apache-2.0"
] | null | null | null | jni/app/src/main/cpp/native-lib.cpp | JessonYue/OpenGLES2ForAndroid | dd5c786c93b75f3879553bd823722afa712f869a | [
"Apache-2.0"
] | null | null | null | #include <jni.h>
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <cmath>
#include<android/log.h>
#define TAG "myDemo-jni" // 这个是自定义的LOG的标识
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,TAG ,__VA_ARGS__) // 定义LOGD类型
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,T... | 28.143885 | 103 | 0.625 | JessonYue |
84b3f8d7c2fd894e56ab8fb4cc46f0769eeb959f | 804 | cpp | C++ | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | #include "upload.h"
#include "ui_upload.h"
#include <QFileSystemModel>
upload::upload(QWidget *parent) :
QDialog(parent),
ui(new Ui::upload)
{
ui->setupUi(this);
QString path(getenv("HOME"));
dirmodel = new QFileSystemModel(this);
dirmodel->setFilter(QDir::NoDotAndDotDot | QDir::AllDirs);
... | 21.72973 | 65 | 0.69403 | wanderingThroughSpaceAndTime |
84b4c09d8f641a949a8ec4810ad51e53f8622ead | 37,915 | cpp | C++ | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-03-13T21:00:36.000Z | 2019-04-10T22:44:38.000Z | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2020-02-17T08:12:52.000Z | 2020-09-21T14:33:29.000Z | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-11-26T11:38:39.000Z | 2019-12-17T17:12:01.000Z | /**
* Copyright (c) 2018, SOW (https://www.safeonline.world). (https://github.com/RKTUXYN) All rights reserved.
* @author {SOW}
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
//1:57 PM 1/16/2020
#if (defined(_WIN32)||defined(_WIN64))
# include "image_win.h"
#... | 37.726368 | 135 | 0.661084 | SafeOnlineWorld |
84b5bcf29e0696d4e7b628adfb18c0b4733ab2cf | 2,441 | cpp | C++ | thrift/test/THeaderTest.cpp | CacheboxInc/fbthrift | b894dd9192ea4684c0067c93bb2ba2b9547749ec | [
"Apache-2.0"
] | 2 | 2021-06-29T13:42:22.000Z | 2021-09-06T10:57:34.000Z | thrift/test/THeaderTest.cpp | CacheboxInc/fbthrift | b894dd9192ea4684c0067c93bb2ba2b9547749ec | [
"Apache-2.0"
] | null | null | null | thrift/test/THeaderTest.cpp | CacheboxInc/fbthrift | b894dd9192ea4684c0067c93bb2ba2b9547749ec | [
"Apache-2.0"
] | 5 | 2021-06-29T13:42:26.000Z | 2022-02-08T02:41:34.000Z | /*
* Copyright 2004-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 32.118421 | 75 | 0.720606 | CacheboxInc |
84b843e96711eb8583d0e3989626c0040a079a71 | 2,277 | cpp | C++ | logdevice/common/libevent/EvBaseWithFolly.cpp | YangKian/LogDevice | e5c2168c11e9de867a1bcf519f95016e1c879b5c | [
"BSD-3-Clause"
] | 1,831 | 2018-09-12T15:41:52.000Z | 2022-01-05T02:38:03.000Z | logdevice/common/libevent/EvBaseWithFolly.cpp | YangKian/LogDevice | e5c2168c11e9de867a1bcf519f95016e1c879b5c | [
"BSD-3-Clause"
] | 183 | 2018-09-12T16:14:59.000Z | 2021-12-07T15:49:43.000Z | logdevice/common/libevent/EvBaseWithFolly.cpp | YangKian/LogDevice | e5c2168c11e9de867a1bcf519f95016e1c879b5c | [
"BSD-3-Clause"
] | 228 | 2018-09-12T15:41:51.000Z | 2022-01-05T08:12:09.000Z | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/libevent/EvBaseWithFolly.h"
#include <folly/io/async/Event... | 24.223404 | 72 | 0.743083 | YangKian |
84b89a5abb875476e86546a0c6a71261706a2b7c | 852 | hpp | C++ | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | /*
* CurrentSensor.hpp
*
* Created on: Jan 4, 2022
* Author: Taiyou Komazawa
*/
#ifndef INC_CURRENTSENSOR_HPP_
#define INC_CURRENTSENSOR_HPP_
#include "main.h"
/**
* @brief ADC式電流センサクラス
*/
class CurrentSensor
{
public:
enum
{
/* ADCの分解能 */
ADC_RESOLUTION = 4096,
};
/**
* @brief センサのデータを格納する構造... | 14.440678 | 101 | 0.705399 | TaiyouKomazawa |
84b8b16685cf04396caa4409abd9f5ede5b7b765 | 679 | cpp | C++ | Code/Framework/AzQtComponents/AzQtComponents/Components/HelpButton.cpp | jpakkane/o3de | bb680810e6ca31088ed8bcb084331c03a1a1facf | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-19T23:54:05.000Z | 2021-07-19T23:54:05.000Z | Code/Framework/AzQtComponents/AzQtComponents/Components/HelpButton.cpp | jpakkane/o3de | bb680810e6ca31088ed8bcb084331c03a1a1facf | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzQtComponents/AzQtComponents/Components/HelpButton.cpp | jpakkane/o3de | bb680810e6ca31088ed8bcb084331c03a1a1facf | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzQtComponents/Components/HelpButton.h>
#include <QIcon>
#include <QPixmap>
#include <QV... | 24.25 | 100 | 0.714286 | jpakkane |
84b954b45b428f7a8e1cd78b64dbd4ed695f3104 | 912 | cpp | C++ | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | /* ***********************************************************************
> File Name: HouseRobberII_213.cpp
> Author: zzy
> Mail: 942744575@qq.com
> Created Time: Thu 20 Sep 2018 08:47:58 PM CST
********************************************************************** */
/*
* 你是一个专业的小偷,计划偷窃沿街的房屋,每间房内都藏有一定的现... | 25.333333 | 78 | 0.554825 | obviouskkk |
84ba260abc34a626adfb5e948d175a4746ce19e1 | 11,966 | cpp | C++ | Plugins/org.blueberry.core.commands/src/berryParameterizedCommand.cpp | gaoxiaojun/minircp | fe20201a768515cd0387f0b76a16c0c766cf939d | [
"BSD-3-Clause"
] | 5 | 2015-02-05T10:58:41.000Z | 2019-04-17T15:04:07.000Z | Plugins/org.blueberry.core.commands/src/berryParameterizedCommand.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 141 | 2015-03-03T06:52:01.000Z | 2020-12-10T07:28:14.000Z | Plugins/org.blueberry.core.commands/src/berryParameterizedCommand.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 4 | 2015-02-19T06:48:13.000Z | 2020-06-19T16:20:25.000Z | /*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS... | 26.889888 | 118 | 0.672071 | gaoxiaojun |
84ba6953e662c2df6b1dc69b48f13189e1e9e719 | 386 | cpp | C++ | source/components/gstreamer++/test/src/main.cpp | renebarto/GStreamerTest | 736a5089b7c0f1e40a9fa60b34b9f6494f535d16 | [
"Apache-2.0"
] | null | null | null | source/components/gstreamer++/test/src/main.cpp | renebarto/GStreamerTest | 736a5089b7c0f1e40a9fa60b34b9f6494f535d16 | [
"Apache-2.0"
] | null | null | null | source/components/gstreamer++/test/src/main.cpp | renebarto/GStreamerTest | 736a5089b7c0f1e40a9fa60b34b9f6494f535d16 | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <cstdio>
#include <gstreamer++/application.h>
static const std::string ApplicationName = "GStreamerTest";
GTEST_API_ int main(int argc, char **argv) {
std::cout << "Running tests for " << ApplicationName << std::endl;
testing::InitGoogleTest(&argc, argv);
int result = RU... | 24.125 | 70 | 0.676166 | renebarto |
84bd394c1c8a3cb1bd503ecfffe446b239c7be2f | 3,052 | cpp | C++ | src/xdo_ros.cpp | lucasw/xdo_ros | b94c52db984d6b376ecccf9df7a4d519a6c69d67 | [
"BSD-3-Clause"
] | 1 | 2017-07-02T13:10:05.000Z | 2017-07-02T13:10:05.000Z | src/xdo_ros.cpp | lucasw/xdo_ros | b94c52db984d6b376ecccf9df7a4d519a6c69d67 | [
"BSD-3-Clause"
] | null | null | null | src/xdo_ros.cpp | lucasw/xdo_ros | b94c52db984d6b376ecccf9df7a4d519a6c69d67 | [
"BSD-3-Clause"
] | null | null | null | /**
Copyright 2016 Lucas Walter
*/
#include <opencv_apps/Point2D.h>
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <xdo_ros/Mouse.h>
extern "C"
{
#include <xdo.h>
}
class XdoRos
{
public:
XdoRos();
protected:
ros::NodeHandle nh_;
ros::Subscriber point_sub_;
void mousePosCallback(const opencv_apps... | 29.066667 | 86 | 0.726081 | lucasw |
84bd7c879bd3ad6a4428f0761549c83b04f85c78 | 1,769 | cpp | C++ | src/Hashing/UniChecksum.cpp | heinhel/H3D-Engine | 5e638683486f9b083aaaf1a433d5eed361adfa79 | [
"MIT"
] | null | null | null | src/Hashing/UniChecksum.cpp | heinhel/H3D-Engine | 5e638683486f9b083aaaf1a433d5eed361adfa79 | [
"MIT"
] | null | null | null | src/Hashing/UniChecksum.cpp | heinhel/H3D-Engine | 5e638683486f9b083aaaf1a433d5eed361adfa79 | [
"MIT"
] | null | null | null | #include "../../H3D/Hashing/UniChecksum.hpp"
#include <algorithm>
#include <fstream>
/////////////////////////////////////////////////////////////////
// Inplementation of UniChecksum
/////////////////////////////////////////////////////////////////
constexpr int MAX_KEY_LENGTH = 24;
constexpr char* START_STRING = "h3d... | 31.035088 | 84 | 0.546637 | heinhel |
84c42bf581ea5855d8a3ca56f7079efdfa7a4f3c | 8,820 | cpp | C++ | WebKit/Source/WebCore/bridge/jni/jsc/JavaFieldJSC.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/WebCore/bridge/jni/jsc/JavaFieldJSC.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/WebCore/bridge/jni/jsc/JavaFieldJSC.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2003, 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
* Copyright 2010, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source c... | 35.421687 | 153 | 0.649093 | JavaScriptTesting |
84c6df3e8491060d4f9c45166b67394e8d3dc40c | 3,594 | cpp | C++ | src/spdk_wrapper/free_buffer_pool.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | null | null | null | src/spdk_wrapper/free_buffer_pool.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | null | null | null | src/spdk_wrapper/free_buffer_pool.cpp | hsungyang/poseidonos | 0f523b36ccf0d70726364395ea96ac6ae3b845c3 | [
"BSD-3-Clause"
] | null | null | null | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics Corporation
* 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 th... | 32.972477 | 110 | 0.669449 | hsungyang |
84c903283e239367d029a5f49866223582fbaac6 | 3,645 | cpp | C++ | usaco/C5/533window.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | usaco/C5/533window.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | usaco/C5/533window.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | /*
ID: s0000151
PROG: window
LANG: C++
*/
#include<stdio.h>
#include<stdlib.h>
struct llt{
char c;
int sx,sy,ex,ey;
llt *next;
}*last,*ptr,*top=NULL,*bottom=NULL;
struct _rect{
char c;
int sx,sy,ex,ey;
}rect[10000],a,b,c,d;
int exist[256];
_rect __rect(int c,int sx,int sy,int ex,int ey){
_rect tmp;
tmp.c=c,tmp.s... | 21.957831 | 68 | 0.562689 | dk00 |
84cb1564eafca8c7d0d30ab948a13fd6cef73273 | 17,522 | cpp | C++ | src/scheduler.cpp | edvardsp/libproxc- | aea543d7de50a26fb424485a9eed458004f57510 | [
"BSL-1.0"
] | 1 | 2022-03-10T16:25:29.000Z | 2022-03-10T16:25:29.000Z | src/scheduler.cpp | edvardsp/libproxc- | aea543d7de50a26fb424485a9eed458004f57510 | [
"BSL-1.0"
] | null | null | null | src/scheduler.cpp | edvardsp/libproxc- | aea543d7de50a26fb424485a9eed458004f57510 | [
"BSL-1.0"
] | null | null | null | // Copyright Oliver Kowalke 2009.
// Copyright Edvard Severin Pettersen 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <algorithm>
#include <atomic>
#include <chrono>
#in... | 29.548061 | 93 | 0.605639 | edvardsp |
84cccd017896ac4abd553475b03a6fc419453346 | 8,230 | cpp | C++ | Generate-Cascades/GenerateCascades/snap/trawling.cpp | payamsiyari/CS-NetRec | 70c75d1f9dd8a96455b2e72c6fb3b8db85ca9b07 | [
"MIT"
] | 3 | 2016-09-06T00:53:36.000Z | 2019-05-11T09:14:08.000Z | Generate-Cascades/GenerateCascades/snap/trawling.cpp | payamsiyari/CS-NetRec | 70c75d1f9dd8a96455b2e72c6fb3b8db85ca9b07 | [
"MIT"
] | null | null | null | Generate-Cascades/GenerateCascades/snap/trawling.cpp | payamsiyari/CS-NetRec | 70c75d1f9dd8a96455b2e72c6fb3b8db85ca9b07 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "trawling.h"
/////////////////////////////////////////////////
// Trawling the web for emerging communities
// graph, left points to right
TTrawling::TTrawling(const PNGraph& Graph, const int& MinSupport) : MinSup(MinSupport) {
TIntH ItemCntH;
for (TNGraph::TNodeI NI = Graph->... | 32.401575 | 113 | 0.551276 | payamsiyari |
84cd6b0b506b30632f321b7f17b2890a33b37f1e | 1,479 | cpp | C++ | Plugins/Redis/PubSub.cpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | 1 | 2019-06-04T04:30:24.000Z | 2019-06-04T04:30:24.000Z | Plugins/Redis/PubSub.cpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | null | null | null | Plugins/Redis/PubSub.cpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | 1 | 2019-10-20T07:54:45.000Z | 2019-10-20T07:54:45.000Z | #include "Redis.hpp"
#include "Internal.hpp"
#include "Services/Config/Config.hpp"
#include "Services/Events/Events.hpp"
#include "Services/Tasks/Tasks.hpp"
#include "API/Globals.hpp"
#include "API/CExoString.hpp"
#include "API/CAppManager.hpp"
#include "API/CServerExoApp.hpp"
#include "API/CVirtualMachine.hpp"
#inc... | 25.947368 | 103 | 0.656525 | acaos |
84cef13a1de43d3592ece05fbffebcd30fd0bf3e | 10,823 | cpp | C++ | src/common/backend/port/win32/signal.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | 1 | 2020-06-30T15:00:50.000Z | 2020-06-30T15:00:50.000Z | src/common/backend/port/win32/signal.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | src/common/backend/port/win32/signal.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | /* -------------------------------------------------------------------------
*
* signal.c
* Microsoft Windows Win32 Signal Emulation Functions
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/common/backend/port/win32/signal.c
*
* -----------------------... | 32.599398 | 119 | 0.60972 | wotchin |
84d2d7d03439182da655e24f3dbe4db427e772c5 | 4,798 | cpp | C++ | cpgf/test/metagen/tests/test_metagen_multiple_inheritance_cast.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 187 | 2015-01-19T06:05:30.000Z | 2022-03-27T14:28:21.000Z | cpgf/test/metagen/tests/test_metagen_multiple_inheritance_cast.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 37 | 2015-01-16T04:15:11.000Z | 2020-03-31T23:42:55.000Z | cpgf/test/metagen/tests/test_metagen_multiple_inheritance_cast.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 50 | 2015-01-13T13:50:10.000Z | 2022-01-25T17:16:51.000Z | #include "testmetagen.h"
namespace {
void metagenTest_MultipleInheritanceCast_PassRawPointerAsParam(TestScriptContext * context)
{
QDO(d = mtest.getMultipleInheritanceCastD());
QASSERT(mtest.checkMultipleInheritanceCastDAsR(d));
QDO(r = mtest.getMultipleInheritanceCastDAsR());
QASSERT(mtest.checkMu... | 34.028369 | 96 | 0.784285 | mousepawmedia |
84d45d4e45b6702d572c5e20978dceeab8d0ec91 | 3,042 | cpp | C++ | hardware/libraries/GUI/Encoders.cpp | anupam19/mididuino | 27c30f586a8d61381309434ed05b4958c7727402 | [
"BSD-3-Clause"
] | null | null | null | hardware/libraries/GUI/Encoders.cpp | anupam19/mididuino | 27c30f586a8d61381309434ed05b4958c7727402 | [
"BSD-3-Clause"
] | null | null | null | hardware/libraries/GUI/Encoders.cpp | anupam19/mididuino | 27c30f586a8d61381309434ed05b4958c7727402 | [
"BSD-3-Clause"
] | null | null | null | #include "Encoders.hh"
#include "MidiTools.h"
#include "Midi.h"
#include "GUI.h"
/* handlers */
void CCEncoderHandle(Encoder *enc) {
CCEncoder *ccEnc = (CCEncoder *)enc;
uint8_t channel = ccEnc->getChannel();
uint8_t cc = ccEnc->getCC();
uint8_t value = ccEnc->getValue();
MidiUart.sendCC(channel, cc, value)... | 19.5 | 89 | 0.627876 | anupam19 |
84d589590667fb7a0db771b02608ce3f15484fec | 756 | cpp | C++ | HDUOJ/1028/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2019-07-28T11:26:01.000Z | 2021-06-29T09:50:08.000Z | HDUOJ/1028/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | HDUOJ/1028/generating_function.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
#include <iomanip>
#include <climits>
#define SIZE 999
using namespace std;
int c1[SIZE], c2[SIZE];
int main()
{
ios::sync_with_stdio(false);
int n;
while (cin >> n)
{
memset(c1, 0,... | 19.384615 | 58 | 0.420635 | codgician |
84d600a8532b7a74be89c5092b578964fd65fed1 | 342 | cpp | C++ | Manual/P105_33.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Manual/P105_33.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | Manual/P105_33.cpp | rlodina99/Learn_cpp | 0c5bd9e6c52ca21e2eb95eb91597272ddc842c08 | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
#include <fstream>
using namespace std;
double myPow(int a, int b){
int p=1;
for(int i=0;i<b;i++)
p=p*a;
return p;
}
int main(){
fstream f("P105_33.in");
int x,y,k,z=0,cif=0;
f>> x;
f >> y;
k=y;
while(k){
z++;
k=k/10;
}
cif=x*myPow(10,z)+y;
cout << cif/myPow(... | 11.4 | 27 | 0.55848 | rlodina99 |
84d63be733cae69bd86d037b3fe039be572d997b | 279 | cpp | C++ | Raven.CppClient/RouteNotFoundException.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-04-24T02:34:53.000Z | 2019-08-01T08:22:26.000Z | Raven.CppClient/RouteNotFoundException.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 2 | 2019-03-21T09:00:02.000Z | 2021-02-28T23:49:26.000Z | Raven.CppClient/RouteNotFoundException.cpp | mlawsonca/ravendb-cpp-client | c3a3d4960c8b810156547f62fa7aeb14a121bf74 | [
"MIT"
] | 3 | 2019-03-04T11:58:54.000Z | 2021-03-01T00:25:49.000Z | #include "stdafx.h"
#include "RouteNotFoundException.h"
namespace ravendb::client::exceptions::routing
{
RouteNotFoundException::RouteNotFoundException() = default;
RouteNotFoundException::RouteNotFoundException(const std::string& message)
: RavenException(message)
{}
}
| 23.25 | 75 | 0.78853 | mlawsonca |
84d6cd53e69dce4ac3b6e9eca82e8c9f86fcc73e | 676 | cpp | C++ | HWyuzhuChapter7/Problem7-10.cpp | yzhu5/computational-physics | 40c35aebecd2ebfac81f3d1e9c8de3eb9310895a | [
"MIT"
] | null | null | null | HWyuzhuChapter7/Problem7-10.cpp | yzhu5/computational-physics | 40c35aebecd2ebfac81f3d1e9c8de3eb9310895a | [
"MIT"
] | null | null | null | HWyuzhuChapter7/Problem7-10.cpp | yzhu5/computational-physics | 40c35aebecd2ebfac81f3d1e9c8de3eb9310895a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
typedef double (*TPfun) (double x, double y);
void
calculate (double x, double y, TPfun fun[], unsigned num_of_funs)
{
for (unsigned i = 0; i < num_of_funs; ++i) {
cout << fun[i](x, y) << endl;
}
}
double
add (double x, double y)
{
cout << "add: ";
re... | 14.695652 | 66 | 0.529586 | yzhu5 |
84d6e3620a37a858d2cba73e4ee9ffeddd12d500 | 2,281 | hpp | C++ | modules/core/statistics/include/nt2/statistics/functions/unifcdf.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/statistics/include/nt2/statistics/functions/unifcdf.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/statistics/include/nt2/statistics/functions/unifcdf.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"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.
// ... | 29.623377 | 172 | 0.622972 | psiha |
84d8974b283285d7ef94c488121bb40f5fc47b45 | 1,056 | cpp | C++ | src/products.cpp | tkuye/AuctionPool | c576feada6132390d81f07966e47d732d50fdbb9 | [
"MIT"
] | null | null | null | src/products.cpp | tkuye/AuctionPool | c576feada6132390d81f07966e47d732d50fdbb9 | [
"MIT"
] | null | null | null | src/products.cpp | tkuye/AuctionPool | c576feada6132390d81f07966e47d732d50fdbb9 | [
"MIT"
] | null | null | null | #include<iostream>
#include "headers/products.h"
#include "headers/User.h"
using namespace std;
Product::Product(User * owner){
this->owner = owner;
}
void Product::changeOwner(User * owner){
this->owner = owner;
}
void Product::changeAuctionPrice(int price){
auctionPrice = price;
}
void Product::setPr... | 17.898305 | 83 | 0.660985 | tkuye |
84dbf6df094c7decee90b95b859afa709112a282 | 717 | cpp | C++ | codeforce6/1027B. Numbers on the Chessboard.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1027B. Numbers on the Chessboard.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce6/1027B. Numbers on the Chessboard.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | /*
Idea:
- Simple math.
*/
#include <bits/stdc++.h>
using namespace std;
long long n, q, x, y, o, e, oo, ee;
int main() {
scanf("%lld %lld", &n, &q);
if(n % 2 == 0)
o = e = n / 2;
else
o = n / 2 + 1, e = n / 2;
while(q-- != 0) {
scanf("%lld %lld", &x, &y);
long long bf = 0;
if((... | 15.586957 | 57 | 0.379358 | khaled-farouk |
84de6ca2297d667cbf287997f1da630d47d17996 | 2,677 | cpp | C++ | tests/log10.cpp | CityOfZion/BigIntegerCpp | 865d2d753814c5c0fc488b2925e35eee2c56a6bb | [
"MIT"
] | 3 | 2021-07-30T18:48:47.000Z | 2021-12-02T10:21:19.000Z | tests/log10.cpp | CityOfZion/BigIntegerCpp | 865d2d753814c5c0fc488b2925e35eee2c56a6bb | [
"MIT"
] | null | null | null | tests/log10.cpp | CityOfZion/BigIntegerCpp | 865d2d753814c5c0fc488b2925e35eee2c56a6bb | [
"MIT"
] | 2 | 2020-10-14T06:11:15.000Z | 2021-11-18T06:46:11.000Z | #include "../include/public/bigintegercpp/BigInteger.h"
#include "gtest/gtest.h"
#include <string>
#include "stack_calc.h"
#include "Random.h"
static void VerifyLogString(std::string opstring) {
StackCalc sc(opstring);
while (sc.DoNextOperation()) {
ASSERT_EQ(sc.snCalc.top().to_string(), sc.myCalc.top(... | 28.784946 | 76 | 0.660067 | CityOfZion |
84dedce6a2834d1f06b0d2d3c510fdc6edfcb8ac | 821 | cpp | C++ | 1924_year_2007.cpp | harrydrippin/baekjoon | 4ee6b6796d9dece8860e777b38cf90c2c6b13132 | [
"MIT"
] | null | null | null | 1924_year_2007.cpp | harrydrippin/baekjoon | 4ee6b6796d9dece8860e777b38cf90c2c6b13132 | [
"MIT"
] | null | null | null | 1924_year_2007.cpp | harrydrippin/baekjoon | 4ee6b6796d9dece8860e777b38cf90c2c6b13132 | [
"MIT"
] | 1 | 2020-07-25T07:41:12.000Z | 2020-07-25T07:41:12.000Z | #include <iostream>
using namespace std;
int main() {
int x, y, sum = 0;
cin >> x >> y;
for (int i = 1; i <= x - 1; i++) {
switch(i) {
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
sum ... | 19.093023 | 38 | 0.348356 | harrydrippin |
84e201ea9a78eaefde6977e2c8bc91d93bb035ea | 1,861 | cpp | C++ | RisLib/risNetWait.cpp | chrishoen/Dev_RisLib | acdea40c7668fc4505ceb01d5fb29665c0c6ee05 | [
"MIT"
] | null | null | null | RisLib/risNetWait.cpp | chrishoen/Dev_RisLib | acdea40c7668fc4505ceb01d5fb29665c0c6ee05 | [
"MIT"
] | null | null | null | RisLib/risNetWait.cpp | chrishoen/Dev_RisLib | acdea40c7668fc4505ceb01d5fb29665c0c6ee05 | [
"MIT"
] | 1 | 2019-03-28T15:09:48.000Z | 2019-03-28T15:09:48.000Z | /*==============================================================================
==============================================================================*/
//******************************************************************************
//**************************************************************************... | 33.232143 | 80 | 0.232671 | chrishoen |
84e294aef7a03fe9983ebd30dcd11be017ba9869 | 7,634 | cc | C++ | chrome/browser/ui/views/touch_events_interactive_uitest_win.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/touch_events_interactive_uitest_win.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/touch_events_interactive_uitest_win.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 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/run_loop.h"
#include "base/win/windows_version.h"
#include "chrome/browser/ui/views/test/view_event_test_base.h"
#include "chrome/test/base... | 32.485106 | 80 | 0.69125 | sarang-apps |
84e53b1bca320c497c3212c2f9f36d3d63e5d8e3 | 3,891 | cpp | C++ | examples/uidemo/uid_elements.cpp | wedusk101/sig | 56c37286bbf6b37d8a4e1add8f38f4f566f3b7d0 | [
"Apache-2.0"
] | null | null | null | examples/uidemo/uid_elements.cpp | wedusk101/sig | 56c37286bbf6b37d8a4e1add8f38f4f566f3b7d0 | [
"Apache-2.0"
] | null | null | null | examples/uidemo/uid_elements.cpp | wedusk101/sig | 56c37286bbf6b37d8a4e1add8f38f4f566f3b7d0 | [
"Apache-2.0"
] | null | null | null | /*=======================================================================
Copyright (c) 2018-2019 Marcelo Kallmann.
This software is distributed under the Apache License, Version 2.0.
All copies must contain the full copyright notice licence.txt located
at the base folder of the distribution.
===========... | 46.321429 | 110 | 0.549473 | wedusk101 |
84e71436c834fd16e34f48dc7408e748de93e373 | 1,510 | hpp | C++ | PP/fundamental_types.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | 3 | 2019-07-12T23:12:24.000Z | 2019-09-05T07:57:45.000Z | PP/fundamental_types.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | PP/fundamental_types.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | #pragma once
#include <PP/containers/type_tuple.hpp>
namespace PP
{
PP_CIA character_types = type_tuple<char,
signed char,
unsigned char,
wchar_t
#ifdef __cpp_char8_t
,
... | 32.12766 | 73 | 0.55298 | Petkr |
84e8b64fb9ad7a93fd0fb5ca1b211178a5f3bb6b | 9,824 | cc | C++ | mojo/common/handle_watcher.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | mojo/common/handle_watcher.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | mojo/common/handle_watcher.cc | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.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 "mojo/common/handle_watcher.h"
#include <map>
#include "base/atomic_sequence_num.h"
#include "base/bind.h"
#include "base/lazy_instance.h"
#inc... | 31.386581 | 80 | 0.704397 | justremotephone |
84e8ceb06ab538524e32ef20bb3ca8cead76ba63 | 945 | cpp | C++ | Ejercicios/EjerciciosRelacion1/Ejercicio15.cpp | JArandaIzquierdo/FundamentosDeProgramacion | c7c8e79c880de511c3667796356ffa265b021eb2 | [
"Apache-2.0"
] | null | null | null | Ejercicios/EjerciciosRelacion1/Ejercicio15.cpp | JArandaIzquierdo/FundamentosDeProgramacion | c7c8e79c880de511c3667796356ffa265b021eb2 | [
"Apache-2.0"
] | 13 | 2015-10-20T23:23:36.000Z | 2016-01-28T16:18:01.000Z | Ejercicios/EjerciciosRelacion1/Ejercicio15.cpp | JArandaIzquierdo/FundamentosDeProgramacion | c7c8e79c880de511c3667796356ffa265b021eb2 | [
"Apache-2.0"
] | null | null | null | /* Ejercicio 15.
Pasar unas horas, minutos y segundos dados a su formato correcto.
*/
#include <iostream>
using namespace std;
int main(){
int dias=0, horas=0, minutos=0, segundos=0, horas_ini=0, minutos_ini=0,
segundos_ini=0;
cout<< " Introduzca el numero de horas: ";
cin>>horas_ini;
... | 26.25 | 75 | 0.557672 | JArandaIzquierdo |
84e9025180564b238ccf161f43758cb5b554eb9b | 16,581 | cpp | C++ | utilities/largeModalDeformationFactory/nonlinearModes.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | utilities/largeModalDeformationFactory/nonlinearModes.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | utilities/largeModalDeformationFactory/nonlinearModes.cpp | dyollb/VegaFEM | 83bb9e52f68dec5511393af0469abd85cfff4a7f | [
"BSD-3-Clause"
] | null | null | null | /*************************************************************************
* *
* Vega FEM Simulation Library Version 4.0 *
* *
* "Large Modal Defo... | 37.344595 | 220 | 0.625173 | dyollb |