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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f4aef88cf32cde12ced412931608263def713ce6 | 1,686 | cpp | C++ | Utility/lib/src/utility/math_utils.cpp | tdenis8/S3DR | fb8f4c0c98b5571abb12a51e03229978115b099b | [
"MIT"
] | 1 | 2019-07-10T04:25:45.000Z | 2019-07-10T04:25:45.000Z | Utility/lib/src/utility/math_utils.cpp | tdenis8/S3DR | fb8f4c0c98b5571abb12a51e03229978115b099b | [
"MIT"
] | null | null | null | Utility/lib/src/utility/math_utils.cpp | tdenis8/S3DR | fb8f4c0c98b5571abb12a51e03229978115b099b | [
"MIT"
] | null | null | null | #include "math_utils.hpp"
#include <cmath>
glm::vec3 MeanPoint(const std::vector<glm::vec3> & points){
glm::vec3 result(0.0, 0.0, 0.0);
auto size=points.size();
for(auto it=points.begin(); it<points.end(); ++it){
result += *it;
}
if(size>0){
result /= size;
}
return result;
}
float DegToRad(float angle_... | 21.896104 | 78 | 0.578885 | tdenis8 |
f4b24fd42585dcb7dc04986e92fbbad1563f21a0 | 944 | cc | C++ | dreal/util/infty.cc | martinjos/dlinear4 | c0569f49762393eab2cd5d8823db8decb3cbe15e | [
"Apache-2.0"
] | 2 | 2020-07-12T18:01:24.000Z | 2020-10-02T21:11:51.000Z | dreal/util/infty.cc | martinjos/dlinear4 | c0569f49762393eab2cd5d8823db8decb3cbe15e | [
"Apache-2.0"
] | null | null | null | dreal/util/infty.cc | martinjos/dlinear4 | c0569f49762393eab2cd5d8823db8decb3cbe15e | [
"Apache-2.0"
] | null | null | null | /// @file infty.cc
///
#include "dreal/util/infty.h"
namespace dreal {
namespace util {
mpq_class* mpq_class_infinity = nullptr;
mpq_class* mpq_class_ninfinity = nullptr;
void InftyStart(double val) {
mpq_class_infinity = new mpq_class(val);
mpq_class_ninfinity = new mpq_class(-val);
}
void InftyStart(const mp... | 20.977778 | 63 | 0.739407 | martinjos |
f4b9f8ed45470d551028eb05368f1f2c8ae8d057 | 2,856 | cpp | C++ | naklibsrc/src/core/MessageHash/Base58EncDec.cpp | murphyj8/testNakStructure | fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a | [
"Unlicense"
] | 1 | 2021-07-01T02:01:27.000Z | 2021-07-01T02:01:27.000Z | naklibsrc/src/core/MessageHash/Base58EncDec.cpp | murphyj8/testNakStructure | fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a | [
"Unlicense"
] | 1 | 2020-09-23T12:34:34.000Z | 2020-09-23T12:34:34.000Z | naklibsrc/src/core/MessageHash/Base58EncDec.cpp | murphyj8/testNakStructure | fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a | [
"Unlicense"
] | null | null | null | #include "MessageHash/Base58EncDec.h"
#include "MessageHash/Base58EncDecImpl.h"
Base58EncDec::Base58EncDec() : m_pImpl(new Base58EncDecImpl){
return ;
}
Base58EncDec::~Base58EncDec(){
return ;
}
std::string Base58EncDec::encode (const std::vector<uint8_t>& vch){
return (m_pImpl->encode(vch));
}
std::st... | 30.382979 | 105 | 0.644258 | murphyj8 |
f4bafce0eb4329174202ea4c22b8e6b84b9afafe | 94,230 | cpp | C++ | src/raven_src/src/StandardOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | src/raven_src/src/StandardOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | src/raven_src/src/StandardOutput.cpp | Okanagan-Basin-Water-Board/obwb-hydro-modelling | 91ee6b914e344de65a495093c3b9427986182ef2 | [
"Artistic-2.0"
] | null | null | null | /*----------------------------------------------------------------
Raven Library Source Code
Copyright (c) 2008-2020 the Raven Development Team
Includes CModel routines for writing output headers and contents:
CModel::CloseOutputStreams()
CModel::WriteOutputFileHeaders()
CModel::WriteMinorOutput()
... | 43.10613 | 171 | 0.582575 | Okanagan-Basin-Water-Board |
f4bc121c4304525c02031b34fad39c65d8a34747 | 798 | cpp | C++ | src/modules/osg/generated_code/ClipPlaneList.pypp.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 17 | 2015-06-01T12:19:46.000Z | 2022-02-12T02:37:48.000Z | src/modules/osg/generated_code/ClipPlaneList.pypp.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 7 | 2015-07-04T14:36:49.000Z | 2015-07-23T18:09:49.000Z | src/modules/osg/generated_code/ClipPlaneList.pypp.cpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 7 | 2015-11-28T17:00:31.000Z | 2020-01-08T07:00:59.000Z | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "indexing_suite/container_suite.hpp"
#include "indexing_suite/vector.hpp"
#include "wrap_osg.h"
#include "_ref_ptr_less__osg_scope_ClipPlane__greater___value_traits.pypp.hpp"
#include "clipplanelist.pypp.hpp"
namespace bp = boost::python;
... | 36.272727 | 113 | 0.740602 | JaneliaSciComp |
f4bd24595ae54aaad502d864082ac65a7180b5d7 | 739 | cpp | C++ | Structure_and_pointer_using_arrow_operator.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | Structure_and_pointer_using_arrow_operator.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | Structure_and_pointer_using_arrow_operator.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
// Student structure
struct Student {
string name;
int roll_number;
int marks;
};
// main function
int main() {
// Declare structure variable
struct Student s1;
// Declare structure pointer
struct Student *ptrs1;
// Store address of structure variable in struc... | 19.972973 | 61 | 0.640054 | gptakhil |
f4bd493befc9a42fcd2e0c51b941f91c214307bd | 2,440 | cpp | C++ | metaforce-gui/CVarDialog.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | metaforce-gui/CVarDialog.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | metaforce-gui/CVarDialog.cpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #include "CVarDialog.hpp"
#include "ui_CVarDialog.h"
#include <utility>
enum class CVarType {
String,
Boolean,
};
struct CVarItem {
QString m_name;
CVarType m_type;
QVariant m_defaultValue;
CVarItem(QString name, CVarType type, QVariant defaultValue)
: m_name(std::move(name)), m_type(type), m_defaultVa... | 30.886076 | 107 | 0.703279 | Jcw87 |
f4bddf3d7b8570b8edff54fcafb5860712621925 | 2,097 | hpp | C++ | ziomon/ziorep_framer.hpp | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 43 | 2017-08-21T12:18:57.000Z | 2021-01-21T09:20:59.000Z | ziomon/ziorep_framer.hpp | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 99 | 2017-08-21T20:41:13.000Z | 2021-01-27T16:23:07.000Z | ziomon/ziorep_framer.hpp | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 37 | 2017-08-21T20:37:32.000Z | 2021-02-02T10:10:45.000Z | /*
* FCP report generators
*
* Class for reading messages into frames.
*
* Copyright IBM Corp. 2008, 2017
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef ZIOREP_FRAMER
#define ZIOREP_FRAMER
#include <list>
#i... | 25.573171 | 73 | 0.72103 | nikita-dubrovskii |
f4bfc17b377b3c5017fcc97a6105b03afe47b3c0 | 27,119 | cpp | C++ | src/SphinxService.cpp | ExpandingDev/PyramidASR | dbfddc13bb6dde7a8e349e87e4ca9df229d64703 | [
"Unlicense"
] | null | null | null | src/SphinxService.cpp | ExpandingDev/PyramidASR | dbfddc13bb6dde7a8e349e87e4ca9df229d64703 | [
"Unlicense"
] | 10 | 2019-07-08T03:38:52.000Z | 2019-11-20T20:57:17.000Z | src/SphinxService.cpp | ExpandingDev/PyramidASR | dbfddc13bb6dde7a8e349e87e4ca9df229d64703 | [
"Unlicense"
] | null | null | null | #include "SphinxService.h"
#include "ReplyType.h"
#include "Buckey.h"
#include "HypothesisEventData.h"
#include <chrono>
using namespace std::chrono;
SphinxService * SphinxService::instance;
std::atomic<bool> SphinxService::instanceSet(false);
unsigned long SphinxService::onEnterPromptEventHandlerID;
unsigned long Sp... | 32.911408 | 245 | 0.668424 | ExpandingDev |
f4c255172c3cff4a99ca1c0952190ae2834d4131 | 848 | hpp | C++ | Object.hpp | LinarAbdrazakov/MIPT_GAME | 55d96906cb60752c3907fb83ce70910879dc4ed8 | [
"MIT"
] | null | null | null | Object.hpp | LinarAbdrazakov/MIPT_GAME | 55d96906cb60752c3907fb83ce70910879dc4ed8 | [
"MIT"
] | null | null | null | Object.hpp | LinarAbdrazakov/MIPT_GAME | 55d96906cb60752c3907fb83ce70910879dc4ed8 | [
"MIT"
] | null | null | null | #ifndef OBJECT_HPP
#define OBJECT_HPP
#include <SFML/Graphics.hpp>
class Object
{
private:
int id_;
sf::Sprite* sprite_;
sf::Vector2f coordinate_;
sf::Vector2f speed_;
sf::Vector2i size_;
float* dt_;
public:
explicit Object();
Object(const Object&);
Object(int, sf::Vector2f,... | 22.315789 | 64 | 0.595519 | LinarAbdrazakov |
f4c3d5422d8acf9ab1abf0cfabafd06a5f731f38 | 1,493 | hpp | C++ | lib/qt/LocationListComboBox.hpp | ncorgan/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 4 | 2017-06-10T13:21:44.000Z | 2019-10-30T21:20:19.000Z | lib/qt/LocationListComboBox.hpp | PMArkive/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 12 | 2017-04-05T11:13:34.000Z | 2018-06-03T14:31:03.000Z | lib/qt/LocationListComboBox.hpp | PMArkive/libpkmn | c683bf8b85b03eef74a132b5cfdce9be0969d523 | [
"MIT"
] | 2 | 2019-01-22T21:02:31.000Z | 2019-10-30T21:20:20.000Z | /*
* Copyright (c) 2016,2018 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)
*/
#ifndef PKMN_QT_LOCATIONLISTCOMBOBOX_HPP
#define PKMN_QT_LOCATIONLISTCOMBOBOX_HPP
#include <pkmn/config.hpp>
#ifdef ... | 27.145455 | 106 | 0.618218 | ncorgan |
f4c4917cbb9b86920862bb09496beeb71e3ec2c3 | 3,786 | cpp | C++ | src/VideoDevice.cpp | nayanavenkataramana/earlyapp | eafd8ae8507dee79d2b751f7c5d9320f5519029b | [
"MIT"
] | 5 | 2019-01-02T18:34:52.000Z | 2021-05-13T16:09:10.000Z | src/VideoDevice.cpp | nayanavenkataramana/earlyapp | eafd8ae8507dee79d2b751f7c5d9320f5519029b | [
"MIT"
] | 10 | 2018-10-26T06:11:45.000Z | 2019-06-24T06:25:43.000Z | src/VideoDevice.cpp | nayanavenkataramana/earlyapp | eafd8ae8507dee79d2b751f7c5d9320f5519029b | [
"MIT"
] | 20 | 2018-10-26T02:16:51.000Z | 2021-02-17T11:39:59.000Z | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2018 Intel Corporation
//
// 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 restr... | 25.409396 | 80 | 0.596408 | nayanavenkataramana |
f4c4ea6bac0a1d4a5e6e89bd188e9b83f1d875cb | 7,360 | cpp | C++ | src/caffe/layers/cross_correlation_layer.cpp | NicoleWang/caffe-for-rfcn | fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/cross_correlation_layer.cpp | NicoleWang/caffe-for-rfcn | fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/cross_correlation_layer.cpp | NicoleWang/caffe-for-rfcn | fafed9bac1b1ccb46ac11d1790f1ca4f86ce0d0d | [
"BSD-2-Clause"
] | null | null | null | #include <algorithm>
#include <cfloat>
#include <vector>
#include "caffe/layers/cross_correlation_layer.hpp"
#include "caffe/util/math_functions.hpp"
#define DEBUG_INFO
#undef DEBUG_INFO
namespace caffe {
template <typename Dtype>
void CrossCorrelationLayer<Dtype>::Reshape(
const vector<Blob<Dtype>*>& bottom, con... | 40.43956 | 95 | 0.640353 | NicoleWang |
f4c62a895f625fee35ffda86d37a343556908493 | 4,779 | cxx | C++ | PWG/FLOW/Tasks/AliAnalysisTaskLYZEventPlane.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWG/FLOW/Tasks/AliAnalysisTaskLYZEventPlane.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWG/FLOW/Tasks/AliAnalysisTaskLYZEventPlane.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /*************************************************************************
* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors are m... | 31.235294 | 93 | 0.686545 | maroozm |
f4cab2b2c4c57009bb838b1d3b13e58fcdb8e847 | 787 | cpp | C++ | backend/sgx/trusted/src/encryption.cpp | alxshine/eNNclave | 639aa7e8df9440922788d0c2a79846b198f117aa | [
"MIT"
] | null | null | null | backend/sgx/trusted/src/encryption.cpp | alxshine/eNNclave | 639aa7e8df9440922788d0c2a79846b198f117aa | [
"MIT"
] | null | null | null | backend/sgx/trusted/src/encryption.cpp | alxshine/eNNclave | 639aa7e8df9440922788d0c2a79846b198f117aa | [
"MIT"
] | null | null | null | #include "encryption.h"
#include "sgxParameterLoader.h"
#include <memory>
#include "output.h"
using namespace eNNclave;
using namespace std;
namespace
{
std::unique_ptr<SgxParameterLoader> parameterLoader;
} // namespace
void open_encrypted_parameters()
{
parameterLoader = std::unique_ptr<SgxParameterLoader... | 23.848485 | 164 | 0.733164 | alxshine |
f4cb58df8bc7c0e402744e2a1a91c261ba5edabc | 1,797 | cpp | C++ | src/Display.cpp | yann-boyer/OKUR | f575dbd3d06fa8f669bfadc2918e757168e231be | [
"Zlib"
] | 1 | 2022-03-22T15:10:44.000Z | 2022-03-22T15:10:44.000Z | src/Display.cpp | yann-boyer/OKUR | f575dbd3d06fa8f669bfadc2918e757168e231be | [
"Zlib"
] | null | null | null | src/Display.cpp | yann-boyer/OKUR | f575dbd3d06fa8f669bfadc2918e757168e231be | [
"Zlib"
] | null | null | null | /*
This file is a part of OKUR.
This file contains code to emulate
Chip8 screen.
Copyright (c) 2022 - Yann BOYER.
*/
#include "Display.hpp"
Display::Display() {
chip8Window = SDL_CreateWindow(
"OKUR Chip8 Emu by Yann BOYER.",
SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED,
WINDOW_WIDTH,
WINDOW_HEIGHT,
SD... | 23.337662 | 85 | 0.723984 | yann-boyer |
f4d79e89943264d79c4041097bad11fe2e7f6c89 | 37,548 | cpp | C++ | 3p/ClassLib/Windows/window.cpp | stbrenner/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 2 | 2018-11-20T15:58:08.000Z | 2021-12-15T14:51:10.000Z | 3p/ClassLib/Windows/window.cpp | stbrenner/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 1 | 2016-12-27T08:26:27.000Z | 2016-12-27T08:26:27.000Z | 3p/ClassLib/Windows/window.cpp | ymx/NiLogViewer | e6fe2b57da6d7bd61983cf7e8f0ee3139cc0ce20 | [
"MIT"
] | 1 | 2016-08-09T10:44:48.000Z | 2016-08-09T10:44:48.000Z | //
// window.cpp
//
// (C) Copyright 2000 Jan van den Baard.
// All Rights Reserved.
//
#include "window.h"
#include "mdiwindow.h"
#include "../application.h"
#include "../gdi/gdiobject.h"
#include "../gdi/dc.h"
#include "../menus/menu.h"
#include "../menus/bitmapmenu.h"
#include "../tools/multimonitor.h"
#include... | 26.800857 | 177 | 0.6562 | stbrenner |
f4d992fa6259231d30a542a191c9d94793d23fc2 | 3,110 | cpp | C++ | libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | 31 | 2020-04-29T06:11:54.000Z | 2021-11-10T19:14:09.000Z | libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | 11 | 2020-07-27T17:12:05.000Z | 2021-12-01T16:33:18.000Z | libs/ofxLineaDeTiempo/src/View/KeyframeTrackHeader.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | null | null | null | //
// KeyframeTrackHeader.cpp
// ofxGuiWidgetDOMintegration
//
// Created by Roy Macdonald on 4/12/20.
//
#include "LineaDeTiempo/View/KeyframeTrackHeader.h"
#include "LineaDeTiempo/View/TrackGroupView.h"
#include "LineaDeTiempo/View/BaseTrackView.h"
namespace ofx {
namespace LineaDeTiempo {
template<typename Par... | 26.581197 | 198 | 0.791318 | roymacdonald |
f4dbb4983a66a6d8cdf4192b8d85e3ba544a2928 | 104,662 | cpp | C++ | sxaccelerate/src/math/SxBlasLib.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | 1 | 2020-02-29T03:26:32.000Z | 2020-02-29T03:26:32.000Z | sxaccelerate/src/math/SxBlasLib.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | sxaccelerate/src/math/SxBlasLib.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | // ---------------------------------------------------------------------------
//
// The general purpose cross platform C/C++ framework
//
// S x A c c e l e r a t e
//
// Home: https://www.sxlib.de
// License: Apache 2
// Authors: see src/AUTHOR... | 36.127718 | 90 | 0.524202 | ashtonmv |
f4e35f80c0c5af0818c4a4e061d12b0d1d2fb196 | 890 | tpp | C++ | lib/include/ellcpp/oracles/sdp_oracle.tpp | luk036/ellcpp | 3415e7ffb70b63edb9ce4d6c2b9fee92898538bc | [
"MIT"
] | 2 | 2020-07-26T04:58:11.000Z | 2021-01-26T06:29:59.000Z | lib/include/ellcpp/oracles/sdp_oracle.tpp | luk036/ellcpp | 3415e7ffb70b63edb9ce4d6c2b9fee92898538bc | [
"MIT"
] | null | null | null | lib/include/ellcpp/oracles/sdp_oracle.tpp | luk036/ellcpp | 3415e7ffb70b63edb9ce4d6c2b9fee92898538bc | [
"MIT"
] | 2 | 2018-06-03T08:20:20.000Z | 2019-06-30T10:41:49.000Z | // -*- coding: utf-8 -*-
#pragma once
#include "lmi_oracle.hpp"
namespace bnu = boost::numeric::ublas;
class sdp_oracle
{
using Mat = bnu::symmetric_matrix<double, bnu::upper>;
using Vec = bnu::vector<double>;
using Arr = bnu::vector<Mat>;
public:
sdp_oracle(const Vec& c, const Arr& F)... | 20.697674 | 59 | 0.477528 | luk036 |
f4e85aaa6bbe122fff1af5ec5d461311f2ed6228 | 10,000 | hpp | C++ | metricknn/metricknn_lib/src/metricknn/metricknn_cpp/mknn_predefined_distance.hpp | juanbarrios/multimedia_tools | 91fe64779168c3dd3ad4e51e089df9ccad5f176b | [
"BSD-2-Clause"
] | 6 | 2015-09-08T00:14:59.000Z | 2018-09-11T09:46:40.000Z | metricknn/metricknn_lib/src/metricknn/metricknn_cpp/mknn_predefined_distance.hpp | juanbarrios/multimedia_tools | 91fe64779168c3dd3ad4e51e089df9ccad5f176b | [
"BSD-2-Clause"
] | null | null | null | metricknn/metricknn_lib/src/metricknn/metricknn_cpp/mknn_predefined_distance.hpp | juanbarrios/multimedia_tools | 91fe64779168c3dd3ad4e51e089df9ccad5f176b | [
"BSD-2-Clause"
] | 1 | 2020-11-13T15:55:30.000Z | 2020-11-13T15:55:30.000Z | /*
* Copyright (C) 2012-2015, Juan Manuel Barrios <http://juan.cl/>
* All rights reserved.
*
* This file is part of MetricKnn. http://metricknn.org/
* MetricKnn is made available under the terms of the BSD 2-Clause License.
*/
#ifndef MKNN_PREDEFINED_DISTANCE_HPP_
#define MKNN_PREDEFINED_DISTANCE_HPP_
#include ... | 37.593985 | 162 | 0.6887 | juanbarrios |
f4e96d63ad6cb13ab1d635f38a2c82281158d907 | 4,545 | cpp | C++ | Engine/__Deprecated/ImGui/ImUtil.cpp | zolo-mario/ZeloEngine | e595467dd057157c47cc8fa91399b0c7137dae63 | [
"MIT"
] | 98 | 2019-09-13T16:00:57.000Z | 2022-03-25T05:15:36.000Z | Engine/__Deprecated/ImGui/ImUtil.cpp | zolo-mario/ZeloEngine | e595467dd057157c47cc8fa91399b0c7137dae63 | [
"MIT"
] | 269 | 2019-08-22T01:47:09.000Z | 2021-12-01T14:47:47.000Z | Engine/__Deprecated/ImGui/ImUtil.cpp | zolo-mario/ZeloEngine | e595467dd057157c47cc8fa91399b0c7137dae63 | [
"MIT"
] | 5 | 2021-05-07T11:11:40.000Z | 2022-03-29T08:38:33.000Z | // ImUtil.cpp
// created on 2021/5/28
// author @zoloypzuo
#include "ZeloPreCompiledHeader.h"
#include "ImUtil.h"
#include "ImGuiInternal.h"
int ImStricmp(const char *str1, const char *str2) {
int d;
while ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {
str1++;
str2++;
}
return ... | 27.545455 | 102 | 0.492629 | zolo-mario |
f4edd60f9853e6fd95b8846f13265c60b1d426d9 | 3,854 | cpp | C++ | manycal/nodes/camera_throttler.cpp | Humhu/argus | 8b112382038c6df1ecf15d9c872b6cc9b471cd22 | [
"AFL-3.0"
] | 6 | 2017-08-02T20:32:52.000Z | 2021-06-15T09:33:33.000Z | manycal/nodes/camera_throttler.cpp | Humhu/argus | 8b112382038c6df1ecf15d9c872b6cc9b471cd22 | [
"AFL-3.0"
] | 1 | 2018-03-12T22:57:59.000Z | 2018-03-13T02:52:36.000Z | manycal/nodes/camera_throttler.cpp | Humhu/argus | 8b112382038c6df1ecf15d9c872b6cc9b471cd22 | [
"AFL-3.0"
] | 4 | 2017-03-25T08:36:17.000Z | 2019-04-23T00:28:16.000Z | #include <ros/ros.h>
#include <deque>
#include <boost/foreach.hpp>
#include "image_transport/image_transport.h"
#include "cv_bridge/cv_bridge.h"
#include "argus_utils/synchronization/MessageThrottler.hpp"
#include "manycal/SetThrottleWeight.h"
#include "argus_utils/utils/ParamUtils.h"
using namespace argus;
class C... | 31.080645 | 103 | 0.614427 | Humhu |
f4f13b044f9221528c862b19ad1af4e8935cc5f8 | 77 | hh | C++ | build/X86/mem/protocol/VIPERCoalescer.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/mem/protocol/VIPERCoalescer.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/X86/mem/protocol/VIPERCoalescer.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #include "/home/zhoushuxin/gem5/build/X86/mem/ruby/system/VIPERCoalescer.hh"
| 38.5 | 76 | 0.805195 | zhoushuxin |
f4f1ddcc73b72ad1189d7145666bdabb400f88e4 | 239 | cpp | C++ | src/question_1/question1.cpp | juliaholland/acc-cosc-1337-midterm-juliaholland | a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3 | [
"MIT"
] | null | null | null | src/question_1/question1.cpp | juliaholland/acc-cosc-1337-midterm-juliaholland | a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3 | [
"MIT"
] | null | null | null | src/question_1/question1.cpp | juliaholland/acc-cosc-1337-midterm-juliaholland | a6d09518393fd8ee9e88c1a4ae3d468e2bd291c3 | [
"MIT"
] | null | null | null | #include "question1.h"
bool test_config()
{
return true;
}
double get_kinetic_energy(double mass, double velocity)
{
double kineticEnergy;
kineticEnergy = 0.5 * mass * velocity * velocity;
return kineticEnergy;
} | 14.058824 | 55 | 0.682008 | juliaholland |
f4f2a7201d0e73ca372a5a429bfe6ca7b51eb2fd | 40,892 | cpp | C++ | src/vedit.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2019-07-27T10:46:41.000Z | 2019-07-27T10:46:41.000Z | src/vedit.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2022-01-22T13:10:44.000Z | 2022-01-22T13:10:44.000Z | src/vedit.cpp | linails/vnote | 97810731db97292f474951c3450aac150acef0bc | [
"MIT"
] | 1 | 2021-06-17T02:43:27.000Z | 2021-06-17T02:43:27.000Z | #include <QtWidgets>
#include <QVector>
#include <QDebug>
#include "vedit.h"
#include "vnote.h"
#include "vconfigmanager.h"
#include "vtableofcontent.h"
#include "utils/vutils.h"
#include "utils/veditutils.h"
#include "utils/vmetawordmanager.h"
#include "veditoperations.h"
#include "vedittab.h"
#include "dialog/vinsert... | 28.615815 | 112 | 0.58092 | linails |
f4f2b945b1685e17693494aed5602c18ef01f341 | 5,812 | cxx | C++ | Modules/Filtering/FFT/test/itkForwardInverseFFTImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2020-10-09T18:12:53.000Z | 2020-10-09T18:12:53.000Z | Modules/Filtering/FFT/test/itkForwardInverseFFTImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2018-10-18T18:49:19.000Z | 2018-10-18T18:49:19.000Z | Modules/Filtering/FFT/test/itkForwardInverseFFTImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2020-10-13T07:24:57.000Z | 2020-10-13T07:24:57.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 37.25641 | 123 | 0.720062 | floryst |
f4f8b3ded57685503b36f0e9542b3f5210036b25 | 34,267 | cpp | C++ | multimedia/dshow/filters/inftee/inftee.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/dshow/filters/inftee/inftee.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/dshow/filters/inftee/inftee.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //==========================================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
... | 26.379523 | 89 | 0.609274 | npocmaka |
f4fdcf9263914ccf76be06a87351d5576a534c0f | 52,096 | cpp | C++ | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/sock-new.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/sock-new.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/sock-new.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | #include "sock.h"
#ifdef GLib_UNIX
class TSocketTimer : public TTTimer {
private:
int SockId;
public:
TSocketTimer(const int TimeOut, /*PSock &_Socket*/ const int _SockId) : TTTimer(TimeOut), SockId(_SockId) {}
~TSocketTimer() {}
void OnTimeOut();
};
#endif
/////////////////////////////////////////////////
//... | 33.784695 | 188 | 0.690034 | qiuhere |
f4ffcc19fc0c4406900eb88970acc8eef163ae68 | 511 | cpp | C++ | drape/oglcontextfactory.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-01-11T05:02:05.000Z | 2019-01-11T05:02:05.000Z | drape/oglcontextfactory.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | null | null | null | drape/oglcontextfactory.cpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:21:09.000Z | 2019-08-09T21:21:09.000Z | #include "drape/oglcontextfactory.hpp"
namespace dp
{
ThreadSafeFactory::ThreadSafeFactory(OGLContextFactory * factory)
: m_factory(factory)
{
}
ThreadSafeFactory::~ThreadSafeFactory()
{
delete m_factory;
}
OGLContext *ThreadSafeFactory::getDrawContext()
{
threads::MutexGuard lock(m_mutex);
return m_factory... | 17.62069 | 65 | 0.772994 | bowlofstew |
f4ffdbc72af1209c3c20227409afe3684aac4f62 | 576 | cpp | C++ | libvermilion/core/src/stb_image.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | libvermilion/core/src/stb_image.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | libvermilion/core/src/stb_image.cpp | Jojojoppe/vermilion | 2bfe545c5f2c02e11d96940c191bac6f6c491843 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | null | null | null | #define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include "Texture.hpp"
#include <string>
unsigned char * Vermilion::Core::loadTextureData(const std::string& path, size_t * width, size_t * height, size_t * channels){
*width = 0;
*height = 0;
*channels = 4;
Vermilion::Core::flipLoading();
ret... | 28.8 | 126 | 0.713542 | Jojojoppe |
76028276bf7c9e6e899d16d6e47452956936c4f6 | 11,255 | cpp | C++ | src/Engine/Audio/CPianoKeyboard.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | 4 | 2021-12-16T11:22:30.000Z | 2022-01-05T11:20:32.000Z | src/Engine/Audio/CPianoKeyboard.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | 1 | 2022-01-07T10:41:38.000Z | 2022-01-09T12:04:03.000Z | src/Engine/Audio/CPianoKeyboard.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | null | null | null | /*
* CPianoKeyboard (CPianoKeyboard.cpp)
* MobiTracker
*
* Created by Marcin Skoczylas on 09-11-26.
* Copyright 2009 Marcin Skoczylas. All rights reserved.
*
*/
#include "CPianoKeyboard.h"
#include "VID_Main.h"
#include "CGuiMain.h"
#include "CLayoutParameter.h"
#define OCT_NAME_FONT_SIZE_X 8.0
#define OCT... | 28.278894 | 153 | 0.687517 | slajerek |
760412626f88fb941d8e6b4255045abda9a3697f | 1,340 | hpp | C++ | src/entity/sprite/Sprite.hpp | JulienTD/pacman | 71e92b367b4c57bba065c18faa67570842bdd67f | [
"MIT"
] | null | null | null | src/entity/sprite/Sprite.hpp | JulienTD/pacman | 71e92b367b4c57bba065c18faa67570842bdd67f | [
"MIT"
] | null | null | null | src/entity/sprite/Sprite.hpp | JulienTD/pacman | 71e92b367b4c57bba065c18faa67570842bdd67f | [
"MIT"
] | null | null | null | #ifndef SPRITE_HPP_
#define SPRITE_HPP_
#include <string>
#include <SDL2/SDL.h>
#include <SDL2/SDL_pixels.h>
#include <SDL2/SDL_image.h>
#include "window/Window.hpp"
#include "entity/Entity.hpp"
class Sprite : public Entity {
public:
Sprite(std::string id, std::string spritePath, Window *window, int x, in... | 26.8 | 108 | 0.629851 | JulienTD |
76053454382ed3308b268d1d7609151207f9f737 | 7,804 | cpp | C++ | arangod/IResearch/IResearchRocksDBRecoveryHelper.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | arangod/IResearch/IResearchRocksDBRecoveryHelper.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | arangod/IResearch/IResearchRocksDBRecoveryHelper.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 30.724409 | 80 | 0.631599 | LLcat1217 |
7606ed3bc233b9ed7f32bc613a8838b4e6ef0824 | 9,151 | cc | C++ | pigasus/software/tools/u2boat/u2boat.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/tools/u2boat/u2boat.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/tools/u2boat/u2boat.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------
// Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved.
// Copyright (C) 2002-2013 Sourcefire, Inc.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public... | 27.89939 | 83 | 0.602666 | zhipengzhaocmu |
7608a5f1d9ac50567702b78a115c3600c1abc70f | 4,916 | cpp | C++ | test-suite/generated-src/jni/NativeInterfaceEncapsulator.cpp | iRobotCorporation/djinni | 50ab071b855beab4e65af1772823dc2080b450b8 | [
"Apache-2.0"
] | 1 | 2016-03-04T20:23:31.000Z | 2016-03-04T20:23:31.000Z | test-suite/generated-src/jni/NativeInterfaceEncapsulator.cpp | iRobotCorporation/djinni | 50ab071b855beab4e65af1772823dc2080b450b8 | [
"Apache-2.0"
] | null | null | null | test-suite/generated-src/jni/NativeInterfaceEncapsulator.cpp | iRobotCorporation/djinni | 50ab071b855beab4e65af1772823dc2080b450b8 | [
"Apache-2.0"
] | null | null | null | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from interface_inheritance.djinni
#include "NativeInterfaceEncapsulator.hpp" // my header
#include "NativeBaseCppInterfaceInheritance.hpp"
#include "NativeBaseObjcJavaInterfaceInheritance.hpp"
#include "NativeSubObjcJavaInterfaceInheritance.hpp"
... | 53.434783 | 209 | 0.778885 | iRobotCorporation |
760a33560dd67baa90060d7973adde8257a61375 | 837 | hpp | C++ | PolyEngine/Editor/Src/Controls/IControlBase.hpp | PiotrMoscicki/PolyEngine | 573c453e9d1ae0a351ad14410595ff844e3b4620 | [
"MIT"
] | 65 | 2017-04-04T20:33:44.000Z | 2019-12-02T23:06:58.000Z | PolyEngine/Editor/Src/Controls/IControlBase.hpp | PiotrMoscicki/PolyEngine | 573c453e9d1ae0a351ad14410595ff844e3b4620 | [
"MIT"
] | 46 | 2017-04-21T12:26:38.000Z | 2019-12-15T05:31:47.000Z | PolyEngine/Editor/Src/Controls/IControlBase.hpp | PiotrMoscicki/PolyEngine | 573c453e9d1ae0a351ad14410595ff844e3b4620 | [
"MIT"
] | 51 | 2017-04-12T10:53:32.000Z | 2019-11-20T13:05:54.000Z | #pragma once
#include <QtWidgets/qwidget.h>
#include <QtCore/qtimer.h>
#include <RTTI/RTTI.hpp>
#include <Utils/Logger.hpp>
using namespace Poly;
// This is base class for all controls for core types such as int, string or vector.
// @see Poly::RTTI::eCorePropertyType
class IControlBase
{
public:
// Assigns given ... | 26.15625 | 84 | 0.734767 | PiotrMoscicki |
760be1fbba299668e2b3974b11ff6c5d131f3464 | 21,384 | cpp | C++ | src/CQPropertyViewTree.cpp | SammyEnigma/CQPropertyView | 4dd64a266929b754a68839243daf0aeb80331185 | [
"MIT"
] | 8 | 2018-05-07T13:06:53.000Z | 2022-03-08T05:25:06.000Z | src/CQPropertyViewTree.cpp | SammyEnigma/CQPropertyView | 4dd64a266929b754a68839243daf0aeb80331185 | [
"MIT"
] | 2 | 2021-06-18T06:08:37.000Z | 2022-03-12T11:45:17.000Z | src/CQPropertyViewTree.cpp | SammyEnigma/CQPropertyView | 4dd64a266929b754a68839243daf0aeb80331185 | [
"MIT"
] | 4 | 2019-04-01T13:13:59.000Z | 2022-01-20T12:14:44.000Z | #include <CQPropertyViewTree.h>
#include <CQPropertyViewFilter.h>
#include <CQPropertyViewModel.h>
#include <CQPropertyViewDelegate.h>
#include <CQPropertyViewItem.h>
#include <CQHeaderView.h>
#include <QApplication>
#include <QHeaderView>
#include <QMouseEvent>
#include <QClipboard>
#include <QMenu>
#include <set>
#i... | 17.6 | 93 | 0.648803 | SammyEnigma |
76169e6048a4751df05e23b45ca86658151d7cd1 | 755 | cpp | C++ | Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp | cnm06/Competitive-Programming | 94242ae458570d503b8218f37624b88cc5020d23 | [
"MIT"
] | 994 | 2017-02-28T06:13:47.000Z | 2022-03-31T10:49:00.000Z | Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 16 | 2018-01-01T02:59:55.000Z | 2021-11-22T12:49:16.000Z | Competitions/Codeforces/Codeforces Round #352 (Div. 2)/Summer Camp.cpp | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 325 | 2017-06-15T03:32:43.000Z | 2022-03-28T22:43:42.000Z | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
long long int n, temp;
int main()
{
cin>>n;
if(n<10 && n>0)
{
cout<<n<<endl;
}
else if(n>9 && n<190)
{
n=n-9;
temp=n%2;
n=9+n/2;
if(temp==0)
{
cout<<n%10<<endl;
}
... | 14.803922 | 30 | 0.316556 | cnm06 |
761761409dd0e995e32457cf0293e50204fb6b1a | 443 | hpp | C++ | src/Qt5Network/QLocalServer.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 128 | 2015-01-07T19:47:09.000Z | 2022-01-22T19:42:14.000Z | src/Qt5Network/QLocalServer.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | null | null | null | src/Qt5Network/QLocalServer.hpp | dafrito/luacxx | 278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad | [
"MIT"
] | 24 | 2015-01-07T19:47:10.000Z | 2022-01-25T17:42:37.000Z | #ifndef luacxx_QLocalServer_INCLUDED
#define luacxx_QLocalServer_INCLUDED
#include "../stack.hpp"
#include "../enum.hpp"
#include <QLocalServer>
#include "../Qt5Core/QObject.hpp"
// http://qt-project.org/doc/qt-5/qlocalserver.html#details
LUA_METATABLE_INHERIT(QLocalServer, QObject)
LUA_METATABLE_ENUM(QLocalServer... | 23.315789 | 65 | 0.801354 | dafrito |
7621daf177cc86bd608edb512ae2a03fd7b72d28 | 6,164 | cpp | C++ | Mesh_3/archive/applications/identify_identical_points_in_OFF_files.cpp | antoniospg/cgal | 2891c22fc7f64f680ac7e144407afe49f6425cb9 | [
"CC0-1.0"
] | 2 | 2020-12-12T09:30:07.000Z | 2021-01-04T05:00:23.000Z | Mesh_3/archive/applications/identify_identical_points_in_OFF_files.cpp | antoniospg/cgal | 2891c22fc7f64f680ac7e144407afe49f6425cb9 | [
"CC0-1.0"
] | 17 | 2018-01-10T13:32:24.000Z | 2021-07-30T12:23:20.000Z | Mesh_3/archive/applications/identify_identical_points_in_OFF_files.cpp | antoniospg/cgal | 2891c22fc7f64f680ac7e144407afe49f6425cb9 | [
"CC0-1.0"
] | 1 | 2019-02-21T15:26:25.000Z | 2019-02-21T15:26:25.000Z | // Copyright (c) 2007 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL$
// $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial
//
// Author(s) : Laurent Rineau
#include <iostream>
#include <string>
#include <vector>
#include... | 29.352381 | 76 | 0.571058 | antoniospg |
76231a822c50524b2f87ef378d5e7334ef090703 | 2,378 | hpp | C++ | blast/include/objtools/format/ftable_formatter.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | blast/include/objtools/format/ftable_formatter.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | blast/include/objtools/format/ftable_formatter.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #ifndef OBJTOOLS_FORMAT___FTABLE_FORMATTER__HPP
#define OBJTOOLS_FORMAT___FTABLE_FORMATTER__HPP
/* $Id: ftable_formatter.hpp 103491 2007-05-04 17:18:18Z kazimird $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National... | 34.463768 | 80 | 0.707317 | mycolab |
7626c7483fb2ea7749e070c7818a48b71e7fa0c9 | 46 | cpp | C++ | tests/src/experimental/tests_Optional.cpp | Mike-Bal/mart-common | 0b52654c6f756e8e86689e56d24849c97079229c | [
"MIT"
] | 1 | 2021-07-16T14:19:50.000Z | 2021-07-16T14:19:50.000Z | tests/src/experimental/tests_Optional.cpp | Mike-Bal/mart-common | 0b52654c6f756e8e86689e56d24849c97079229c | [
"MIT"
] | 1 | 2018-06-05T11:03:30.000Z | 2018-06-05T11:03:30.000Z | tests/src/experimental/tests_Optional.cpp | tum-ei-rcs/mart-common | 6f8f18ac23401eb294d96db490fbdf78bf9b316c | [
"MIT"
] | null | null | null | #include <mart-common/experimental/Optional.h> | 46 | 46 | 0.826087 | Mike-Bal |
762a0dc66e72d07d2707b64b32450fe35bb7e0c6 | 2,276 | cpp | C++ | tc 160+/OptimalList.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/OptimalList.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/OptimalList.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
using namespace std;
const int di[] = { -1, 0, 1, 0 };
const int dj[] = { 0, 1, 0, -1 };
string dir = "NESW";
int getDir(char c) {
return dir.find(c);... | 29.558442 | 315 | 0.566784 | ibudiselic |
762abd73654bedd41bbb03db5ede2cb40c955af2 | 475 | cpp | C++ | PassingCars/C++/PassingCars.cpp | ArturMarekNowak/Random-Algorithms-Repository | bda0e18bed68d3ab1b61b445e693a5c3c03a1179 | [
"MIT"
] | 1 | 2022-02-12T14:57:48.000Z | 2022-02-12T14:57:48.000Z | PassingCars/C++/PassingCars.cpp | ArturMarekNowak/Random-Algorithms-Repository | bda0e18bed68d3ab1b61b445e693a5c3c03a1179 | [
"MIT"
] | null | null | null | PassingCars/C++/PassingCars.cpp | ArturMarekNowak/Random-Algorithms-Repository | bda0e18bed68d3ab1b61b445e693a5c3c03a1179 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
int passingCars(std::vector<int> & someVec)
{
if(someVec.size() == 1)
return 0;
int counter = 0, result = 0;
for(int i = someVec.size() - 1; i >= 0; i--)
if(someVec[i] == 1)
counter++;
else if(someVec[i] == 0)
{
result += counter;
if(result > 1000000000)
r... | 15.322581 | 47 | 0.574737 | ArturMarekNowak |
762ae0e3ad471639a76e787ed602828358d9d040 | 5,668 | cpp | C++ | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/Audio/Chorus/chorusmodel.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | //
// chorusmodel.cpp
// MDStudio
//
// Created by Daniel Cliche on 2017-05-08.
// Copyright © 2017-2020 Daniel Cliche. All rights reserved.
//
#include "chorusmodel.h"
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
#include <string.h>
#define GRAPH_SAMPLE_RATE 44100
#define ROUND(n) ((int)((floa... | 31.314917 | 120 | 0.481475 | dcliche |
762b2d51877e601a10f55acb64f4fd2c81f7dd2d | 14,190 | cc | C++ | src/HR2Scheduler.cc | harsha-simhadri/sbsched | 8d12a010727ea415d5e4a23d389740d57c68278c | [
"MIT"
] | 1 | 2020-09-30T14:47:02.000Z | 2020-09-30T14:47:02.000Z | src/HR2Scheduler.cc | harsha-simhadri/sbsched | 8d12a010727ea415d5e4a23d389740d57c68278c | [
"MIT"
] | null | null | null | src/HR2Scheduler.cc | harsha-simhadri/sbsched | 8d12a010727ea415d5e4a23d389740d57c68278c | [
"MIT"
] | null | null | null | // This code is part of the project "Experimental Analysis of Space-Bounded
// Schedulers", presented at Symposium on Parallelism in Algorithms and
// Architectures, 2014.
// Copyright (c) 2014 Harsha Vardhan Simhadri, Guy Blelloch, Phillip Gibbons,
// Jeremy Fineman, Aapo Kyrola.
//
// Permission is hereby granted, fr... | 31.744966 | 106 | 0.657717 | harsha-simhadri |
762d09dad5ba121135195bebd503ada89e9d4a39 | 144 | hpp | C++ | star.rg/include/tileDB.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | star.rg/include/tileDB.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | star.rg/include/tileDB.hpp | masscry/badbaby | f0b2e793081491ed7598d3170725fe4b48ae1fff | [
"MIT"
] | null | null | null | #pragma once
#ifndef TILE_DATABASE_HEADER
#define TILE_DATABASE_HEADER
extern const tileInfo_t tileID[];
#endif // TILE_DATABASE_HEADER | 10.285714 | 33 | 0.791667 | masscry |
7631c1aa955429bb64b7372f54adb09b33ab2d4e | 3,619 | cpp | C++ | core123/ut/ut_simd_threefry.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 22 | 2019-04-10T18:05:35.000Z | 2021-12-30T12:26:39.000Z | core123/ut/ut_simd_threefry.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 13 | 2019-04-09T00:19:29.000Z | 2021-11-04T15:57:13.000Z | core123/ut/ut_simd_threefry.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 4 | 2019-04-07T16:33:44.000Z | 2020-07-02T02:58:51.000Z | #if defined(__ICC)
#include <stdio.h>
int main(int, char **){
printf(__FILE__ " Icc (through version 18) doesn't fully support gcc's 'vector' extensions.");
return 0;
}
#else
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wpsabi" // see comments in simd_threefry.hpp
#... | 36.555556 | 163 | 0.498757 | fennm |
7632d97bf2358fb269500f0dc8461a4d5a7f9069 | 244 | cpp | C++ | Index.cpp | Robert-xiaoqiang/MiniSQL-TeamLanTianLiuShe | 9dcad804615412e85de31797c0a0afb84135918f | [
"MIT"
] | 2 | 2018-07-29T03:08:45.000Z | 2019-06-08T15:41:24.000Z | Index.cpp | Robert-xiaoqiang/MiniSQL-TeamLanTianLiuShe | 9dcad804615412e85de31797c0a0afb84135918f | [
"MIT"
] | null | null | null | Index.cpp | Robert-xiaoqiang/MiniSQL-TeamLanTianLiuShe | 9dcad804615412e85de31797c0a0afb84135918f | [
"MIT"
] | 1 | 2019-05-24T05:08:06.000Z | 2019-05-24T05:08:06.000Z | #include "Index.h"
Index::Index(std::string new_name, std::string new_table_name, std::string new_attr_name, attr_type new_type):
name(new_name), table_name(new_table_name), attr_name(new_attr_name), type(new_type)
{
}
Index::~Index()
{
}
| 18.769231 | 110 | 0.745902 | Robert-xiaoqiang |
76391c5d2e93b899fb7a50edf3fecfa8d866424c | 1,462 | cxx | C++ | doctype/solarmail.cxx | re-Isearch/re-Isearch | f2a2012c1814b0940a6004b6186a5e6896c1135a | [
"BSD-4-Clause-UC",
"Apache-2.0"
] | 2 | 2022-02-05T17:48:29.000Z | 2022-02-06T15:25:04.000Z | doctype/solarmail.cxx | re-Isearch/re-Isearch | f2a2012c1814b0940a6004b6186a5e6896c1135a | [
"BSD-4-Clause-UC",
"Apache-2.0"
] | null | null | null | doctype/solarmail.cxx | re-Isearch/re-Isearch | f2a2012c1814b0940a6004b6186a5e6896c1135a | [
"BSD-4-Clause-UC",
"Apache-2.0"
] | 1 | 2022-03-30T20:14:00.000Z | 2022-03-30T20:14:00.000Z | static const char RCS_Id[]="$Id: solarmail.cxx,v 1.1 2007/05/15 15:47:29 edz Exp $";
/* ########################################################################
Usenet News Folder Doctype
Basis Systeme netzwerk
Brecherspitzstr. 8
D-81541 Munich, Germany
File: sunfolder.cxx
Description: Cl... | 26.107143 | 84 | 0.589603 | re-Isearch |
763e5b8db9c5b5d782ba03570f8a664a402f751e | 4,163 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp | TakahiroNISHIOKA/scenario_simulator_v2 | 949a46a64a26d17413c2586577e1f3a5ba41161e | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp | TakahiroNISHIOKA/scenario_simulator_v2 | 949a46a64a26d17413c2586577e1f3a5ba41161e | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/execution_timer.hpp | TakahiroNISHIOKA/scenario_simulator_v2 | 949a46a64a26d17413c2586577e1f3a5ba41161e | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2020 Tier IV, 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 at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | 29.111888 | 99 | 0.664425 | TakahiroNISHIOKA |
76427c417c94cb5460cf6ef17f43fbcd44277d62 | 293 | hpp | C++ | src/resources/resource.hpp | ifamakes/sidhe-cpp | ce660872fa0c9eba7d41357ab330410a397f59eb | [
"CC0-1.0"
] | null | null | null | src/resources/resource.hpp | ifamakes/sidhe-cpp | ce660872fa0c9eba7d41357ab330410a397f59eb | [
"CC0-1.0"
] | null | null | null | src/resources/resource.hpp | ifamakes/sidhe-cpp | ce660872fa0c9eba7d41357ab330410a397f59eb | [
"CC0-1.0"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
struct Resource {
virtual ~Resource() = default;
virtual void print() const = 0;
};
struct File : Resource {
std::string_view filename;
virtual void print() const override {
std::cout << __PRETTY_FUNCTION__ << std::endl;
};
}; | 19.533333 | 50 | 0.675768 | ifamakes |
76442cf857d809354d445c7ecfb216a91d327ab3 | 15,115 | cpp | C++ | src/server.cpp | Subsentient/nexus | 719cca618afe8729522607ed35e9415d76582347 | [
"Unlicense"
] | 2 | 2016-03-17T21:25:51.000Z | 2021-09-02T13:20:23.000Z | src/server.cpp | Subsentient/nexus | 719cca618afe8729522607ed35e9415d76582347 | [
"Unlicense"
] | 1 | 2018-03-04T18:55:48.000Z | 2018-03-07T00:19:37.000Z | src/server.cpp | Subsentient/nexus | 719cca618afe8729522607ed35e9415d76582347 | [
"Unlicense"
] | 2 | 2016-03-19T00:31:27.000Z | 2017-01-09T23:41:32.000Z | /*NEXUS IRC session BNC, by Subsentient. This software is public domain.*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <ctype.h>
#ifdef WIN
#include <winsock2.h>
#else
#include <fcntl.h>
#endif
#include <list>
#include <string>
#incl... | 27.836096 | 139 | 0.691631 | Subsentient |
764d3fec3b50869b29975839adf3de55ea856e79 | 3,491 | cpp | C++ | dp0.cpp | lordblendi/cpp-deklarativ-programozas-hf | 85d875d9eb35f1dcc0275439f8284993b556143f | [
"MIT"
] | null | null | null | dp0.cpp | lordblendi/cpp-deklarativ-programozas-hf | 85d875d9eb35f1dcc0275439f8284993b556143f | [
"MIT"
] | null | null | null | dp0.cpp | lordblendi/cpp-deklarativ-programozas-hf | 85d875d9eb35f1dcc0275439f8284993b556143f | [
"MIT"
] | null | null | null | //segédfgv length_help(L,N) = N+L hossza, N-ben tárolom az addigi elemek számát
int length_help(list l, int n){
if(nil == l) return n;
return length_help(tl(l), n+1);
}
//length(L) = L lista hossza
int list_length(list l){
return length_help(l, 0);
}
//insert_nth(L,N,E) L lista olyan másolata, amelyben ... | 43.6375 | 254 | 0.708393 | lordblendi |
764f988d3b8a1339b595365a3abbb9929fee84b1 | 1,955 | inl | C++ | RTCLI.AOT/Internal/Managed.inl | Team-RTCLI/RTCLI.Runtime | 3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a | [
"MIT"
] | 19 | 2020-10-21T02:54:39.000Z | 2022-03-31T02:55:48.000Z | RTCLI.AOT/Internal/Managed.inl | Team-RTCLI/RTCLI.Runtime | 3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a | [
"MIT"
] | null | null | null | RTCLI.AOT/Internal/Managed.inl | Team-RTCLI/RTCLI.Runtime | 3e888dca4401d7eb9b78aaf02d23b1281d8f0c2a | [
"MIT"
] | null | null | null | namespace RTCLI
{
namespace System
{
// ******************* Managed<T> *************************//
template<typename T>
RTCLI_FORCEINLINE Managed<T>::operator const T&() const RTCLI_NOEXCEPT
{
if(!object)
{
return null;
}
return *static_cast<const T*>(object... | 24.4375 | 101 | 0.557545 | Team-RTCLI |
7653a2d7c669c259f2df23c413a6d5a80fe46dde | 862 | cpp | C++ | src/core/resumable.cpp | Anomander/xi | 0340675310c41d659762fc3eea48c84ff13b95db | [
"MIT"
] | null | null | null | src/core/resumable.cpp | Anomander/xi | 0340675310c41d659762fc3eea48c84ff13b95db | [
"MIT"
] | null | null | null | src/core/resumable.cpp | Anomander/xi | 0340675310c41d659762fc3eea48c84ff13b95db | [
"MIT"
] | null | null | null | #include "xi/core/resumable.h"
#include "xi/core/abstract_worker.h"
namespace xi {
namespace core {
namespace v2 {
thread_local resumable_stat RESUMABLE_STAT;
}
void resumable::attach_executor(abstract_worker* e) {
_worker = e;
}
void resumable::detach_executor(abstract_worker* e) {
assert(_wor... | 18.73913 | 62 | 0.668213 | Anomander |
76578b47ce79e8d46b82ba4c2a9ca7a80b451c9b | 555 | cpp | C++ | Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | 2 | 2016-08-31T19:13:24.000Z | 2017-02-18T18:48:31.000Z | Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | 1 | 2018-12-10T16:32:26.000Z | 2018-12-27T19:50:48.000Z | Solutions-to-OJs/POJ/2000-2999/2719_Faulty_Odometer.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | null | null | null | // Xiaoyan Wang 9/8/2016
#include <iostream>
// #include <vector>
using namespace std;
// arry stores 0, 9^1, 9^2 ... 9^8
int arry[] = {1, 9, 81, 729, 6561, 59049, 531441, 4782969, 43046721/*, 387420489*/};
// input range: 1 to 10^10
int main() {
ios::sync_with_stdio(false);
int n;
while(cin >> n && n) {
int res... | 22.2 | 84 | 0.536937 | Horizon-Blue |
765928c98b462e252e72220293d6e1eb924600d4 | 54 | hpp | C++ | src/boost_geometry_formulas_thomas_inverse.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_geometry_formulas_thomas_inverse.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_geometry_formulas_thomas_inverse.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/geometry/formulas/thomas_inverse.hpp>
| 27 | 53 | 0.833333 | miathedev |
7659c3421dbb45aa88d737e948f1bad88733d706 | 4,001 | cpp | C++ | ycsbWorkloadCBench.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | 32 | 2018-12-14T16:54:11.000Z | 2022-02-28T13:07:17.000Z | ycsbWorkloadCBench.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | null | null | null | ycsbWorkloadCBench.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | 5 | 2020-05-25T07:05:29.000Z | 2022-03-05T02:59:38.000Z | #include <include/DomainSocketsTransport.h>
#include <include/TcpTransport.h>
#include <include/SharedMemoryTransport.h>
#include "include/RdmaTransport.h"
#include <array>
#include <vector>
#include <thread>
#include "util/bench.h"
#include "util/ycsb.h"
#include "util/Random32.h"
#include "util/doNotOptimize.h"
usin... | 34.196581 | 126 | 0.593852 | pfent |
766150558a10806e22a6e4d1dc3931ce9f259468 | 7,410 | cpp | C++ | examples/06-multithreaded-ROUTERserver-doneRight/server.cpp | cibercitizen1/zmqHelper | 8fbfe33ddb2642657ed565ffbb157e174035a52d | [
"MIT"
] | 5 | 2015-01-02T15:54:39.000Z | 2021-01-12T18:00:29.000Z | examples/06-multithreaded-ROUTERserver-doneRight/server.cpp | cibercitizen1/zmqHelper | 8fbfe33ddb2642657ed565ffbb157e174035a52d | [
"MIT"
] | null | null | null | examples/06-multithreaded-ROUTERserver-doneRight/server.cpp | cibercitizen1/zmqHelper | 8fbfe33ddb2642657ed565ffbb157e174035a52d | [
"MIT"
] | 2 | 2017-09-01T19:54:50.000Z | 2017-11-09T14:34:11.000Z |
// ---------------------------------------------------------------
// server.cpp
//
// multi-threaded router server done right !
//
//
// -> ROUTER socket -> main-thread -> in-proc socket -> delegate to worker
//
/*
* ON MULTITHREADING WITH ZeroMQ
*
* Remember:
*
* Do not use or close sockets except ... | 26.183746 | 82 | 0.518758 | cibercitizen1 |
766ef3a32b2fe7e6c2ca3a1dda0abc133df01a2a | 3,639 | hpp | C++ | Includes/Core/CUDA/CUDAStdArray-Impl.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 216 | 2017-01-25T04:34:30.000Z | 2021-07-15T12:36:06.000Z | Includes/Core/CUDA/CUDAStdArray-Impl.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 323 | 2017-01-26T13:53:13.000Z | 2021-07-14T16:03:38.000Z | Includes/Core/CUDA/CUDAStdArray-Impl.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 33 | 2017-01-25T05:05:49.000Z | 2021-06-17T17:30:56.000Z | // This code is based on Jet framework.
// Copyright (c) 2018 Doyub Kim
// CubbyFlow is voxel-based fluid simulation engine for computer games.
// Copyright (c) 2020 CubbyFlow Team
// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
// AI Part: Dongheon Cho, Minseo Kim
// We are making my contributions/subm... | 22.054545 | 80 | 0.636439 | ADMTec |
767284f4e7d34ff0b4e33313398b849527528b74 | 1,504 | cpp | C++ | LoveBabbar/12_graph/17_given_sorted_alien_dictionary_find_the_order_of_character.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | LoveBabbar/12_graph/17_given_sorted_alien_dictionary_find_the_order_of_character.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | LoveBabbar/12_graph/17_given_sorted_alien_dictionary_find_the_order_of_character.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | /*
link: https://practice.geeksforgeeks.org/problems/alien-dictionary/1
sol: https://www.geeksforgeeks.org/given-sorted-dictionary-find-precedence-characters/
video: https://youtu.be/wMMwRK-w0r4
steps:
1. form graph from given words by comparing (as given they are sorted)
2. so form graph suc... | 25.066667 | 125 | 0.470745 | Next-Gen-UI |
7673c1cf27f096c1ee32b3c97b316fb1166fc777 | 109 | hpp | C++ | PlanetaMatchMakerServer/source/server/server_constants.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 6 | 2019-08-15T09:48:55.000Z | 2021-07-25T14:40:59.000Z | PlanetaMatchMakerServer/source/server/server_constants.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 43 | 2019-12-25T14:54:52.000Z | 2022-02-24T17:22:48.000Z | PlanetaMatchMakerServer/source/server/server_constants.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 2 | 2020-05-06T20:14:44.000Z | 2020-06-02T21:21:10.000Z | #pragma once
#include "data/data_constants.hpp"
namespace pgl {
constexpr version_type api_version = 0;
}
| 13.625 | 40 | 0.761468 | InstytutXR |
767841bcaf8190d65c1cdf5653bd80edfbd31f3a | 11,933 | hpp | C++ | sol/function_types.hpp | SuperV1234/sol2 | 76b73bdfab4475933c42e715fd98737a4699794a | [
"MIT"
] | null | null | null | sol/function_types.hpp | SuperV1234/sol2 | 76b73bdfab4475933c42e715fd98737a4699794a | [
"MIT"
] | null | null | null | sol/function_types.hpp | SuperV1234/sol2 | 76b73bdfab4475933c42e715fd98737a4699794a | [
"MIT"
] | 1 | 2021-05-02T15:57:13.000Z | 2021-05-02T15:57:13.000Z | // The MIT License (MIT)
// Copyright (c) 2013-2016 Rapptz, ThePhD and contributors
// 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 limitati... | 48.116935 | 237 | 0.684405 | SuperV1234 |
76809ff92dee2935f5ee84fbd564304130ac376c | 5,453 | cc | C++ | test/nosync/ppoll-based-event-loop-test.cc | nokia/libNoSync | af0f0e5b738feac8c42c357c9dbdf3dc7e541a76 | [
"BSD-3-Clause"
] | 2 | 2018-04-28T18:29:08.000Z | 2018-07-03T08:16:34.000Z | test/nosync/ppoll-based-event-loop-test.cc | nokia/libNoSync | af0f0e5b738feac8c42c357c9dbdf3dc7e541a76 | [
"BSD-3-Clause"
] | null | null | null | test/nosync/ppoll-based-event-loop-test.cc | nokia/libNoSync | af0f0e5b738feac8c42c357c9dbdf3dc7e541a76 | [
"BSD-3-Clause"
] | 1 | 2018-04-27T07:53:16.000Z | 2018-04-27T07:53:16.000Z | // This file is part of libnosync library. See LICENSE file for license details.
#include <algorithm>
#include <chrono>
#include <fcntl.h>
#include <functional>
#include <gtest/gtest.h>
#include <memory>
#include <nosync/ppoll-based-event-loop.h>
#include <nosync/type-utils.h>
#include <system_error>
#include <vector>
... | 25.600939 | 91 | 0.615074 | nokia |
76821c60e0b5e0d0b79e905cf309fa43dd9dda05 | 2,072 | cpp | C++ | src/core/CL/CLHelpers.cpp | longbowlee/ARMComputeLibrary | c772c0b2ecfe76cac5867915fdc296d14bb829a2 | [
"MIT"
] | 3 | 2017-04-02T08:41:24.000Z | 2017-10-20T07:56:01.000Z | src/core/CL/CLHelpers.cpp | loliod/ComputeLibrary | 871448ee8eff790c4ccc3250008dd71170cc78b2 | [
"MIT"
] | null | null | null | src/core/CL/CLHelpers.cpp | loliod/ComputeLibrary | 871448ee8eff790c4ccc3250008dd71170cc78b2 | [
"MIT"
] | 1 | 2017-12-21T04:13:45.000Z | 2017-12-21T04:13:45.000Z | /*
* Copyright (c) 2016, 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* r... | 33.967213 | 81 | 0.662645 | longbowlee |
76860c006f96ab42e021eb975a9e686c1500b924 | 719 | cpp | C++ | src/pass/analyze-usage/conditional.cpp | arrow-lang/arrow-legacy | 5857697b88201c9a6abdd63c1b132741f3451b01 | [
"MIT"
] | 1 | 2017-05-02T14:13:51.000Z | 2017-05-02T14:13:51.000Z | src/pass/analyze-usage/conditional.cpp | arrow-lang/arrow-legacy | 5857697b88201c9a6abdd63c1b132741f3451b01 | [
"MIT"
] | null | null | null | src/pass/analyze-usage/conditional.cpp | arrow-lang/arrow-legacy | 5857697b88201c9a6abdd63c1b132741f3451b01 | [
"MIT"
] | null | null | null | // Copyright (c) 2014-2015 Ryan Leckey, All Rights Reserved.
// Distributed under the MIT License
// See accompanying file LICENSE
#include <algorithm>
#include "arrow/pass/analyze-usage.hpp"
#include "arrow/match.hpp"
namespace arrow {
namespace pass {
void AnalyzeUsage::visit_conditional(ast::Conditional& x) {
... | 23.193548 | 68 | 0.713491 | arrow-lang |
768629ebd1783b922f786e0b5e0b29393a08a2a2 | 639 | cpp | C++ | src/E12.cpp | microentropie/IEC60063 | 6b3900d9ed4554209cbb88c044d3d81e17ba47a6 | [
"MIT"
] | null | null | null | src/E12.cpp | microentropie/IEC60063 | 6b3900d9ed4554209cbb88c044d3d81e17ba47a6 | [
"MIT"
] | null | null | null | src/E12.cpp | microentropie/IEC60063 | 6b3900d9ed4554209cbb88c044d3d81e17ba47a6 | [
"MIT"
] | null | null | null | /*
Author: Stefano Di Paolo
License: MIT, https://en.wikipedia.org/wiki/MIT_License
Date: 2017-12-31
Library: IEC60063 series resistors.
Sources repository: https://github.com/microentropie/
*/
#include "E-series.h"
const char E12Tolerance[] = "10%";
#define E12size 12
static const unsigned short ... | 22.821429 | 117 | 0.682316 | microentropie |
768c4c836c3bebef4ea2a3a02cacaf5127d75b51 | 1,503 | cpp | C++ | HotDays.cpp | Drew138/competitive | 6efdbfed97934ba5a894e2b71d76340d4c769e45 | [
"MIT"
] | null | null | null | HotDays.cpp | Drew138/competitive | 6efdbfed97934ba5a894e2b71d76340d4c769e45 | [
"MIT"
] | null | null | null | HotDays.cpp | Drew138/competitive | 6efdbfed97934ba5a894e2b71d76340d4c769e45 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define D(x) cout << #x << " = " << x << endl;
#define ios ios_base::sync_with_stdio(0), cin.tie(0);
#define forn(i, n) for (int i = 0; i < (int)n; ++i)
#define all(v) v.begin(), v.end()
#define formap(map) for (const auto &[key, value] : map)
#define ms(ar, val) memset(ar, val, sizeof ar)
typ... | 30.673469 | 206 | 0.496341 | Drew138 |
768cf7a415fa7f7e2d366091974abdea7db9f3dd | 1,700 | cpp | C++ | windows/pw6e.official/CPlusPlus/Chapter10/WheresMyElement/WheresMyElement/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:18:08.000Z | 2016-11-23T08:18:08.000Z | windows/pw6e.official/CPlusPlus/Chapter10/WheresMyElement/WheresMyElement/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | null | null | null | windows/pw6e.official/CPlusPlus/Chapter10/WheresMyElement/WheresMyElement/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:17:34.000Z | 2016-11-23T08:17:34.000Z | //
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace WheresMyElement;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using name... | 31.481481 | 94 | 0.678235 | nnaabbcc |
768e2018aa71800fb684786b766ce0df824b538e | 604 | cpp | C++ | allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/实现Point类(C++)_qwe123qwe_20210920104346.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include<algorithm>
#include<cstring>
#include<string.h>
#include<math.h>
#include<cmath>
using namespace std;
typedef long long int ll;
class Point{
private :
double x,y;
public:
Point(double a,double b)
{
x=a;y=b;
}
double Distance( Point const ... | 15.1 | 48 | 0.56457 | BachWV |
7692b4bc129f3cee9fead0e4559e38bac59cce54 | 6,004 | cpp | C++ | src/LinearColorCalibrator.cpp | alarrosa14/Sendero | fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542 | [
"MIT"
] | 1 | 2016-07-06T23:22:16.000Z | 2016-07-06T23:22:16.000Z | src/LinearColorCalibrator.cpp | alarrosa14/Sendero | fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542 | [
"MIT"
] | null | null | null | src/LinearColorCalibrator.cpp | alarrosa14/Sendero | fb81c43b3f0ef3b8ef8fbbce6fdd2d413b4c9542 | [
"MIT"
] | null | null | null | //
// LinearColorCalibrator.cpp
// LEDColorCalibrator
//
// Created by Tomas Laurenzo on 4/20/13.
//
//
#include "LinearColorCalibrator.h"
LinearColorCalibrator::LinearColorCalibrator(){
gammaCorrecting = false;
isCalculated = true;
}
void LinearColorCalibrator::useGamma() {
gammaCorrecting = tr... | 21.519713 | 124 | 0.463025 | alarrosa14 |
7693b2d81fb6d9bef245f2341f00fb948e664470 | 5,756 | cpp | C++ | Source/PraticeActor/CBattlePC.cpp | CitrusNyamNyam/Unreal-Portfolio | f5a63fbe796e0531604470767207831b5c523b54 | [
"MIT"
] | 1 | 2018-11-25T10:40:10.000Z | 2018-11-25T10:40:10.000Z | Source/PraticeActor/CBattlePC.cpp | CitrusNyamNyam/Unreal-Portfolio | f5a63fbe796e0531604470767207831b5c523b54 | [
"MIT"
] | null | null | null | Source/PraticeActor/CBattlePC.cpp | CitrusNyamNyam/Unreal-Portfolio | f5a63fbe796e0531604470767207831b5c523b54 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "CBattlePC.h"
#include "CBattleGM.h"
#include "CPlayer.h"
#include "CAirplane_C130.h"
#include "CFlyingViewer.h"
#include "CResult_Widget.h"
#include "CClientMain_Widget.h"
#include "CWorldMap_Widget.h"
#include "Animation/WidgetAn... | 23.590164 | 142 | 0.761119 | CitrusNyamNyam |
7696137c106984a49fa532b5274a6d9255224b6d | 112 | hpp | C++ | libraries/chain/include/DA-DAPPS/chain/protocol.hpp | mycloudmyworld2019/DA-DAPPS | 534ace858fb5d852d69a578151929e64e2932f8b | [
"MIT"
] | null | null | null | libraries/chain/include/DA-DAPPS/chain/protocol.hpp | mycloudmyworld2019/DA-DAPPS | 534ace858fb5d852d69a578151929e64e2932f8b | [
"MIT"
] | null | null | null | libraries/chain/include/DA-DAPPS/chain/protocol.hpp | mycloudmyworld2019/DA-DAPPS | 534ace858fb5d852d69a578151929e64e2932f8b | [
"MIT"
] | null | null | null | /**
* @file
* @copyright defined in DA-DAPPS/LICENSE
*/
#pragma once
#include <DA-DAPPSio/chain/block.hpp>
| 16 | 42 | 0.669643 | mycloudmyworld2019 |
769951a4c9b60f20bdb25e2bf0f6607c12640307 | 877 | cpp | C++ | v142/main.cpp | glensand/visual-studio-compatibility | 7a7c7953bd4f7b8cf16485e66a90c966c8b1f829 | [
"MIT"
] | 3 | 2020-07-11T07:12:45.000Z | 2020-07-13T03:00:40.000Z | v142/main.cpp | glensand/visual-studio-compatibility | 7a7c7953bd4f7b8cf16485e66a90c966c8b1f829 | [
"MIT"
] | null | null | null | v142/main.cpp | glensand/visual-studio-compatibility | 7a7c7953bd4f7b8cf16485e66a90c966c8b1f829 | [
"MIT"
] | 1 | 2020-07-11T07:10:33.000Z | 2020-07-11T07:10:33.000Z | #include "v110/export_class_110.h"
#include "v141/export_class_141.h"
#include "v142/derived_class_142.h"
#include "v110_static/class_110.h"
int main()
{
// stack object construction - destruction works well
export_class_110 ec;
// we cannot deallocate memory were allocated in another module
// it seems like wron... | 28.290323 | 82 | 0.769669 | glensand |
769a742c357a56feffbcb12987512783b6dc1fd0 | 14,624 | cpp | C++ | src/mods/vr/D3D11Component.cpp | fengjixuchui/REFramework | 131b25ef58064b1c36cdd15072c30f5fbd9a7ad8 | [
"MIT"
] | null | null | null | src/mods/vr/D3D11Component.cpp | fengjixuchui/REFramework | 131b25ef58064b1c36cdd15072c30f5fbd9a7ad8 | [
"MIT"
] | null | null | null | src/mods/vr/D3D11Component.cpp | fengjixuchui/REFramework | 131b25ef58064b1c36cdd15072c30f5fbd9a7ad8 | [
"MIT"
] | null | null | null | #include <imgui.h>
#include <imgui_internal.h>
#include <openvr.h>
#include "../VR.hpp"
#include "D3D11Component.hpp"
#ifdef VERBOSE_D3D11
#define LOG_VERBOSE(...) spdlog::info(__VA_ARGS__)
#else
#define LOG_VERBOSE
#endif
namespace vrmod {
vr::EVRCompositorError D3D11Component::on_frame(VR* vr) {
if (m_left_ey... | 33.388128 | 136 | 0.63642 | fengjixuchui |
769ab67ecf0ee03b324e9690cea3ba77cadf5b8a | 912 | cpp | C++ | graph-source-code/463-D/8599017.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/463-D/8599017.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/463-D/8599017.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: MS C++
#include <iostream>
#include <cstdio>
#include <string>
#include <cstring>
#include <map>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <cassert>
#include <cstdlib>
#include <cmath>
#include <algorithm>
using namespace std;
typedef long long ll;
type... | 15.724138 | 57 | 0.541667 | AmrARaouf |
769bdd7f174ebb9828896a352014acc70c9af3c4 | 14,894 | cpp | C++ | app/uart/main.cpp | wrmlab/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | 16 | 2018-06-05T15:23:08.000Z | 2022-01-06T13:41:44.000Z | app/uart/main.cpp | sergey-worm/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | null | null | null | app/uart/main.cpp | sergey-worm/wrmos | 37067b659aa25e2d85f040ab0d2be85b6f4de485 | [
"MIT"
] | 3 | 2018-03-15T16:40:59.000Z | 2021-04-01T22:55:15.000Z | //##################################################################################################
//
// uart - userspace UART driver.
//
//##################################################################################################
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "sys_uti... | 24.864775 | 100 | 0.606889 | wrmlab |
769cf243a888d3bcc6809d48babe1b071ff489e7 | 319 | cpp | C++ | WumbukDraw/staticimage.cpp | YangPeihao1203/WumbukDraw | e0854e62cc050c99deda04a849d46824f458cbbc | [
"MIT"
] | null | null | null | WumbukDraw/staticimage.cpp | YangPeihao1203/WumbukDraw | e0854e62cc050c99deda04a849d46824f458cbbc | [
"MIT"
] | null | null | null | WumbukDraw/staticimage.cpp | YangPeihao1203/WumbukDraw | e0854e62cc050c99deda04a849d46824f458cbbc | [
"MIT"
] | null | null | null | #include "staticimage.h"
StaticImage::StaticImage()
{
}
void StaticImage::inSertPicture(QString filePath,QGraphicsScene *parent)
{
QPixmap pixmap =QPixmap::fromImage(QImage(filePath));
this->setPixmap(pixmap);
setFlag(QGraphicsItem::ItemIsMovable);
}
| 19.9375 | 73 | 0.623824 | YangPeihao1203 |
371dbadc8e93569fead136aa3ca52d43f1fe2f8f | 1,522 | cpp | C++ | pepnovo/src/QuickClustering.cpp | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | pepnovo/src/QuickClustering.cpp | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | pepnovo/src/QuickClustering.cpp | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | #include "QuickClustering.h"
#include "PMCSQS.h"
#include "auxfun.h"
// the sim matrix stores the similarity distances computed between clusters
int num_sim_matrix_spectra = 0;
unsigned char * sim_matrix = NULL;
unsigned char * max_sim_addr = NULL;
void print_byte(unsigned char byte)
{
int i;
... | 20.293333 | 76 | 0.65046 | compomics |
372164b0b94deb130806f24ae1c6cf3f7bc02514 | 2,280 | cpp | C++ | src/stmt.cpp | magicmoremagic/bengine-sqlite | 4e777cbbca9e64be5c49a24778847bf8e23fd99d | [
"MIT"
] | null | null | null | src/stmt.cpp | magicmoremagic/bengine-sqlite | 4e777cbbca9e64be5c49a24778847bf8e23fd99d | [
"MIT"
] | null | null | null | src/stmt.cpp | magicmoremagic/bengine-sqlite | 4e777cbbca9e64be5c49a24778847bf8e23fd99d | [
"MIT"
] | null | null | null | #include "pch.hpp"
#include "stmt.hpp"
#include "db.hpp"
#include "result_code.hpp"
#include "sqlite.hpp"
#include <cassert>
#include <limits>
namespace be::sqlite {
///////////////////////////////////////////////////////////////////////////////
/// \brief Compiles the provided SQL query against the provided databas... | 37.377049 | 115 | 0.59386 | magicmoremagic |
3721ef1e6c9619445cf4d06c28898e68e94f01de | 7,611 | cpp | C++ | library/Custom/fastIO.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 4 | 2021-01-05T09:25:59.000Z | 2021-09-27T03:57:28.000Z | library/Custom/fastIO.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | null | null | null | library/Custom/fastIO.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | null | null | null | #ifndef CUST_DEBUG
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
#endif
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ALL(x) x.begin(),x.end()
#define PB ... | 22.189504 | 117 | 0.581658 | sarafanshul |
3722de4415fda998571a8d968689831478fc0bf1 | 43 | hpp | C++ | src/boost_mpl_aux__type_wrapper.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_aux__type_wrapper.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_aux__type_wrapper.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/aux_/type_wrapper.hpp>
| 21.5 | 42 | 0.790698 | miathedev |
372398f052543364536b3337a1043e781c804f22 | 7,932 | cpp | C++ | src/Modules/UI/Macro Elements/Options_Graphics.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 5 | 2018-10-12T17:40:17.000Z | 2020-11-20T10:49:34.000Z | src/Modules/UI/Macro Elements/Options_Graphics.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 71 | 2018-07-19T01:59:38.000Z | 2020-03-29T18:03:13.000Z | src/Modules/UI/Macro Elements/Options_Graphics.cpp | Yattabyte/reVision | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | [
"MIT"
] | 1 | 2022-03-24T13:21:25.000Z | 2022-03-24T13:21:25.000Z | #include "Modules/UI/Macro Elements/Options_Graphics.h"
#include "Modules/UI/Basic Elements/Slider.h"
#include "Modules/UI/Basic Elements/SideList.h"
#include "Modules/UI/Basic Elements/Toggle.h"
#include "Engine.h"
Options_Graphics::Options_Graphics(Engine& engine) :
Options_Pane(engine)
{
// Title
m_title->setTe... | 50.522293 | 271 | 0.757186 | Yattabyte |
3726cc4dcad99bf88a8ef4a4fd269dd02625331c | 3,951 | cc | C++ | verilog/analysis/checkers/disable_statement_rule_test.cc | imphil/verible | cc9ec78b29e2e0190f6244a7d8981a2a90d77d79 | [
"Apache-2.0"
] | 487 | 2019-11-07T02:16:12.000Z | 2021-07-08T14:44:12.000Z | verilog/analysis/checkers/disable_statement_rule_test.cc | hzeller/verible | c926ededf7953febb5f577b081474987d0f0209d | [
"Apache-2.0"
] | 704 | 2019-11-12T18:00:12.000Z | 2021-07-08T08:21:31.000Z | verilog/analysis/checkers/disable_statement_rule_test.cc | hzeller/verible | c926ededf7953febb5f577b081474987d0f0209d | [
"Apache-2.0"
] | 96 | 2019-11-12T06:21:03.000Z | 2021-07-06T23:20:39.000Z | // Copyright 2017-2020 The Verible 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 o... | 31.608 | 79 | 0.628702 | imphil |
37309bee6eb272dc1b99f9659ca749ea8ee4cf80 | 9,450 | cpp | C++ | utils.cpp | Litvinovis/webserver | 1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e | [
"Apache-2.0"
] | 2 | 2021-04-22T11:07:04.000Z | 2022-01-04T13:57:57.000Z | utils.cpp | Litvinovis/webserver | 1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e | [
"Apache-2.0"
] | 18 | 2021-05-10T15:33:00.000Z | 2021-05-30T16:32:16.000Z | utils.cpp | Litvinovis/webserver | 1d7156dcfb7bc0c4abeff650d2cf4114bbd8129e | [
"Apache-2.0"
] | 2 | 2021-04-15T13:06:08.000Z | 2021-05-26T18:08:41.000Z | #include <iostream>
#include <unistd.h>
#include <sys/stat.h>
#include "utils.hpp"
#include "Setting.hpp"
#include <cstring> // for linux
namespace utils {
std::vector<char> read_file(std::string filename) {
std::vector<char> buf;
int fd;
char* line;
... | 30.882353 | 108 | 0.480635 | Litvinovis |
37332b84069848d85aeb8f925be6fd3454cd7939 | 604 | hpp | C++ | libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp | Aschratt/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 11 | 2019-05-17T12:23:12.000Z | 2020-11-12T14:03:23.000Z | libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp | crud89/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 2 | 2019-04-01T08:37:36.000Z | 2019-04-01T08:49:15.000Z | libs/Texturize.Codecs.EXR/include/Codecs/exr.hpp | crud89/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 1 | 2019-06-25T01:04:35.000Z | 2019-06-25T01:04:35.000Z | #pragma once
#include <texturize.hpp>
#include <analysis.hpp>
#include <codecs.hpp>
#include <string>
#include <iostream>
namespace Texturize {
/// \brief
class TEXTURIZE_API EXRCodec :
public ISampleCodec
{
public:
virtual void load(const std::string& fileName, Sample& sample) const override;
virtual vo... | 27.454545 | 111 | 0.738411 | Aschratt |
3733399ac2e2ccfedf640afe18d3d4056fa00c11 | 1,757 | cpp | C++ | queue/queue_LL.cpp | vivekrajx/dsa | 23351634652aaabfa40f8679ccff9f6fa9f844e9 | [
"MIT"
] | null | null | null | queue/queue_LL.cpp | vivekrajx/dsa | 23351634652aaabfa40f8679ccff9f6fa9f844e9 | [
"MIT"
] | null | null | null | queue/queue_LL.cpp | vivekrajx/dsa | 23351634652aaabfa40f8679ccff9f6fa9f844e9 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
struct Node {
int data;
Node* link;
};
//declated glboally
struct Node * front = NULL;
struct Node * rear = NULL;
//Enqueue from front & Dequeue from rear both take O(1) time here.
//Enqueue from rear
void Enqueue(int x)
{
Node* temp = new Node();
temp->data... | 19.307692 | 78 | 0.575982 | vivekrajx |
3735173760e30d35d79fd6810a10f9c753be25fc | 34,117 | cpp | C++ | closed/FuriosaAI/code/resnet50/resnet50.cpp | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 12 | 2021-09-23T08:05:57.000Z | 2022-03-21T03:52:11.000Z | closed/FuriosaAI/code/resnet50/resnet50.cpp | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 11 | 2021-09-23T20:34:06.000Z | 2022-01-22T07:58:02.000Z | closed/FuriosaAI/code/resnet50/resnet50.cpp | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 16 | 2021-09-23T20:26:38.000Z | 2022-03-09T12:59:56.000Z | #include <cassert>
#include <sstream>
#include <condition_variable>
#include <deque>
#include <iostream>
#include <map>
#include <mutex>
#include <thread>
#include <vector>
#include <fstream>
#include <streambuf>
#include <atomic>
#include <string.h>
#include "loadgen.h"
#include "query_sample_library.h"
#include "sy... | 35.354404 | 154 | 0.619427 | ctuning |
3735ac75271b959791cd33dbbaa242366ebba1cd | 1,004 | cpp | C++ | Paperworks/src/Paperworks/Graphics/Renderer.cpp | codenobacon4u/paperworks | 0e96cd2fb6070a2387ddd36aaa327b04733234fa | [
"MIT"
] | 1 | 2019-08-15T18:58:54.000Z | 2019-08-15T18:58:54.000Z | Paperworks/src/Paperworks/Graphics/Renderer.cpp | codenobacon4u/paperworks | 0e96cd2fb6070a2387ddd36aaa327b04733234fa | [
"MIT"
] | null | null | null | Paperworks/src/Paperworks/Graphics/Renderer.cpp | codenobacon4u/paperworks | 0e96cd2fb6070a2387ddd36aaa327b04733234fa | [
"MIT"
] | null | null | null | #include "pwpch.h"
#include "Renderer.h"
#include "Renderer2D.h"
namespace Paperworks {
Unique<Renderer::SceneData> Renderer::s_SceneData = CreateUnique<Renderer::SceneData>();
void Renderer::Init()
{
RenderCmd::Init();
Renderer2D::Init();
}
void Renderer::Shutdown()
{
Renderer2D::Shutdown();
}
void... | 20.08 | 120 | 0.703187 | codenobacon4u |
37394af6b5687c87eb0fa892766db5a1918223c8 | 1,212 | cpp | C++ | main/substring-subsequence-problem/substring-subsequence-problem.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/substring-subsequence-problem/substring-subsequence-problem.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/substring-subsequence-problem/substring-subsequence-problem.cpp | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <iterator>
#include <string>
namespace {
using It = std::string::const_iterator;
// Helper for common_length(const std::string&, const std::string&).
inline int common_length(const std::string& s,
It t_first, const It& t_la... | 24.734694 | 77 | 0.5033 | EliahKagan |
373ebbffb8f88ef7396900b12828429e09e31da4 | 13,748 | cc | C++ | chrome/browser/chromeos/platform_keys/platform_keys_service_browsertest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/platform_keys/platform_keys_service_browsertest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/platform_keys/platform_keys_service_browsertest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 <memory>
#include <type_traits>
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "ba... | 38.188889 | 80 | 0.752109 | sarang-apps |
3741ebbac3567d9bd1d0fb3eee75a5c2a9b3a458 | 2,817 | cpp | C++ | src/input/SDLJoystickInput.cpp | benlamonica/tetra-table | 521082f2a848d04608ef6368004e90e780ef62ea | [
"Apache-2.0"
] | null | null | null | src/input/SDLJoystickInput.cpp | benlamonica/tetra-table | 521082f2a848d04608ef6368004e90e780ef62ea | [
"Apache-2.0"
] | null | null | null | src/input/SDLJoystickInput.cpp | benlamonica/tetra-table | 521082f2a848d04608ef6368004e90e780ef62ea | [
"Apache-2.0"
] | null | null | null | //
// SDLJoystickInput.cpp
// TetraTable
//
// Created by Ben La Monica on 3/23/15.
// Copyright (c) 2015 Benjamin Alan La Monica. All rights reserved.
//
#include "SDLJoystickInput.hpp"
#include "../util/SDLUtil.hpp"
#include <syslog.h>
#include <SDL2/SDL.h>
#include "../util/TimeUtil.hpp"
SDLJoystickInput::SDLJ... | 36.584416 | 145 | 0.520412 | benlamonica |
374816a086693c8e9be578dd2257e444b6fe5ab8 | 506 | cpp | C++ | Snipets/01_Decisiones/IfeIfAnidado.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | Snipets/01_Decisiones/IfeIfAnidado.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | Snipets/01_Decisiones/IfeIfAnidado.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | // IfeIfAnidado.cpp
// Programa para saber si el numero introducido es par o impar utilizando un bucle if
#include <iostream>
#include <stdlib.h>
int main()
{
int n;
std::cout << "Introduce un numero: ";
std::cin >> n;
if(n%2 == 0) // Calculamos el residuo del numero al dividirlo entre 2. Si el residuo... | 22 | 114 | 0.65415 | Gabroide |
374e0ac796062606a9bbe986e290ee0a8b828c29 | 7,883 | hpp | C++ | Library/include/mavlink/v2.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.hpp | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | 10 | 2021-03-15T03:58:06.000Z | 2021-12-30T15:33:38.000Z | devel/include/mavlink/v2.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.hpp | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 1 | 2021-09-09T15:29:31.000Z | 2021-09-09T15:29:31.000Z | Library/include/mavlink/v2.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.hpp | Dieptranivsr/Ros_Diep | d790e75e6f5da916701b11a2fdf3e03b6a47086b | [
"MIT"
] | 4 | 2021-03-06T09:35:58.000Z | 2021-05-24T14:34:11.000Z | // MESSAGE SERIAL_UDB_EXTRA_F2_A support class
#pragma once
namespace mavlink {
namespace matrixpilot {
namespace msg {
/**
* @brief SERIAL_UDB_EXTRA_F2_A message
*
* Backwards compatible MAVLink version of SERIAL_UDB_EXTRA - F2: Format Part A
*/
struct SERIAL_UDB_EXTRA_F2_A : mavlink::Message {
static const... | 47.775758 | 83 | 0.523024 | Dieptranivsr |
374ebc05844425a2785be3d7ac1b445de32c8207 | 12,027 | cpp | C++ | src/mesh/mechanical/plane/fem_submesh.cpp | annierhea/neon | 4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1 | [
"MIT"
] | null | null | null | src/mesh/mechanical/plane/fem_submesh.cpp | annierhea/neon | 4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1 | [
"MIT"
] | null | null | null | src/mesh/mechanical/plane/fem_submesh.cpp | annierhea/neon | 4eb51a06bda6bbf32c54fff8f39c9e02d429cfd1 | [
"MIT"
] | null | null | null |
#include "fem_submesh.hpp"
#include "exceptions.hpp"
#include "constitutive/constitutive_model_factory.hpp"
#include "geometry/projection.hpp"
#include "interpolations/interpolation_factory.hpp"
#include "material/material_property.hpp"
#include "mesh/material_coordinates.hpp"
#include "mesh/dof_allocator.hpp"
#incl... | 36.445455 | 105 | 0.579529 | annierhea |
3753e8029f41cd6f3f89d6a217e100fa572871af | 20,003 | cpp | C++ | src/zutil/conn.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T02:35:47.000Z | 2021-03-04T02:35:47.000Z | src/zutil/conn.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | null | null | null | src/zutil/conn.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, Nefelus Inc
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//... | 22.399776 | 120 | 0.653602 | mgwoo |
375eaa78b581f84c658ae81f2e900ae9266ba765 | 212 | hpp | C++ | archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | archive/stan/src/stan/lang/ast/node/omni_idx_def.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_LANG_AST_NODE_OMNI_IDX_DEF_HPP
#define STAN_LANG_AST_NODE_OMNI_IDX_DEF_HPP
#include <stan/lang/ast.hpp>
namespace stan {
namespace lang {
omni_idx::omni_idx() { }
}
}
#endif
| 15.142857 | 44 | 0.707547 | alashworth |
37614210247916dca3bae49177d706bb01b9dda6 | 886 | cc | C++ | test/unit/logging_test.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-06-04T08:08:11.000Z | 2018-06-04T08:08:11.000Z | test/unit/logging_test.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2019-03-26T11:15:13.000Z | 2019-03-26T11:15:13.000Z | test/unit/logging_test.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-02-05T09:19:45.000Z | 2018-02-05T09:19:45.000Z | /**
* @file logging_test.cc
* @author Bartek Kryza
* @copyright (C) 2018 ACK CYFRONET AGH
* @copyright This software is released under the MIT license cited in
* 'LICENSE.txt'
*/
#include "helpers/logging.h"
#include "testUtils.h"
#include "boost/algorithm/string.hpp"
#include <gtest/gtest.h>
#include <sstream... | 20.604651 | 70 | 0.691874 | onedata |