hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
616c1264e2cad514d567e17c12d32c22534a13d7 | 781 | cpp | C++ | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | 1 | 2021-12-19T08:55:14.000Z | 2021-12-19T08:55:14.000Z | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | null | null | null | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool comp(const string& lhs, const string& rhs) {
return lhs.substr(6, 8) < rhs.substr(6, 8);
}
int main() {
int n, m, res = 0;
vector<string> v, g;
unordered_map<string, bool> hashmap;
cin >> n;
for (int i = 0; i < n; ++i) {
string s;
... | 19.525 | 49 | 0.435339 | niedong |
616c56f6d7ed788472eb4b259a29ef6a78b191bc | 1,227 | hpp | C++ | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | #define MC_FUNCTIONS_H
#ifndef COMMON_HEADERS_H
#include "common_headers.hpp"
#endif
namespace br = boost::random;
namespace bu = boost::uuids;
struct Params
{
size_t L;
// size_t Lx;
// size_t Ly;
size_t N;
size_t numSamp;
uint64_t numEqSteps;
// double beta;
double temp;
std::strin... | 27.886364 | 87 | 0.700081 | CaryRock |
6170db82ada3885d49bd527ca1b48d8480c3b304 | 499 | cpp | C++ | Tools/chrono/system_clock.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 5 | 2019-09-17T09:12:15.000Z | 2021-05-29T10:54:39.000Z | Tools/chrono/system_clock.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | null | null | null | Tools/chrono/system_clock.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 2 | 2021-07-26T06:36:12.000Z | 2022-01-23T15:20:30.000Z | #include <iostream>
#include <chrono>
#include <ctime>
#include <iomanip> // for put_time()
using namespace std;
using namespace std::chrono;
int main()
{
// Get current time as a time_point
system_clock::time_point tpoint = system_clock::now();
// Convert to a time_t
time_t tt = system_clock::t... | 21.695652 | 58 | 0.639279 | liangjisheng |
6170e8703be71442df62d2072c8408efc4a59921 | 32,064 | cpp | C++ | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | 2 | 2017-04-18T05:56:37.000Z | 2018-06-27T21:52:03.000Z | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2015 netfabb GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following... | 30.97971 | 162 | 0.70983 | PolygonalSun |
61765f8517b4c84f4ba5548fd30f0175f1bb2efa | 17,937 | cpp | C++ | libnd4j/include/ops/declarable/impl/LegacyRandomOp.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 2 | 2018-11-26T15:30:37.000Z | 2018-11-26T15:30:39.000Z | libnd4j/include/ops/declarable/impl/LegacyRandomOp.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 16 | 2018-12-03T11:37:19.000Z | 2018-12-03T19:47:25.000Z | libnd4j/include/ops/declarable/impl/LegacyRandomOp.cpp | nutonchain/Deeplearning | 20f222c1eff95205c6c9c9b666b04402405e4442 | [
"Apache-2.0"
] | 2 | 2021-03-01T07:46:24.000Z | 2021-09-26T17:08:40.000Z | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | 42.504739 | 215 | 0.467971 | nutonchain |
6179ae37de75c21d7022dee345ed5a43f3aa7c81 | 1,111 | hpp | C++ | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <iostream>
namespace bst {
template <class T>
class Tree {
public:
Tree();
Tree(std::initializer_list<T> list);
template <template <class...> class Container>
explicit Tree(const Container<T>& vals);
Tree(const Tree& other);
Tree(Tree&&) noexcept = default;
~Tree... | 25.837209 | 57 | 0.661566 | rxnew |
617dfca3d69cf833fca2c3e8e06e97d787a0e937 | 1,786 | cpp | C++ | nnapi/neuralnetworks/1.2/ABurstCallback.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | nnapi/neuralnetworks/1.2/ABurstCallback.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | nnapi/neuralnetworks/1.2/ABurstCallback.cpp | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2020 The Chromium OS 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 is the boilerplate implementation of the IAllocator HAL interface,
// generated by the hidl-gen tool and then modified for use on Chrome OS.
//... | 38 | 80 | 0.733483 | strassek |
61804e3e6b38cfb45b10d3a70fb10cc4301015e6 | 1,600 | cpp | C++ | cli/sender/sender_utils.cpp | microsoft/APSI | 39b45ceff89ca07d0e9481fac894252765989fcc | [
"MIT"
] | 72 | 2021-05-04T11:25:58.000Z | 2022-03-31T07:32:57.000Z | cli/sender/sender_utils.cpp | microsoft/APSI | 39b45ceff89ca07d0e9481fac894252765989fcc | [
"MIT"
] | 16 | 2021-05-06T07:58:34.000Z | 2022-03-28T22:54:51.000Z | cli/sender/sender_utils.cpp | microsoft/APSI | 39b45ceff89ca07d0e9481fac894252765989fcc | [
"MIT"
] | 13 | 2021-05-04T06:44:40.000Z | 2022-03-16T03:12:54.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// STD
#include <fstream>
#include <utility>
#include <vector>
// APSI
#include "apsi/log.h"
#include "common/common_utils.h"
#include "sender/sender_utils.h"
// SEAL
#include "seal/modulus.h"
using namespace std;
using ... | 26.229508 | 94 | 0.60375 | microsoft |
6180cbdaf064eba47393b07bd80fee5acd26bdb0 | 14,224 | cpp | C++ | lib/io.cpp | codemonkey85/LibPKMN | 96a1800a24bf3861da405cf56daa2d7afd6c850d | [
"MIT"
] | null | null | null | lib/io.cpp | codemonkey85/LibPKMN | 96a1800a24bf3861da405cf56daa2d7afd6c850d | [
"MIT"
] | null | null | null | lib/io.cpp | codemonkey85/LibPKMN | 96a1800a24bf3861da405cf56daa2d7afd6c850d | [
"MIT"
] | 1 | 2019-07-08T20:43:57.000Z | 2019-07-08T20:43:57.000Z | /*
* Copyright (c) 2013-2014 Nicholas Corgan (n.corgan@gmail.com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#include <cstdint>
#include <fstream>
#include <cstring>
#include <boost/format.hpp>
#include <pkmn/enums.hpp>
#inc... | 44.45 | 175 | 0.480104 | codemonkey85 |
61822a3036886bb00bbec9effe8978e5f61def1e | 19,349 | cpp | C++ | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | 19 | 2015-01-08T05:16:16.000Z | 2022-03-18T12:22:33.000Z | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | 2 | 2015-03-12T07:05:09.000Z | 2020-06-18T23:18:00.000Z | /**************************************************************************************
Copyright © 2004-2014 GoPivotal, Inc. 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... | 39.812757 | 169 | 0.63626 | affinitydb |
618589217aae6b175e1a6b8922e1fc08bd9c2676 | 1,196 | cpp | C++ | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include <memory>
class HtmlRender{
public:
HtmlRender() {}
virtual std::string rendering(){
return "";
}
virtual ~HtmlRender(){
}
};
class MainPageRender:public HtmlRender{
public:
MainPageRender(){}
virtual std::string rendering() override {
return "this is Main Page... | 15.736842 | 67 | 0.70903 | iusyu |
61870672fe3cce2b87e59d9a2cc6eeffd8a5dde3 | 558 | cpp | C++ | universal-problems/1566.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | 1 | 2020-07-19T15:37:01.000Z | 2020-07-19T15:37:01.000Z | universal-problems/1566.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | null | null | null | universal-problems/1566.cpp | Galaxies99/leetcode | 8099cf93fa1c61032449e67032eac1ea66bcc8fc | [
"MIT"
] | null | null | null | class Solution {
public:
bool containsPattern(vector<int>& arr, int m, int k) {
for (int i = 0; i < (int)arr.size() - m * k + 1; ++ i) {
bool flag = true;
for (int j = 1; j < k; ++ j) {
for (int l = 0; l < m; ++ l)
if (arr[i + l] != arr[i + l + j *... | 29.368421 | 64 | 0.340502 | Galaxies99 |
618707a12e2d07474b76c242e83463eb2e3f7a4a | 5,552 | cpp | C++ | src/app/impl/tracker/tracker_grid.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | 5 | 2018-03-28T09:14:55.000Z | 2018-04-02T11:54:33.000Z | src/app/impl/tracker/tracker_grid.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | src/app/impl/tracker/tracker_grid.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | #include "app/impl/tracker/tracker_grid.h"
#include "core/base/bean_factory.h"
#include "core/util/math.h"
namespace ark {
TrackerGrid::TrackerGrid(uint32_t dimension, const V3& cell)
: _stub(sp<Stub>::make(dimension, cell))
{
}
sp<Vec3> TrackerGrid::create(int32_t id, const sp<Vec3>& position, const sp<Vec3>& ... | 29.221053 | 123 | 0.634906 | nomadsinteractive |
618793825384fbb6864c087284a273bdc8dc8136 | 4,173 | cpp | C++ | Dependencies/Build/mac/share/faust/oscio-qt.cpp | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | 2 | 2020-10-25T09:03:03.000Z | 2021-06-24T13:20:01.000Z | Dependencies/Build/mac/share/faust/oscio-qt.cpp | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | null | null | null | Dependencies/Build/mac/share/faust/oscio-qt.cpp | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | null | null | null | /************************************************************************
IMPORTANT NOTE : this file contains two clearly delimited sections :
the ARCHITECTURE section (in two parts) and the USER section. Each section
is governed by its own copyright and license. Please check individually
each section for license a... | 33.926829 | 81 | 0.489097 | SKyzZz |
6189ba2be2ae48c556114c67be211de4b3d999af | 451 | cpp | C++ | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 5 | 2019-11-14T22:24:02.000Z | 2021-09-07T18:27:21.000Z | //
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Wed Nov 30 20:35:56 PST 2016
// Last Modified: Fri Dec 2 03:44:55 PST 2016
// Filename: autobeam.cpp
// URL: https://github.com/craigsapp/humlib/blob/master/cli/autobeam.cpp
// Syntax: C++11
// vim: ts=3... | 23.736842 | 82 | 0.651885 | johnnymac647 |
618ad9434854a8b214d96b6980918e52f3867409 | 128 | cpp | C++ | greet_ext.cpp | ab300819/py-ext | 306fd388f3bd5921436d857ff0da60fd1a9df06a | [
"Apache-2.0"
] | null | null | null | greet_ext.cpp | ab300819/py-ext | 306fd388f3bd5921436d857ff0da60fd1a9df06a | [
"Apache-2.0"
] | null | null | null | greet_ext.cpp | ab300819/py-ext | 306fd388f3bd5921436d857ff0da60fd1a9df06a | [
"Apache-2.0"
] | null | null | null | #include <boost/python.hpp>
#include "greet.h"
BOOST_PYTHON_MODULE(greet_ext) { boost::python::def("say_hello", say_hello); }
| 21.333333 | 78 | 0.734375 | ab300819 |
618d7fa91ff0e45fca17b1554d3f3a84b2458953 | 679 | cpp | C++ | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | 1 | 2020-12-15T20:25:21.000Z | 2020-12-15T20:25:21.000Z | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | null | null | null | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <chrono>
using namespace std;
int n;
bool is_prime(long long n)
{
if (n == 1)
{
return false;
}
if (n == 2)
{
return true;
}
for (int i = 2; i <= sqrt(n) + 1; i++)
{
if (n % i == 0)
{
return false;
... | 14.76087 | 42 | 0.396171 | chenhongqiao |
618dcad59a8388f2bcf7ef691a5aec1fcebb18eb | 7,032 | cpp | C++ | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 29.178423 | 151 | 0.713311 | bobzabcik |
6190b65052ee23e0c319f5a0525ba42395867263 | 47,430 | cpp | C++ | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Base class for all map projections.
//
//*******************************************************************
// $Id: ossimMapProjection.cpp 23418 ... | 32.823529 | 134 | 0.643496 | eleaver |
6191e0391e29c5328daecd47f087f142d541cf26 | 2,725 | cpp | C++ | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | magrawal128/ngraph | ca911487d1eadfe6ec66dbe3da6f05cee3645b24 | [
"Apache-2.0"
] | 1 | 2019-12-27T05:47:23.000Z | 2019-12-27T05:47:23.000Z | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 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://w... | 34.935897 | 99 | 0.507523 | magrawal128 |
6192705d3a896a7240b7921148ce1a46d505c305 | 36,460 | cpp | C++ | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | #include "game/state/shared/agent.h"
#include "framework/framework.h"
#include "game/state/battle/ai/aitype.h"
#include "game/state/battle/battleunit.h"
#include "game/state/city/agentmission.h"
#include "game/state/city/base.h"
#include "game/state/city/building.h"
#include "game/state/city/city.h"
#include "game/stat... | 25.98717 | 100 | 0.661574 | Skin36 |
61937fefa9ed7636fa0c3e9635aea96e1226dbc4 | 3,805 | cpp | C++ | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | 1 | 2020-03-19T08:10:23.000Z | 2020-03-19T08:10:23.000Z | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | null | null | null | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// Copyright Christopher Kormanyos 2007 - 2015.
// 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 <array>
#include <c... | 34.590909 | 122 | 0.639947 | dustex |
61946fd077293e6fe88434b89593f36220e38b21 | 6,632 | cc | C++ | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | 1 | 2020-09-11T05:22:19.000Z | 2020-09-11T05:22:19.000Z | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | null | null | null | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | null | null | null | #include <string>
#include <tuple>
#include "armadillo"
#include "ba.h"
#include "ceres/ceres.h"
#include "google_suite.h"
#include "io.h"
#include "matlab_port.h"
#include "opencv2/opencv.hpp"
#include "pcl/visualization/pcl_plotter.h"
#include "transform.h"
int main(int /*argc*/, char** argv) {
google::InitGoogle... | 42.787097 | 80 | 0.680036 | niebayes |
61978f211a481bb80b61877035dfd6543fce522f | 833 | cpp | C++ | main.cpp | dridk/abif | e64b4733e24fcd725b0a71741e98dfb2e00fc1a5 | [
"MIT"
] | 6 | 2018-06-14T08:57:35.000Z | 2021-05-29T08:14:22.000Z | main.cpp | dridk/abif | e64b4733e24fcd725b0a71741e98dfb2e00fc1a5 | [
"MIT"
] | 1 | 2020-07-08T10:23:36.000Z | 2020-07-14T15:40:49.000Z | main.cpp | dridk/abif | e64b4733e24fcd725b0a71741e98dfb2e00fc1a5 | [
"MIT"
] | 2 | 2021-04-19T02:17:52.000Z | 2021-09-17T08:40:53.000Z | #include <iostream>
#include <fstream>
#include <byteswap.h>
#include <tclap/CmdLine.h>
#include "abif.h"
using namespace std;
int main(int argc, char** argv)
{
TCLAP::CmdLine cmd("ABIF reader", ' ', "0.1");
TCLAP::SwitchArg listArg("l","list","list all keys");
TCLAP::ValueArg<std::string> keyArg("k","key... | 20.317073 | 97 | 0.615846 | dridk |
619a86c1a826c23163839263effed7e5d1e60f40 | 3,693 | cpp | C++ | my_plugins/youcompleteme/third_party/ycmd/cpp/ycm/tests/TestUtils.cpp | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | my_plugins/youcompleteme/third_party/ycmd/cpp/ycm/tests/TestUtils.cpp | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | my_plugins/youcompleteme/third_party/ycmd/cpp/ycm/tests/TestUtils.cpp | VirtualLG/vimrc | 33f961b0e465b852753479bc4aa0a32a6ff017cf | [
"MIT"
] | null | null | null | // Copyright (C) 2011-2018 ycmd contributors
//
// This file is part of ycmd.
//
// ycmd is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later vers... | 31.564103 | 80 | 0.637422 | VirtualLG |
619aa313631f19a0064a2374ce4265254c46d50a | 35,016 | cpp | C++ | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:36:42.000Z | 2022-02-28T21:36:42.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... | 54.120556 | 259 | 0.804889 | perfectrecall |
619cc1d171ec873a1308e42f2a1ae93a8d8c82ad | 10,763 | cpp | C++ | intern/cycles/device/device_denoising.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | 2 | 2018-06-18T01:50:25.000Z | 2018-06-18T01:50:32.000Z | intern/cycles/device/device_denoising.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | intern/cycles/device/device_denoising.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | /*
* Copyright 2011-2017 Blender Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 46.193133 | 139 | 0.737341 | 1-MillionParanoidTterabytes |
619d8b0c7ba4d8ea9778dc49055f6d2775c0da67 | 358 | cpp | C++ | clang/test/CodeGenCXX/block.cpp | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 36 | 2015-01-13T19:34:04.000Z | 2022-03-07T22:22:15.000Z | clang/test/CodeGenCXX/block.cpp | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 7 | 2015-10-20T19:05:01.000Z | 2021-11-13T14:55:47.000Z | clang/test/CodeGenCXX/block.cpp | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 18 | 2015-04-23T20:59:52.000Z | 2021-11-18T20:06:39.000Z | // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks
// Just test that this doesn't crash the compiler...
void func(void*);
struct Test
{
virtual void use() { func((void*)this); }
Test(Test&c) { func((void*)this); }
Test() { func((void*)this); }
};
void useBlock(void (^)(void));
int main (void) {
__block Test t;... | 17.9 | 52 | 0.589385 | clairechingching |
619dc2d7a465539280ce70ca19acfb2c51194ad7 | 624 | cpp | C++ | Greedy/Maximum Number of Non-Overlapping Subarrays With Sum Equals Target/main.cpp | pratikj697/hacktoberfest-competitiveprogramming | 3b392edf61d2bd284bd5714af72abd76ff049340 | [
"MIT"
] | 22 | 2021-10-02T13:18:58.000Z | 2021-10-13T18:27:06.000Z | Greedy/Maximum Number of Non-Overlapping Subarrays With Sum Equals Target/main.cpp | pratikj697/hacktoberfest-competitiveprogramming | 3b392edf61d2bd284bd5714af72abd76ff049340 | [
"MIT"
] | 96 | 2021-10-02T14:14:43.000Z | 2021-10-09T06:17:33.000Z | Greedy/Maximum Number of Non-Overlapping Subarrays With Sum Equals Target/main.cpp | pratikj697/hacktoberfest-competitiveprogramming | 3b392edf61d2bd284bd5714af72abd76ff049340 | [
"MIT"
] | 112 | 2021-10-02T14:57:15.000Z | 2021-10-15T05:45:30.000Z | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int maxNonOverlapping(vector<int>& nums, int target) {
int ans = 0, psum = 0;
unordered_set<int> s;
s.emplace(0);
for (int i = 0; i < nums.size(); i++) {
psum += nums[i];
... | 21.517241 | 58 | 0.474359 | pratikj697 |
619e7ff1a82ee7d4aea38fd616220d1998ff658f | 6,001 | cpp | C++ | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2008-2010
* Nakata, Maho
* All rights reserved.
*
* $Id: Rlanv2.cpp,v 1.5 2010/08/07 04:48:32 nakatamaho Exp $
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributi... | 30.005 | 125 | 0.61873 | JaegerP |
619eb40613bab64dde4318ed75324f67467526a6 | 4,207 | hpp | C++ | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1 | 2022-03-26T21:08:19.000Z | 2022-03-26T21:08:19.000Z | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// \file Area.hpp
///
///
/// Authors: Chris Peters, Ryan Edgemon
/// Copyright 2010-2012, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
na... | 31.631579 | 117 | 0.672688 | jodavis42 |
61a272f8294c476bc42e37598479bc98d345dbbc | 83,468 | cpp | C++ | B2G/gecko/gfx/angle/src/libGLESv2/ProgramBinary.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/gfx/angle/src/libGLESv2/ProgramBinary.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/gfx/angle/src/libGLESv2/ProgramBinary.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | //
// Copyright (c) 2002-2012 The ANGLE 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.
//
// Program.cpp: Implements the gl::Program class. Implements GL program objects
// and related functionality. [OpenGL ES 2.0.24] secti... | 29.992095 | 164 | 0.563785 | wilebeast |
61a31dbf3413f91075e1ed69c843ac798dc4a05b | 7,743 | cpp | C++ | dp/third-party/hyperscan/src/nfagraph/ng_literal_decorated.cpp | jtravee/neuvector | a88b9363108fc5c412be3007c3d4fb700d18decc | [
"Apache-2.0"
] | 2,868 | 2017-10-26T02:25:23.000Z | 2022-03-31T23:24:16.000Z | src/nfagraph/ng_literal_decorated.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 270 | 2017-10-30T19:53:54.000Z | 2022-03-30T22:03:17.000Z | src/nfagraph/ng_literal_decorated.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 403 | 2017-11-02T01:18:22.000Z | 2022-03-14T08:46:20.000Z | /*
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 30.604743 | 79 | 0.593827 | jtravee |
61a3581908dc7c3e62da0690805946d31bbf60f5 | 8,530 | cpp | C++ | librtt/Rtt_LuaAssert.cpp | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | librtt/Rtt_LuaAssert.cpp | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | librtt/Rtt_LuaAssert.cpp | pouwelsjochem/corona | 86ffe9002e42721b4bb2c386024111d995e7b27c | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | 26.823899 | 88 | 0.607503 | pouwelsjochem |
61a5ef5b7dd9f29cf78974ecd0eb92159a3ebf48 | 10,054 | cpp | C++ | android/android_9/frameworks/native/cmds/dumpstate/tests/dumpstate_smoke_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/native/cmds/dumpstate/tests/dumpstate_smoke_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/native/cmds/dumpstate/tests/dumpstate_smoke_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 35.031359 | 99 | 0.68699 | yakuizhao |
61a655cfac46edd7e842df0c88a2425c73b40fa9 | 5,753 | hxx | C++ | main/toolkit/inc/toolkit/controls/formattedcontrol.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/toolkit/inc/toolkit/controls/formattedcontrol.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/toolkit/inc/toolkit/controls/formattedcontrol.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 45.299213 | 385 | 0.596732 | Grosskopf |
61a75c9675296f52a1a202903f455be932af1de4 | 573 | cpp | C++ | LeetCode/Weekly/5234. Find Resultant Array After Removing Anagrams.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | 1 | 2019-11-12T13:40:44.000Z | 2019-11-12T13:40:44.000Z | LeetCode/Weekly/5234. Find Resultant Array After Removing Anagrams.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | LeetCode/Weekly/5234. Find Resultant Array After Removing Anagrams.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<string> removeAnagrams(vector<string>& words) {
// for(int i=0;i<words.size();i++){
// sort(words[i].begin(), words[i].end());
// }
int i = 1;
while(i<words.size()){
string x = words[i];
s... | 22.92 | 58 | 0.385689 | Sowmik23 |
61a8621d438416d59972d85f3ea28a4aa49a1256 | 2,282 | cpp | C++ | Silence.Core/Text2D.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null | Silence.Core/Text2D.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | 4 | 2016-07-15T21:23:08.000Z | 2016-08-28T21:40:16.000Z | Silence.Core/Text2D.cpp | wt-student-projects/games-technology-project | 70790e26f087fd401b0211a59b7c2beaef9546c9 | [
"Apache-2.0"
] | null | null | null |
#include "Text2D.h"
Text2D::Text2D() :
transfer(nullptr),
texture(nullptr),
height(0),
width(0)
{
}
Text2D::~Text2D()
{
SAFE_RELEASE(transfer);
SAFE_RELEASE(texture);
}
void Text2D::setFont(FontAsset * asset, const char * text)
{
if (asset != nullptr)
{
asset->setText(text... | 21.327103 | 76 | 0.516214 | wt-student-projects |
61ab36d37158b290bbea78c514850c770d63357b | 21,452 | cc | C++ | chrome/browser/notifications/platform_notification_service_impl.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/notifications/platform_notification_service_impl.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/notifications/platform_notification_service_impl.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/notifications/platform_notification_service_impl.h"
#include <utility>
#include <vector>
#include "base/command_line.h"
#includ... | 39.145985 | 80 | 0.760255 | Wzzzx |
61aba2584adebad82c3c521bb1a922940e583a23 | 9,585 | cpp | C++ | source/compilation/builtins/MathFuncs.cpp | masc-ucsc/slang | 344f4b415d03ef4dc5b9cfcd3a9fcffdf44d5e8a | [
"MIT"
] | 240 | 2017-02-03T22:29:12.000Z | 2022-03-31T08:22:04.000Z | source/compilation/builtins/MathFuncs.cpp | masc-ucsc/slang | 344f4b415d03ef4dc5b9cfcd3a9fcffdf44d5e8a | [
"MIT"
] | 412 | 2017-02-04T04:57:18.000Z | 2022-03-29T23:30:30.000Z | source/compilation/builtins/MathFuncs.cpp | masc-ucsc/slang | 344f4b415d03ef4dc5b9cfcd3a9fcffdf44d5e8a | [
"MIT"
] | 51 | 2017-02-19T23:57:30.000Z | 2022-03-02T13:55:00.000Z | //------------------------------------------------------------------------------
// MathFuncs.cpp
// Built-in math system functions
//
// File is under the MIT license; see LICENSE for details
//------------------------------------------------------------------------------
#include "slang/binding/SystemSubroutine.h"
#i... | 33.869258 | 96 | 0.575378 | masc-ucsc |
61ae4327ae34850ccf63df9488da790eab8bcf46 | 5,263 | cpp | C++ | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 4 | 2017-08-25T19:34:11.000Z | 2022-02-16T14:35:43.000Z | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 2 | 2016-07-25T17:32:23.000Z | 2021-05-25T14:05:13.000Z | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 6 | 2015-05-18T18:55:05.000Z | 2021-11-18T19:29:08.000Z | // Copyright 2014 Hottinger Baldwin Messtechnik
// Distributed under MIT license
// See file LICENSE provided
#include <iostream>
#include <string>
#include <signal.h>
#include <unordered_map>
#include <cmath>
#include <json/writer.h>
#include <json/value.h>
#include "streamclient/streamclient.h"
#include "streamcli... | 35.322148 | 135 | 0.711001 | mloy |
61aed068b89fa7d92561892522e8eca9f87c90db | 2,804 | cpp | C++ | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | /*-------------------------------------------------------------------------
This source file is a part of m8rscript
For the latest info, see http:www.marrin.org/
Copyright (c) 2018-2019, Chris Marrin
All rights reserved.
Use of this source code is governed by the MIT license that can be
found in... | 31.155556 | 99 | 0.628388 | cmarrin |
61af7799977d5ffdbd5bdd255d06b757173746a5 | 13,057 | hpp | C++ | source/code/utilities/types/vectors/transformers/lib.hpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 1 | 2019-01-06T08:45:46.000Z | 2019-01-06T08:45:46.000Z | source/code/utilities/types/vectors/transformers/lib.hpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 264 | 2015-11-30T08:34:00.000Z | 2018-06-26T02:28:41.000Z | source/code/utilities/types/vectors/transformers/lib.hpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>
#include <random>
#include <set>
#include "code/utilities/types/strings/transformers/casing/lib.hpp"
#include "code/utilities/data_structures/index_mode.hpp"
#include "code/utilities/data_structures/index/moded_index.hpp"
#include... | 28.446623 | 128 | 0.647852 | luxe |
61afee0168a286e2fabed63102035aea17224745 | 2,472 | cpp | C++ | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | /* XBuzzer.cpp
*
* Copyright (C) 2017-2022 Shanghai Mylecon Electronic Technology Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at you... | 19.3125 | 75 | 0.663835 | 7thTool |
61b04792f624f429602c4b87bd6d58e0a9af13ca | 2,977 | hpp | C++ | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | #ifndef GUARD_DPSG_COMPOSITE_HPP
#define GUARD_DPSG_COMPOSITE_HPP
#include <type_traits>
#include "./fold.hpp"
#include "./traverse.hpp"
namespace dpsg {
template <class... Args>
struct composite {
constexpr composite() noexcept {}
template <
class... Args2,
std::enable_if_t<
std::conjuncti... | 29.77 | 80 | 0.520994 | de-passage |
61b0a0445bab372d7975f16a01c275c463def660 | 13,204 | cpp | C++ | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | #include "pch.h"
#include "TestGraphicsPipeline.h"
namespace test
{
TestGraphicsPipeline::TestGraphicsPipeline(VulkanCore* core)
{
Test::Init(core);
glfwSetWindowTitle(static_cast<GLFWwindow*>(Window::GetWindow()), "TestGraphicsPipeline");
float right = m_Core->swapchain.extent.width / 200.0f;
float top = m... | 38.721408 | 158 | 0.77628 | ilkeraktug |
61b0b4e771760acb182c38aa4c3e1487b9dc399c | 12,768 | cpp | C++ | recording/src/usb_cam/nodes/usb_cam_node.cpp | sbrodeur/CREATE-dataset | 473e0555e81516139b6e70362ca0025af100158b | [
"BSD-3-Clause"
] | 4 | 2016-09-22T18:28:21.000Z | 2019-05-21T11:07:06.000Z | recording/src/usb_cam/nodes/usb_cam_node.cpp | sbrodeur/CREATE-dataset | 473e0555e81516139b6e70362ca0025af100158b | [
"BSD-3-Clause"
] | 40 | 2016-09-08T20:08:19.000Z | 2016-12-22T17:38:55.000Z | recording/src/usb_cam/nodes/usb_cam_node.cpp | sbrodeur/CREATE-dataset | 473e0555e81516139b6e70362ca0025af100158b | [
"BSD-3-Clause"
] | 2 | 2016-12-28T08:22:00.000Z | 2021-03-04T17:06:45.000Z | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Robert Bosch LLC.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 36.795389 | 2,135 | 0.700266 | sbrodeur |
61b0e9d3dd5b072e9decfba1143c5d4b9c9b8f33 | 3,056 | cpp | C++ | blades/xbmc/xbmc/utils/XSLTUtils.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/utils/XSLTUtils.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/utils/XSLTUtils.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* Copyright (C) 2005-2013 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
... | 25.256198 | 102 | 0.713678 | krattai |
61b0f2e43b3aab1d2cf090fb932a1b473a64de14 | 4,348 | cc | C++ | third_party/blink/renderer/platform/heap/gc_info.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/heap/gc_info.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/heap/gc_info.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/heap/gc_info.h"
#include "base/allocator/partition_allocator/page_allocator.h"
#include "base/bits.h"
#incl... | 34.784 | 80 | 0.74494 | sarang-apps |
ba07e237bdc1645b33b7729ac0032c2c33ec3b2b | 3,593 | cpp | C++ | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | null | null | null | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | null | null | null | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | 1 | 2020-12-13T14:58:44.000Z | 2020-12-13T14:58:44.000Z | #include <tinyfsm.hpp>
#include "elevator.hpp"
#include "fsmlist.hpp"
#include "uart.h"
class Idle; // forward declaration
// ----------------------------------------------------------------------------
// Transition functions
//
static void CallMaintenance() {
brand.data = (uint8_t *)"*** calling maintenance ***... | 20.531429 | 79 | 0.550515 | ab1aw |
ba09123bc1b306dc12617c6c4571342407d97fb0 | 10,248 | cc | C++ | bench/qu8-vaddc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | bench/qu8-vaddc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | bench/qu8-vaddc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <cmath>
#include <functional>
#include <random>
#include <vector>
#include <benchmark/benchmark.h>
#include "bench/utils.h"
... | 44.172414 | 118 | 0.697697 | mcx |
ba093a884d374251fff14944aaa3654721f98eac | 55,512 | cpp | C++ | microCluster/adc.cpp | zakimjz/TriCluster | 8c30203e1491bb6b0b3d28889e172575aacb9993 | [
"Apache-2.0"
] | null | null | null | microCluster/adc.cpp | zakimjz/TriCluster | 8c30203e1491bb6b0b3d28889e172575aacb9993 | [
"Apache-2.0"
] | null | null | null | microCluster/adc.cpp | zakimjz/TriCluster | 8c30203e1491bb6b0b3d28889e172575aacb9993 | [
"Apache-2.0"
] | null | null | null | #include <math.h>
#include <cstdlib>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <algorithm>
#include <set>
#include <vector>
#include <map>
#include "timeutil.h"
using namespace std;
char... | 49.431879 | 197 | 0.242848 | zakimjz |
ba0978372cfea3054b3b80fefb47b6c1ee423e96 | 4,292 | cpp | C++ | samples/SynchroTests/RecursiveMutexTester.cpp | biojppm/turf | 9ae0d4b984fa95ed5f823274b39c87ee742f6650 | [
"BSD-2-Clause"
] | 565 | 2016-02-01T14:05:20.000Z | 2022-03-30T22:52:15.000Z | samples/SynchroTests/RecursiveMutexTester.cpp | biojppm/turf | 9ae0d4b984fa95ed5f823274b39c87ee742f6650 | [
"BSD-2-Clause"
] | 10 | 2016-02-01T22:28:05.000Z | 2020-11-26T15:42:01.000Z | samples/SynchroTests/RecursiveMutexTester.cpp | biojppm/turf | 9ae0d4b984fa95ed5f823274b39c87ee742f6650 | [
"BSD-2-Clause"
] | 90 | 2016-02-01T19:45:36.000Z | 2022-03-17T02:41:38.000Z | /*------------------------------------------------------------------------
Turf: Configurable C++ platform adapter
Copyright (c) 2016 Jeff Preshing
Distributed under the Simplified BSD License.
Original location: https://github.com/preshing/turf
This software is distributed WITHOUT ANY WARRANTY; without eve... | 31.101449 | 104 | 0.532386 | biojppm |
ba0e8299aabb21f8e67fdccc15e8dac41d3fe644 | 9,661 | cc | C++ | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 63 | 2016-07-08T13:35:27.000Z | 2021-01-13T18:37:13.000Z | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 4 | 2017-08-04T09:25:10.000Z | 2022-02-24T15:38:52.000Z | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 30 | 2016-05-11T02:24:46.000Z | 2021-11-12T14:06:20.000Z | /*
* Copyright 2016 Alexander Richard
*
* This file is part of Squirrel.
*
* Licensed under the Academic Free License 3.0 (the "License").
* You may not use this file except in compliance with the License.
* You should have received a copy of the License along with Squirrel.
* If not, see <https://opensource.or... | 29.364742 | 145 | 0.661629 | alexanderrichard |
ba12898f31ff9cb6c18998655bd92ea83de02974 | 3,901 | cc | C++ | base/threading/thread_local_unittest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-02-20T14:25:04.000Z | 2019-12-13T13:58:28.000Z | base/threading/thread_local_unittest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | base/threading/thread_local_unittest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2010 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/logging.h"
#include "base/threading/simple_thread.h"
#include "base/threading/thread_local.h"
#include "base/synchronization/waitable_e... | 23.786585 | 79 | 0.700846 | SlimKatLegacy |
ba182fb1825e331b9add4e29799607bddeea8f54 | 355 | cpp | C++ | tests/reverse_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | tests/reverse_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | tests/reverse_test.cpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <numeric>
#include <set>
#include <mtao/iterator/reverse.hpp>
using namespace mtao::iterator;
int main() {
std::vector<int> a(30);
std::iota(a.begin(),a.end(),0);
for(auto&& v: reverse(a)) {
std::cout << v <<... | 16.136364 | 36 | 0.608451 | mtao |
ba1915ccd2696aec16c83a1a659486da1ce63384 | 22,322 | cpp | C++ | earth_enterprise/src/fusion/gst/gstGeoIndex.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 2,661 | 2017-03-20T22:12:50.000Z | 2022-03-30T09:43:19.000Z | earth_enterprise/src/fusion/gst/gstGeoIndex.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 1,531 | 2017-03-24T17:20:32.000Z | 2022-03-16T18:11:14.000Z | earth_enterprise/src/fusion/gst/gstGeoIndex.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 990 | 2017-03-24T11:54:28.000Z | 2022-03-22T11:51:47.000Z | // Copyright 2017 Google Inc.
// Copyright 2020 The Open GEE Contributors
//
// 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
//
// Unles... | 37.898132 | 88 | 0.641609 | tornado12345 |
ba19174c9228d52be80e77f5d951e96f92245e0f | 3,129 | cpp | C++ | cpp_models/libsrc/RLLib/util/TreeFitted/rtLeaf.cpp | akangasr/sdirl | b8b2bf34fea1b1f0c2f9961a9ad9c1ad34396f5b | [
"MIT"
] | null | null | null | cpp_models/libsrc/RLLib/util/TreeFitted/rtLeaf.cpp | akangasr/sdirl | b8b2bf34fea1b1f0c2f9961a9ad9c1ad34396f5b | [
"MIT"
] | null | null | null | cpp_models/libsrc/RLLib/util/TreeFitted/rtLeaf.cpp | akangasr/sdirl | b8b2bf34fea1b1f0c2f9961a9ad9c1ad34396f5b | [
"MIT"
] | null | null | null | /**************************************************************************
* File: rtnode.h *
* Description: Basic classes for Tree based algorithms *
* Copyright (C) 2007 by Walter Corno & Daniele Dell'Aglio *
************... | 31.29 | 78 | 0.489613 | akangasr |
ba1d8272d8d1e412c8adf2f05a108676b0d219ab | 1,913 | cpp | C++ | src/map/ai/states/trigger_state.cpp | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 6 | 2021-06-01T04:17:10.000Z | 2021-06-01T04:32:21.000Z | src/map/ai/states/trigger_state.cpp | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 4 | 2020-04-24T18:01:31.000Z | 2020-04-27T21:20:03.000Z | src/map/ai/states/trigger_state.cpp | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 1 | 2020-05-28T21:35:05.000Z | 2020-05-28T21:35:05.000Z | /*
===========================================================================
Copyright (c) 2010-2015 Darkstar Dev Teams
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the Lic... | 26.569444 | 113 | 0.611605 | PaulAnthonyReitz |
ba1da601349c51a281e4c132ee1f93cd47ce1b78 | 9,150 | cpp | C++ | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | 39.956332 | 119 | 0.510055 | lij0511 |
ba1df1adafc5de0b43c0c9a28dd85d9ee750e267 | 894 | cpp | C++ | Source/OpenTournament/Slate/UR_ColorSpectrum.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 97 | 2020-05-24T23:09:26.000Z | 2022-01-22T13:35:58.000Z | Source/OpenTournament/Slate/UR_ColorSpectrum.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 165 | 2020-05-26T02:42:54.000Z | 2022-03-29T11:01:11.000Z | Source/OpenTournament/Slate/UR_ColorSpectrum.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 78 | 2020-05-24T23:10:29.000Z | 2022-03-14T13:54:09.000Z | // Copyright (c) 2019-2020 Open Tournament Project, All Rights Reserved.
/////////////////////////////////////////////////////////////////////////////////////////////////
#include "UR_ColorSpectrum.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/Colors/SColorSpectrum.h"
///////////////////... | 42.571429 | 102 | 0.634228 | HAARP-art |
ba1e5eeee7f9103966150d05258b6d23b6aa8206 | 8,553 | cpp | C++ | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | #include "../include/Being.h"
void Intro()
{
Weapon StarterWeapon;
Being Hadgar("Hadgar", "Commander", "NPC", 10, 80, 15, 25, 8, 15, 100, 500);
Player hero("Farmer John", "Peasant", 15, 0, 0, 0, 0, 5);
Clear(&hero);
Paragraph(&hero, "You have been trekking through an arid desert for days, searching for the rumor... | 57.402685 | 320 | 0.698468 | TheCyberMonk |
ba20f17736135288bf25aaaf0000efd316f08b25 | 2,286 | cpp | C++ | src/tools/SceneLoader/SampleComponents/Rotator.cpp | elix22/urho3d-blender-runtime | 9c495cb9f1c64e2d904085212bcf59b25e557d76 | [
"MIT"
] | 2 | 2020-12-08T06:06:14.000Z | 2021-02-14T07:07:14.000Z | src/tools/SceneLoader/SampleComponents/Rotator.cpp | elix22/urho3d-blender-runtime | 9c495cb9f1c64e2d904085212bcf59b25e557d76 | [
"MIT"
] | 1 | 2019-06-20T18:20:44.000Z | 2019-06-20T18:20:44.000Z | src/tools/SceneLoader/SampleComponents/Rotator.cpp | elix22/urho3d-blender-runtime | 9c495cb9f1c64e2d904085212bcf59b25e557d76 | [
"MIT"
] | 3 | 2019-06-30T16:15:37.000Z | 2019-07-12T20:55:41.000Z | //
// Copyright (c) 2008-2019 the Urho3D project.
//
// 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, mod... | 38.745763 | 124 | 0.730534 | elix22 |
ba21becb6ad3a280b98362166f360fc852755dd3 | 4,590 | cpp | C++ | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | /*
===============================================================================
Copyright (C) 2019 d&b audiotechnik GmbH & Co. KG. All Rights Reserved.
This file is part of RemoteProtocolBridge.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | 34.772727 | 186 | 0.726797 | dbaudio-soundscape |
ba22b6778ec9e6f7b5c30820a081e0696c16a7c2 | 1,907 | cc | C++ | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | #include <internal/facts/posix/identity_resolver.hpp>
#include <leatherman/logging/logging.hpp>
#include <sys/types.h>
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
using namespace std;
namespace facter { namespace facts { namespace posix {
identity_resolver::data identity_resolver::collect_data(collecti... | 28.893939 | 80 | 0.563188 | hkenney |
ba23ab00ac0f89bcc80affc5dc61265de02c73ac | 602 | cpp | C++ | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | 1 | 2015-04-13T10:58:30.000Z | 2015-04-13T10:58:30.000Z | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unordered_map>
using namespace std;
class Solution {
public:
int countPrimes(int n) {
int *m = new int[n];
for(int i = 0; i < n; i++) m[i] = 0;
int res = 0;
int i = 2;
while(1) {
for(; m[i] == 1 && i < n; i++);
cout<<i<<... | 18.242424 | 44 | 0.390365 | Crayzero |
ba269c4b8589c258115b5b470f432c614a11e178 | 2,749 | cpp | C++ | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | // Copyright (c) 2014 Ben Kelley.
//
// MIT License http://opensource.org/licenses/MIT
#include "WeatherData.h"
WeatherData::WeatherData() {
int loop;
for(loop = 0; loop < MAX_DATA_FIELDS; loop++) {
key[loop] = -1;
value[loop] = 0;
dataIsSet[loop] = false;
multiplier[loop] = 1;... | 24.544643 | 76 | 0.524918 | eb3nezer |
ba27650ab2356c5a89808861b1650ac09c61f3a1 | 1,450 | cpp | C++ | Source/modules/credentialmanager/Credential.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | Source/modules/credentialmanager/Credential.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | Source/modules/credentialmanager/Credential.cpp | prepare/Blink_only_permissive_lic_files | 8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "modules/credentialmanager/Credential.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
n... | 27.884615 | 122 | 0.728966 | prepare |
ba2b36aba42288ce43537cffa23f8a5ee7e3a024 | 435 | cpp | C++ | cpp_lib/src/cpp_lib.cpp | hoelzl/cpp_binding_example | a00b9aee81998095f4d944dae58260e0062a7a9e | [
"MIT"
] | null | null | null | cpp_lib/src/cpp_lib.cpp | hoelzl/cpp_binding_example | a00b9aee81998095f4d944dae58260e0062a7a9e | [
"MIT"
] | null | null | null | cpp_lib/src/cpp_lib.cpp | hoelzl/cpp_binding_example | a00b9aee81998095f4d944dae58260e0062a7a9e | [
"MIT"
] | null | null | null | #include "cpp_lib.hpp"
#include <iostream>
int add1_with_c_interface(int arg) { return arg + 1; }
namespace bex {
void print_cpp_binding_example_info()
{
std::cout << "Project Info\n\n";
std::cout << " name: cpp_binding_example\n";
std::cout << " namespace: bex\n";
}
std::string MyClass::get_nam... | 22.894737 | 74 | 0.657471 | hoelzl |
ba2b522c7c7cb88fb266449d00674235d8241e3e | 1,833 | cpp | C++ | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | 10 | 2021-08-16T04:22:53.000Z | 2022-02-14T01:22:23.000Z | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | null | null | null | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | 4 | 2021-08-20T00:03:16.000Z | 2022-02-04T10:29:53.000Z | #include <include/aml.h>
#include <ARMPatch.h>
#include <include/modslist.h>
extern char g_szAppName[0xFF];
extern char g_szCfgPath[0xFF];
extern char g_szAndroidDataDir[0xFF];
extern const char* g_szDataDir;
const char* AML::GetCurrentGame()
{
return g_szAppName;
}
const char* AML::GetConfigPath()
{
return g... | 19.09375 | 69 | 0.71413 | RusJJ |
ba2c5d62cce6403a906aa3785e4a28cc546fb9d4 | 11,175 | cpp | C++ | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | null | null | null | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | null | null | null | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | 1 | 2022-01-25T12:54:01.000Z | 2022-01-25T12:54:01.000Z | #include "main.hpp"
#include "Hooks/Hooks.hpp"
#include "GlobalFields.hpp"
#include "GlobalNamespace/MasterServerQuickPlaySetupData_QuickPlaySongPacksOverride_PredefinedPack.hpp"
#include "GlobalNamespace/MasterServerQuickPlaySetupData_QuickPlaySongPacksOverride_LocalizedCustomPack.hpp"
#include "GlobalNamespace/Maste... | 63.494318 | 258 | 0.697539 | okibcn |
ba2d367602f25e8aad14e7bb6dee1e23e4b864ae | 1,111 | hpp | C++ | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 279 | 2016-08-24T18:50:33.000Z | 2022-01-17T22:28:17.000Z | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 61 | 2016-08-23T23:26:00.000Z | 2019-04-04T22:26:26.000Z | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 44 | 2016-08-25T19:17:03.000Z | 2021-09-10T08:14:00.000Z | //
// Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco 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 NUDB_FILE_HPP
#define NUDB_FILE_HPP
#include <boost/core/ignore_unused.h... | 19.839286 | 79 | 0.693069 | movitto |
ba2ebc46b22d1c7714d09740a4a250f1fb2284a8 | 3,114 | cpp | C++ | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 113 | 2015-06-25T06:24:59.000Z | 2021-09-26T02:46:02.000Z | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 2 | 2015-05-03T07:22:49.000Z | 2017-12-11T09:17:20.000Z | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 17 | 2015-11-10T15:07:15.000Z | 2021-01-19T15:28:16.000Z | // +----------------------------------------------------------------------
// | Project : ray.
// | All rights reserved.
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017.
// +----------------------------------------------------------------------
// | * Redistributi... | 30.529412 | 81 | 0.678548 | Lauvak |
ba2ecb2eabc008d4751f6e023b7e991c1818bd1d | 32,233 | hpp | C++ | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | #ifndef GEOMETRICKS_DATA_STRUCTURE_KD_TREE_HPP
#define GEOMETRICKS_DATA_STRUCTURE_KD_TREE_HPP
//C++ stdlib includes
#include <functional>
#include <type_traits>
#include <algorithm>
#include <queue>
#include <vector>
//Project includes
#include "dimensional_traits.hpp"
#include "geometricks/meta/utils.hpp"
#include "... | 52.156958 | 238 | 0.64012 | mitthy |
ba2f84ded1865910eb68a65561049c52615cddf2 | 19,601 | cpp | C++ | src/fios.cpp | trademarks/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | 8 | 2016-10-21T09:01:43.000Z | 2021-05-31T06:32:14.000Z | src/fios.cpp | blackberry/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | null | null | null | src/fios.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... | 29.298954 | 185 | 0.69624 | trademarks |
ba2f9f2ba22a0ceff98639813067803c12bb4f6c | 2,142 | cpp | C++ | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | 5 | 2022-03-17T06:02:13.000Z | 2022-03-25T06:06:48.000Z | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | null | null | null | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | 2 | 2022-03-17T06:53:48.000Z | 2022-03-25T05:06:54.000Z | #include "GraphicsPipeline.hpp"
#include "spdlog/spdlog.h"
//
// GraphicsPipeline class:
//
GraphicsPipeline::GraphicsPipeline(GraphicsPipeline &&other) noexcept
: m_program{other.m_program}, m_vertexArray{other.m_vertexArray},
m_depthStencilState{std::move(other.m_depthStencilState)},
m_rasterizerSta... | 27.818182 | 80 | 0.729692 | skaarj1989 |
ba306e63838b3f5e22f98d026a03757494e21d1a | 4,857 | cpp | C++ | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Evolution/DgSubcell/Reconstruction.hpp"
#include <array>
#include <cstddef>
#include <functional>
#include "DataStructures/ApplyMatrices.hpp"
#include "DataStructures/DataVector.hpp"
#include "DataStructures/Matrix.hpp"
#include "Evoluti... | 44.559633 | 80 | 0.663578 | nilsvu |
ba3295fbb35e7a8dba5e617e1c1baf9ab4bf8387 | 419 | cpp | C++ | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | null | null | null | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | null | null | null | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | 1 | 2020-12-04T08:57:03.000Z | 2020-12-04T08:57:03.000Z |
#include "AxisAngle.h"
AxisAngle::AxisAngle(void): angle(0.0f)
{}
AxisAngle::AxisAngle(Vector3 _axis, float _angle): axis(_axis), angle(_angle)
{}
bool AxisAngle::operator == (const AxisAngle& _axisAngle)const
{
if(axis == _axisAngle.axis && angle == _axisAngle.angle)
{
return true;
}
return false;
}
... | 14.448276 | 77 | 0.689737 | gregory-vovchok |
ba32c8ad6b4cedc024a45d3d47a255226a6fc459 | 3,930 | cc | C++ | v8_4_8/src/crankshaft/hydrogen-store-elimination.cc | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | v8_4_8/src/crankshaft/hydrogen-store-elimination.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | v8_4_8/src/crankshaft/hydrogen-store-elimination.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2013 the V8 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.
#include "src/crankshaft/hydrogen-store-elimination.h"
#include "src/crankshaft/hydrogen-instructions.h"
namespace v8 {
namespace internal {
#define ... | 31.693548 | 80 | 0.647837 | wenfeifei |
ba3365cd7882759f3e91fcb1a6387fc7a2500054 | 6,614 | cc | C++ | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | 1 | 2021-12-01T03:10:14.000Z | 2021-12-01T03:10:14.000Z | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2017 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.180851 | 79 | 0.725431 | lishengze |
ba33ba298ce65b6a4f3825f4cb0f7c2339bd317b | 1,456 | cpp | C++ | Hooker/Driver/src/SSDT.cpp | SoftSec-KAIST/NTFuzz | f9e2beea5bfc0b562c7839cc821007bc237d6c5f | [
"MIT"
] | 25 | 2021-09-30T05:56:59.000Z | 2022-03-27T15:31:46.000Z | Hooker/Driver/src/SSDT.cpp | SoftSec-KAIST/NTFuzz | f9e2beea5bfc0b562c7839cc821007bc237d6c5f | [
"MIT"
] | 2 | 2022-01-07T02:48:29.000Z | 2022-01-24T03:20:57.000Z | Hooker/Driver/src/SSDT.cpp | SoftSec-KAIST/NTFuzz | f9e2beea5bfc0b562c7839cc821007bc237d6c5f | [
"MIT"
] | 10 | 2021-09-30T04:57:03.000Z | 2022-03-11T08:07:15.000Z | #include <ntddk.h>
#include "..\inc\SSDT.h"
#define SYSCALL_TABLE_MAXLEN 4096
PSERVICE_DESCRIPTOR pNtServiceDescriptor = NULL;
PSERVICE_DESCRIPTOR pW32ServiceDescriptor = NULL;
ULONG_PTR origNtSyscalls[SYSCALL_TABLE_MAXLEN] = { NULL, };
ULONG_PTR origW32Syscalls[SYSCALL_TABLE_MAXLEN] = { NULL, };
bool CheckTablePoi... | 28 | 78 | 0.741071 | SoftSec-KAIST |
ba37c13b3ec63bc1c4bd80a740619d8a1850f794 | 29,454 | cpp | C++ | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 34.529894 | 120 | 0.637197 | degrbg |
ba39fbb769c22c3154fd5c898e3ce060291ae26e | 1,378 | cpp | C++ | tests/llvmir2hll/optimizer/optimizers/deref_address_optimizer_tests.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | tests/llvmir2hll/optimizer/optimizers/deref_address_optimizer_tests.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | tests/llvmir2hll/optimizer/optimizers/deref_address_optimizer_tests.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file tests/llvmir2hll/optimizer/optimizers/deref_address_optimizer_tests.cpp
* @brief Tests for the @c deref_address_optimizer module.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <gtest/gtest.h>
#include "retdec/llvmir2hll/ir/empty_stmt.h"
#include "llvmir2hll/ir/tests_with... | 28.122449 | 79 | 0.766328 | mehrdad-shokri |
ba3ae8078796072527773316a06b51bcb4a4a4eb | 4,029 | cpp | C++ | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | 0xAnarz/core | 0c9310d9c9c2074782b3641a639b1e1a931f1afe | [
"Apache-2.0"
] | 928 | 2018-12-26T22:40:59.000Z | 2022-03-31T12:17:43.000Z | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | akshgpt7/core | 29dda647a2c421ad941ad12bee7111d4fa0940de | [
"Apache-2.0"
] | 132 | 2019-03-01T21:01:17.000Z | 2022-03-17T09:00:42.000Z | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | akshgpt7/core | 29dda647a2c421ad941ad12bee7111d4fa0940de | [
"Apache-2.0"
] | 112 | 2019-01-15T09:36:11.000Z | 2022-03-12T06:39:01.000Z | /*
* MetaCall Library by Parra Studios
* A library for providing a foreign function interface calls.
*
* Copyright (C) 2016 - 2021 Vicente Eduardo Ferrer Garcia <vic798@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | 25.18125 | 93 | 0.66071 | 0xAnarz |
ba3c203c872ed128aef1c0071b53448e40c8700a | 3,308 | hxx | C++ | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 17 | 2018-06-02T13:08:15.000Z | 2022-01-05T15:01:28.000Z | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 2 | 2019-03-29T11:01:47.000Z | 2021-11-21T13:45:52.000Z | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 9 | 2020-04-27T23:31:33.000Z | 2022-01-03T09:02:25.000Z | /*===========================================================================================================
*
* HUC - Hurna Core
*
* Copyright (c) Michael Jeulin-Lagarrigue
*
* Licensed under the MIT License, you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | 40.839506 | 109 | 0.635732 | michael-jeulinl |
ba4197f1be408b08539d541a39e6833018fdd6f1 | 546 | cpp | C++ | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | // OpenAL header files
#include <al.h>
#include <alc.h>
#include <list>
#include <conio.h>
#include "OVR_Platform.h"
#include "State.h"
#include "Audio.h"
Audio oAudio;
int main(int argc, char** argv) {
if (argc < 2) {
fprintf(stderr, "usage: VoIPLoopback.exe <appID>");
exit(1);
}
Audio oAudio;
//... | 17.0625 | 66 | 0.64652 | vrshiftr |
ba41d20d8af43a9e17255b43a4fa456ea5b3ad7d | 28,011 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/PropertyTreeEditor/PropertyTreeEditor.cpp | BadDevCode/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 2 | 2020-06-27T12:13:44.000Z | 2020-06-27T12:13:46.000Z | dev/Code/Framework/AzToolsFramework/AzToolsFramework/PropertyTreeEditor/PropertyTreeEditor.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/PropertyTreeEditor/PropertyTreeEditor.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 46.841137 | 249 | 0.584128 | BadDevCode |
ba4794632b65b2e7df579f667303447f8871f85b | 3,298 | cpp | C++ | modules/imgcodecs/test/test_png.cpp | zhongshenxuexi/opencv | 10ae0c4364ecf1bebf3a80f7a6570142e4da7632 | [
"BSD-3-Clause"
] | 17 | 2016-03-16T08:48:30.000Z | 2022-02-21T12:09:28.000Z | modules/imgcodecs/test/test_png.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 5 | 2017-10-15T15:44:47.000Z | 2022-02-17T11:31:32.000Z | modules/imgcodecs/test/test_png.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 25 | 2018-09-26T08:51:13.000Z | 2022-02-24T13:43:58.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "test_precomp.hpp"
namespace opencv_test { namespace {
#ifdef HAVE_PNG
TEST(Imgcodecs_Png, write_big)
{
const s... | 33.313131 | 90 | 0.673135 | zhongshenxuexi |
ba482f1d4483d0606ac1e935759d77f2f5361e6b | 735 | cpp | C++ | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | 1 | 2021-01-15T16:55:03.000Z | 2021-01-15T16:55:03.000Z | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | 24 | 2021-01-11T01:06:10.000Z | 2021-01-18T16:28:59.000Z | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | null | null | null | #include <lovely/controller/executor/executor.h>
#include <lovely/controller/updater/updater.h>
#include <lovely/model/model.h>
#include <lovely/model/tests/model/custom_model.h>
#include <catch2/catch.hpp>
using namespace lovely;
TEST_CASE("executor initialize", "[controller]")
{
const int int_ref = 42;
cu... | 21.617647 | 70 | 0.703401 | tirpidz |
ba4989f48b7b47321e178f7c4a271928ee9b8d22 | 18,641 | cpp | C++ | USAP_H37Rv/Tools/bedtools2-2.25/src/utils/BamTools/src/api/internal/bam/BamWriter_p.cpp | SANBI-SA-archive/s_bvc_pipeline | 43948b4ea5db6333633361dd91f7e7b320392fb2 | [
"Apache-2.0"
] | 29 | 2016-09-27T15:33:27.000Z | 2021-07-14T03:26:53.000Z | USAP_H37Rv/Tools/bedtools2-2.25/src/utils/BamTools/src/api/internal/bam/BamWriter_p.cpp | SANBI-SA-archive/s_bvc_pipeline | 43948b4ea5db6333633361dd91f7e7b320392fb2 | [
"Apache-2.0"
] | 15 | 2015-11-22T13:12:03.000Z | 2022-01-19T02:18:25.000Z | USAP_H37Rv/Tools/bedtools2-2.25/src/utils/BamTools/src/api/internal/bam/BamWriter_p.cpp | SANBI-SA-archive/s_bvc_pipeline | 43948b4ea5db6333633361dd91f7e7b320392fb2 | [
"Apache-2.0"
] | 9 | 2015-03-30T14:37:26.000Z | 2019-06-20T19:06:07.000Z | // ***************************************************************************
// BamWriter_p.cpp (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 25 October 2011 (DB)
// --------------------------... | 40.261339 | 105 | 0.599968 | SANBI-SA-archive |
ba4adf2027797bf0e4d61f2fd2718a7bf1ebe4ed | 2,131 | hpp | C++ | include/pstore/broker/quit.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | include/pstore/broker/quit.hpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | include/pstore/broker/quit.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- include/pstore/broker/quit.hpp ---------------------*- mode: C++ -*-===//
//* _ _ *
//* __ _ _ _(_) |_ *
//* / _` | | | | | __| *
//* | (_| | |_| | | |_ *
//* \__, |\__,_|_|\__| *
//* |_| *
//===----------------------------------------------------------------------===//
//... | 34.934426 | 97 | 0.549038 | paulhuggett |
ba4afbc9efadf6ecb9f5157515176601d8020ee4 | 617 | cpp | C++ | Sequence.cpp | izziiyt/ChIPLabel | 0df60d65e868cdc90d7febda235424fe654335fd | [
"MIT"
] | null | null | null | Sequence.cpp | izziiyt/ChIPLabel | 0df60d65e868cdc90d7febda235424fe654335fd | [
"MIT"
] | null | null | null | Sequence.cpp | izziiyt/ChIPLabel | 0df60d65e868cdc90d7febda235424fe654335fd | [
"MIT"
] | null | null | null | #ifndef SEQUENCE_CPP
#define SEQUENCE_CPP
#include "Sequence.h"
namespace hhmm{
// Sequence::Sequence(vector<uint32_t> const& _V,vector<uint32_t> _stateNum,uint32_t _dim)
// :len(_V.size()),
// testV(_V),
// param(_depth,_stateNum,_V.size(),_dim)
// {}
Sequence::Sequence(vector<VectorXld>... | 15.425 | 97 | 0.617504 | izziiyt |
ba4bde7a3155d819bd8f67e1a44c96e3764a34a8 | 15,932 | cpp | C++ | qtdeclarative/src/qml/compiler/qv4compiler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtdeclarative/src/qml/compiler/qv4compiler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtdeclarative/src/qml/compiler/qv4compiler.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commerc... | 40.030151 | 189 | 0.680831 | wgnet |
ba4c71174f9b01c43456008e2038bbd017030b20 | 821 | cpp | C++ | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/ECS-Development | c70bd6a9f681b828ded8e89bc7f4f14649edfb84 | [
"MIT"
] | 2 | 2017-01-30T23:37:42.000Z | 2017-09-08T09:32:37.000Z | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | #include "Component.h"
// Default Component Constructor
Component::Component(const ComponentType & newComponentTypeSignature, const ComponentTypeRequirement & newComponentTypeRequirementsSignature)
{
componentTypeSignature = newComponentTypeSignature;
componentTypeRequirementsSignature = newComponentTypeRequiremen... | 28.310345 | 141 | 0.830694 | AshwinKumarVijay |
ba4d500bef3d7e02b7c80d4f29b78409d5971b39 | 2,990 | cc | C++ | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | 1 | 2016-10-16T21:19:21.000Z | 2016-10-16T21:19:21.000Z | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | #include <windows.h>
#include "openGLContext.h"
#include "log.h"
namespace simpleGL {
OpenGLContext::OpenGLContext() {
println("GLEW:load");
// Set this to true so GLEW knows to use a modern approach to retrieving function pointers and extensions
glewExperimental = GL_TRUE;
// Initialize GLEW to setup the OpenGL... | 26.460177 | 117 | 0.73311 | dfyzy |
ba512dacf2ac24d4c5be3e048e6269f07459fef8 | 402 | cpp | C++ | Source/GUI/Submenus/Online.cpp | HatchesPls/GrandTheftAutoV-Cheat | f06011362a0a8297439b260a670f5091118ef5de | [
"curl",
"MIT"
] | 31 | 2021-07-13T21:24:58.000Z | 2022-03-31T13:04:38.000Z | Source/GUI/Submenus/Online.cpp | HatchesPls/GrandTheftAutoV-Cheat | f06011362a0a8297439b260a670f5091118ef5de | [
"curl",
"MIT"
] | 12 | 2021-07-28T16:53:58.000Z | 2022-03-31T22:51:03.000Z | Source/GUI/Submenus/Online.cpp | HowYouDoinMate/GrandTheftAutoV-Cheat | 1a345749fc676b7bf2c5cd4df63ed6c9b80ff377 | [
"curl",
"MIT"
] | 12 | 2020-08-16T15:57:52.000Z | 2021-06-23T13:08:53.000Z | #include "../Header/Cheat Functions/FiberMain.h"
using namespace Cheat;
void GUI::Submenus::Online()
{
GUI::Title("Online");
GUI::MenuOption("Players", Submenus::PlayerList);
GUI::MenuOption("All Players", Submenus::AllPlayers);
GUI::MenuOption("Protections", Submenus::Protections);
GUI::MenuOption("Recovery", Su... | 33.5 | 63 | 0.743781 | HatchesPls |
ba54939c6302318c34c410d020d4736bb31f63b7 | 10,392 | hpp | C++ | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 83 | 2018-04-17T22:14:24.000Z | 2022-02-25T14:05:18.000Z | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 122 | 2018-05-08T05:34:40.000Z | 2022-03-09T22:35:05.000Z | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 41 | 2018-05-24T19:12:50.000Z | 2021-11-04T16:25:48.000Z | // MIT License
//
// Copyright (c) 2017-2020 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 lim... | 32.273292 | 147 | 0.640878 | pavahora |
ba55c719bf78a2d034bd927bfcfc478b60c2e157 | 53 | cpp | C++ | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | #include <ph/math/math.hpp>
namespace ph::math
{
}
| 7.571429 | 27 | 0.660377 | phiwen96 |
ba563514cc86229b57c639bfb47af7838cf91135 | 13,603 | cc | C++ | third_party/tests/Ibex/vendor/lowrisc_ip/dv_verilator/cpp/verilator_memutil.cc | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 156 | 2019-11-16T17:29:55.000Z | 2022-01-21T05:41:13.000Z | third_party/tests/Ibex/vendor/lowrisc_ip/dv_verilator/cpp/verilator_memutil.cc | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 414 | 2021-06-11T07:22:01.000Z | 2022-03-31T22:06:14.000Z | third_party/tests/Ibex/vendor/lowrisc_ip/dv_verilator/cpp/verilator_memutil.cc | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 30 | 2019-11-18T16:31:40.000Z | 2021-12-26T01:22:51.000Z | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "verilator_memutil.h"
#include <fcntl.h>
#include <gelf.h>
#include <getopt.h>
#include <libelf.h>
#include <sys/stat.h>
#include <unistd.h>
#include <cassert... | 28.758985 | 80 | 0.567669 | parzival3 |
ba579f5af56716698204d215aae4274d6d359109 | 12,970 | cpp | C++ | algorithms/kernel/optimization_solver/sgd/sgd_types.cpp | h2oai/daal | d49815df3040f3872a1fdb9dc99ee86148e4494e | [
"Apache-2.0"
] | 2 | 2020-05-16T00:57:44.000Z | 2020-05-17T15:56:38.000Z | algorithms/kernel/optimization_solver/sgd/sgd_types.cpp | afcarl/daal | d49815df3040f3872a1fdb9dc99ee86148e4494e | [
"Apache-2.0"
] | null | null | null | algorithms/kernel/optimization_solver/sgd/sgd_types.cpp | afcarl/daal | d49815df3040f3872a1fdb9dc99ee86148e4494e | [
"Apache-2.0"
] | 3 | 2017-09-29T19:51:42.000Z | 2020-12-03T09:09:48.000Z | /* file: sgd_types.cpp */
/*******************************************************************************
* Copyright 2014-2017 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... | 36.432584 | 144 | 0.682729 | h2oai |