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 float64 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 float64 1 77k ⌀ | 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 float64 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 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44c5c0645aeb629366c56177ce4382dd3b73e9f4 | 123 | cpp | C++ | Trixs/UIManager.cpp | RuurddeRonde/Trixs-raytracer | 382d4e95a54274ef7fbc4f4fba7575fe6f286298 | [
"MIT"
] | 2 | 2020-08-25T00:31:17.000Z | 2021-12-11T22:14:02.000Z | Trixs/UIManager.cpp | RuurddeRonde/Trixs-raytracer | 382d4e95a54274ef7fbc4f4fba7575fe6f286298 | [
"MIT"
] | null | null | null | Trixs/UIManager.cpp | RuurddeRonde/Trixs-raytracer | 382d4e95a54274ef7fbc4f4fba7575fe6f286298 | [
"MIT"
] | null | null | null | #include "UIManager.h"
namespace Trixs
{
UIManager::UIManager(Window* window)
{
}
UIManager::~UIManager()
{
}
} | 7.6875 | 37 | 0.642276 |
44c6dedd44ad4509a3f5a9c13fc04d6f1ffbdc64 | 6,995 | cc | C++ | lite/kernels/arm/concat_compute_test.cc | xw-github/Paddle-Lite | 3cbd1d375d89c4deb379d44cdbcdc32ee74634c5 | [
"Apache-2.0"
] | null | null | null | lite/kernels/arm/concat_compute_test.cc | xw-github/Paddle-Lite | 3cbd1d375d89c4deb379d44cdbcdc32ee74634c5 | [
"Apache-2.0"
] | null | null | null | lite/kernels/arm/concat_compute_test.cc | xw-github/Paddle-Lite | 3cbd1d375d89c4deb379d44cdbcdc32ee74634c5 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 29.639831 | 79 | 0.599714 |
44c72f463289e7db5e76fe0aa208aa0af4889fea | 799 | cpp | C++ | CCC/Stage1/08-Done/ccc08j3.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | 1 | 2017-10-01T00:51:39.000Z | 2017-10-01T00:51:39.000Z | CCC/Stage1/08-Done/ccc08j3.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | CCC/Stage1/08-Done/ccc08j3.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <cctype>
#include <cmath>
using namespace std;
int x = 1,y=1;
int h[31]= {
1,1,1,1,1,1,
2,2,2,2,2,2,
3,3,3,3,3,3,
4,4,4,4,4,4,
5,5,5,5,5,5};
int v[31]= {
1,2,3,4,5,6,
1,2,3,4,5,6,
1,2,3,4,5,6,
1,2,3,4,5,6,
1,2,3,4,5,6};
int getPos(char c)
{
... | 14.527273 | 33 | 0.48811 |
44c7aaf19786548ecfced6f53e79a496434a9a8c | 789 | cpp | C++ | 945.minimum_increment_to_make_array_unique_by_sort.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | 5 | 2019-09-12T05:23:44.000Z | 2021-11-15T11:19:39.000Z | 945.minimum_increment_to_make_array_unique_by_sort.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | 18 | 2019-09-23T13:11:06.000Z | 2019-11-09T11:20:17.000Z | 945.minimum_increment_to_make_array_unique_by_sort.cpp | liangwt/leetcode | 8f279343e975666a63ee531228c6836f20f199ca | [
"Apache-2.0"
] | null | null | null | #include <assert.h>
#include <vector>
using namespace std;
class Solution
{
public:
// 先排序,再依次遍历数组元素,若当前元素小于等于它前一个元素,则将其变为前一个数+1。
int minIncrementForUnique(vector<int> &A)
{
int ans = 0;
int len = A.size();
sort(A.begin(), A.end());
for (int i = 1; i < len; ++i)
{
... | 18.348837 | 49 | 0.460076 |
44c93b13d5c73e5cfdb0d23e0856f038232d5924 | 3,292 | hpp | C++ | ql/termstructures/volatility/swaption/swaptionvolcube2.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/termstructures/volatility/swaption/swaptionvolcube2.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/termstructures/volatility/swaption/swaptionvolcube2.hpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... | 42.753247 | 79 | 0.655832 |
44c9bc060a5ca54beee9f52f28b243a07395959e | 183,030 | hpp | C++ | lib/bill/bill/sat/solver/ghack.hpp | osamamowafy/mockturtle | 840ff314e9f5301686790a517c383240f1403588 | [
"MIT"
] | 98 | 2018-06-15T09:28:11.000Z | 2022-03-31T15:42:48.000Z | lib/bill/bill/sat/solver/ghack.hpp | osamamowafy/mockturtle | 840ff314e9f5301686790a517c383240f1403588 | [
"MIT"
] | 257 | 2018-05-09T12:14:28.000Z | 2022-03-30T16:12:14.000Z | lib/bill/bill/sat/solver/ghack.hpp | osamamowafy/mockturtle | 840ff314e9f5301686790a517c383240f1403588 | [
"MIT"
] | 75 | 2020-11-26T13:05:15.000Z | 2021-12-24T00:28:18.000Z | /**************************************************************************************[IntTypes.h]
Copyright (c) 2009-2010, Niklas Sorensson
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 withou... | 35.979949 | 243 | 0.556745 |
44cbb1b0cfc3179102cd0bb74edd30370d79a44c | 383 | cpp | C++ | Introductory-Problems/repetitions.cpp | LazyCoder-1506/CSES-Solutions | 23430cf2bed7197130a022b7b44a90ee8e13237c | [
"MIT"
] | null | null | null | Introductory-Problems/repetitions.cpp | LazyCoder-1506/CSES-Solutions | 23430cf2bed7197130a022b7b44a90ee8e13237c | [
"MIT"
] | null | null | null | Introductory-Problems/repetitions.cpp | LazyCoder-1506/CSES-Solutions | 23430cf2bed7197130a022b7b44a90ee8e13237c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define int long long int
void solve() {
string s;
cin >> s;
int n = s.length();
int rep = 0;
int cnt = 1;
for (int i = 1; i < n ; i++) {
if (s[i] == s[i - 1]) {
cnt++;
}
else {
rep = max(rep, cnt);
cnt = 1;
}
}
cout << max... | 14.730769 | 32 | 0.456919 |
44cc781daca41bf2f50fe61cfe53117d575f1a82 | 5,069 | hpp | C++ | falcon/literal/utility.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/literal/utility.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/literal/utility.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_LITERAL_UTILITY_HPP
#define FALCON_LITERAL_UTILITY_HPP
#include <falcon/literal/detail/literal_support.hpp>
#include <type_traits>
#include <limits>
#include <falcon/type_traits/eval_if.hpp>
#include <falcon/type_traits/use.hpp>
namespace falcon {
namespace literal {
template<typename _CharT, _CharT ... | 27.4 | 139 | 0.744526 |
44cd4518f0eff893fb417a964553c796d59ce102 | 7,783 | cpp | C++ | Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp | werminghoff/Provenance | de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2 | [
"BSD-3-Clause"
] | 2 | 2021-02-04T22:41:57.000Z | 2021-03-27T07:28:02.000Z | Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp | werminghoff/Provenance | de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2 | [
"BSD-3-Clause"
] | null | null | null | Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp | werminghoff/Provenance | de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2 | [
"BSD-3-Clause"
] | 3 | 2019-02-19T12:55:12.000Z | 2019-05-30T08:33:23.000Z | /******************************************************************************/
/* Mednafen - Multi-system Emulator */
/******************************************************************************/
/* Joystick_XInput.cpp:
** Copyright (C) 2012-2018 Mednafen Team
**
** This ... | 27.996403 | 213 | 0.714891 |
44cddaff027d71c261189ccf4f9a372801ca72b3 | 107,053 | cpp | C++ | src/aligner.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/aligner.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/aligner.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | // SPDX-FileCopyrightText: 2014 Erik Garrison
//
// SPDX-License-Identifier: MIT
#include "aligner.hpp"
#include "hash_map.hpp"
//#define debug_print_score_matrices
using namespace vg;
using namespace std;
using namespace vg::io;
static const double quality_scale_factor = 10.0 / log(10.0);
static const double exp_... | 44.62401 | 261 | 0.545571 |
44d0d8d84f9c14123b958c0932770f98c8761f30 | 8,573 | cc | C++ | L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:16:05.000Z | 2021-11-30T16:16:05.000Z | #include <memory>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interfac... | 36.172996 | 119 | 0.596991 |
44d11aca04ecf5e58e8615f2f9c3fd92559abda6 | 5,703 | cpp | C++ | tsf/src/v20180326/model/CreateLaneRuleRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tsf/src/v20180326/model/CreateLaneRuleRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tsf/src/v20180326/model/CreateLaneRuleRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 27.550725 | 104 | 0.713835 |
44d30c8845789e7c1a30a6f8f4b3b60bc6640599 | 258 | cpp | C++ | Kernel/Memory/GenericPagingTable.cpp | UltraOS/Ultra | 287035fea303767285e48e5c7867d147790ff55b | [
"Apache-2.0"
] | 44 | 2020-07-09T07:31:43.000Z | 2022-03-29T20:55:01.000Z | Kernel/Memory/GenericPagingTable.cpp | 8infy/UltraOS | 2ed2879c96a7095b5077df5ba5db5b30a6565417 | [
"Apache-2.0"
] | 3 | 2021-04-24T13:53:53.000Z | 2021-09-27T05:50:28.000Z | Kernel/Memory/GenericPagingTable.cpp | 8infy/UltraOS | 2ed2879c96a7095b5077df5ba5db5b30a6565417 | [
"Apache-2.0"
] | 3 | 2021-03-01T09:29:12.000Z | 2021-06-25T17:06:27.000Z | #include "GenericPagingTable.h"
#include "MemoryManager.h"
namespace kernel {
#ifdef ULTRA_64
Address GenericPagingTable::accessible_address_of(size_t index)
{
return MemoryManager::physical_memory_base + entry_at(index).physical_address();
}
#endif
}
| 19.846154 | 84 | 0.794574 |
44d3365f13f73e2600d5b70a15dedde1615a9b46 | 9,280 | cc | C++ | third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc | Antidote/dawn-cmake | b8c6d669fa3c0087aa86653a4078386ffb42f199 | [
"BSD-3-Clause"
] | 1 | 2021-12-25T05:54:09.000Z | 2021-12-25T05:54:09.000Z | third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc | Antidote/dawn-cmake | b8c6d669fa3c0087aa86653a4078386ffb42f199 | [
"BSD-3-Clause"
] | null | null | null | third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc | Antidote/dawn-cmake | b8c6d669fa3c0087aa86653a4078386ffb42f199 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Abseil 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 32.447552 | 79 | 0.671013 |
44d41cf17e0a436311f4dc84aac84ff2a88353bb | 4,020 | cpp | C++ | third_party/libigl/include/igl/vertex_components.cpp | chefmramos85/monster-mash | 239a41f6f178ca83c4be638331e32f23606b0381 | [
"Apache-2.0"
] | 1,125 | 2021-02-01T09:51:56.000Z | 2022-03-31T01:50:40.000Z | third_party/libigl/include/igl/vertex_components.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 19 | 2021-02-01T12:36:30.000Z | 2022-03-19T14:02:50.000Z | third_party/libigl/include/igl/vertex_components.cpp | ryan-cranfill/monster-mash | c1b906d996885f8a4011bdf7558e62e968e1e914 | [
"Apache-2.0"
] | 148 | 2021-02-13T10:54:31.000Z | 2022-03-28T11:55:20.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://... | 40.606061 | 356 | 0.650498 |
44d539162d25a56d73e0a8e5b839698853ae1d18 | 52,948 | cc | C++ | ui/gl/gl_bindings_autogen_glx.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ui/gl/gl_bindings_autogen_glx.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ui/gl/gl_bindings_autogen_glx.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 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.
//
// This file is auto-generated from
// ui/gl/generate_bindings.py
// It's formatted by clang-format using chromium coding style:
// clang-format -i -... | 41.56044 | 80 | 0.585348 |
44d7e572a4e13add39ef307b60d9323142d301ad | 5,868 | cpp | C++ | tf2_src/utils/vmpi/vmpi_job_watch/GraphControl.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/utils/vmpi/vmpi_job_watch/GraphControl.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/utils/vmpi/vmpi_job_watch/GraphControl.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// GraphControl.cpp : implementation file
//
#include "stdafx.h"
#include "vmpi_browser_job_watch.h"
#include "GraphCont... | 23.757085 | 113 | 0.632243 |
44d9ff95f08b9f006f7274635d2bcf74670b6911 | 2,125 | cpp | C++ | map/map_tests/transliteration_test.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | map/map_tests/transliteration_test.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | map/map_tests/transliteration_test.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | #include "testing/testing.hpp"
#include "coding/string_utf8_multilang.hpp"
#include "coding/transliteration.hpp"
#include "platform/platform.hpp"
namespace
{
void TestTransliteration(Transliteration const & translit, std::string const & locale,
std::string const & original, std::string const... | 44.270833 | 102 | 0.715294 |
44da75c56fd1a30a62e86c302030115c51ae01f3 | 2,851 | cc | C++ | paddle/fluid/memory/allocation/thread_local_allocator.cc | suytingwan/Paddle | d4560871878eaec4f1f682af56fb364a5f596b18 | [
"Apache-2.0"
] | 1 | 2020-05-12T04:00:14.000Z | 2020-05-12T04:00:14.000Z | paddle/fluid/memory/allocation/thread_local_allocator.cc | MaJun-cn/Paddle | 0ec3a42e9740a5f5066053bb49a923d538eba24a | [
"Apache-2.0"
] | null | null | null | paddle/fluid/memory/allocation/thread_local_allocator.cc | MaJun-cn/Paddle | 0ec3a42e9740a5f5066053bb49a923d538eba24a | [
"Apache-2.0"
] | 4 | 2020-07-27T13:24:03.000Z | 2020-08-06T08:20:32.000Z | // Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 37.025974 | 80 | 0.722203 |
44dd43a158a99088eda748363433770d5e6d17ff | 3,248 | cpp | C++ | Phoenix3D/PX2Core/PX2Event.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 36 | 2016-04-24T01:40:38.000Z | 2022-01-18T07:32:26.000Z | Phoenix3D/PX2Core/PX2Event.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | null | null | null | Phoenix3D/PX2Core/PX2Event.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 16 | 2016-06-13T08:43:51.000Z | 2020-09-15T13:25:58.000Z | // PX2Event.cpp
#include "PX2Event.hpp"
#include "PX2Assert.hpp"
using namespace PX2;
Event::Event ()
:
mEventType(0),
mSender(0),
mReceiver(0),
mDelayTime(0.0f),
mDelayTiming(0.0f),
mIsDoDelay(false)
{
mEventChannel.FillUserChannel();
}
//----------------------------------------------------------------------------
... | 25.178295 | 78 | 0.40117 |
44dde9125f17488902a192c50863c28b054d7e7c | 8,506 | hpp | C++ | lib/lorina/lorina/genlib.hpp | fmozafari/mockturtle | ebf32a5643bf818a3720809b867a0401a4bc6eed | [
"MIT"
] | null | null | null | lib/lorina/lorina/genlib.hpp | fmozafari/mockturtle | ebf32a5643bf818a3720809b867a0401a4bc6eed | [
"MIT"
] | null | null | null | lib/lorina/lorina/genlib.hpp | fmozafari/mockturtle | ebf32a5643bf818a3720809b867a0401a4bc6eed | [
"MIT"
] | 1 | 2021-12-20T20:42:30.000Z | 2021-12-20T20:42:30.000Z | /* lorina: C++ parsing library
* Copyright (C) 2018-2021 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
... | 25.932927 | 153 | 0.618152 |
44ded4ccb5a4e2954add318cdc7c412c190c51b9 | 1,635 | cpp | C++ | o12e1ska/skar.cpp | czers/oi-tasks | b862cd33bd2230c7cea135333056954388ba9502 | [
"Unlicense"
] | null | null | null | o12e1ska/skar.cpp | czers/oi-tasks | b862cd33bd2230c7cea135333056954388ba9502 | [
"Unlicense"
] | null | null | null | o12e1ska/skar.cpp | czers/oi-tasks | b862cd33bd2230c7cea135333056954388ba9502 | [
"Unlicense"
] | null | null | null | #include <cstdio>
class FindUnion
{
private:
int rank;
FindUnion *parent;
public:
static void MakeSet(FindUnion &x)
{
x.parent = &x;
x.rank = 0;
}
static void Union(FindUnion &x, FindUnion &y)
{
FindUnion *xRoot = FindU... | 24.044118 | 58 | 0.428746 |
44e1738d7746bf8fb06cd120cbe4ad233c8ab977 | 1,100 | cpp | C++ | Sorting/Sorting/SortUtility.cpp | sailorusherKC/Sorting | c8d57c559969c2e84d857f997eb0113f3e75a2b8 | [
"MIT"
] | null | null | null | Sorting/Sorting/SortUtility.cpp | sailorusherKC/Sorting | c8d57c559969c2e84d857f997eb0113f3e75a2b8 | [
"MIT"
] | null | null | null | Sorting/Sorting/SortUtility.cpp | sailorusherKC/Sorting | c8d57c559969c2e84d857f997eb0113f3e75a2b8 | [
"MIT"
] | null | null | null | #include"CountingSorts.h"
#include<string>
#include<vector>
#include<iostream>
#include<fstream>
#include<ctime>
#include<cstdlib>
using namespace std;
void ResizeIntVector(vector<int>& S, const int size) {
//while the vector is not the correct size
while (S.size() != size)
//pop elements if it is too big, or push... | 18.644068 | 69 | 0.590909 |
44e1baffbba192d7088b5f642560792da83e0db0 | 447 | hpp | C++ | SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | //
// LogLights.hpp
// FilamentViewer
//
// Created by James Walker on 5/27/21.
//
#ifndef LogLights_hpp
#define LogLights_hpp
namespace filament
{
class Engine;
class Scene;
};
/*!
@function LogLights
@abstract Log various information about lights in a Scene to std::cout.
@param inEngine An engine.
@p... | 15.964286 | 72 | 0.704698 |
44e311176e7266c61c291f5a3a20165d39ebaa92 | 1,204 | cpp | C++ | 16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <afxres.h>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
#include <map>
#include <vector>
#include <string>
//#include <Crispen.h>
// #include <sqlite3.h/sqlite3>
#include <utility>
#define TRUE "true"
#def... | 18.242424 | 67 | 0.616279 |
44e5a903b3287a21da7c1b1ffa5bd1197bb25453 | 599 | cpp | C++ | Difficulty 2/fluortanten.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 2/fluortanten.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 2/fluortanten.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int calc_sum(vector<int> numbers) {
int ans = 0;
for(int i = 1; i <= numbers.size(); i++) ans += i * numbers.at(i-1);
return ans;
}
int main() {
int n, number, pos;
cin >> n;
vector<pair<int, int>> numbers;
for(int i = 0; i < n; ... | 21.392857 | 99 | 0.557596 |
44e5dfa02242f7d12230a06294f51d7fe06a5a06 | 1,451 | hxx | C++ | Legolas/Vector/VirtualVector.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/Vector/VirtualVector.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/Vector/VirtualVector.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | 1 | 2021-02-11T14:43:25.000Z | 2021-02-11T14:43:25.000Z | #pragma once
#include <cstdlib>
namespace Legolas{
class VirtualVector {
public:
// virtual int getSize( void ) const = 0 ;
typedef std::size_t SizeType;
virtual SizeType size( void ) const = 0 ;
virtual const VirtualVector & getElement( SizeType i ) const = 0 ;
virtual VirtualVector & g... | 30.87234 | 104 | 0.673329 |
44ea1cd2cb3edc3ee3cfe10d4fbfcfd4ae550453 | 3,363 | cpp | C++ | src/cli/main.cpp | brio1009/ElTrazadoDeRayos | 8c65eb9c7724812ab9f8103fd00a28324753e4b6 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cli/main.cpp | brio1009/ElTrazadoDeRayos | 8c65eb9c7724812ab9f8103fd00a28324753e4b6 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/cli/main.cpp | brio1009/ElTrazadoDeRayos | 8c65eb9c7724812ab9f8103fd00a28324753e4b6 | [
"BSL-1.0",
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2014 CantTouchDis <bauschp@informatik.uni-freiburg.de>
Copyright (c) 2014 brio1009 <christoph1009@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software... | 30.853211 | 78 | 0.704728 |
44ec033b30daa2ac7c78e56021e48ddb1e1816d8 | 8,311 | cc | C++ | cpp/xml_format.cc | tmarthal/pb2xml | a56ee37164dd638573bb0d343e195249472aefe7 | [
"BSD-3-Clause"
] | 8 | 2015-11-17T23:06:22.000Z | 2021-01-07T01:36:30.000Z | cpp/xml_format.cc | tmarthal/pb2xml | a56ee37164dd638573bb0d343e195249472aefe7 | [
"BSD-3-Clause"
] | 3 | 2015-04-02T21:33:42.000Z | 2019-09-03T20:03:54.000Z | cpp/xml_format.cc | tmarthal/pb2xml | a56ee37164dd638573bb0d343e195249472aefe7 | [
"BSD-3-Clause"
] | 11 | 2015-04-02T21:32:12.000Z | 2022-03-22T15:23:20.000Z | #include <sstream>
#include <stdint.h>
#include <iostream>
#include <iomanip>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>
#include "rapidxml-1.13/rapidxml.hpp"
#include "rapidxml-1.13/rapidxml_print.hpp"
#include "xml_format.h"
#define XML_TRUE_STRING "true"
#define XML_FALSE_... | 33.512097 | 119 | 0.625436 |
44ec4114d7fa6efb661cd63cc83691347994eec8 | 364 | cpp | C++ | PrimeNumber.cpp | tusharxsharma/BasicPrograms | 8aa30da7c1f63d5c7762bb252e65acb76f1b0edd | [
"Unlicense"
] | 1 | 2020-03-18T18:40:48.000Z | 2020-03-18T18:40:48.000Z | PrimeNumber.cpp | tusharxsharma/BasicPrograms | 8aa30da7c1f63d5c7762bb252e65acb76f1b0edd | [
"Unlicense"
] | null | null | null | PrimeNumber.cpp | tusharxsharma/BasicPrograms | 8aa30da7c1f63d5c7762bb252e65acb76f1b0edd | [
"Unlicense"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
int n , x;
cout <<"Enter the number : \n";
cin>>n;
if(n<2)
cout<<"Number is lesser than 2 and not applicable";
else
{
for(x=2;x<n;x++)
{
if(n%x==0)
{
cout<<"Not Prime Number";
exit(0);
}
else
{
cout<<"Prime... | 13.481481 | 54 | 0.478022 |
44ed03145058d315d8572e1838db40ebe2c60e56 | 5,207 | cpp | C++ | ext/native/java/lang/reflect/Array_-native.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/native/java/lang/reflect/Array_-native.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/native/java/lang/reflect/Array_-native.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <java/lang/reflect/Array_.hpp>
extern void unimplemented_(const char16_t* name);
java::lang::Object* java::lang::reflect::Array_::get(::java::lang::Object* array, int32_t index)
{ /* native */
clinit();
... | 39.44697 | 142 | 0.677165 |
44ed72cc0cc7f5374eb6eef7af91e09a046b67b8 | 415 | cpp | C++ | Source/Python/Concat.cpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-10-16T19:41:19.000Z | 2021-02-01T04:55:51.000Z | Source/Python/Concat.cpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 1 | 2020-04-24T18:17:39.000Z | 2020-04-24T18:37:01.000Z | Source/Python/Concat.cpp | andrei-sa/aspen | 6644663fc19a83fba0603dc4bbd6dbe71cfd55aa | [
"Apache-2.0"
] | 2 | 2020-04-17T13:24:29.000Z | 2020-04-24T18:12:29.000Z | #include "Aspen/Python/Concat.hpp"
#include "Aspen/Python/Box.hpp"
using namespace Aspen;
using namespace pybind11;
void Aspen::export_concat(pybind11::module& module) {
export_box<SharedBox<object>>(module, "Box");
export_concat<SharedBox<SharedBox<object>>>(module, "");
module.def("concat",
[] (SharedBox<... | 27.666667 | 58 | 0.710843 |
44ed970a155b89b6b66713b2058e473d5fd16ba2 | 628 | hh | C++ | src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh | zynga/zynga-hacklang-framework | 2730f354adb684085fff6dca3c1cac1b31502c6b | [
"MIT"
] | 19 | 2018-04-23T09:30:48.000Z | 2022-03-06T21:35:18.000Z | src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh | zynga/zynga-hacklang-framework | 2730f354adb684085fff6dca3c1cac1b31502c6b | [
"MIT"
] | 22 | 2017-11-27T23:39:25.000Z | 2019-08-09T08:56:57.000Z | src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh | zynga/zynga-hacklang-framework | 2730f354adb684085fff6dca3c1cac1b31502c6b | [
"MIT"
] | 28 | 2017-11-16T20:53:56.000Z | 2021-01-04T11:13:17.000Z | <?hh // strict
namespace Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData;
use Zynga\Framework\Testing\TestCase\V2\Base as TestCase;
use
Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData\Dev as ConfigUnderTest
;
use
Zynga\Framework\Cache\V2\Interfaces\DriverInterface as CacheDriverInterface
;
class DevT... | 22.428571 | 77 | 0.745223 |
44ee14f5a59b8bfde4cd42497b82448f1e5a706b | 1,055 | cpp | C++ | Source/FactorySkyline/UI/FSKeyMappingWidget.cpp | RozeDoyanawa/FactorySkyline | 381d983d8c8fcac7fa9ce3c386d52bd68d2248b6 | [
"MIT"
] | 3 | 2021-07-09T06:20:11.000Z | 2022-01-23T09:29:21.000Z | Source/FactorySkyline/UI/FSKeyMappingWidget.cpp | Nuwisam/FactorySkyline | 4e4987d2e7f0a67d992d600fc7f280593cee4f94 | [
"MIT"
] | null | null | null | Source/FactorySkyline/UI/FSKeyMappingWidget.cpp | Nuwisam/FactorySkyline | 4e4987d2e7f0a67d992d600fc7f280593cee4f94 | [
"MIT"
] | 6 | 2021-07-11T15:10:12.000Z | 2022-02-27T02:16:15.000Z | // ILikeBanas
#include "FactorySkyline/UI/FSKeyMappingWidget.h"
#include "Components/Image.h"
#include "Components/HorizontalBox.h"
#include "Components/TextBlock.h"
#include "Components/CanvasPanel.h"
#include "Components/CanvasPanelSlot.h"
#include "Components/HorizontalBoxSlot.h"
UFSKeyMappingWidget:... | 23.444444 | 86 | 0.756398 |
6021b37b4b61016702c87a1c89be28a7029a45bc | 1,781 | cpp | C++ | modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2022 Burdukov Mikhail
#include <gtest/gtest.h>
#include "include/horse_min_range.h"
TEST(minHorseRange, Create) {
ASSERT_NO_THROW(minHorseRange hourse);
}
TEST(minHorseRange, Range_without_barriers) {
chess_position_t st('a', 1);
chess_position_t fin('b', 3);
minHorseRange a(st, fin);
... | 23.434211 | 46 | 0.663672 |
6022c8e3220a876440b9cd873111d480e4c8f781 | 1,860 | cc | C++ | src/BGL/BGLAffine.cc | revarbat/Mandoline | 1aafd7e6702ef740bcac6ab8c8c43282a104c60a | [
"BSD-2-Clause-FreeBSD"
] | 17 | 2015-01-07T10:32:06.000Z | 2021-07-06T11:00:38.000Z | src/BGL/BGLAffine.cc | revarbat/Mandoline | 1aafd7e6702ef740bcac6ab8c8c43282a104c60a | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-08-17T17:44:42.000Z | 2018-06-14T23:39:04.000Z | src/BGL/BGLAffine.cc | revarbat/Mandoline | 1aafd7e6702ef740bcac6ab8c8c43282a104c60a | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2015-01-07T10:32:06.000Z | 2019-03-22T16:56:51.000Z | //
// BGLAffine.cc
// Part of the Belfry Geometry Library
//
// Created by GM on 10/13/10.
// Copyright 2010 Belfry Software. All rights reserved.
//
#include "config.h"
#include "BGLAffine.hh"
namespace BGL {
Affine Affine::translationAffine(double dx, double dy)
{
return Affine(1.0, 0.0, 0.0, 1.0, dx, dy)... | 17.383178 | 74 | 0.609677 |
6023f4fffb82ea29d1b3546e9969f026ef7d982e | 244 | cpp | C++ | 1-Iniciante/12/2879.cpp | pedrospaulo/01-C- | d513a2fd87a82d90780aa69782d1a1b73b53d6c1 | [
"MIT"
] | null | null | null | 1-Iniciante/12/2879.cpp | pedrospaulo/01-C- | d513a2fd87a82d90780aa69782d1a1b73b53d6c1 | [
"MIT"
] | null | null | null | 1-Iniciante/12/2879.cpp | pedrospaulo/01-C- | d513a2fd87a82d90780aa69782d1a1b73b53d6c1 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
int n, t ;
int cont = 0;
scanf("%d", &n);
for(int i = 0; i < n; i++){
scanf("%d", &t);
if(t != 1){
cont++;
}
}
printf("%d\n", cont);
return 0;
}
| 12.842105 | 31 | 0.348361 |
602cac59487adecd87d9608d2df3641c307f5c89 | 6,426 | hpp | C++ | include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: System.Enum
#include "System/Enum.hpp"
// Including type: UnityEngine.RemoteConfigSettin... | 67.642105 | 118 | 0.791161 |
602e5783df692bdeec4e840456c43ba5b1171211 | 5,585 | cpp | C++ | openbabel-2.4.1/src/ops/opconfab.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | 1 | 2017-09-16T07:36:29.000Z | 2017-09-16T07:36:29.000Z | openbabel-2.4.1/src/ops/opconfab.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | openbabel-2.4.1/src/ops/opconfab.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | /**********************************************************************
opconfab.cpp - Confab, the conformer generator described in
Journal of Cheminformatics, 3, 1, 8
http://www.jcheminf.com/content/3/1/8
Copyright (C) 2013 by Noel O'Boyle
This file is part of the Open Babel project.
Fo... | 30.519126 | 95 | 0.563474 |
602e62a0db31d1a5f427d0dd51730f3182861d4b | 1,763 | cpp | C++ | tests/test-lru.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 5 | 2019-10-08T05:05:40.000Z | 2022-03-23T10:46:27.000Z | tests/test-lru.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 8 | 2020-01-18T02:16:27.000Z | 2022-02-23T21:28:07.000Z | tests/test-lru.cpp | lcapaldo/c-server-sdk | 87edbe872b5f5fa6e797a6e26e89faf941958679 | [
"Apache-2.0"
] | 6 | 2019-12-13T21:00:11.000Z | 2021-06-09T09:55:13.000Z | #include "gtest/gtest.h"
#include "commonfixture.h"
extern "C" {
#include <launchdarkly/api.h>
#include "lru.h"
#include "utility.h"
}
// Inherit from the CommonFixture to give a reasonable name for the test output.
// Any custom setup and teardown would happen in this derived class.
class LRUFixture : public Common... | 26.313433 | 80 | 0.708452 |
602ea5aff6011c0240d47a0ca748cb490bbd778c | 2,016 | cpp | C++ | lab9/cpp/task-2/main.cpp | mihaimusat/PA-labs-2019 | 113e833dc7fbe2bd5455e2552dde1d8b20931db9 | [
"MIT"
] | null | null | null | lab9/cpp/task-2/main.cpp | mihaimusat/PA-labs-2019 | 113e833dc7fbe2bd5455e2552dde1d8b20931db9 | [
"MIT"
] | null | null | null | lab9/cpp/task-2/main.cpp | mihaimusat/PA-labs-2019 | 113e833dc7fbe2bd5455e2552dde1d8b20931db9 | [
"MIT"
] | null | null | null | #include <fstream>
#include <vector>
#include <algorithm>
#include <queue>
#include <cassert>
using namespace std;
const int kNmax = 50005;
const int inf = 999999;
class Task {
public:
void solve() {
read_input();
print_output(get_result());
}
private:
int n;
int m;
int source;
vector<pair<int, int> > ad... | 19.572816 | 77 | 0.564484 |
603035979813b2c6fa11457dbafc6893d44c09fc | 13,092 | cpp | C++ | src/muz/transforms/dl_mk_quantifier_abstraction.cpp | akreuzer/z3 | e8917a1a9f97db86bdc38c569ddbde7f79b76ce7 | [
"MIT"
] | 3 | 2020-07-15T19:50:12.000Z | 2020-12-13T17:28:16.000Z | src/muz/transforms/dl_mk_quantifier_abstraction.cpp | akreuzer/z3 | e8917a1a9f97db86bdc38c569ddbde7f79b76ce7 | [
"MIT"
] | null | null | null | src/muz/transforms/dl_mk_quantifier_abstraction.cpp | akreuzer/z3 | e8917a1a9f97db86bdc38c569ddbde7f79b76ce7 | [
"MIT"
] | 3 | 2020-04-12T11:00:44.000Z | 2021-10-20T22:08:44.000Z | /*++
Copyright (c) 2013 Microsoft Corporation
Module Name:
dl_mk_quantifier_abstraction.cpp
Abstract:
Create quantified Horn clauses from benchmarks with arrays.
Author:
Ken McMillan
Andrey Rybalchenko
Nikolaj Bjorner (nbjorner) 2013-04-02
Revision History:
--*/
#include "muz/transforms/dl_... | 35.383784 | 129 | 0.498396 |
60314451e1e4e034ceea302e35e5e5cc9c11edd4 | 21,382 | hpp | C++ | torch/lib/c10d/Utils.hpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 3 | 2021-01-03T16:39:28.000Z | 2022-02-02T14:49:37.000Z | torch/lib/c10d/Utils.hpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 1 | 2021-05-10T01:18:33.000Z | 2021-05-10T01:18:33.000Z | torch/lib/c10d/Utils.hpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 1 | 2021-08-06T22:50:37.000Z | 2021-08-06T22:50:37.000Z | #pragma once
#include <ATen/ATen.h>
#include <c10/util/accumulate.h>
#include <c10d/Types.hpp>
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
typedef SSIZE_T ssize_t;
#pragma comment(lib, "Ws2_32.lib")
#else
#include <fcntl.h>
#include <netdb.h>
#include <sys/poll.h>
#include <sys/socket.h>
#include <unist... | 30.854257 | 80 | 0.605322 |
60372c6fa6c3a74f40295d237ce2e860ee2ee61c | 28,301 | cpp | C++ | tests/test_cases/reorder_gpu_test.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | 1 | 2018-06-07T09:21:08.000Z | 2018-06-07T09:21:08.000Z | tests/test_cases/reorder_gpu_test.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | tests/test_cases/reorder_gpu_test.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2016 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 29.449532 | 143 | 0.543126 |
6037404ef7b5caba437ed595f53dd4890ed0802a | 964 | hpp | C++ | cpp/bls/include/bls/msg.hpp | aguycalled/react-native-mcl | a4754aa23b473db2765ceac288a44cca39b20087 | [
"MIT"
] | 212 | 2016-08-10T03:54:55.000Z | 2022-03-28T02:43:08.000Z | cpp/bls/include/bls/msg.hpp | aguycalled/react-native-mcl | a4754aa23b473db2765ceac288a44cca39b20087 | [
"MIT"
] | 78 | 2016-09-06T22:22:52.000Z | 2022-03-29T11:21:33.000Z | cpp/bls/include/bls/msg.hpp | aguycalled/react-native-mcl | a4754aa23b473db2765ceac288a44cca39b20087 | [
"MIT"
] | 112 | 2016-09-06T02:32:02.000Z | 2022-03-28T07:41:10.000Z | #pragma once
/**
@file
@brief check msg
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
*/
#include <stdint.h>
#include <set>
#include <memory.h>
namespace bls_util {
const size_t MSG_SIZE = 32;
struct Msg {
uint8_t v[MSG_SIZE];
bool operator<(co... | 18.901961 | 63 | 0.644191 |
60378f6bd30f7f745955c5956562c76c90bbe173 | 3,318 | cpp | C++ | test/to_duration_test.cpp | bigdatadev/chrono-utilities | 5e3b1073a5c444ab4c088d964f099c1e1b3d69fb | [
"MIT"
] | 1 | 2019-12-30T06:34:14.000Z | 2019-12-30T06:34:14.000Z | test/to_duration_test.cpp | cjgdev/chrono-utilities | 5e3b1073a5c444ab4c088d964f099c1e1b3d69fb | [
"MIT"
] | null | null | null | test/to_duration_test.cpp | cjgdev/chrono-utilities | 5e3b1073a5c444ab4c088d964f099c1e1b3d69fb | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2015 Christopher Gilbert.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | 37.280899 | 97 | 0.681435 |
603b990e12f490d760778268ff031a8f3583032e | 3,012 | cpp | C++ | ovPCRE.cpp | theloox/ovSTR | f1fddb6a6e0e3761c770ab604728f7e7f8805466 | [
"MIT"
] | null | null | null | ovPCRE.cpp | theloox/ovSTR | f1fddb6a6e0e3761c770ab604728f7e7f8805466 | [
"MIT"
] | null | null | null | ovPCRE.cpp | theloox/ovSTR | f1fddb6a6e0e3761c770ab604728f7e7f8805466 | [
"MIT"
] | null | null | null | /***************************************************************************
* 2005 by Axel Gonzalez *
* loox@e-shell.net *
* *
* This so... | 17.928571 | 110 | 0.479748 |
603bb4a1397054f1c4d25d2c2ee7114147f8466f | 5,759 | cpp | C++ | fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp | quanganh2627/bytm-x64-L-w05-2015_external_pdfium | 86957661fc29ce82c3101107f95a11d1f9e59932 | [
"BSD-3-Clause"
] | 4 | 2015-06-24T17:11:51.000Z | 2015-07-16T13:10:25.000Z | fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp | quanganh2627/bytm-x64-L-w05-2015_external_pdfium | 86957661fc29ce82c3101107f95a11d1f9e59932 | [
"BSD-3-Clause"
] | null | null | null | fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp | quanganh2627/bytm-x64-L-w05-2015_external_pdfium | 86957661fc29ce82c3101107f95a11d1f9e59932 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../include/pdfwindow/PDFWindow.h"
#include "../../include... | 23.410569 | 94 | 0.667477 |
603c17fff7a1edb1b2ca844ca8affcf7c2b1c882 | 28,179 | cpp | C++ | src/transport/TcpRemotingClient.cpp | wlliqipeng/rocketmq-client-cpp | d672cb8ecfcf03d3fc8690b3dc8616faf7bd08dd | [
"Apache-2.0"
] | 1 | 2019-10-03T10:22:34.000Z | 2019-10-03T10:22:34.000Z | src/transport/TcpRemotingClient.cpp | yewenchen/rocketmq-client-cpp | 5fc32161b7218c58442b501b826b541267fdf8bd | [
"Apache-2.0"
] | null | null | null | src/transport/TcpRemotingClient.cpp | yewenchen/rocketmq-client-cpp | 5fc32161b7218c58442b501b826b541267fdf8bd | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 37.126482 | 172 | 0.625856 |
603c304083c76ea484ec2b6a10fb55c0f0d38824 | 1,381 | cc | C++ | garnet/lib/ui/gfx/engine/duration_predictor.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | garnet/lib/ui/gfx/engine/duration_predictor.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | garnet/lib/ui/gfx/engine/duration_predictor.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // 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 "garnet/lib/ui/gfx/engine/duration_predictor.h"
#include <src/lib/fxl/logging.h>
namespace scenic_impl {
namespace gfx {
DurationPredictor::Dur... | 31.386364 | 89 | 0.740768 |
603f43cdde744bc7f8046572508c2294a0231ee8 | 711 | cpp | C++ | vta/bundles/FCTest/vtaFCTestBundle.cpp | etri/nest-compiler | c6ac790ed12807f2e0855e3aa0170cb149dc237d | [
"Apache-2.0"
] | 112 | 2020-12-16T07:05:39.000Z | 2022-03-15T08:12:03.000Z | vta/bundles/FCTest/vtaFCTestBundle.cpp | etri/nest-compiler | c6ac790ed12807f2e0855e3aa0170cb149dc237d | [
"Apache-2.0"
] | 1 | 2022-02-25T03:36:18.000Z | 2022-02-25T05:01:43.000Z | vta/bundles/FCTest/vtaFCTestBundle.cpp | etri/nest-compiler | c6ac790ed12807f2e0855e3aa0170cb149dc237d | [
"Apache-2.0"
] | 10 | 2021-01-08T01:36:26.000Z | 2022-02-23T02:03:08.000Z |
#include "vta/runtime.h"
#include "vta/vtalib/include/Bundle/VTABundle.h"
#include "vtaFCTestBundle.h"
SymbolTableEntry symbolTableEntry[2]={{"inputP",0,2048,'1'},{"outP",2048,1000,'1'}};
BundleConfig vtaFCTestBundle_config = {2052000, 3048, 0, 64, 2, symbolTableEntry};
int vtaFCTestMainEntry(int8_t *constantWeight,... | 41.823529 | 154 | 0.7173 |
603fe78538b1cd7b86abaaf5c7c1d79049fa445a | 5,710 | cpp | C++ | Tests/support/matrix_support.cpp | Freddan-67/V3DLib | dcefc24a9a399ee1f5d1aa5529f44d9fd2486929 | [
"MIT"
] | 44 | 2021-01-16T14:17:15.000Z | 2022-03-11T19:53:59.000Z | Tests/support/matrix_support.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 8 | 2021-01-16T17:52:02.000Z | 2021-12-18T22:38:00.000Z | Tests/support/matrix_support.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 7 | 2021-01-16T14:25:47.000Z | 2022-02-03T16:34:45.000Z | #include "matrix_support.h"
#include "../doctest.h"
#include "Support/Helpers.h" // random_float()
using namespace V3DLib;
void compare_arrays(Float::Array2D &a, float const *b, float precision) {
// Values empirically determined - the bigger the matrices, the less precise
if (precision == -1.0f) {
if (Pla... | 26.073059 | 101 | 0.509282 |
6041e1f3f7b63e83347fb38d839271d52df36c2a | 8,928 | cpp | C++ | inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 1 | 2021-03-16T17:40:26.000Z | 2021-03-16T17:40:26.000Z | inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 42 | 2020-11-23T08:09:57.000Z | 2022-02-21T13:03:34.000Z | inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp | v-Golubev/openvino | 26936d1fbb025c503ee43fe74593ee9d7862ab15 | [
"Apache-2.0"
] | 4 | 2021-04-02T08:48:38.000Z | 2021-07-01T06:59:02.000Z | // Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "cpu_blocked_memory_desc.h"
#include "mkldnn_memory.h"
#include "utils/cpu_utils.hpp"
using namespace MKLDNNPlugin;
BlockedMemoryDesc::BlockedMemoryDesc(InferenceEngine::Precision prc, const std::vector<size_t>& dims) : Memory... | 36 | 152 | 0.620408 |
604299f33c5b3d2413d5f28322e962c15a961289 | 81 | cpp | C++ | 00_helloworld/cpp/hello.cpp | RyanGlem/cisc3142 | 5331b3baf9e37d1bd885428e8f3c0b69038794ac | [
"MIT"
] | null | null | null | 00_helloworld/cpp/hello.cpp | RyanGlem/cisc3142 | 5331b3baf9e37d1bd885428e8f3c0b69038794ac | [
"MIT"
] | null | null | null | 00_helloworld/cpp/hello.cpp | RyanGlem/cisc3142 | 5331b3baf9e37d1bd885428e8f3c0b69038794ac | [
"MIT"
] | 16 | 2022-02-11T22:33:50.000Z | 2022-03-30T23:02:58.000Z | // A sample program
#include <stdio.h>
int main(){
printf("Hello World\n");
}
| 10.125 | 25 | 0.62963 |
60436c3bf19201796208b71626c01ccfc8cbd6b2 | 27,650 | cpp | C++ | src/gpe_editor/gpe_scene_tilemap_class.cpp | jaymicrocode/Game-Pencil-Engine | 28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4 | [
"MIT"
] | null | null | null | src/gpe_editor/gpe_scene_tilemap_class.cpp | jaymicrocode/Game-Pencil-Engine | 28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4 | [
"MIT"
] | null | null | null | src/gpe_editor/gpe_scene_tilemap_class.cpp | jaymicrocode/Game-Pencil-Engine | 28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4 | [
"MIT"
] | null | null | null | /*
gpe_scene_tilemap_class.cpp
This file is part of:
GAME PENCIL ENGINE
https://www.pawbyte.com/gamepencilengine
Copyright (c) 2014-2020 Nathan Hurde, Chase Lee.
Copyright (c) 2014-2020 PawByte LLC.
Copyright (c) 2014-2020 Game Pencil Engine contributors ( Contributors Page )
Permission is hereby granted, f... | 37.213997 | 236 | 0.548897 |
60481535d06cdd537c08cc7621a16701f6263dcc | 1,625 | cc | C++ | test/common/common/basic_resource_impl_test.cc | lopter-dbx/envoy | d342e96e7ba2319329838e799021838354e88118 | [
"Apache-2.0"
] | 218 | 2019-05-10T01:11:27.000Z | 2022-01-12T07:12:59.000Z | test/common/common/basic_resource_impl_test.cc | lopter-dbx/envoy | d342e96e7ba2319329838e799021838354e88118 | [
"Apache-2.0"
] | 624 | 2020-10-19T12:21:29.000Z | 2021-05-09T22:47:00.000Z | test/common/common/basic_resource_impl_test.cc | lopter-dbx/envoy | d342e96e7ba2319329838e799021838354e88118 | [
"Apache-2.0"
] | 93 | 2019-05-10T00:15:21.000Z | 2021-10-14T09:32:30.000Z | #include <limits>
#include "common/common/basic_resource_impl.h"
#include "test/mocks/runtime/mocks.h"
#include "gtest/gtest.h"
using testing::NiceMock;
using testing::Return;
namespace Envoy {
class BasicResourceLimitImplTest : public testing::Test {
protected:
NiceMock<Runtime::MockLoader> runtime_;
};
TEST_... | 21.959459 | 86 | 0.714462 |
6048a7840f1b8305021db025815847a3fb0dba78 | 11,580 | cpp | C++ | applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | /*
==============================================================================
KratosR1StructuralApplication
A library based on:
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi, Janosch Stascheit, Fel... | 41.505376 | 211 | 0.589292 |
60490e8223ed24a6d95cc69636b5a15321481d1b | 1,940 | cpp | C++ | comm/sender_test.cpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | 7 | 2019-04-09T16:25:49.000Z | 2021-12-07T10:29:52.000Z | comm/sender_test.cpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | null | null | null | comm/sender_test.cpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | 4 | 2019-08-07T07:43:27.000Z | 2021-05-21T07:54:14.000Z | #include "glog/logging.h"
#include "gtest/gtest.h"
#include "comm/sender.hpp"
#include <iostream>
#include <vector>
namespace minips {
namespace {
class TestSender : public testing::Test {
public:
TestSender() {}
~TestSender() {}
protected:
void SetU... | 24.25 | 59 | 0.495876 |
6049e827e03267426651bb93dc2981591c5369c9 | 1,602 | hpp | C++ | src/Cajita.hpp | sfogerty/Cajita | 6126509050f73c58614c9ae340015dd96ea4dfe7 | [
"BSD-3-Clause"
] | 20 | 2019-07-26T15:24:51.000Z | 2020-02-29T01:40:33.000Z | src/Cajita.hpp | sfogerty/Cajita | 6126509050f73c58614c9ae340015dd96ea4dfe7 | [
"BSD-3-Clause"
] | 26 | 2019-07-29T16:17:03.000Z | 2020-06-09T18:27:37.000Z | src/Cajita.hpp | sfogerty/Cajita | 6126509050f73c58614c9ae340015dd96ea4dfe7 | [
"BSD-3-Clause"
] | 6 | 2019-07-24T21:42:10.000Z | 2020-04-10T12:05:50.000Z | /****************************************************************************
* Copyright (c) 2019-2020 by the Cajita authors *
* All rights reserved. *
* *
* This ... | 37.255814 | 78 | 0.555556 |
604ca4120540c41f055cc079e5f7346f1eafdfdf | 6,177 | cpp | C++ | windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp | kevinhartman/webrtc-apis | c95bc4b8515bfb0920f3694ccba34ee5e2f63692 | [
"BSD-3-Clause"
] | null | null | null | windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp | kevinhartman/webrtc-apis | c95bc4b8515bfb0920f3694ccba34ee5e2f63692 | [
"BSD-3-Clause"
] | null | null | null | windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp | kevinhartman/webrtc-apis | c95bc4b8515bfb0920f3694ccba34ee5e2f63692 | [
"BSD-3-Clause"
] | null | null | null | // Generated by zsLibEventingTool
#include "impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.h"
using ::zsLib::String;
using ::zsLib::Optional;
using ::zsLib::Any;
using ::zsLib::AnyPtr;
using ::zsLib::AnyHolder;
using ::zsLib::Promise;
using ::zsLib::PromisePtr;
using ::zsLib::PromiseWithHolder;
using ::zsLib::Promis... | 33.032086 | 137 | 0.535697 |
604d76204206a3460fb5f812df71aad5d4412b2d | 4,433 | hpp | C++ | NWNXLib/API/API/CNWSPlaceable.hpp | nwnstuff/unified | 2da1201fdded07235f3d2809a3215315140d19da | [
"MIT"
] | null | null | null | NWNXLib/API/API/CNWSPlaceable.hpp | nwnstuff/unified | 2da1201fdded07235f3d2809a3215315140d19da | [
"MIT"
] | null | null | null | NWNXLib/API/API/CNWSPlaceable.hpp | nwnstuff/unified | 2da1201fdded07235f3d2809a3215315140d19da | [
"MIT"
] | null | null | null | #pragma once
#include "nwn_api.hpp"
#include "CExoString.hpp"
#include "CExoLocString.hpp"
#include "CExoArrayList.hpp"
#include "Vector.hpp"
#include "CResRef.hpp"
#include "CNWSObject.hpp"
#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CNWSPlaceable)
#endif
struct CNWSObjectActionNode;
struct CResStruct;
struct CNWSAre... | 31.439716 | 165 | 0.765847 |
604e5692484977e3ff4b257224d809d9f5e9acf6 | 197 | cpp | C++ | templates/== libraryName ==/src/library_main.cpp | julian-becker/slush-cmake-library | 5511f2276853545b366a34bdda48885f6b2b956b | [
"MIT"
] | null | null | null | templates/== libraryName ==/src/library_main.cpp | julian-becker/slush-cmake-library | 5511f2276853545b366a34bdda48885f6b2b956b | [
"MIT"
] | null | null | null | templates/== libraryName ==/src/library_main.cpp | julian-becker/slush-cmake-library | 5511f2276853545b366a34bdda48885f6b2b956b | [
"MIT"
] | null | null | null | #include <<%= libraryName %>/export.h>
#include <iostream>
<%= LIBRARYNAME %>_API int <%= libraryName %>_api()
{
std::cout << "hello from <%= libraryName %>" << std::endl;
return 12345;
}
| 21.888889 | 62 | 0.598985 |
604ff12d561cded190e636446b8a0ca555384546 | 14,457 | cpp | C++ | src/toolkits/feature_engineering/dict_transform_utils.cpp | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | src/toolkits/feature_engineering/dict_transform_utils.cpp | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | src/toolkits/feature_engineering/dict_transform_utils.cpp | Bpowers4/turicreate | 73dad213cc1c4f74337b905baea2b3a1e5a0266c | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#include <toolkits/feature_engineering/dict_transform_utils.hpp>
#include <core/data/flexible_type/f... | 32.414798 | 90 | 0.60552 |
6050123017fabbb197c8363977751b1a3c29ea58 | 12,208 | hpp | C++ | include/etl/op/dim_view.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 210 | 2015-02-13T11:40:45.000Z | 2022-01-21T21:46:42.000Z | include/etl/op/dim_view.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 5 | 2017-01-31T18:12:48.000Z | 2020-07-16T15:18:00.000Z | include/etl/op/dim_view.hpp | wichtounet/etl | 8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94 | [
"MIT"
] | 25 | 2016-11-26T16:32:56.000Z | 2021-07-20T02:08:51.000Z | //=======================================================================
// Copyright (c) 2014-2020 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | 34.88 | 147 | 0.574132 |
60502ce5ecedb8247b8c3662268eb535d64305b6 | 715 | cpp | C++ | cpp/student/student.cpp | shauryachawla/misc | e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb | [
"MIT"
] | null | null | null | cpp/student/student.cpp | shauryachawla/misc | e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb | [
"MIT"
] | null | null | null | cpp/student/student.cpp | shauryachawla/misc | e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb | [
"MIT"
] | 1 | 2019-10-07T08:22:09.000Z | 2019-10-07T08:22:09.000Z | #include "student.h"
#include <iostream>
using namespace std;
void Student::input (void) {
cout << "\n\nRoll No: ";
cin >> rollno;
cout << "Name: ";
cin.ignore();
cin.getline(name, 20);
cout << "MARKS" << endl;
cout << "Phy: "; cin >> marks[phy];
cout << "Chem: "; cin >> marks[chem];
... | 24.655172 | 60 | 0.513287 |
60537596a9774a77332ba1d40d430a02f2ebe5f8 | 1,573 | cc | C++ | Mu2eG4/src/Mu2eUniverse.cc | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | null | null | null | Mu2eG4/src/Mu2eUniverse.cc | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | Mu2eG4/src/Mu2eUniverse.cc | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | //
// Umbrela for the the Mu2e G4 world classes
//
// $Id: Mu2eUniverse.cc,v 1.2 2012/11/19 23:03:49 genser Exp $
// $Author: genser $
// $Date: 2012/11/19 23:03:49 $
//
// Original author Rob Kutschke
//
//
// C++ includes
#include <iostream>
#include <vector>
#include <iomanip>
// Framework includes
#include "art/F... | 24.578125 | 100 | 0.643357 |
6053fa76062bcfa303e9dd3acb1fc387dfd2057d | 3,570 | cpp | C++ | Source/Source/Common/SO3World/Src/KNpcOrderList.cpp | uvbs/FullSource | 07601c5f18d243fb478735b7bdcb8955598b9a90 | [
"MIT"
] | 2 | 2018-07-26T07:58:14.000Z | 2019-05-31T14:32:18.000Z | Jx3Full/Source/Source/Common/SO3World/Src/KNpcOrderList.cpp | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | null | null | null | Jx3Full/Source/Source/Common/SO3World/Src/KNpcOrderList.cpp | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | 5 | 2021-02-03T10:25:39.000Z | 2022-02-23T07:08:37.000Z | #include "stdafx.h"
#include "KMath.h"
#include "Global.h"
#include "KNpcOrderList.h"
using namespace std;
BOOL KNpcOrderManager::Init()
{
BOOL bResult = false;
int nRetCode = false;
ITabFile* piTabFile = NULL;
char szFileName[MAX_PATH];
int ... | 27.890625 | 101 | 0.566387 |
60568d7eeac972c43eb899da7ac15d571144af92 | 507 | cc | C++ | src/samplers/SamplerFattal/bimage/btest.cc | FrancoisGaits/utk | 8c408dd79635f98c46ed075c098f15e23972aad0 | [
"BSD-2-Clause-FreeBSD"
] | 44 | 2018-01-09T19:56:29.000Z | 2022-03-03T06:38:54.000Z | src/samplers/SamplerFattal/bimage/btest.cc | FrancoisGaits/utk | 8c408dd79635f98c46ed075c098f15e23972aad0 | [
"BSD-2-Clause-FreeBSD"
] | 16 | 2018-01-29T18:01:42.000Z | 2022-03-31T07:01:09.000Z | src/samplers/SamplerFattal/bimage/btest.cc | FrancoisGaits/utk | 8c408dd79635f98c46ed075c098f15e23972aad0 | [
"BSD-2-Clause-FreeBSD"
] | 12 | 2018-03-14T00:24:14.000Z | 2022-03-03T06:40:07.000Z | #include "bimage.hh"
#include <math.h>
#include <fstream>
#include <stdlib.h>
#include <iostream>
using namespace std;
int main(int argc, char* argv[]){
BImage image(257,256) ;
image.clear(255,255,255) ;
image.text(10,10,"abc ABC 123 @$%& ][{}.,:") ; // fghijklmnopquvwxyz") ;
for(int i = 0 ; i < 16 ; i+... | 16.354839 | 74 | 0.540434 |
6056ab2add72b1ec078a0e58df3d0eee5dafb44f | 53,420 | cpp | C++ | tools/dumpce/dumpce.cpp | tizenorg/external.icu | 5b69033400476be749862631609f60bd7daaacd7 | [
"ICU"
] | 3 | 2016-03-25T14:11:57.000Z | 2021-08-24T19:46:11.000Z | tools/dumpce/dumpce.cpp | tizenorg/external.icu | 5b69033400476be749862631609f60bd7daaacd7 | [
"ICU"
] | null | null | null | tools/dumpce/dumpce.cpp | tizenorg/external.icu | 5b69033400476be749862631609f60bd7daaacd7 | [
"ICU"
] | 2 | 2018-01-18T04:38:16.000Z | 2019-05-29T02:20:44.000Z | /********************************************************************
* COPYRIGHT:
* Copyright (C) 2001-2011 IBM, Inc. All Rights Reserved.
*
********************************************************************/
/********************************************************************************
*
* File dumpce.cpp
... | 33.40838 | 200 | 0.549495 |
605757c835aa09d53b965180a09441a30458a1b2 | 12,800 | cpp | C++ | NOLF/ClientShellDLL/FolderWeapons.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 38 | 2019-09-16T14:46:42.000Z | 2022-03-10T20:28:10.000Z | NOLF/ClientShellDLL/FolderWeapons.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 39 | 2019-08-12T01:35:33.000Z | 2022-02-28T16:48:16.000Z | NOLF/ClientShellDLL/FolderWeapons.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 6 | 2019-09-17T12:49:18.000Z | 2022-03-10T20:28:12.000Z | // FolderWeapons.cpp: implementation of the CFolderWeapons class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "FolderWeapons.h"
#include "FolderCommands.h"
#include "MissionData.h"
#include "MissionMgr.h"
#include "ClientRes.h"
#include "InterfaceMgr.h"
#inclu... | 24.380952 | 97 | 0.624766 |
605779aec247a93cff658e28eff006079d781e70 | 30,481 | cpp | C++ | Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp | sebranchett/tudat | 24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp | sebranchett/tudat | 24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp | sebranchett/tudat | 24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... | 56.973832 | 153 | 0.661658 |
6058ab2b2f86f8c0d1e8094850e835a5c8767413 | 1,845 | cpp | C++ | C++/InfoArena/Arhiva probleme/Grarb/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Grarb/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Grarb/main.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
template <typename T> ostream& operator<<(ostream &os, const vector<T> &v) { os << '{'; string sep; for (const auto &x : v) os << sep << x, sep = ", "; return os << '}'; }
template <typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os <... | 24.6 | 171 | 0.476423 |
6058ccad1acc11ed529ce45cad4b23b357cf5c98 | 14,597 | cc | C++ | test/unit/energy_comparison/weibel_driver.cc | HPCL/vpic | 4b9dbb714f1d521fda0af69a29495ebfa5d4634c | [
"Unlicense"
] | 2 | 2017-04-21T00:33:05.000Z | 2021-02-13T06:06:53.000Z | test/unit/energy_comparison/weibel_driver.cc | HPCL/vpic | 4b9dbb714f1d521fda0af69a29495ebfa5d4634c | [
"Unlicense"
] | null | null | null | test/unit/energy_comparison/weibel_driver.cc | HPCL/vpic | 4b9dbb714f1d521fda0af69a29495ebfa5d4634c | [
"Unlicense"
] | null | null | null | //#define CATCH_CONFIG_MAIN // This tells Catch to provide a main()
#define CATCH_CONFIG_RUNNER // We will provide a custom main
#include "catch.hpp"
// TODO: this import may ultimately be a bad idea, but it lets you paste an input deck in...
#include "deck/wrapper.h"
#include "src/species_advance/species_advance.h... | 37.048223 | 136 | 0.611975 |
605a0f65f0e1e368456e7ba5d78f1c7b313fe66f | 2,205 | hpp | C++ | includes/Fox/Lexer/Token.hpp | Pierre-vh/Fox | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | 17 | 2019-01-17T22:41:11.000Z | 2020-08-27T03:39:07.000Z | includes/Fox/Lexer/Token.hpp | Pierre-vh/Moonshot | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | null | null | null | includes/Fox/Lexer/Token.hpp | Pierre-vh/Moonshot | ab3d9a5b3c409b5611840c477abef989830ea571 | [
"MIT"
] | 2 | 2019-06-30T19:07:10.000Z | 2019-12-26T17:30:17.000Z | //----------------------------------------------------------------------------//
// Part of the Fox project, licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
// File : Token.hpp
// Author : Pierre van Houtryve
//------------------... | 30.625 | 81 | 0.570975 |
605c389fdb6f4efc8ff35d409566fb51c133b5b0 | 2,539 | cpp | C++ | player.cpp | tako2/dungeon | 473dce34af8086eeae3ebcbf1d01c5c032c01fbc | [
"MIT"
] | null | null | null | player.cpp | tako2/dungeon | 473dce34af8086eeae3ebcbf1d01c5c032c01fbc | [
"MIT"
] | null | null | null | player.cpp | tako2/dungeon | 473dce34af8086eeae3ebcbf1d01c5c032c01fbc | [
"MIT"
] | null | null | null | #include "player.h"
#include "bmp_man.h"
extern Arduboy mArduboy;
void Player::move(int dx)
{
if (dx < 0) {
x += dx;
if (x <= -16) x = 127;
} else {
x += dx;
if (x >= 128) x = -15;
}
}
void Player::do_state()
{
switch (state) {
case MAN_ST_ATTACK:
count ++;
if (count >= 20) state = ... | 25.39 | 74 | 0.603387 |
605c71ebb028d6055653a9c1781de822a64e3e9b | 47,941 | cpp | C++ | src/build_vehicle_gui.cpp | trademarks/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | 8 | 2016-10-21T09:01:43.000Z | 2021-05-31T06:32:14.000Z | src/build_vehicle_gui.cpp | blackberry/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | null | null | null | src/build_vehicle_gui.cpp | blackberry/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | 4 | 2017-05-16T00:15:58.000Z | 2020-08-06T01:46:31.000Z | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | 34.739855 | 301 | 0.728208 |
605e265b864bd9d680900d13c2b8b4d4909505c8 | 1,320 | hpp | C++ | src/FrozenWasteland.hpp | miRackModular/FrozenWasteland | 2e21f41cb121c2a4036b509a26061bf7981d4d9a | [
"CC0-1.0"
] | null | null | null | src/FrozenWasteland.hpp | miRackModular/FrozenWasteland | 2e21f41cb121c2a4036b509a26061bf7981d4d9a | [
"CC0-1.0"
] | null | null | null | src/FrozenWasteland.hpp | miRackModular/FrozenWasteland | 2e21f41cb121c2a4036b509a26061bf7981d4d9a | [
"CC0-1.0"
] | null | null | null | #include "rack.hpp"
using namespace rack;
extern Plugin *pluginInstance;
extern Model *modelBPMLFO;
extern Model *modelBPMLFO2;
extern Model *modelBPMLFOPhaseExpander;
extern Model *modelDamianLillard;
extern Model *modelEverlastingGlottalStopper;
extern Model *modelHairPick;
extern Model *modelLissajousLFO;
exter... | 30 | 45 | 0.852273 |
605e4b58ca412594170dcd9f6562cfb13e8dde7f | 3,025 | ipp | C++ | implement/oglplus/enums/precision_type_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | implement/oglplus/enums/precision_type_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | implement/oglplus/enums/precision_type_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | // File implement/oglplus/enums/precision_type_def.ipp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/precision_type.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2017 Matus Chochlik.
// Distributed under the Boost Software Li... | 26.077586 | 62 | 0.798347 |
606109adc8b7e370fd1b8a50c9c1b3fc4c5a9c29 | 10,072 | cpp | C++ | src/Nigel/Nigel.cpp | IonizeProject/Ionize | 55de59e6257cf662bc332a6d93327b6c1012c96f | [
"BSD-3-Clause"
] | 2 | 2020-10-01T06:44:14.000Z | 2021-02-27T04:40:43.000Z | src/Nigel/Nigel.cpp | QuatreCC/Quatreblockchain | 21a9bc443adc7576508c0b82312e87210a84cbd7 | [
"BSD-3-Clause"
] | 1 | 2020-12-27T21:00:51.000Z | 2020-12-27T21:00:51.000Z | src/Nigel/Nigel.cpp | QuatreCC/Quatreblockchain | 21a9bc443adc7576508c0b82312e87210a84cbd7 | [
"BSD-3-Clause"
] | 6 | 2020-07-02T16:39:16.000Z | 2020-09-02T21:17:21.000Z | // Copyright (c) 2018, The TurtleCoin Developers
// Copyright (c) 2020, The Ionize Developers
//
// Please see the included LICENSE file for more information.
////////////////////////
#include <Nigel/Nigel.h>
////////////////////////
#include <config/CryptoNoteConfig.h>
#include <CryptoNoteCore/CryptoNoteTools.h>
... | 24.095694 | 109 | 0.559571 |
6062e747e003df8efb2486e32ef2e541fedc1509 | 1,278 | cpp | C++ | tests/unit/test_record.cpp | IlyaEp/RedisGraph | c043dd5a6d96bd44580f97ea4d2c0c90cdf6eac9 | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | tests/unit/test_record.cpp | IlyaEp/RedisGraph | c043dd5a6d96bd44580f97ea4d2c0c90cdf6eac9 | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | tests/unit/test_record.cpp | IlyaEp/RedisGraph | c043dd5a6d96bd44580f97ea4d2c0c90cdf6eac9 | [
"Ruby",
"ISC",
"MIT"
] | null | null | null | /*
* Copyright 2018-2019 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "gtest.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include "../../src/execution_plan/record.h"
#include "../../src/util/rmalloc.h"
#include "../..... | 23.236364 | 80 | 0.723005 |
60652138789f318acbf8aaba47d8cf518ef89802 | 1,121 | hh | C++ | include/trick/MTV.hh | dexueyang/trick-dup0 | 2d5d5502fa896d3c42eda40ce0ee45e98ec35463 | [
"NASA-1.3"
] | null | null | null | include/trick/MTV.hh | dexueyang/trick-dup0 | 2d5d5502fa896d3c42eda40ce0ee45e98ec35463 | [
"NASA-1.3"
] | null | null | null | include/trick/MTV.hh | dexueyang/trick-dup0 | 2d5d5502fa896d3c42eda40ce0ee45e98ec35463 | [
"NASA-1.3"
] | 3 | 2021-06-22T11:02:39.000Z | 2021-10-21T00:58:00.000Z |
#ifndef MTV_HH
#define MTV_HH
#include <string>
#include "trick/IPPythonEvent.hh"
namespace Trick {
class MTV {
public:
MTV() ;
Trick::IPPythonEvent dummy_event ; /**< trick_io(*io) trick_units(--) */
Trick::IPPythonEvent ** mtv_list ; /**< trick_io(*io) trick_un... | 26.690476 | 96 | 0.607493 |
60671f89364864ec9dea61361a7a3a8f7fe65f6a | 1,822 | hpp | C++ | DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp | djs66256/DDMallocDetector | f719cdb7abbd8c9590c0fdb68361b943c1674adf | [
"BSD-2-Clause"
] | 10 | 2018-04-08T16:37:17.000Z | 2021-07-13T11:04:38.000Z | DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp | djs66256/DDMallocDetector | f719cdb7abbd8c9590c0fdb68361b943c1674adf | [
"BSD-2-Clause"
] | null | null | null | DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp | djs66256/DDMallocDetector | f719cdb7abbd8c9590c0fdb68361b943c1674adf | [
"BSD-2-Clause"
] | 2 | 2019-02-13T09:21:41.000Z | 2021-07-13T11:04:41.000Z | //
// MallocCollectorHelper.hpp
// cfunction
//
// Created by hzduanjiashun on 2018/3/28.
// Copyright © 2018年 Daniel. All rights reserved.
//
#ifndef MallocCollectorHelper_hpp
#define MallocCollectorHelper_hpp
#include <stdio.h>
#include <memory>
#include <malloc/malloc.h>
#include "MallocMemory.hpp"
namespace ... | 22.775 | 84 | 0.502195 |
6068bfd22ae93d26a163098241f831908c014575 | 6,504 | cxx | C++ | PMD/anal/AliPMDOfflineCalibTask.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PMD/anal/AliPMDOfflineCalibTask.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PMD/anal/AliPMDOfflineCalibTask.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 29.165919 | 103 | 0.628998 |
60695c9676c50e738917c4abd03ecb8d3dd5beea | 671 | cpp | C++ | Excercises_Source/2.Bitfields.cpp | ChenpoHU/C-Excercies_OOP | b009b5a8da82fda6b3918f9f77b1d62ad0a1f876 | [
"MIT"
] | null | null | null | Excercises_Source/2.Bitfields.cpp | ChenpoHU/C-Excercies_OOP | b009b5a8da82fda6b3918f9f77b1d62ad0a1f876 | [
"MIT"
] | null | null | null | Excercises_Source/2.Bitfields.cpp | ChenpoHU/C-Excercies_OOP | b009b5a8da82fda6b3918f9f77b1d62ad0a1f876 | [
"MIT"
] | null | null | null | #include <iostream>
struct BitFieldStruct {
unsigned int a : 4;
unsigned int b : 3;
};
int main() {
BitFieldStruct x;
x.a = 06;
x.b = x.a | 3; // | bitwise OR, || logical OR ; & bitwise AND, && logicalwise AND
std::cout << x.a << '\n' << std::endl;// converted to unsigned and then displayed
std::cout << x.b <<... | 25.807692 | 83 | 0.520119 |
606a2fb93e5ee0a2b1fda73f2d960c884061198e | 417 | cpp | C++ | src/client/main.cpp | Meowy1227/vulkan | 0ef8f43e95a1a020646a03afa27a671d06e90033 | [
"Zlib"
] | 1 | 2021-12-23T21:16:49.000Z | 2021-12-23T21:16:49.000Z | src/client/main.cpp | Meowy1227/vulkan | 0ef8f43e95a1a020646a03afa27a671d06e90033 | [
"Zlib"
] | null | null | null | src/client/main.cpp | Meowy1227/vulkan | 0ef8f43e95a1a020646a03afa27a671d06e90033 | [
"Zlib"
] | null | null | null | // Libraries
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
// Project headers
#include <client/application/applications/HelloTriangleApplication.hpp>
// C/C++ standard
#include <stdexcept>
int main() {
glfwInit();
HelloTriangleApplication app;
app.init();
while(!glfwWindowShouldClose(app.window))
app.l... | 16.68 | 71 | 0.745803 |
606a40d66e7f65605f06cce15bba65817f404485 | 1,240 | cpp | C++ | extras/lib_info/SdFat_Gre/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp | UTSAAH/Dhwani-HA_Library | f182d8b6571d48b1e506637684844eb12e0a791c | [
"MIT"
] | 181 | 2019-09-20T15:49:09.000Z | 2022-03-23T01:27:29.000Z | Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp | DogDod/X-CTRL | 683ffe3b40222e1da6ff156b6595c691cd09fec1 | [
"MIT"
] | 7 | 2020-03-06T19:37:07.000Z | 2020-05-05T20:33:32.000Z | Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp | DogDod/X-CTRL | 683ffe3b40222e1da6ff156b6595c691cd09fec1 | [
"MIT"
] | 75 | 2019-10-25T02:53:27.000Z | 2022-03-23T01:25:00.000Z | // User data functions. Modify these functions for your data items.
#include "UserTypes.h"
#include "Wire.h"
#include "I2Cdev.h"
#include "MPU6050.h"
//------------------------------------------------------------------------------
MPU6050 mpu;
static uint32_t startMicros;
// Acquire a data record.
void acquireData(dat... | 23.846154 | 80 | 0.592742 |
606cea24b8145cd4923cac5f70c31f32aef2378f | 5,886 | hpp | C++ | src/Utils/Constantes.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 4 | 2021-02-21T17:12:46.000Z | 2021-02-25T20:36:27.000Z | src/Utils/Constantes.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | null | null | null | src/Utils/Constantes.hpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 2 | 2021-02-20T19:49:33.000Z | 2021-02-25T20:35:22.000Z | #ifndef TP_TALLER_DE_PROGRAMACION_FIUBA_CONSTANTES_HPP
#define TP_TALLER_DE_PROGRAMACION_FIUBA_CONSTANTES_HPP
#include <stdint.h>
const int ANCHO_FONDO = 8177;
#define VALOR_POR_DEFECTO_ANCHO 800
#define VALOR_POR_DEFECTO_ALTO 600
#define TIEMPO_ESPERA_GAME_LOOP 5
#define IZQUIERDA 1
#define DERECHA 2
#define ARRIBA 3... | 39.503356 | 99 | 0.74227 |
606cfafcf8a6a21bc0c18313f475df7cb32d295c | 3,800 | cc | C++ | mediapipe/calculators/signn/static_dynamic_gate_calculator.cc | AriAlavi/SigNN | 40bd651899e09a0099767457194062f77f774156 | [
"Apache-2.0"
] | 47 | 2019-12-29T02:52:48.000Z | 2022-02-21T08:39:14.000Z | mediapipe/calculators/signn/static_dynamic_gate_calculator.cc | AriAlavi/SigNN | 40bd651899e09a0099767457194062f77f774156 | [
"Apache-2.0"
] | null | null | null | mediapipe/calculators/signn/static_dynamic_gate_calculator.cc | AriAlavi/SigNN | 40bd651899e09a0099767457194062f77f774156 | [
"Apache-2.0"
] | 16 | 2020-07-21T06:28:25.000Z | 2022-02-02T13:40:36.000Z | #include "mediapipe/framework/calculator_framework.h"
#include "mediapipe/calculators/signn/timed_queue.h"
#include "mediapipe/framework/formats/landmark.pb.h"
#include "mediapipe/calculators/signn/static_dynamic_gate_options.pb.h"
#include <fstream>
namespace mediapipe{
namespace{
constexpr char Landma... | 44.705882 | 125 | 0.615263 |
606ffb194da6ff4a1ca462fd0eaf631574c13785 | 1,074 | cpp | C++ | math/normal3.cpp | masrtis/eyebeam | a9ea111c7958838c19c0b26ea1961f119b4f91f1 | [
"MIT"
] | null | null | null | math/normal3.cpp | masrtis/eyebeam | a9ea111c7958838c19c0b26ea1961f119b4f91f1 | [
"MIT"
] | 4 | 2020-12-13T14:55:24.000Z | 2021-03-10T01:47:36.000Z | math/normal3.cpp | masrtis/eyebeam | a9ea111c7958838c19c0b26ea1961f119b4f91f1 | [
"MIT"
] | null | null | null | #include "normal3.h"
#include <cmath>
#include <ostream>
namespace eyebeam
{
Normal3 operator+(const Normal3& lhs, const Normal3& rhs)
{
auto result(lhs);
result += rhs;
return result;
}
Normal3 operator-(const Normal3& lhs, const Normal3& rhs)
{
auto result(lhs);
result -= rhs;
return resul... | 16.029851 | 70 | 0.623836 |
60723c5d81f4da2bb5d5ccd669ea1ab51052159f | 8,161 | cpp | C++ | MathEngine/src/Matrix/Matrix.cpp | w0rmerdev/MathEngine | a1eb651deeeacdb8e0c8d3566be55a6b7ce3c27e | [
"Apache-2.0"
] | null | null | null | MathEngine/src/Matrix/Matrix.cpp | w0rmerdev/MathEngine | a1eb651deeeacdb8e0c8d3566be55a6b7ce3c27e | [
"Apache-2.0"
] | null | null | null | MathEngine/src/Matrix/Matrix.cpp | w0rmerdev/MathEngine | a1eb651deeeacdb8e0c8d3566be55a6b7ce3c27e | [
"Apache-2.0"
] | null | null | null | #include "Matrix.h"
#include "../Vector3/Vector3n.h"
#include <iostream>
int MATRIX_MAX_SIZE = 9;
namespace ME
{
// idendity matrix
Matrix::Matrix()
{
for (int i = 0; i < MATRIX_MAX_SIZE; i++)
{
matrixData[i] = 0.0f;
}
matrixData[0] = matrixData[4] = matrixData[8] = 1.0f;
}
Matrix::Matrix(float m0... | 28.635088 | 154 | 0.598088 |
6072d2fe54028b06e9ebadf3c78dda234ef29f64 | 15,068 | cpp | C++ | http/gzip_mem.cpp | hdsy/public | 20ee6559ba4f84a2356785fc53b54c1a4dcdf354 | [
"Apache-2.0"
] | null | null | null | http/gzip_mem.cpp | hdsy/public | 20ee6559ba4f84a2356785fc53b54c1a4dcdf354 | [
"Apache-2.0"
] | null | null | null | http/gzip_mem.cpp | hdsy/public | 20ee6559ba4f84a2356785fc53b54c1a4dcdf354 | [
"Apache-2.0"
] | 1 | 2020-05-10T23:42:34.000Z | 2020-05-10T23:42:34.000Z | #include <stdio.h>
#include <zlib.h>
#include <string.h>
#include <stdlib.h>
#include "gzip_mem.h"
#define OF(args) args
#define OS_CODE 3 // unix
#if MAX_MEM_LEVEL >= 8
# define DEF_MEM_LEVEL 8
#else
# define DEF_MEM_LEVEL MAX_MEM_LEVEL
#endif
/* default memLevel */
#define Z_BUFSIZE 16384
#def... | 29.837624 | 88 | 0.521503 |
6075b9bf5c04375251eb250f9f00a81da9c255f0 | 1,683 | cc | C++ | RecoParticleFlow/PFClusterTools/src/Utils.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | RecoParticleFlow/PFClusterTools/src/Utils.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | RecoParticleFlow/PFClusterTools/src/Utils.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #include "RecoParticleFlow/PFClusterTools/interface/Utils.h"
#include <stdio.h>
#include <math.h>
#include <regex.h>
#include <glob.h>
#include "TCanvas.h"
#include "TVector3.h"
using namespace std;
using namespace pftools;
bool Utils::StringMatch(const char* str, const char* pattern) {
int status;
regex_t ... | 20.035714 | 65 | 0.628045 |
6078c16e5ce080020fc7292bdd4928bd5b127f9a | 2,473 | cc | C++ | RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z |
/** \class EcalMaxSampleUncalibRecHitProducer
* produce ECAL uncalibrated rechits from dataframes
*
* \author G. Franzoni, E. Di Marco
*
*/
#include "RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/EcalDigi/int... | 40.540984 | 120 | 0.756571 |
607a96483c9d37a6152bba71eb234421ceeb2172 | 5,936 | cpp | C++ | src/athena/MemoryWriter.cpp | encounter/athena | 6adba82abd8b7f48e6eca9f74361d0c605bc9ec8 | [
"MIT"
] | null | null | null | src/athena/MemoryWriter.cpp | encounter/athena | 6adba82abd8b7f48e6eca9f74361d0c605bc9ec8 | [
"MIT"
] | null | null | null | src/athena/MemoryWriter.cpp | encounter/athena | 6adba82abd8b7f48e6eca9f74361d0c605bc9ec8 | [
"MIT"
] | null | null | null | #include "athena/MemoryWriter.hpp"
#include <cstdio>
#include <cstring>
#ifdef HW_RVL
#include <malloc.h>
#endif // HW_RVL
namespace athena::io {
MemoryWriter::MemoryWriter(atUint8* data, atUint64 length, bool takeOwnership)
: m_data(data), m_length(length), m_bufferOwned(takeOwnership) {
if (!data) {
atError... | 21.585455 | 103 | 0.635782 |
607dfe415a7df668b437c3650c3805edc55c2547 | 16,550 | cc | C++ | jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc | guo19941204/c-jni | 866a2bc3f1148824e1a5c270fdf452888cb06d2b | [
"MIT"
] | null | null | null | jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc | guo19941204/c-jni | 866a2bc3f1148824e1a5c270fdf452888cb06d2b | [
"MIT"
] | null | null | null | jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc | guo19941204/c-jni | 866a2bc3f1148824e1a5c270fdf452888cb06d2b | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All con... | 37.871854 | 82 | 0.602115 |
607e0486d7f8a1727ef97f5885bec89a799311c6 | 21,702 | cc | C++ | chrome/browser/external_protocol/external_protocol_policy_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/external_protocol/external_protocol_policy_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/external_protocol/external_protocol_policy_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/values.h"
#include "chrome/browser/external_protocol/auto_launch_protocols_policy_handler.h"
#include "chrome/browser/external_protocol/ext... | 46.174468 | 82 | 0.736568 |
607e300251eb0aac876c03dad8357a69e4656472 | 17,436 | cpp | C++ | external_libs/pgenlib/pgenlibr.cpp | tedyun/regenie | 6d31b5165e098a08ff575e5a36c0cb6219247cc6 | [
"MIT"
] | null | null | null | external_libs/pgenlib/pgenlibr.cpp | tedyun/regenie | 6d31b5165e098a08ff575e5a36c0cb6219247cc6 | [
"MIT"
] | null | null | null | external_libs/pgenlib/pgenlibr.cpp | tedyun/regenie | 6d31b5165e098a08ff575e5a36c0cb6219247cc6 | [
"MIT"
] | null | null | null | /*
*
* File obtained from pgenlibr R library:
* https://github.com/chrchang/plink-ng/tree/master/2.0/pgenlibr
*
* License info obtained from DESCRIPTION file:
* https://github.com/chrchang/plink-ng/blob/master/2.0/pgenlibr/DESCRIPTION
* -----------------------------------------------------
Package: pgenlibr
... | 41.81295 | 382 | 0.71708 |
607eb76c427464a3e63567d4b48312bd5c8f70a5 | 1,335 | hh | C++ | gecode/string/find.hh | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | 1 | 2021-05-26T13:27:00.000Z | 2021-05-26T13:27:00.000Z | gecode/string/find.hh | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | null | null | null | gecode/string/find.hh | ramadini/gecode | ff0d261486a67f66895850a771f161bfa8bf9839 | [
"MIT-feh"
] | null | null | null | #ifndef __GECODE_STRING_FIND_HH__
#define __GECODE_STRING_FIND_HH__
namespace Gecode { namespace String {
/**
* \brief %Propagator for string find.
*
*/
class Find :
public MixTernaryPropagator<StringView, PC_STRING_DOM,
StringView, PC_STRING_DOM, Gecode::Int::IntView, Gecode::Int::PC_INT_BND> {... | 32.560976 | 79 | 0.697378 |
60800365b8156a58de2c7956ce2151c151a87257 | 4,152 | cc | C++ | src/core/ext/transport/chttp2/client/insecure/channel_create.cc | mnuck/grpc | d5b1f9809202bf2338f94a9e1c07bc511b42d67d | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | src/core/ext/transport/chttp2/client/insecure/channel_create.cc | mnuck/grpc | d5b1f9809202bf2338f94a9e1c07bc511b42d67d | [
"Apache-2.0"
] | 11 | 2019-06-02T23:50:17.000Z | 2022-02-04T23:58:56.000Z | src/core/ext/transport/chttp2/client/insecure/channel_create.cc | mnuck/grpc | d5b1f9809202bf2338f94a9e1c07bc511b42d67d | [
"Apache-2.0"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /*
*
* Copyright 2015 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... | 39.169811 | 80 | 0.729046 |
60850ff8061079e361d38c3d4c9eb8eefb3caf0d | 9,397 | cpp | C++ | osquery/events/darwin/fsevents.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | 1 | 2018-10-30T03:58:24.000Z | 2018-10-30T03:58:24.000Z | osquery/events/darwin/fsevents.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | null | null | null | osquery/events/darwin/fsevents.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | 2 | 2020-09-23T04:49:23.000Z | 2022-03-29T17:32:31.000Z | /*
* Copyright (c) 2014-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.
*
*/
#in... | 29.737342 | 79 | 0.650846 |