hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0e4184686f0cd855d7dfd3374dec2c3724e401c | 5,061 | cc | C++ | node_modules/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc | nishadi1995/iGoviya | 263910c09147b5f2f7f1c7d3c0494b8834b3ea3a | [
"MIT"
] | 1,699 | 2017-05-06T02:22:00.000Z | 2022-03-30T07:51:03.000Z | node_modules/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc | nishadi1995/iGoviya | 263910c09147b5f2f7f1c7d3c0494b8834b3ea3a | [
"MIT"
] | 85 | 2017-05-08T18:48:44.000Z | 2022-03-07T05:30:01.000Z | node_modules/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc | nishadi1995/iGoviya | 263910c09147b5f2f7f1c7d3c0494b8834b3ea3a | [
"MIT"
] | 180 | 2017-05-18T22:28:37.000Z | 2022-03-28T12:28:04.000Z | /*
*
* Copyright 2018 gRPC 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 or agree... | 35.145833 | 79 | 0.692946 | nishadi1995 |
e0eb1b2a60dcf7b55bfc1f4f865fe01d6dc3c5ba | 199 | cpp | C++ | Geek/sch/sum.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | Geek/sch/sum.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | Geek/sch/sum.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int sum(int a,int b,int c){
return a+b+c;
}
int main(){
int a,b,c;
cout<<"enter numbers :";
cin>>a>>b>>c;
cout<<sum(a,b,c);
}
| 15.307692 | 29 | 0.522613 | SeekerNik |
e0f13a24bef0bf5bb6a08bff78547c456f8751c6 | 17,375 | cpp | C++ | Simulator/SimulatorBase/detail/helpers.cpp | tomcool420/SimulatorSWTOR | 4d2866f997fc3f75b69a97dd5fc474227185de81 | [
"MIT"
] | null | null | null | Simulator/SimulatorBase/detail/helpers.cpp | tomcool420/SimulatorSWTOR | 4d2866f997fc3f75b69a97dd5fc474227185de81 | [
"MIT"
] | null | null | null | Simulator/SimulatorBase/detail/helpers.cpp | tomcool420/SimulatorSWTOR | 4d2866f997fc3f75b69a97dd5fc474227185de81 | [
"MIT"
] | null | null | null | #include "helpers.h"
#include "../Ability.h"
#include "../AbilityDebuff.h"
#include "../ConditionalApplyDebuff.h"
#include "../constants.h"
#include "../detail/log.h"
#include "../types.h"
namespace Simulator {
class EntrencedOffsenceBuff : public Buff {
public:
EntrencedOffsenceBuff() : Buff() {
setId(gu... | 46.210106 | 119 | 0.550849 | tomcool420 |
e0f1435ac9863aa8c98dc7381c7f248b50f27d87 | 2,559 | hpp | C++ | include/notima/wordy.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | include/notima/wordy.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | include/notima/wordy.hpp | drtconway/notima | fb542096b435bdc3246192fd7e4ba86080952afd | [
"MIT"
] | null | null | null | #ifndef NOTIMA_WORDY_HPP
#define NOTIMA_WORDY_HPP
namespace notima
{
namespace detail
{
template <int k, int j>
struct Lbits
{
static constexpr uint64_t value = (Lbits<k,j+k>::value << k) | 0x0000000000000001ULL;
};
template <int k>
struct Lbits<k,64... | 30.464286 | 103 | 0.478312 | drtconway |
e0f17064c62fe6123598cbdd0cf4a2267d9aabe5 | 19,960 | hpp | C++ | modules/tracking/include/opencv2/tracking/tracking_legacy.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 7,158 | 2016-07-04T22:19:27.000Z | 2022-03-31T07:54:32.000Z | modules/tracking/include/opencv2/tracking/tracking_legacy.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 2,184 | 2016-07-05T12:04:14.000Z | 2022-03-30T19:10:12.000Z | modules/tracking/include/opencv2/tracking/tracking_legacy.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 5,535 | 2016-07-06T12:01:10.000Z | 2022-03-31T03:13:24.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 37.03154 | 140 | 0.717485 | ptelang |
e0f48be64be567aa51868aa94487f60b79a6573c | 1,329 | cpp | C++ | VC2010Samples/MFC/WpfInterop/SampleInterop/ManagedObjectProxy.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/MFC/WpfInterop/SampleInterop/ManagedObjectProxy.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/MFC/WpfInterop/SampleInterop/ManagedObjectProxy.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // ManagedObjectProxy.h
//
// This code was originally based on that of Paul DiLascia in the April 2005 issue of MSDN Magazine
// http://msdn.microsoft.com/en-us/magazine/cc300632.aspx
//
#include "stdafx.h"
#include "ManagedObjectProxy.h"
CManagedObjectProxy::CManagedObjectProxy()
{
// The constructor must be here a... | 23.315789 | 99 | 0.75696 | alonmm |
803cf8d9305aa9b55fd0ad6c033981dd923c18f0 | 309 | cpp | C++ | week4/leetcode538.cpp | AndyRao/GeekTime_Algorithm | 6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6 | [
"Apache-2.0"
] | null | null | null | week4/leetcode538.cpp | AndyRao/GeekTime_Algorithm | 6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6 | [
"Apache-2.0"
] | null | null | null | week4/leetcode538.cpp | AndyRao/GeekTime_Algorithm | 6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
TreeNode* convertBST(TreeNode* root) {
if(root == nullptr) {
return nullptr;
}
convertBST(root->right);
sum += root->val;
root->val = sum;
convertBST(root->left);
return root;
}
private:
int sum = 0;
};
| 18.176471 | 42 | 0.504854 | AndyRao |
80422e55fd143b79e1bc24953a540ab99690a4eb | 1,648 | cpp | C++ | src/util/signal_catcher.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | src/util/signal_catcher.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | src/util/signal_catcher.cpp | DamonLiuTHU/cbmc | 67f8c916672347ab05418db45eebbd93885efdec | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module:
Author: Daniel Kroening, kroening@kroening.com
Date:
\*******************************************************************/
#include "signal_catcher.h"
#include "invariant.h"
#if defined(_WIN32)
#else
#include <cstdlib>
#endif
// Here w... | 18.311111 | 69 | 0.649879 | DamonLiuTHU |
8047ad590fcc46d3ec46b551472d8c518ae49cc1 | 1,322 | hpp | C++ | 3rdparty/stout/include/stout/os/windows/read.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 4 | 2019-03-06T03:04:40.000Z | 2019-07-20T15:35:00.000Z | 3rdparty/stout/include/stout/os/windows/read.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 6 | 2018-11-30T08:04:45.000Z | 2019-05-15T03:04:28.000Z | 3rdparty/stout/include/stout/os/windows/read.hpp | sagar8192/mesos | a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7 | [
"Apache-2.0"
] | 4 | 2019-03-11T11:51:22.000Z | 2020-05-11T07:27:31.000Z | // 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, software
// distributed und... | 27.541667 | 75 | 0.721634 | sagar8192 |
804800936a79a849a16224415e036ad417ea7614 | 436 | cpp | C++ | codeforces/1472C.cpp | mhilmyh/algo-data-struct | 6a9b1e5220e3c4e4a41200a09cb27f3f55560693 | [
"MIT"
] | null | null | null | codeforces/1472C.cpp | mhilmyh/algo-data-struct | 6a9b1e5220e3c4e4a41200a09cb27f3f55560693 | [
"MIT"
] | null | null | null | codeforces/1472C.cpp | mhilmyh/algo-data-struct | 6a9b1e5220e3c4e4a41200a09cb27f3f55560693 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve() {
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; i++)
cin >> a[i];
int dp[n+1], x;
memset(dp, 0, (n+1) * sizeof(*dp));
for (int i = 0; i < n; i++) {
x = min(n, i + a[i]);
dp[x] = max(dp[x], dp[i] + a[i]);... | 13.212121 | 37 | 0.440367 | mhilmyh |
804c13fb7643721af18e5a8ef216c5d456d22a6e | 5,481 | cpp | C++ | src/ios/CGFrameProcessor.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | 3 | 2018-07-08T15:32:27.000Z | 2019-11-08T16:50:55.000Z | src/ios/CGFrameProcessor.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | null | null | null | src/ios/CGFrameProcessor.cpp | BradyBrenot/screen_capture_lite | 775d058408dcc393f632d2bf3483104d5d781432 | [
"MIT"
] | 1 | 2018-12-02T09:02:04.000Z | 2018-12-02T09:02:04.000Z | #include "CGFrameProcessor.h"
#include "TargetConditionals.h"
#include <ApplicationServices/ApplicationServices.h>
#include <iostream>
namespace SL {
namespace Screen_Capture {
DUPL_RETURN CGFrameProcessor::Init(std::shared_ptr<Thread_Data> data, Monitor &monitor)
{
auto ret = DUPL_RETURN::DUPL_RETURN... | 38.598592 | 137 | 0.613027 | BradyBrenot |
804d62c827c879642c6640505658dc4ac7eed51a | 12,613 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/MenuTitle.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/MenuTitle.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/MenuTitle.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/MenuTitle.cc,v 1.9 1992/09/11 19:46:04 sterling Exp $
*
* TODO:
* Be sure that we are enabled iff our subitems are - maybe get rid of fEnabled boolean and
* always compute.. Or just and in GetEnabled of men... | 28.731207 | 121 | 0.688258 | SophistSolutions |
804def6bf78ebe88f55bf8afd10b666f28f77248 | 4,394 | hpp | C++ | bulletgba/generator/data/code/original/evil_eye.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | 5 | 2020-03-24T07:44:49.000Z | 2021-08-30T14:43:31.000Z | bulletgba/generator/data/code/original/evil_eye.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | bulletgba/generator/data/code/original/evil_eye.hpp | pqrs-org/BulletGBA | a294007902970242b496f2528b4762cfef22bc86 | [
"Unlicense"
] | null | null | null | #ifndef GENERATED_04e272bac07e2fdd1bb4ce6cf50cd616_HPP
#define GENERATED_04e272bac07e2fdd1bb4ce6cf50cd616_HPP
#include "bullet.hpp"
void stepfunc_3d96ffb925ca1ff7d71ef8155601f8ca_f280d6654214a773e1657bb25d722e10(BulletInfo *p);
void stepfunc_ca5e7e045d7c9a7d37f6467f957900be_f280d6654214a773e1657bb25d722e10(Bullet... | 81.37037 | 104 | 0.915112 | pqrs-org |
805395c3349405cc2dc0e6d3407511ce688e8718 | 404 | cpp | C++ | AAD/2017-09-16/Source.cpp | Solaflex/hf-ict | 2ebed689087407019b540df07612525e8b8d6821 | [
"MIT"
] | null | null | null | AAD/2017-09-16/Source.cpp | Solaflex/hf-ict | 2ebed689087407019b540df07612525e8b8d6821 | [
"MIT"
] | null | null | null | AAD/2017-09-16/Source.cpp | Solaflex/hf-ict | 2ebed689087407019b540df07612525e8b8d6821 | [
"MIT"
] | null | null | null | #include <iostream> ;
#include <string>
#include <C:\git\RunProject\RunProject\myHeader.h>
#include <ctime>
#include <vector>
using namespace std;
int main()
{
vector<int> v;
for (int i = 0; i < 10; i++) {
v.push_back(i);
}
v.insert(v.begin() + 3, 50);
vector<int>::iterator it;
for (it = v.begin(); it !... | 10.918919 | 50 | 0.574257 | Solaflex |
805ec06337e10f22a57da33c1d107c7abe1179cf | 19,842 | cpp | C++ | src/script/mdp-eel2/script-preprocessor.cpp | iaddis/milkdrop2020 | 9354242ccf17909be7e9ab2f140d8508030bc3b1 | [
"MIT"
] | 13 | 2021-03-07T01:57:37.000Z | 2022-03-08T05:45:06.000Z | src/script/mdp-eel2/script-preprocessor.cpp | iaddis/milkdrop2020 | 9354242ccf17909be7e9ab2f140d8508030bc3b1 | [
"MIT"
] | 1 | 2021-02-13T20:16:06.000Z | 2021-03-22T18:42:58.000Z | src/script/mdp-eel2/script-preprocessor.cpp | iaddis/milkdrop2020 | 9354242ccf17909be7e9ab2f140d8508030bc3b1 | [
"MIT"
] | 4 | 2021-03-27T03:23:31.000Z | 2022-01-24T00:38:07.000Z |
#include "script-preprocessor.h"
namespace Script { namespace mdpx {
static std::string StripLinefeedCharsAndComments(const std::string &src)
{
// replaces all LINEFEED_CONTROL_CHAR characters in src with a space in dest;
// also strips out all comments (beginning with '//' and going til end of line).
... | 38.305019 | 134 | 0.299768 | iaddis |
8061c60d8cc3b9e668fd91199e1ff4518f00bdb2 | 2,379 | cpp | C++ | tool/delete/testthreadpool/testthreadpool.cpp | nightli110/mycenter | 3d96bf6fa6e3442646f9a416c6fd80c9807590c8 | [
"MIT"
] | null | null | null | tool/delete/testthreadpool/testthreadpool.cpp | nightli110/mycenter | 3d96bf6fa6e3442646f9a416c6fd80c9807590c8 | [
"MIT"
] | null | null | null | tool/delete/testthreadpool/testthreadpool.cpp | nightli110/mycenter | 3d96bf6fa6e3442646f9a416c6fd80c9807590c8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
#include <curl/curl.h>
#include <glog/logging.h>
#include "json/json.h"
#include "threadpool/ThreadPool.h"
using namespace std;
size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream)
{
string data((const char*) ptr, (size_t) size * nmemb);
... | 25.580645 | 92 | 0.624632 | nightli110 |
8070445338819fc7e02beb6f5610aec673566645 | 14,073 | hpp | C++ | Math/Matrix.hpp | dvijayak/pen31ope | dc07e5f1405d668c8ab0b1514035d97b78744519 | [
"MIT"
] | null | null | null | Math/Matrix.hpp | dvijayak/pen31ope | dc07e5f1405d668c8ab0b1514035d97b78744519 | [
"MIT"
] | null | null | null | Math/Matrix.hpp | dvijayak/pen31ope | dc07e5f1405d668c8ab0b1514035d97b78744519 | [
"MIT"
] | null | null | null | #ifndef Matrix_hpp
#define Matrix_hpp
#include <cassert>
#include <iostream>
#include <type_traits>
#include <array>
#include "Vector.hpp"
/**
* Generic row-major order matrix class.
*/
template <typename Numeric, uint R, uint C>
class Matrix
{
static_assert(std::is_arithmetic<Numeric>::value, "Matrices can onl... | 29.565126 | 202 | 0.572302 | dvijayak |
8071e2fb5ee9104b331d2e8b7f114b05bbcbee58 | 20,267 | cc | C++ | tizen/browser/media/murphy_mainloop.cc | myroot/crosswalk | e594377af6bde07622e8b9e745382bf1844b314c | [
"BSD-3-Clause"
] | null | null | null | tizen/browser/media/murphy_mainloop.cc | myroot/crosswalk | e594377af6bde07622e8b9e745382bf1844b314c | [
"BSD-3-Clause"
] | null | null | null | tizen/browser/media/murphy_mainloop.cc | myroot/crosswalk | e594377af6bde07622e8b9e745382bf1844b314c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/tizen/browser/media/murphy_mainloop.h"
#include <errno.h>
#include <murphy/common/macros.h>
#include <murphy/common/log.h>
#include <mur... | 28.585331 | 80 | 0.682439 | myroot |
807c692d8de3e223f1f55c1efcf446e88faaa61d | 7,813 | cpp | C++ | src/asmith/open_gl/vertex_buffer.cpp | asmith-git/Object-Oriented-OpenGL | 401000e4ea81e69dd564b4a19388e44961b7a7a4 | [
"Apache-2.0"
] | null | null | null | src/asmith/open_gl/vertex_buffer.cpp | asmith-git/Object-Oriented-OpenGL | 401000e4ea81e69dd564b4a19388e44961b7a7a4 | [
"Apache-2.0"
] | null | null | null | src/asmith/open_gl/vertex_buffer.cpp | asmith-git/Object-Oriented-OpenGL | 401000e4ea81e69dd564b4a19388e44961b7a7a4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Adam Smith
// 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... | 28.830258 | 127 | 0.729937 | asmith-git |
807cc8dc3355311a2f39e4c52f034f921f49cde5 | 1,284 | cpp | C++ | programs/chapter_10/old/example_10_3/modules/pir/pir.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | 2 | 2021-05-03T17:21:37.000Z | 2021-06-08T08:32:07.000Z | programs/chapter_10/old/example_10_3/modules/pir/pir.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | null | null | null | programs/chapter_10/old/example_10_3/modules/pir/pir.cpp | epernia/arm_book | ffdd17618c2c7372cef338fc743f517bf6f0f42b | [
"BSD-3-Clause"
] | 2 | 2020-10-14T19:06:24.000Z | 2021-06-08T08:32:09.000Z | //=====[Libraries]=============================================================
#include "mbed.h"
#include "arm_book_lib.h"
#include "pir.h"
//=====[Declaration of private defines]======================================
//=====[Declaration of private data types]=====================================
//=====[Declarat... | 23.777778 | 79 | 0.545171 | epernia |
807f3903947f448031860eabef6f729d7f73d411 | 348 | hh | C++ | Intra/Range/Polymorphic.hh | gammaker/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 8 | 2017-05-22T12:55:40.000Z | 2018-11-11T22:36:56.000Z | Intra/Range/Polymorphic.hh | gammaker/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 1 | 2020-03-14T11:26:17.000Z | 2020-03-14T12:31:11.000Z | Intra/Range/Polymorphic.hh | devoln/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 1 | 2017-10-12T10:03:56.000Z | 2017-10-12T10:03:56.000Z | #pragma once
#include "Polymorphic/InputRange.h"
#include "Polymorphic/FiniteInputRange.h"
#include "Polymorphic/ForwardRange.h"
#include "Polymorphic/FiniteForwardRange.h"
#include "Polymorphic/BidirectionalRange.h"
#include "Polymorphic/RandomAccessRange.h"
#include "Polymorphic/FiniteRandomAccessRange.h"
#include ... | 31.636364 | 48 | 0.824713 | gammaker |
8080ef3b0bbc6afb814f1cc6725f8bcb726e503b | 627 | cpp | C++ | Reflection.Test/MemberWithArgumentsTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Reflection.Test/MemberWithArgumentsTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | Reflection.Test/MemberWithArgumentsTests.cpp | dnv-opensource/Reflection | 27effb850e9f0cc6acc2d48630ee6aa5d75fa000 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2021 DNV AS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#include "Reflection\Members\MemberWithArguments.h"
#include "gtest\gtest.h"
using namespace DNVS::MoFa::Reflection::Variants;
us... | 31.35 | 62 | 0.767145 | dnv-opensource |
80813cd00813cd082bdbb8f6c9a47e4124629690 | 1,674 | cpp | C++ | tests/testLogs.cpp | MrCryptoT/mwc-qt-wallet | 7de81b73f4259ef203f8031c31cc25811e70e338 | [
"Apache-2.0"
] | 17 | 2019-07-03T21:15:17.000Z | 2021-09-09T19:45:39.000Z | tests/testLogs.cpp | MrCryptoT/mwc-qt-wallet | 7de81b73f4259ef203f8031c31cc25811e70e338 | [
"Apache-2.0"
] | 849 | 2019-07-07T13:57:51.000Z | 2022-03-07T03:36:56.000Z | tests/testLogs.cpp | MrCryptoT/mwc-qt-wallet | 7de81b73f4259ef203f8031c31cc25811e70e338 | [
"Apache-2.0"
] | 20 | 2019-06-24T05:53:52.000Z | 2021-11-08T05:50:39.000Z | // Copyright 2020 The MWC Developers
//
// 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... | 31.584906 | 250 | 0.712664 | MrCryptoT |
80840f7a2328ace5f6e3067cd427dd4bef93b641 | 13,918 | cpp | C++ | path_tracking/model_predictive_control/src/model_predictive_control.cpp | EatAllBugs/cpp_robotics | f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c | [
"MIT"
] | 1 | 2022-01-23T13:17:28.000Z | 2022-01-23T13:17:28.000Z | path_tracking/model_predictive_control/src/model_predictive_control.cpp | yinflight/cpp_robotics | f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c | [
"MIT"
] | null | null | null | path_tracking/model_predictive_control/src/model_predictive_control.cpp | yinflight/cpp_robotics | f0ee1b936f8f3d40ec78c30846cd1fbdf72ef27c | [
"MIT"
] | 1 | 2022-01-23T13:17:16.000Z | 2022-01-23T13:17:16.000Z | /*************************************************************************
> File Name: model_predictive_control.cpp
> Author: TAI Lei
> Mail: ltai@ust.hk
> Created Time: Wed Apr 17 11:48:46 2019
************************************************************************/
#include<iostream>
#include<iomanip>
#includ... | 31.206278 | 86 | 0.570412 | EatAllBugs |
80848dd585907eb97be6a94b4352fe73e3c87613 | 1,732 | cc | C++ | src/pf_statistics.cc | jinzy15/CourseDataBaseTHU | af3a9abc1d887c674064ab823c4b9a1dcb810630 | [
"MIT"
] | 190 | 2015-01-08T14:26:25.000Z | 2022-03-21T17:43:52.000Z | src/pf_statistics.cc | jinzy15/CourseDataBaseTHU | af3a9abc1d887c674064ab823c4b9a1dcb810630 | [
"MIT"
] | 4 | 2018-11-07T17:42:31.000Z | 2018-11-22T16:23:17.000Z | src/pf_statistics.cc | jinzy15/CourseDataBaseTHU | af3a9abc1d887c674064ab823c4b9a1dcb810630 | [
"MIT"
] | 91 | 2015-01-07T08:13:38.000Z | 2022-03-10T04:35:44.000Z | //
// pf_statistics.cc
//
// This file contains the procedure to display all the statistics for the
// PF layer.
// Code written by Andre Bergholz, who was the TA for 2000
//
// This file only makes sense when the PF Statistics layer is defined
//
#ifdef PF_STATS
#include <iostream>
#include "pf.h"
#include "statis... | 27.0625 | 75 | 0.617783 | jinzy15 |
80865cd2687a396898459bbf9111fdc30c8ab123 | 8,752 | tpp | C++ | kontsevich_graph_series.tpp | rburing/kontsevich_graph_series- | 20d443646d7047f5d273c2a44436ef7e5e9b63ca | [
"MIT"
] | 4 | 2017-10-04T20:07:55.000Z | 2019-09-16T17:54:51.000Z | kontsevich_graph_series.tpp | rburing/kontsevich_graph_series-cpp | 20d443646d7047f5d273c2a44436ef7e5e9b63ca | [
"MIT"
] | null | null | null | kontsevich_graph_series.tpp | rburing/kontsevich_graph_series-cpp | 20d443646d7047f5d273c2a44436ef7e5e9b63ca | [
"MIT"
] | null | null | null | #include "kontsevich_graph_series.hpp"
#include "util/cartesian_product.hpp"
#include <sstream>
template <class T>
size_t KontsevichGraphSeries<T>::precision() const
{
return d_precision;
}
template <class T>
size_t KontsevichGraphSeries<T>::precision(size_t new_precision)
{
return d_precision = new_precision... | 30.708772 | 186 | 0.610946 | rburing |
808acaadfa96502b13bf1a67486e3db6facb3f1a | 1,258 | cpp | C++ | SerialPrograms/Source/PanelLists.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 9 | 2021-03-06T20:37:22.000Z | 2022-03-09T02:34:47.000Z | SerialPrograms/Source/PanelLists.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 44 | 2021-05-31T21:33:14.000Z | 2022-02-25T17:40:50.000Z | SerialPrograms/Source/PanelLists.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | 16 | 2021-03-21T16:00:21.000Z | 2022-03-26T08:02:11.000Z | /* Left-Side Panel
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <QLabel>
#include "Common/Qt/QtJsonTools.h"
#include "CommonFramework/GlobalSettingsPanel.h"
#include "NintendoSwitch/NintendoSwitch_Panels.h"
#include "PokemonSwSh/PokemonSwSh_Panels.h"
#include "PokemonBDS... | 24.192308 | 78 | 0.652623 | nmousouros |
808b34303d2b09a598a665c9e5704a492e9c25d9 | 476 | cpp | C++ | week-08/operators/copy.cpp | greenfox-zerda-sparta/zerda-syllabus | 5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c | [
"MIT"
] | null | null | null | week-08/operators/copy.cpp | greenfox-zerda-sparta/zerda-syllabus | 5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c | [
"MIT"
] | null | null | null | week-08/operators/copy.cpp | greenfox-zerda-sparta/zerda-syllabus | 5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Car {
public:
unsigned int km;
string type;
Car() {
km = 0;
type = "Lada";
}
Car(const Car& other) {
km = other.km;
type = other.type;
cout << "Look the copy ctr has been called" << endl;
}
};
int mai... | 12.864865 | 56 | 0.573529 | greenfox-zerda-sparta |
808c8a71bf08d43c35061709ef4601288de2c1d0 | 5,099 | cpp | C++ | src/extern/inventor/lib/database/src/so/elements/SoGLClipPlaneElement.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/inventor/lib/database/src/so/elements/SoGLClipPlaneElement.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/inventor/lib/database/src/so/elements/SoGLClipPlaneElement.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | 29.994118 | 77 | 0.625221 | OpenXIP |
809322caaa813c190667d1dd9c8d9b96350d8762 | 10,151 | cc | C++ | test/Vector3Tests.cc | theycallmecoach/cagey-math | e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59 | [
"MIT"
] | 1 | 2019-05-10T23:34:08.000Z | 2019-05-10T23:34:08.000Z | test/Vector3Tests.cc | theycallmecoach/cagey-math | e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59 | [
"MIT"
] | null | null | null | test/Vector3Tests.cc | theycallmecoach/cagey-math | e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <cagey-math/Vector2.hh>
#include <cagey-math/Vector3.hh>
#include <cagey-math/VectorFunc.hh>
#include <cstdint>
using namespace cagey::math;
TEST(Vector3Test, Vector3SizeTest)
{
ASSERT_EQ(sizeof(Vector3<short>), sizeof(short[3]));
ASSERT_EQ(sizeof(Vector3f), sizeof(float[3]));
... | 25.961637 | 100 | 0.630578 | theycallmecoach |
8093a0f3bbecb8afbc93250c6a29d77db042dda5 | 518 | hpp | C++ | src/lib/simparams.hpp | kghose/groho | 7f1eefe3f1c691464bc84d12c7759ac4a16c05ca | [
"MIT"
] | 11 | 2018-05-21T06:45:34.000Z | 2020-09-14T12:43:34.000Z | src/lib/simparams.hpp | kghose/groho | 7f1eefe3f1c691464bc84d12c7759ac4a16c05ca | [
"MIT"
] | 40 | 2017-11-14T02:03:51.000Z | 2020-07-17T00:35:33.000Z | src/lib/simparams.hpp | kghose/groho | 7f1eefe3f1c691464bc84d12c7759ac4a16c05ca | [
"MIT"
] | 2 | 2019-10-24T17:45:48.000Z | 2021-10-11T18:08:02.000Z | /*
This file is part of Groho, a simulator for inter-planetary travel and warfare.
Copyright (c) 2020 by Kaushik Ghose. Some rights reserved, see LICENSE.
Small structure to keep track of simulation parameters that need to be passed
around program wide.
*/
#pragma once
#include <filesystem>
#include <iostream>
#incl... | 19.185185 | 79 | 0.712355 | kghose |
8095e2df153abf97dc21e7fcf75e979bcb4c536e | 71 | hpp | C++ | GpNetwork.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | GpNetwork.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | GpNetwork.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "IO/GpIO.hpp"
#include "L7/GpNetworkL7.hpp"
| 14.2 | 30 | 0.690141 | ITBear |
8098addd63ea3d9e1a6be5a000435216216322fe | 1,386 | hpp | C++ | src/DictGroup.hpp | levindu/OpenCC | 345ea91303e5b3d9332dc51ea73370dac83e4c6b | [
"Apache-2.0"
] | 1,565 | 2016-07-12T17:11:28.000Z | 2022-03-31T07:43:53.000Z | src/DictGroup.hpp | levindu/OpenCC | 345ea91303e5b3d9332dc51ea73370dac83e4c6b | [
"Apache-2.0"
] | 21 | 2018-06-10T14:15:06.000Z | 2022-02-28T06:01:38.000Z | src/DictGroup.hpp | levindu/OpenCC | 345ea91303e5b3d9332dc51ea73370dac83e4c6b | [
"Apache-2.0"
] | 268 | 2016-07-11T07:05:55.000Z | 2022-02-18T01:49:11.000Z | /*
* Open Chinese Convert
*
* Copyright 2010-2014 BYVoid <byvoid@byvoid.com>
*
* 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
*
*... | 25.666667 | 76 | 0.737374 | levindu |
809960c26fcefa7e23738e2b7a6699b71ea70c43 | 3,076 | cpp | C++ | src/plugins/azoth/plugins/xoox/legacyentitytimeext.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/plugins/azoth/plugins/xoox/legacyentitytimeext.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/plugins/azoth/plugins/xoox/legacyentitytimeext.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 34.177778 | 78 | 0.707087 | MellonQ |
80a460de1d517e6b0d2357aa87962f0bc76a993e | 26,900 | hpp | C++ | include/mandalang/parser.hpp | ortfero/mandalang | b6097dbbb2a16d474ea1a3064f2f66c9195601fc | [
"MIT"
] | null | null | null | include/mandalang/parser.hpp | ortfero/mandalang | b6097dbbb2a16d474ea1a3064f2f66c9195601fc | [
"MIT"
] | null | null | null | include/mandalang/parser.hpp | ortfero/mandalang | b6097dbbb2a16d474ea1a3064f2f66c9195601fc | [
"MIT"
] | null | null | null | #pragma once
#include <nonstd/memory_pool.hpp>
#include <tl/expected.hpp>
#include <tl/optional.hpp>
#include <mandalang/ir.hpp>
#include <mandalang/error_info.hpp>
#include <mandalang/scanner.hpp>
#include <mandalang/scope.hpp>
namespace mandalang {
class parser {
scanner scanner_... | 45.362563 | 154 | 0.573978 | ortfero |
80a55be288a0ca6dbc7de776b6b182e200dac414 | 5,239 | cc | C++ | src/pks/transport/Transport_Initialize.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 37 | 2017-04-26T16:27:07.000Z | 2022-03-01T07:38:57.000Z | src/pks/transport/Transport_Initialize.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 494 | 2016-09-14T02:31:13.000Z | 2022-03-13T18:57:05.000Z | src/pks/transport/Transport_Initialize.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 43 | 2016-09-26T17:58:40.000Z | 2022-03-25T02:29:59.000Z | /*
Transport PK
Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL.
Amanzi is released under the three-clause BSD License.
The terms of use and "as is" disclaimer for this license are
provided in the top-level COPYRIGHT file.
Author: Konstantin Lipnikov (lipnikov@lanl.gov)
*/
#include <set>... | 37.421429 | 115 | 0.661004 | fmyuan |
80abd5098430b1b329bf4ae5131edaea80ffff2a | 3,699 | cpp | C++ | src/terrain/VoxelChunkNoiseGenerator.cpp | jarrettchisholm/glr | 79a57b12e26fe84595e833cace3528cb9c82bc20 | [
"WTFPL"
] | 11 | 2015-08-19T23:15:41.000Z | 2018-05-15T21:53:28.000Z | src/terrain/VoxelChunkNoiseGenerator.cpp | jarrettchisholm/glr | 79a57b12e26fe84595e833cace3528cb9c82bc20 | [
"WTFPL"
] | 2 | 2015-05-21T06:37:24.000Z | 2015-05-23T05:37:16.000Z | src/terrain/VoxelChunkNoiseGenerator.cpp | jarrettchisholm/glr | 79a57b12e26fe84595e833cace3528cb9c82bc20 | [
"WTFPL"
] | 5 | 2016-10-31T08:02:15.000Z | 2018-08-24T07:40:23.000Z | #include "terrain/VoxelChunkNoiseGenerator.hpp"
#include "terrain/VoxelChunk.hpp"
#include "terrain/Constants.hpp"
#include "terrain/IFieldFunction.hpp"
/**
* Anonymous helper functions.
*/
namespace
{
void allocatePointsMemory(glr::terrain::Points& points)
{
const glmd::int32 max = glr::terrain::constants::SIZE ... | 30.073171 | 173 | 0.689916 | jarrettchisholm |
80acb5e770d3cba89ff147a57f6b2a112cd4a3d1 | 18,208 | cpp | C++ | Unit-Tests/XS-TypeTraits.cpp | DigiDNA/CPPTraits | a7c27618d725b3b5b43f074583bd45d6bf8e8459 | [
"MIT"
] | 2 | 2019-02-17T16:09:15.000Z | 2019-04-12T20:19:48.000Z | Unit-Tests/XS-TypeTraits.cpp | DigiDNA/CPPTraits | a7c27618d725b3b5b43f074583bd45d6bf8e8459 | [
"MIT"
] | null | null | null | Unit-Tests/XS-TypeTraits.cpp | DigiDNA/CPPTraits | a7c27618d725b3b5b43f074583bd45d6bf8e8459 | [
"MIT"
] | 1 | 2018-12-07T04:19:38.000Z | 2018-12-07T04:19:38.000Z | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015 Jean-David Gadina - www.xs-labs.com / www.digidna.net
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... | 30.346667 | 114 | 0.545529 | DigiDNA |
80b0ef921ffc856661ad2a24ba80112a668d0a17 | 23,798 | hpp | C++ | GetCardMat.hpp | tyson3822/IdentifyCardNumberRecognition | ce7885e0de1529d9360427380119b6df49d4cfb9 | [
"Apache-2.0"
] | null | null | null | GetCardMat.hpp | tyson3822/IdentifyCardNumberRecognition | ce7885e0de1529d9360427380119b6df49d4cfb9 | [
"Apache-2.0"
] | null | null | null | GetCardMat.hpp | tyson3822/IdentifyCardNumberRecognition | ce7885e0de1529d9360427380119b6df49d4cfb9 | [
"Apache-2.0"
] | null | null | null | #include <opencv2/opencv.hpp>
#include "ChannelProcess.hpp"
#include "Init.hpp"
using namespace cv;
using namespace std;
Mat imgScene;
Mat imgSceneGray;
//vector順序變為0左上 1右上 2右下 3左下,適用於橫向的長方形四點
template <class T>
void SortRectPoint(T& inputVector, T& outputVector)
{
//前置
T inputTemp = inputVector;
T outp... | 31.562334 | 161 | 0.616901 | tyson3822 |
80b2c832d4330a3e119a367c2c85fe9f3d1bb4f8 | 20,236 | hpp | C++ | test/generated/TIM1.hpp | crafti5/TypeSafeRegister | 042360ede071f7d76c372001f6d8a2fe82ee3c07 | [
"Unlicense"
] | null | null | null | test/generated/TIM1.hpp | crafti5/TypeSafeRegister | 042360ede071f7d76c372001f6d8a2fe82ee3c07 | [
"Unlicense"
] | null | null | null | test/generated/TIM1.hpp | crafti5/TypeSafeRegister | 042360ede071f7d76c372001f6d8a2fe82ee3c07 | [
"Unlicense"
] | null | null | null | #include <Register.hpp>
namespace TIM1
{
struct tim1_t{};
constexpr std::uint32_t TIM1_BASE_ADDRESS = 0x40010000u;
constexpr auto CEN = BitField<tim1_t, 0, 1, "CEN">{}; // bit offset: 0, bit width: 1, Counter enable
constexpr auto UDIS = BitField<tim1_t, 1, 1, "UDIS">{}; // bit offset: 1, bit width: ... | 112.422222 | 373 | 0.68556 | crafti5 |
80b470e9c1c14003349e469a2ca9881bbcd7806a | 750 | cpp | C++ | factory/abstract_factory/lib/garlic.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 3 | 2018-12-18T03:44:23.000Z | 2019-11-20T20:45:43.000Z | factory/abstract_factory/lib/garlic.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 2 | 2018-04-07T06:36:23.000Z | 2018-04-08T13:35:38.000Z | factory/abstract_factory/lib/garlic.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 2 | 2018-05-30T11:14:14.000Z | 2021-04-18T22:38:48.000Z | //===--- garlic.cpp - -------------------------------------------*- C++ -*-===//
//
// Head First Design Patterns
//
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief
///
//===-----------------------------------------------------------------... | 23.4375 | 80 | 0.438667 | Jeonghum |
80b6e84344f046be53970851e75921c1320c726a | 1,627 | cpp | C++ | samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp | ghennadii/opencv | c6a4bad3692e62ff6733fe98f51b557d75ce65a0 | [
"BSD-3-Clause"
] | 163 | 2019-06-04T02:00:58.000Z | 2022-03-26T14:23:10.000Z | samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp | eozmen410/opencv | 1a9695490a42cb30c0ac895022ec1145f7b71660 | [
"BSD-3-Clause"
] | 8 | 2019-11-03T10:16:58.000Z | 2022-03-16T17:00:14.000Z | samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp | eozmen410/opencv | 1a9695490a42cb30c0ac895022ec1145f7b71660 | [
"BSD-3-Clause"
] | 29 | 2019-01-08T05:43:58.000Z | 2022-03-24T00:07:03.000Z | /**
* @file Laplace_Demo.cpp
* @brief Sample code showing how to detect edges using the Laplace operator
* @author OpenCV team
*/
#include "opencv2/imgproc.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp"
using namespace cv;
/**
* @function main
*/
int main( int argc, char** argv )
{
//... | 23.926471 | 82 | 0.613399 | ghennadii |
80b74f09f1705124881fcc75d44be535bf2e0806 | 638 | cpp | C++ | 437.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 8 | 2018-10-31T11:00:19.000Z | 2020-07-31T05:25:06.000Z | 437.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | null | null | null | 437.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 2 | 2018-05-31T11:29:22.000Z | 2019-09-11T06:34:40.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int pathSum(TreeNode* root, int sum) {
if(root == NULL) return 0;
return pathSu... | 27.73913 | 95 | 0.5721 | zfang399 |
80b7a7f65ac73b48bb33d2c452609769cd44791f | 1,648 | cpp | C++ | leetcode/cpp/053.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/053.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/053.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | 2 | 2020-09-29T21:59:43.000Z | 2021-06-22T13:24:04.000Z | /**
* Code description
*
* Author: xpharry
* Date: 11/11/2018
*
* Data structure:
* Array
*
* Idea:
* - Kadane’s Algorithm:
* ···
* Initialize:
* max_so_far = 0
* max_ending_here = 0
* Loop for each element of the array
* (a) max_ending_here = max_ending_here + a[... | 27.016393 | 80 | 0.585558 | xpharry |
80bc1088e4befafe52a5e04ea51487899826859f | 5,944 | cpp | C++ | cpp/src/qscign/ScignStage/ScignStage-3d-chart/ScignStage-3d-chart-dialog.cpp | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | 1 | 2019-04-15T08:44:13.000Z | 2019-04-15T08:44:13.000Z | cpp/src/qscign/ScignStage/ScignStage-3d-chart/ScignStage-3d-chart-dialog.cpp | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | null | null | null | cpp/src/qscign/ScignStage/ScignStage-3d-chart/ScignStage-3d-chart-dialog.cpp | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | null | null | null | // Copyright Nathaniel Christen 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "ScignStage-3d-chart-dialog.h"
#include <QDialogButtonBox>
#include <QPushButton>
#include <... | 22.179104 | 89 | 0.7071 | Mosaic-DigammaDB |
01e89df5134afba1d3189634ab3ab66b8f185aa4 | 19,023 | hpp | C++ | WaveletMatrix/WaveletMatrix.hpp | MitI-7/WaveletMatrix | 773e282c3fba4158a7ad4e359520af428e377856 | [
"MIT"
] | 11 | 2019-08-01T17:09:10.000Z | 2022-03-07T07:37:50.000Z | WaveletMatrix/WaveletMatrix.hpp | MitI-7/WaveletMatrix | 773e282c3fba4158a7ad4e359520af428e377856 | [
"MIT"
] | 1 | 2020-05-27T19:52:23.000Z | 2020-06-15T05:41:16.000Z | WaveletMatrix/WaveletMatrix.hpp | MitI-7/WaveletMatrix | 773e282c3fba4158a7ad4e359520af428e377856 | [
"MIT"
] | 1 | 2021-08-23T11:31:37.000Z | 2021-08-23T11:31:37.000Z | #include<bits/stdc++.h>
#include "../succinctBitVector/SuccinctBitVector.hpp"
class WaveletMatrix {
private:
std::vector<SuccinctBitVector> bit_arrays;
std::vector<uint64_t> begin_one; // 各bitに着目したときの1の開始位置
std::map<uint64_t, uint64_t> begin_alphabet; // 最後のソートされた配列で各文字の開始位置
... | 36.723938 | 222 | 0.513747 | MitI-7 |
01ea106d14e409aecc1b00d6706943ca61354704 | 16,534 | cpp | C++ | build-android/localdeps/icu4c/source/i18n/filteredbrk.cpp | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | build-android/localdeps/icu4c/source/i18n/filteredbrk.cpp | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | build-android/localdeps/icu4c/source/i18n/filteredbrk.cpp | kundanjadhav/OpenProtocolMail | 682780de4602524b969d1ed2536fa035c750706a | [
"BSD-3-Clause"
] | 1 | 2020-04-18T21:18:51.000Z | 2020-04-18T21:18:51.000Z | /*
*******************************************************************************
* Copyright (C) 2014, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
#include "unicode/filteredbrk.h"
#if !UCONFIG_NO_BR... | 40.425428 | 158 | 0.670558 | kundanjadhav |
01ebc1548c3ffe4dc31a951c1a715e0e458f4341 | 891 | cpp | C++ | Library/Bee/artifacts/Android/87lik/bghp_vm1.lump.cpp | OhioAdam/TABL3 | 6556d956eb5f4dafd8159b039bd019aafee494bb | [
"MIT"
] | null | null | null | Library/Bee/artifacts/Android/87lik/bghp_vm1.lump.cpp | OhioAdam/TABL3 | 6556d956eb5f4dafd8159b039bd019aafee494bb | [
"MIT"
] | null | null | null | Library/Bee/artifacts/Android/87lik/bghp_vm1.lump.cpp | OhioAdam/TABL3 | 6556d956eb5f4dafd8159b039bd019aafee494bb | [
"MIT"
] | null | null | null | //Generated lump file. generated by Bee.NativeProgramSupport.Lumping
#include "C:/Program Files/Unity/Hub/Editor/2021.2.3f1/Editor/Data/il2cpp/libil2cpp/vm/Array.cpp"
#include "C:/Program Files/Unity/Hub/Editor/2021.2.3f1/Editor/Data/il2cpp/libil2cpp/vm/Assembly.cpp"
#include "C:/Program Files/Unity/Hub/Editor/2021.2.3... | 89.1 | 106 | 0.799102 | OhioAdam |
01ed6c14a71f1c0432888a12293ac866e1b6b1f1 | 2,780 | hpp | C++ | boost/asio/bluetooth/rfcomm_endpoint.hpp | ScottBailey/libsb | 078517f0dc8f168034044a969badafc177b8a398 | [
"BSD-3-Clause"
] | null | null | null | boost/asio/bluetooth/rfcomm_endpoint.hpp | ScottBailey/libsb | 078517f0dc8f168034044a969badafc177b8a398 | [
"BSD-3-Clause"
] | null | null | null | boost/asio/bluetooth/rfcomm_endpoint.hpp | ScottBailey/libsb | 078517f0dc8f168034044a969badafc177b8a398 | [
"BSD-3-Clause"
] | null | null | null | //
// bluetooth/rfcomm.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2016 Scott Bailey
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_BLUETOOTH_RFCOMM_ENDPOINT_HPP
#define BOOST_ASIO_BL... | 28.958333 | 102 | 0.734532 | ScottBailey |
01f00d1addbe95132da6ac7b5cc27eca277bf213 | 283 | hpp | C++ | modules/scene_set/include/scene_set/scene_registry.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | 2 | 2022-01-03T12:01:03.000Z | 2022-01-04T18:11:25.000Z | modules/scene_set/include/scene_set/scene_registry.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | null | null | null | modules/scene_set/include/scene_set/scene_registry.hpp | ContentsViewer/nodec | 40b414a2f48d2e4718b69e0fa630e3f85e90e083 | [
"Apache-2.0"
] | null | null | null | #ifndef SCENE_SET__SCENE_REGISTRY_HPP_
#define SCENE_SET__SCENE_REGISTRY_HPP_
#include <nodec/entities/entity.hpp>
#include <nodec/entities/registry.hpp>
namespace scene_set {
using SceneRegistry = nodec::entities::Registry;
using SceneEntity = nodec::entities::Entity;
}
#endif | 20.214286 | 48 | 0.809187 | ContentsViewer |
bf0366f3ce8cab2c848172b511cdfb98d1cb9d27 | 5,932 | cc | C++ | mace/ops/ref/gemv.cc | WeipengChan/mace | a610d506592892007be538e71ca1daef07c7857b | [
"Apache-2.0"
] | 1 | 2020-11-02T02:18:13.000Z | 2020-11-02T02:18:13.000Z | mace/ops/ref/gemv.cc | WeipengChan/mace | a610d506592892007be538e71ca1daef07c7857b | [
"Apache-2.0"
] | null | null | null | mace/ops/ref/gemv.cc | WeipengChan/mace | a610d506592892007be538e71ca1daef07c7857b | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 The MACE 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 appl... | 35.520958 | 78 | 0.560182 | WeipengChan |
bf0b0df82088d27ba94d1e02c19f8004d31026f3 | 478 | cpp | C++ | src/base/ossimViewEvent.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/base/ossimViewEvent.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/base/ossimViewEvent.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
// Description: A brief description of the contents of the file.
//
//
//*************************************************************************
//... | 34.142857 | 75 | 0.504184 | vladislav-horbatiuk |
bf1989f1a30435c529175e68b0c9dab8a073de7a | 1,135 | cpp | C++ | src/xr_3da/xrRender_R1/FStaticRender_DetailTexturing.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | src/xr_3da/xrRender_R1/FStaticRender_DetailTexturing.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | null | null | null | src/xr_3da/xrRender_R1/FStaticRender_DetailTexturing.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | #include "stdafx.h"
void CRender::calc_DetailTexturing()
{
// Get axis of cylinder
//Fvector vAxis = Device.vCameraTop;
//vAxis.invert ();
// matDetailTexturing->xform.build_camera_dir(Device.vCameraPosition,vAxis,Device.vCameraDirection);
Fmatrix M;
matDetailTexturing->xform.invert (Device.mView);
... | 28.375 | 102 | 0.652863 | ixray-team |
bf1a159f30bd2fbbbe0f806d0264094ff3ed13e8 | 3,524 | cpp | C++ | Source/Synthesis/blosc.cpp | chrisfromwork/DaisySP | e14ae1901a76e87d39b0ff3fee8efab89fb0e4cc | [
"MIT"
] | 452 | 2020-03-06T21:21:12.000Z | 2022-03-23T06:34:57.000Z | Source/Synthesis/blosc.cpp | recursinging/DaisySP | 6f8d2e7e08e6ae6795f03bd750f50d67d6fc683e | [
"MIT"
] | 108 | 2020-03-06T21:38:51.000Z | 2022-01-04T06:57:11.000Z | Source/Synthesis/blosc.cpp | recursinging/DaisySP | 6f8d2e7e08e6ae6795f03bd750f50d67d6fc683e | [
"MIT"
] | 71 | 2020-03-06T21:23:34.000Z | 2022-03-18T09:33:23.000Z | #include "blosc.h"
#include <math.h>
using namespace daisysp;
void BlOsc::Init(float sample_rate)
{
sampling_freq_ = sample_rate;
half_sr_ = 0.5 * sampling_freq_;
quarter_sr_ = sampling_freq_ * 0.25;
sec_per_sample_ = 1.0 / sampling_freq_;
two_over_sr_ = (float)(2.0 / sampling_freq_... | 24.992908 | 70 | 0.534336 | chrisfromwork |
bf1be24532aeed512e288e2dfbda21f6fb6e91ed | 868 | hpp | C++ | ragnarok/dinput_ragnarok/outputFile.hpp | kaina/sandbox | 15a464fe1a1f17f4d475947ceeffa41df4b3eba5 | [
"WTFPL"
] | 5 | 2015-10-30T12:12:37.000Z | 2018-04-23T15:46:26.000Z | ragnarok/dinput_ragnarok/outputFile.hpp | yuiAs/sandbox | 15a464fe1a1f17f4d475947ceeffa41df4b3eba5 | [
"WTFPL"
] | null | null | null | ragnarok/dinput_ragnarok/outputFile.hpp | yuiAs/sandbox | 15a464fe1a1f17f4d475947ceeffa41df4b3eba5 | [
"WTFPL"
] | 2 | 2016-11-29T10:14:53.000Z | 2017-10-23T18:05:11.000Z | #ifndef OUTPUTFILE_HPP
#define OUTPUTFILE_HPP
#include <windows.h>
#include <tchar.h>
class COutputFile
{
HANDLE _handle;
public:
COutputFile() : _handle(NULL) { }
~COutputFile() { release(); }
public:
bool acquire(TCHAR* filename, int creation=OPEN_ALWAYS)
{
_handle = ::CreateFile(f... | 17.36 | 113 | 0.642857 | kaina |
bf1d4be24a955ff5877fa4c76b902f5013c38c5b | 4,892 | hpp | C++ | src/rti/io/christoph/vtu_triangle_reader.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | 3 | 2019-05-16T07:44:36.000Z | 2020-05-08T13:55:12.000Z | src/rti/io/christoph/vtu_triangle_reader.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | null | null | null | src/rti/io/christoph/vtu_triangle_reader.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | 4 | 2020-06-24T08:18:41.000Z | 2021-05-28T10:22:13.000Z | #pragma once
#include <vtkAbstractArray.h>
#include <vtkCellIterator.h>
#include <vtkCellArray.h>
#include <vtkCellData.h>
#include <vtkDataSetAttributes.h>
#include <vtkGenericCell.h>
#include <vtkPointData.h>
//#include <vtkPolyData.h>
#include <vtkSmartPointer.h>
#include <vtkTriangle.h>
#include <vtksys/SystemTool... | 41.811966 | 113 | 0.603025 | XaverKlemenschits |
bf1f67f58dccb16a2316e28a7673228e496cf2cf | 200,704 | hpp | C++ | tests/include/koinos/tests/wasm/db_write.hpp | joticajulian/koinos-chain | b5db60b427ebb97dabf1acf8108e94bbc75a46d4 | [
"MIT"
] | null | null | null | tests/include/koinos/tests/wasm/db_write.hpp | joticajulian/koinos-chain | b5db60b427ebb97dabf1acf8108e94bbc75a46d4 | [
"MIT"
] | null | null | null | tests/include/koinos/tests/wasm/db_write.hpp | joticajulian/koinos-chain | b5db60b427ebb97dabf1acf8108e94bbc75a46d4 | [
"MIT"
] | null | null | null | unsigned char db_write_wasm[] = {
0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00, 0x01, 0x55, 0x0d, 0x60,
0x02, 0x7f, 0x7f, 0x01, 0x7f, 0x60, 0x01, 0x7f, 0x01, 0x7f, 0x60, 0x01,
0x7f, 0x00, 0x60, 0x03, 0x7f, 0x7f, 0x7f, 0x01, 0x7f, 0x60, 0x02, 0x7f,
0x7f, 0x00, 0x60, 0x04, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x60, 0x... | 73.896907 | 73 | 0.648687 | joticajulian |
bf21f027fa09dc43e945942a77134298657f457a | 20,931 | hpp | C++ | include/System/Net/Http/Headers/Lexer.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/System/Net/Http/Headers/Lexer.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/System/Net/Http/Headers/Lexer.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: System.TimeSpa... | 62.855856 | 250 | 0.716019 | marksteward |
bf2c89ca3afe24a436f3cae5ab55b2cd87c8ee13 | 1,049 | hpp | C++ | sdk/include/xfNodeLayers.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/xfNodeLayers.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/xfNodeLayers.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #pragma once
#include "xfnodecontrol.hpp"
namespace Hxsoft{ namespace XFrame
{
class XFRAME_API xfNodeLayers :
public xfNodeControl
{
enum XTabDrawStyle{tdsRoundRect,tdsRoundRectEx,tdsShape,tdsEclips,tdsEclipsEx,tdsCanClose};
enum XTabArraow{taTop,taBottom,taLeft,taRight};
public:
xfNodeLayers(void);
~xfN... | 25.585366 | 93 | 0.768351 | qianxj |
bf2f9a45e493326bb407a40a7bd88bc44eedda57 | 759 | cpp | C++ | server/Server/MenPai/EMei.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Server/MenPai/EMei.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Server/MenPai/EMei.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
///////////////////////////////////////////////////////////////////////////////
// 文件名:EMei.cpp
// 功能说明:门派:峨嵋的接口实现
//
// 修改记录:
//
//
//
///////////////////////////////////////////////////////////////////////////////
#include "EMei.h"
namespace MenPai_Module
{
//class EMei_T: public MenPai_T
... | 19.461538 | 79 | 0.428195 | viticm |
bf2fd559646d3f4c4f686d07e210e408df7824d8 | 1,355 | cpp | C++ | GLTFSDK/Source/PBRUtils.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 243 | 2019-05-22T04:35:22.000Z | 2022-03-30T21:04:37.000Z | GLTFSDK/Source/PBRUtils.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 43 | 2019-05-07T17:37:13.000Z | 2022-03-17T12:47:30.000Z | GLTFSDK/Source/PBRUtils.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 64 | 2019-05-24T14:09:28.000Z | 2022-03-13T02:24:27.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <GLTFSDK/PBRUtils.h>
using namespace Microsoft::glTF;
// https://bghgary.github.io/glTF/convert-between-workflows-bjs/js/babylon.pbrUtilities.js
float Detail::SolveMetallic(float dielectricSpecular, float diffuse... | 25.566038 | 124 | 0.653875 | ninerdelta |
bf310a196bab6db7354f43590656fd8e070f93c2 | 926 | cpp | C++ | book/Chap5/calleecheck.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | book/Chap5/calleecheck.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | book/Chap5/calleecheck.cpp | mjakebarrington/CPP-Exercises | 9bb01f66ae9861c4d5323738fb478f15ad7e691c | [
"MIT"
] | null | null | null | /*
* A simple demonstration of how a callee (function) should do error handling if possible.
* Having the callee check can make identifying and fixing errors easier.
* If the caller checks, you will need to fix the error for each time the function is called.
*/
#include <iostream>
using namespace std;
int main()... | 26.457143 | 99 | 0.684665 | mjakebarrington |
bf37c6970a0dd5571d623c258ce7d7fa12ae0c61 | 1,077 | cpp | C++ | Solves/A - Average Height.cpp | towkirIslam/Codeforces_Problems_solves | 26ead495d4a1331b31e2e7dbd9512f7609090a24 | [
"MIT"
] | null | null | null | Solves/A - Average Height.cpp | towkirIslam/Codeforces_Problems_solves | 26ead495d4a1331b31e2e7dbd9512f7609090a24 | [
"MIT"
] | null | null | null | Solves/A - Average Height.cpp | towkirIslam/Codeforces_Problems_solves | 26ead495d4a1331b31e2e7dbd9512f7609090a24 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n, t, x;
vector <int> evn;
vector <int> odd;
cin>>t;
while(t--){
cin>>n;
evn.clear();
odd.clear();
int flag = 0, one = 0;
for(int i = 0; i < n; i++){
cin>>x;
if... | 16.318182 | 48 | 0.311978 | towkirIslam |
bf388ed9a493b626cd1747ffec62b7cd60d7b7b5 | 2,876 | cpp | C++ | src/SGPath.cpp | RastislavKamenickyOnsemi/couchbase-lite-cpp | 302bdae8980257d92da29add452190aa4d4c28b5 | [
"Apache-2.0"
] | 2 | 2019-08-09T09:23:39.000Z | 2020-10-02T06:35:53.000Z | src/SGPath.cpp | RastislavKamenickyOnsemi/couchbase-lite-cpp | 302bdae8980257d92da29add452190aa4d4c28b5 | [
"Apache-2.0"
] | 3 | 2019-10-21T19:06:05.000Z | 2020-09-11T23:55:15.000Z | src/SGPath.cpp | RastislavKamenickyOnsemi/couchbase-lite-cpp | 302bdae8980257d92da29add452190aa4d4c28b5 | [
"Apache-2.0"
] | 3 | 2019-05-16T18:36:49.000Z | 2020-07-10T05:48:20.000Z | //
// SGPath.cpp
//
// Copyright 2014 ON Semiconductor.
// All rights reserved. This software and/or documentation is licensed by ON Semiconductor under
// limited terms and conditions. The terms and conditions pertaining to the software and/or documentation are available at
// http://www.onsemi.com/site/pdf/ONSEM... | 34.650602 | 131 | 0.624131 | RastislavKamenickyOnsemi |
bf38901da1059ff60e91d79bfc90f0643b1b4e31 | 11,560 | cpp | C++ | fuzzypp/test/cliopts_test.cpp | m1cm1c/codepropertygraph | 2e1c8e180e123632defbc03d4402867b8f4f79bd | [
"Apache-2.0"
] | 331 | 2018-07-12T03:16:22.000Z | 2022-03-28T01:07:02.000Z | fuzzypp/test/cliopts_test.cpp | m1cm1c/codepropertygraph | 2e1c8e180e123632defbc03d4402867b8f4f79bd | [
"Apache-2.0"
] | 295 | 2018-07-30T08:55:37.000Z | 2022-03-23T10:44:07.000Z | fuzzypp/test/cliopts_test.cpp | m1cm1c/codepropertygraph | 2e1c8e180e123632defbc03d4402867b8f4f79bd | [
"Apache-2.0"
] | 63 | 2018-07-12T06:37:00.000Z | 2022-02-17T12:50:43.000Z | #include <catch.hpp>
#include <algorithm>
#include <vector>
#include <cliopts.hpp>
#include "test_utils.hpp"
TEST_CASE("1: Parse command line arguments", "cli-parse") {
const int argc = 20;
const char* argv[] = {
"prog-name",
"-f", "/path/to/a/file",
"--file", "/path/to/another/file... | 40.561404 | 116 | 0.642474 | m1cm1c |
bf3a84de9ee41bad02d83337c6c02a60defa0e52 | 793 | hpp | C++ | src/include/VppUtil.hpp | opflex-vpp/vpp-renderer | bdd772e0f9c66c98df075f499ec820546e78384a | [
"Apache-2.0"
] | 2 | 2019-05-09T14:51:10.000Z | 2019-06-12T15:38:15.000Z | src/include/VppUtil.hpp | nranns/vpp-renderer | bdd772e0f9c66c98df075f499ec820546e78384a | [
"Apache-2.0"
] | 2 | 2019-06-04T23:13:23.000Z | 2019-06-14T19:21:03.000Z | src/include/VppUtil.hpp | nranns/vpp-renderer | bdd772e0f9c66c98df075f499ec820546e78384a | [
"Apache-2.0"
] | 1 | 2019-04-24T23:40:39.000Z | 2019-04-24T23:40:39.000Z | /* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */
/*
* Copyright (c) 2017-2018 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is availa... | 22.027778 | 80 | 0.717528 | opflex-vpp |
bf41f79c7c892b5fe59a08102228d11a17cb89f9 | 226 | hpp | C++ | source/ast/type_parsing_result.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 51 | 2019-05-06T01:33:34.000Z | 2021-11-17T11:44:54.000Z | source/ast/type_parsing_result.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 191 | 2019-05-06T18:31:24.000Z | 2020-06-19T06:48:06.000Z | source/ast/type_parsing_result.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 3 | 2019-10-12T21:03:29.000Z | 2020-06-19T06:22:25.000Z | #pragma once
#include "ast/type_representation.hpp"
#include <optional>
namespace cmsl::ast {
struct type_parsing_result
{
std::optional<type_representation> ty;
lexer::token_container_t::const_iterator stopped_at;
};
}
| 17.384615 | 54 | 0.778761 | stryku |
bf45f0b450a0ea55811c75a21a1efc2aa7bdad61 | 325 | hpp | C++ | src/structures/ir/Instruction.hpp | mdziekon/eiti-tkom-interpreter | 2a61b91137b86e81af98c67c6f7115852b10df60 | [
"MIT"
] | 1 | 2021-04-23T13:18:50.000Z | 2021-04-23T13:18:50.000Z | src/structures/ir/Instruction.hpp | mdziekon/eiti-tkom-interpreter | 2a61b91137b86e81af98c67c6f7115852b10df60 | [
"MIT"
] | null | null | null | src/structures/ir/Instruction.hpp | mdziekon/eiti-tkom-interpreter | 2a61b91137b86e81af98c67c6f7115852b10df60 | [
"MIT"
] | 5 | 2017-05-08T10:27:14.000Z | 2021-05-14T16:19:48.000Z | #ifndef TKOM_STRUCTURES_IR_INSTRUCTION_HPP
#define TKOM_STRUCTURES_IR_INSTRUCTION_HPP
#include "Executable.hpp"
namespace tkom { namespace structures { namespace ir
{
struct Instruction: virtual public Executable
{
virtual bool canDoReturn()
{
return false;
}
};
}}}
#e... | 18.055556 | 52 | 0.68 | mdziekon |
bf4ce351010257208978034082974aa69d1696d1 | 225 | cpp | C++ | msvc/appcommon_static_static_glue_app_CEL.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | msvc/appcommon_static_static_glue_app_CEL.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | msvc/appcommon_static_static_glue_app_CEL.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | // This file is automatically generated.
#include "cssysdef.h"
struct _Bind_common_static_plugins_CEL
{
_Bind_common_static_plugins_CEL ();
};
namespace { _Bind_common_static_plugins_CEL bind_common_static_plugins_CEL; }
| 22.5 | 77 | 0.826667 | GarethNelson |
bf5552ae117a9d2adce59367e9d40c655bdd3fd5 | 575 | hpp | C++ | xr3/h/xr/Quad.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | 7 | 2018-11-13T09:44:56.000Z | 2022-01-12T02:22:41.000Z | xr3/h/xr/Quad.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | 2 | 2018-10-30T08:19:02.000Z | 2018-12-31T18:48:13.000Z | xr3/h/xr/Quad.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | null | null | null | #ifndef XR_QUAD_HPP
#define XR_QUAD_HPP
//==============================================================================
//
// XRhodes
//
// copyright (c) Gyorgy Straub. All rights reserved.
//
// License: https://github.com/zyndor/xrhodes#License-bsd-2-clause
//
//======================================================... | 15.131579 | 80 | 0.49913 | zyndor |
bf581ef909d2ff0c5ebd50752ce78ad0f856f5e7 | 3,450 | cpp | C++ | joint_qualification_controllers/src/motor_joint_calibration_controller.cpp | UNR-RoboticsResearchLab/pr2_self_test | 071494b2e566ba04e7f66a9b6ca8815ea03f578d | [
"BSD-3-Clause"
] | null | null | null | joint_qualification_controllers/src/motor_joint_calibration_controller.cpp | UNR-RoboticsResearchLab/pr2_self_test | 071494b2e566ba04e7f66a9b6ca8815ea03f578d | [
"BSD-3-Clause"
] | null | null | null | joint_qualification_controllers/src/motor_joint_calibration_controller.cpp | UNR-RoboticsResearchLab/pr2_self_test | 071494b2e566ba04e7f66a9b6ca8815ea03f578d | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | 33.173077 | 126 | 0.703478 | UNR-RoboticsResearchLab |
bf5fe7716dae9d48b0cbdbad109eaaf7c6b8836a | 1,030 | cpp | C++ | Source/Atomic/Atomic3D/Atomic3D.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null | Source/Atomic/Atomic3D/Atomic3D.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null | Source/Atomic/Atomic3D/Atomic3D.cpp | honigbeutler123/AtomicGameEngine | c53425f19b216eb21ecd3bda85052aaa1a6f2aaa | [
"Apache-2.0",
"MIT"
] | null | null | null |
#include "StaticModel.h"
#include "StaticModelGroup.h"
#include "Skybox.h"
#include "Animation.h"
#include "Model.h"
#include "AnimatedModel.h"
#include "AnimationController.h"
#include "BillboardSet.h"
#include "ParticleEffect.h"
#include "ParticleEmitter.h"
#include "CustomGeometry.h"
#include "DecalSet.h"
#include ... | 25.121951 | 49 | 0.761165 | honigbeutler123 |
bf6bc8c36e933c41d29f7af1f2d96a1c6ed74f4c | 69 | cpp | C++ | main.cpp | puumbaa/semester-work-2-3-tree | abc0381096c72dbe937b4690deda8374632efab9 | [
"MIT"
] | null | null | null | main.cpp | puumbaa/semester-work-2-3-tree | abc0381096c72dbe937b4690deda8374632efab9 | [
"MIT"
] | null | null | null | main.cpp | puumbaa/semester-work-2-3-tree | abc0381096c72dbe937b4690deda8374632efab9 | [
"MIT"
] | null | null | null | //
// Created by Ildar on 30.04.2021.
//
int main(){
return 0;
} | 9.857143 | 34 | 0.550725 | puumbaa |
bf6c6b96d9e995db3751b78db5514072a63a32fc | 4,273 | cpp | C++ | source/one3dEngine/one3dEngine.cpp | tiansongyu/olcConsoleGameEngine_demo | 415c0ce454a58632d5ad1875947986986a6fb869 | [
"BSD-3-Clause"
] | null | null | null | source/one3dEngine/one3dEngine.cpp | tiansongyu/olcConsoleGameEngine_demo | 415c0ce454a58632d5ad1875947986986a6fb869 | [
"BSD-3-Clause"
] | null | null | null | source/one3dEngine/one3dEngine.cpp | tiansongyu/olcConsoleGameEngine_demo | 415c0ce454a58632d5ad1875947986986a6fb869 | [
"BSD-3-Clause"
] | null | null | null | #define OLC_PGE_APPLICATION
#include "olcConsoleGameEngine.h"
#include<string>
#include<iostream>
#include<Windows.h>
#include<fstream>
#include<strstream>
extern "C"
{
#include"lua54/include/lua.h"
#include"lua54/include/lauxlib.h"
#include"lua54/include/lualib.h"
}
#ifdef _WIN32
#pragma comment(lib,"lua54/liblua54.a... | 20.061033 | 81 | 0.557922 | tiansongyu |
bf6fab5624aab07f552cd3471e2a8e2af70da507 | 531 | cpp | C++ | Game/GameEngine/RessourceManager/sfmlFont.cpp | arthurChennetier/R-Type | bac6f8cf6502f74798181181a819d609b1d82e3a | [
"MIT"
] | 1 | 2018-07-22T13:45:47.000Z | 2018-07-22T13:45:47.000Z | Game/GameEngine/RessourceManager/sfmlFont.cpp | arthurChennetier/R-Type | bac6f8cf6502f74798181181a819d609b1d82e3a | [
"MIT"
] | null | null | null | Game/GameEngine/RessourceManager/sfmlFont.cpp | arthurChennetier/R-Type | bac6f8cf6502f74798181181a819d609b1d82e3a | [
"MIT"
] | 1 | 2018-07-20T12:52:42.000Z | 2018-07-20T12:52:42.000Z | //
// Created by chauvin on 14/01/18.
//
#include <iostream>
#include "sfmlFont.hpp"
namespace TacosEngine
{
bool sfmlFont::load(const std::string &path)
{
this->_font = std::make_shared<sf::Font>();
if (!this->_font->loadFromFile(path))
{
std::cerr << "Failed to load texture from " << path << std:... | 18.310345 | 66 | 0.615819 | arthurChennetier |
bf71721ac1a24df92a8a61d86b808a215267374d | 8,631 | hpp | C++ | include/ShiftLib/Geometry/XSAABoundingBox.hpp | Sibras/ShiftLib | 83e1ab9605aca6535af836ad1e68bf3c3049d976 | [
"Apache-2.0"
] | null | null | null | include/ShiftLib/Geometry/XSAABoundingBox.hpp | Sibras/ShiftLib | 83e1ab9605aca6535af836ad1e68bf3c3049d976 | [
"Apache-2.0"
] | null | null | null | include/ShiftLib/Geometry/XSAABoundingBox.hpp | Sibras/ShiftLib | 83e1ab9605aca6535af836ad1e68bf3c3049d976 | [
"Apache-2.0"
] | null | null | null | #pragma once
/**
* Copyright Matthew Oliver
*
* Licensed under the Apache License, Version 2.0 (the "License") noexcept;
* 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... | 30.498233 | 106 | 0.659599 | Sibras |
bf738228151b7824a0442b12df8cae475b239799 | 5,780 | cpp | C++ | perception_oru-port-kinetic/graph_map/src/graph_map/graph_map_navigator.cpp | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 1 | 2020-11-14T08:21:13.000Z | 2020-11-14T08:21:13.000Z | perception_oru-port-kinetic/graph_map/src/graph_map/graph_map_navigator.cpp | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 1 | 2021-07-28T04:47:56.000Z | 2021-07-28T04:47:56.000Z | perception_oru-port-kinetic/graph_map/src/graph_map/graph_map_navigator.cpp | lllray/ndt-loam | 331867941e0764b40e1a980dd85d2174f861e9c8 | [
"BSD-3-Clause"
] | 2 | 2020-12-18T11:25:53.000Z | 2022-02-19T12:59:59.000Z | #include "graph_map/graph_map_navigator.h"
#include <boost/serialization/export.hpp>
BOOST_CLASS_EXPORT(perception_oru::libgraphMap::GraphMapNavigator)
namespace perception_oru{
namespace libgraphMap{
GraphMapNavigator::GraphMapNavigator(const Eigen::Affine3d &nodepose, const MapParamPtr &mapparam, const GraphParam... | 47.768595 | 176 | 0.705882 | lllray |
bf74d9a85400c43417a95116e03ac45b563ab8fd | 2,765 | cpp | C++ | src/OVAFTLive2DManager.cpp | kokarare1212/OpenVAFT | 42dbec4ed1123a98f465e61833a69f25bc948cd2 | [
"Apache-2.0"
] | 1 | 2022-03-23T02:35:52.000Z | 2022-03-23T02:35:52.000Z | src/OVAFTLive2DManager.cpp | kokarare1212/OpenVAFT | 42dbec4ed1123a98f465e61833a69f25bc948cd2 | [
"Apache-2.0"
] | null | null | null | src/OVAFTLive2DManager.cpp | kokarare1212/OpenVAFT | 42dbec4ed1123a98f465e61833a69f25bc948cd2 | [
"Apache-2.0"
] | null | null | null | #include "OVAFTLive2DManager.h"
#include <fstream>
#include "OVAFTGLWidget.h"
#include "OVAFTModel.h"
#include "OVAFTUtility.h"
#include "OVAFTView.h"
using namespace Csm;
namespace {
OVAFTLive2DManager *instance = nullptr;
}
OVAFTLive2DManager::OVAFTLive2DManager() : viewMatrix(nullptr) {
viewMatrix = new ... | 31.420455 | 116 | 0.677396 | kokarare1212 |
bf7ef25612b02a767d6ec8443c3e6748935a796f | 585 | hpp | C++ | runtime/eventsbox.hpp | ziyuanjiang/P2CL | 1565c76a9462fca2eb0e9c4ff1b8683e56fff0cf | [
"BSD-2-Clause"
] | null | null | null | runtime/eventsbox.hpp | ziyuanjiang/P2CL | 1565c76a9462fca2eb0e9c4ff1b8683e56fff0cf | [
"BSD-2-Clause"
] | null | null | null | runtime/eventsbox.hpp | ziyuanjiang/P2CL | 1565c76a9462fca2eb0e9c4ff1b8683e56fff0cf | [
"BSD-2-Clause"
] | null | null | null | #ifndef _P2CL_EVENTSBOX_HPP_
#define _P2CL_EVENTSBOX_HPP_
#ifdef __APPLE__
#include <OpenCL/opencl.h>
#include <unistd.h>
#else
#include <CL/cl.h>
#endif
namespace p2cl{
class EventsBox
{
public:
EventsBox(int inputNum, int operationNum);
void release();
cl_event * getOneOperationEvent(int i);
cl_even... | 18.870968 | 45 | 0.716239 | ziyuanjiang |
bf818a4bf43e15f38a332bded752aa4c381b4611 | 508 | hpp | C++ | src/idkWM/tiling.hpp | Abb1x/idkWM | 3871df06b8e798cf32ab2c4ae5cb7845d05684b2 | [
"BSD-2-Clause"
] | 9 | 2021-01-29T04:52:07.000Z | 2022-01-15T15:24:06.000Z | src/idkWM/tiling.hpp | Abb1x/idkWM | 3871df06b8e798cf32ab2c4ae5cb7845d05684b2 | [
"BSD-2-Clause"
] | null | null | null | src/idkWM/tiling.hpp | Abb1x/idkWM | 3871df06b8e798cf32ab2c4ae5cb7845d05684b2 | [
"BSD-2-Clause"
] | null | null | null | #ifndef TILING_H
#define TILING_H
#include <X11/X.h>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include <X11/Xos.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include <X11/extensions/shape.h>
#include <X11/keysym.h>
#include <vector>
namespace idkWM
{
class tiling
{
public:
bo... | 17.517241 | 44 | 0.708661 | Abb1x |
bf86bbe6c6d5843f7a6e07d401df7df2ef028e0a | 4,381 | cpp | C++ | unn/extensions/csrc/nms/nms_cuda.cpp | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 2 | 2021-08-08T11:23:14.000Z | 2021-09-16T04:05:23.000Z | unn/extensions/csrc/nms/nms_cuda.cpp | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:25:47.000Z | 2021-08-08T11:26:15.000Z | unn/extensions/csrc/nms/nms_cuda.cpp | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | null | null | null | // ------------------------------------------------------------------
// Faster R-CNN
// Copyright (c) 2015 Microsoft
// Licensed under The MIT License [see fast-rcnn/LICENSE for details]
// Written by Shaoqing Ren
// ------------------------------------------------------------------
//
#include "nms/nms.h"
using at::... | 33.7 | 114 | 0.585939 | zongdaoming |
bf87a3648b9f79d8897d07278284da0708f3b72d | 9,502 | cc | C++ | src/QueryManager/source/QueryManager.cc | nishantmehta/mainGrokit | eda13cd32d523bfc2af660c34c93a38eceaccc4a | [
"Apache-2.0"
] | null | null | null | src/QueryManager/source/QueryManager.cc | nishantmehta/mainGrokit | eda13cd32d523bfc2af660c34c93a38eceaccc4a | [
"Apache-2.0"
] | null | null | null | src/QueryManager/source/QueryManager.cc | nishantmehta/mainGrokit | eda13cd32d523bfc2af660c34c93a38eceaccc4a | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2012 Alin Dobra and Christopher Jermaine
//
// 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 b... | 27.783626 | 98 | 0.645654 | nishantmehta |
bf8b4e79b57729e32654ebe4890a7a8d08c2c615 | 871 | cpp | C++ | base/part01/user-defined-types.cpp | daheige/cpp-programming | fd04a81c9615544bc49efe137eccd806931fd09b | [
"MIT"
] | null | null | null | base/part01/user-defined-types.cpp | daheige/cpp-programming | fd04a81c9615544bc49efe137eccd806931fd09b | [
"MIT"
] | null | null | null | base/part01/user-defined-types.cpp | daheige/cpp-programming | fd04a81c9615544bc49efe137eccd806931fd09b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct Vector {
int sz; // 元素的数量
double *elem; // 指向double的元素指针
};
// Vector&指向v的内存地址,这里是pass by reference通过引用的方式传递参数
void vector_init (Vector &v, int s) {
v.elem = new double[s]; // 创建一个double类型的数组指针
v.sz = s;
}
// 读取s个整数,然后求和
double read_and_sum (int s) {
... | 15.017241 | 50 | 0.535017 | daheige |
bf8c5cfeafd43b6f19f32961ab5d5fcc50a0f64b | 2,903 | cpp | C++ | 609-find-duplicate-file-in-system/find-duplicate-file-in-system_[AC1_85ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | 1 | 2019-10-09T11:25:10.000Z | 2019-10-09T11:25:10.000Z | 609-find-duplicate-file-in-system/find-duplicate-file-in-system_[AC1_85ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | null | null | null | 609-find-duplicate-file-in-system/find-duplicate-file-in-system_[AC1_85ms].cpp | i-square/LeetCode | 9b15114b7a3de8638d44b3030edb72f41d9a274e | [
"MIT"
] | 1 | 2021-03-31T08:45:51.000Z | 2021-03-31T08:45:51.000Z | // Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files in the file system in terms of their paths.
//
// A group of duplicate files consists of at least two files that have exactly the same content.
//
// A si... | 44.661538 | 244 | 0.658629 | i-square |
bf90c9a68f1b6bf5cd8c023daa991d4bc9057174 | 3,018 | cpp | C++ | dbms/src/Storages/tests/storage_log.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | dbms/src/Storages/tests/storage_log.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | dbms/src/Storages/tests/storage_log.cpp | ArielLily/ClickHouse | 8f145da1e8056d21453149f436e2c5d87eb3294f | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <IO/WriteBufferFromOStream.h>
#include <Storages/StorageLog.h>
#include <DataStreams/TabSeparatedRowOutputStream.h>
#include <DataStreams/LimitBlockInputStream.h>
#include <DataStreams/BlockOutputStreamFromRowOutputStream.h>
#include <DataStreams/copyData.h>
#include <DataTypes/DataTypesNu... | 29.881188 | 106 | 0.639828 | ArielLily |
bf958dfb8ff951fe6350f1f92cf90d3e92a0f82c | 2,793 | cpp | C++ | Visual Mercutio/zModel/PSS_ModelGlobal.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zModel/PSS_ModelGlobal.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zModel/PSS_ModelGlobal.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_ModelGlobal -----------------------------------------------------*
****************************************************************************
* Description : Provides the model global property attributes *
* Devel... | 32.103448 | 90 | 0.41425 | Jeanmilost |
bf97d635adc4678c69ab327c6213550f2c8617d5 | 1,501 | hpp | C++ | include/boost/mysql/detail/network_algorithms/execute_statement.hpp | AlexAndDad/mysql-asio | a56d390a2ef4426744483dcbaeb54a65af524356 | [
"BSL-1.0"
] | null | null | null | include/boost/mysql/detail/network_algorithms/execute_statement.hpp | AlexAndDad/mysql-asio | a56d390a2ef4426744483dcbaeb54a65af524356 | [
"BSL-1.0"
] | null | null | null | include/boost/mysql/detail/network_algorithms/execute_statement.hpp | AlexAndDad/mysql-asio | a56d390a2ef4426744483dcbaeb54a65af524356 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_DETAIL_NETWORK_ALGORITHMS_EXECUTE_STATEMENT_HPP
#define B... | 30.632653 | 85 | 0.79547 | AlexAndDad |
bf991c91f56cf50e0567c4d7b030648e891a4c50 | 1,993 | cpp | C++ | software/controller/lib/hal/gpio_mock.cpp | RespiraWorks/VentilatorSoftware | 77a7a949f7af2d4a14fc8faa7e936fd860e796c8 | [
"Apache-2.0"
] | 24 | 2020-04-10T17:30:43.000Z | 2020-06-29T23:55:35.000Z | software/controller/lib/hal/gpio_mock.cpp | RespiraWorks/VentilatorSoftware | 77a7a949f7af2d4a14fc8faa7e936fd860e796c8 | [
"Apache-2.0"
] | 552 | 2020-04-09T22:21:22.000Z | 2020-07-01T20:02:57.000Z | software/controller/lib/hal/gpio_mock.cpp | RespiraWorks/VentilatorSoftware | 77a7a949f7af2d4a14fc8faa7e936fd860e796c8 | [
"Apache-2.0"
] | 17 | 2020-04-10T22:10:22.000Z | 2020-06-26T16:59:48.000Z | /* Copyright 2020-2021, RespiraWorks
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, softw... | 31.634921 | 91 | 0.727045 | RespiraWorks |
bcc7c2003b1aeb2cd0490de0f441d726faa57f98 | 3,959 | cpp | C++ | tc 160+/ShipLoading.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/ShipLoading.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/ShipLoading.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
using namespace std;
class ShipLoading {
public:
int minimumTime(vector <int> cranes, vector <string> boxes_) {
sort(cranes.begin(), cranes.end());
... | 44.483146 | 367 | 0.524627 | ibudiselic |
bcc7ccef3d17ae4903c233f467cf1b22df62e8b3 | 6,535 | hpp | C++ | include/canard/net/ofp/v13/table_feature_property/next_tables.hpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | include/canard/net/ofp/v13/table_feature_property/next_tables.hpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | 8 | 2016-07-21T11:29:13.000Z | 2016-12-03T05:16:42.000Z | include/canard/net/ofp/v13/table_feature_property/next_tables.hpp | amedama41/bulb | 2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb | [
"BSL-1.0"
] | null | null | null | #ifndef CANARD_NET_OFP_V13_TABLE_FEATURE_PROPERTIES_NEXT_TABLES_HPP
#define CANARD_NET_OFP_V13_TABLE_FEATURE_PROPERTIES_NEXT_TABLES_HPP
#include <cstddef>
#include <cstdint>
#include <array>
#include <initializer_list>
#include <iterator>
#include <limits>
#include <stdexcept>
#include <utility>
#include <boost/algori... | 29.570136 | 80 | 0.673757 | amedama41 |
bcd0cf2f32d12c4918a3356c7ea2e9e950924a95 | 16,142 | cpp | C++ | EC_MDNSResponder.cpp | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | null | null | null | EC_MDNSResponder.cpp | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | null | null | null | EC_MDNSResponder.cpp | valinet/EtherCard-MDNS | 385b5d04daa23f9b5a6b67104476184d704164b1 | [
"MIT"
] | 1 | 2021-05-11T17:05:39.000Z | 2021-05-11T17:05:39.000Z | /*
* EtherCard-MDNS
*
* Copyright (c) 2013 Arno Moonen <info@arnom.nl>
* Copyright (c) 2013 Tony DiCola (tony@tonydicola.com)
* Copyright (c) 2020 Valentin-Gabriel Radu <valentingabrielradu@gmail.com>
*
* This code is based on the CC3000 Multicast DNS library,
* created by Tony DiCola <tony@tonydicola.com>.
*... | 23.914074 | 132 | 0.649238 | valinet |
bcd2da0ccc484ec873d4440a49d349ba84d5b79f | 1,657 | cpp | C++ | src/WebServer.cpp | Xwilarg/WebServer- | 9ee3d91dde0b60ced4e9750548bde0f01115a5bf | [
"MIT"
] | null | null | null | src/WebServer.cpp | Xwilarg/WebServer- | 9ee3d91dde0b60ced4e9750548bde0f01115a5bf | [
"MIT"
] | null | null | null | src/WebServer.cpp | Xwilarg/WebServer- | 9ee3d91dde0b60ced4e9750548bde0f01115a5bf | [
"MIT"
] | null | null | null | #include "WebServer.hpp"
namespace WebServer
{
WebServer::WebServer(std::wstring &&ip, std::wstring &&port) noexcept
: _listenerGet(L"http://" + ip + L":" + port + L"/get"),
_listenerUpdate(L"http://" + std::move(ip) + L":" + std::move(port) + L"/update"),
_allcolors()
{
auto white = std::wstring(L"255255255... | 31.264151 | 118 | 0.656005 | Xwilarg |
bcd49b241f30f17ee1c220b5c4538691d20dde15 | 1,451 | cpp | C++ | server/c/glob/ActionLogic.cpp | smc314/helix | 9e2fd7d8acdeb09449665585d478c76836866835 | [
"MIT"
] | null | null | null | server/c/glob/ActionLogic.cpp | smc314/helix | 9e2fd7d8acdeb09449665585d478c76836866835 | [
"MIT"
] | null | null | null | server/c/glob/ActionLogic.cpp | smc314/helix | 9e2fd7d8acdeb09449665585d478c76836866835 | [
"MIT"
] | null | null | null | /* ***************************************************************************
Copyright (c): 2013 Hericus Software, Inc.
License: The MIT License (MIT)
Authors: Steven M. Cherry
*************************************************************************** */
#include "ActionLogic.h"
using namespace Helix::... | 22.323077 | 81 | 0.649897 | smc314 |
bcd6ab382191c91fd0d3d83d3b9c998974df457c | 13,155 | cpp | C++ | src/main/model/board.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | 1 | 2015-09-06T21:29:06.000Z | 2015-09-06T21:29:06.000Z | src/main/model/board.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | 2 | 2015-09-02T04:05:21.000Z | 2015-10-20T21:10:58.000Z | src/main/model/board.cpp | fchurca/7542-2015-2 | a537a69692820899a1cd28a07cbc74190f659895 | [
"BSD-3-Clause"
] | null | null | null | #include <sstream>
#include <algorithm>
#include "board.h"
#include "entity.h"
#include "entity_factory.h"
#include "game.h"
#include "../parser_yaml/ruleset_parser.h"
#include "../parser_yaml/scenario_parser.h"
using namespace std;
//-----------------------------------------------------------------------------
ABo... | 32.481481 | 395 | 0.711288 | fchurca |
bce0176effca0a2efdc8fca2ade41801a82cef61 | 15,846 | cpp | C++ | Test.cpp | MeitarFuchs/war_game | 1c9f0da9c43f86bd2b7e5d14369fba1efdc1b2c3 | [
"MIT"
] | null | null | null | Test.cpp | MeitarFuchs/war_game | 1c9f0da9c43f86bd2b7e5d14369fba1efdc1b2c3 | [
"MIT"
] | null | null | null | Test.cpp | MeitarFuchs/war_game | 1c9f0da9c43f86bd2b7e5d14369fba1efdc1b2c3 | [
"MIT"
] | null | null | null | //#include "doctest.h"
//#include "DemoGame.hpp"
//#include "FootSoldier.hpp"
//#include "FootCommander.hpp"
//#include "Sniper.hpp"
//#include "SniperCommander.hpp"
//#include "Paramedic.hpp"
//#include "ParamedicCommander.hpp"
//
//WarGame::Board built1Board(){
// WarGame::Board bordG(6,6);
// bordG[{3,0}]= new... | 43.295082 | 88 | 0.579515 | MeitarFuchs |
bce195d2ca897a1f01870dd5cfb814a15a78a42f | 4,396 | cpp | C++ | scripts/make_matrix.cpp | gesinecauer/HybridYeastHiC | 5df9eb176227109ec617e0ac4591788f5bfc9338 | [
"MIT"
] | 1 | 2017-11-29T11:34:01.000Z | 2017-11-29T11:34:01.000Z | scripts/make_matrix.cpp | gesinecauer/HybridYeastHiC | 5df9eb176227109ec617e0ac4591788f5bfc9338 | [
"MIT"
] | null | null | null | scripts/make_matrix.cpp | gesinecauer/HybridYeastHiC | 5df9eb176227109ec617e0ac4591788f5bfc9338 | [
"MIT"
] | 4 | 2017-02-22T22:17:10.000Z | 2021-05-04T21:57:14.000Z | /* make_matrix.cpp
* takes assigned read pairs and creates matrix of interaction counts (long form)
* Seungsoo Kim
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <map>
using namespace std;
int main(int argc, char** arg... | 24.422222 | 120 | 0.581665 | gesinecauer |
bce1dc2b5dc1e660376e254e143a88eccd85210d | 1,171 | cpp | C++ | modules/ide_old/src/DetectOnStart.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | modules/ide_old/src/DetectOnStart.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | modules/ide_old/src/DetectOnStart.cpp | DeepBlue14/rqt_ide | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | [
"MIT"
] | null | null | null | #include "DetectOnStart.h"
DetectOnStart::DetectOnStart()
{
usersNameStrPtr = new QString("null");
installedRosDistrosStrLstPtr = new QStringList();
}
void DetectOnStart::findUsersName()
{
QProcess proc;
proc.start("echo $USER");
}
void DetectOnStart::findInstalledRosDistros()
{
;
}
voi... | 16.263889 | 94 | 0.747225 | DeepBlue14 |
bce3197458091490ec366973dcbebc5f1197a7b2 | 645 | cpp | C++ | leetcode/Greedy/944.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Greedy/944.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | leetcode/Greedy/944.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
int minDeletionSize(vector<string>& A) {
int m = A.size();
if( m == 0 || m == 1 ){
return 0;
}
int n = A[0].size();
if( n == 0 ){
return 0;
}
int res = 0;
for( int i = 0; ... | 18.970588 | 44 | 0.415504 | codehuanglei |
bce3e9a480701e7d9b843ace433ef6230ca45c6f | 125 | cpp | C++ | EngineersFactory.cpp | Mbedzi346/GeekHubProject | 613fdf9d181fa9c5fa0f8a95d4a94c5faed61255 | [
"MIT"
] | null | null | null | EngineersFactory.cpp | Mbedzi346/GeekHubProject | 613fdf9d181fa9c5fa0f8a95d4a94c5faed61255 | [
"MIT"
] | null | null | null | EngineersFactory.cpp | Mbedzi346/GeekHubProject | 613fdf9d181fa9c5fa0f8a95d4a94c5faed61255 | [
"MIT"
] | null | null | null | #include "EngineersFactory.h"
#include "Engineers.h"
Person* EngineersFactory::createPerson() {
return new Engineers(1);
}
| 17.857143 | 42 | 0.752 | Mbedzi346 |
bcfb5c7ee3cc4e0e1e786f555fcdb0b44177b6c5 | 865 | hpp | C++ | src/parser.hpp | Diapolo10/BF-Interpreter | 64f94297aee8930181de14b97d703c90c108fb6e | [
"MIT"
] | null | null | null | src/parser.hpp | Diapolo10/BF-Interpreter | 64f94297aee8930181de14b97d703c90c108fb6e | [
"MIT"
] | null | null | null | src/parser.hpp | Diapolo10/BF-Interpreter | 64f94297aee8930181de14b97d703c90c108fb6e | [
"MIT"
] | null | null | null | #pragma once
// C++17
#include <string> // std::string
#include "interpreter.hpp" // bf::{transform_unicode, InterpreterSession, op::OPERATORS}
namespace bf {
namespace io {
/* Contains all input/output-related functions */
// Clears the program of comments and whitespace, leaving only th... | 32.037037 | 94 | 0.69711 | Diapolo10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.