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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14171fb42a3605aff2d9082304ae7beb1530fd3c | 5,500 | cc | C++ | ui/views/examples/flex_layout_example.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ui/views/examples/flex_layout_example.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ui/views/examples/flex_layout_example.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 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 "ui/views/examples/flex_layout_example.h"
#include <memory>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "bas... | 40.441176 | 80 | 0.689636 | zealoussnow |
1417fb9e4061126661008469be5a01e5a034f455 | 22,778 | cc | C++ | art/compiler/jni/quick/jni_compiler.cc | CanPisces/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 1,306 | 2015-09-01T05:06:16.000Z | 2022-03-10T07:13:10.000Z | art/compiler/jni/quick/jni_compiler.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 11 | 2015-09-02T09:06:42.000Z | 2020-12-26T04:59:34.000Z | art/compiler/jni/quick/jni_compiler.cc | cnrat/DexHunter | b8f46563c7f3aeb79cf40db09e1d231649f1a29a | [
"Apache-2.0"
] | 598 | 2015-09-01T05:06:18.000Z | 2022-03-27T07:59:49.000Z | /*
* Copyright (C) 2011 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... | 46.391039 | 104 | 0.696505 | CanPisces |
1418868ec4b68d94f251135d77501bcb795e3d55 | 992 | hpp | C++ | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | src/graphics/widgets/charge_props.hpp | svlv/elfield | 612e21dc74a82306cd2a623a54af1412936999e7 | [
"MIT"
] | null | null | null | #pragma once
#include "physics/charge.hpp"
#include <gtkmm/dialog.h>
#include <gtkmm/drawingarea.h>
#include <map>
#include <string>
namespace elfield
{
class charge_props : public Gtk::Dialog
{
public:
explicit charge_props(Gtk::Window& parent, const charge_ptr& charge,
Gtk::Widget& a... | 24.8 | 74 | 0.709677 | svlv |
14198454f9be23e819628f4ee2fb9c2518ef190c | 1,602 | hpp | C++ | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | src/lib/model/hpp/administrador.hpp | iagoizi/poo-petshop-cpp | 1eb9f6858ed6f55f3c1d07024b18ef67b0533358 | [
"MIT"
] | null | null | null | #ifndef ADMINISTRADOR_HPP
#define ADMINISTRADOR_HPP
#include "lib.hpp"
#include "vendedor.hpp"
#include "veterinario.hpp"
#include "petshop.hpp"
#include "usuario.hpp"
class Administrador : public Vendedor, public Veterinario
{
public:
Administrador(PetShop *petshop, string nome = "");
~Adminis... | 43.297297 | 90 | 0.734082 | iagoizi |
141b012e90ad514bc4f1d46c4a953601ad14de99 | 10,874 | cc | C++ | src/uDepot/net/serve-kv-request.cc | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | src/uDepot/net/serve-kv-request.cc | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | src/uDepot/net/serve-kv-request.cc | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 International Business Machines
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Authors: Nikolas Ioannou (nio@zurich.ibm.com),
* Kornilios Kourtis (kou@zurich.ibm.com, kornilios@gmail.com)
*
*/
#include <algorithm> // std::min()
#include <errno.h>
#i... | 31.427746 | 101 | 0.684937 | nik-io |
141b1d569f864079780ac39925325414e453a555 | 5,048 | cpp | C++ | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | src/gui/XML/XMLCircleAttrs.cpp | alicemona/Smala | 6f66c3b4bb111993a6bcf148e84c229fb3fa3534 | [
"BSD-2-Clause"
] | null | null | null | /* C++ code produced by gperf version 3.0.3 */
/* Command-line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf -L C++ -t -N djn_XMLCircleAttrsLookup -Z XMLCircleAttrs_Hash src/gui/XML/XMLCircleAttrs.gperf */
/* Computed positions: -k'2' */
#if !((' ' == 32) && ('!' == 33)... | 34.575342 | 207 | 0.443542 | alicemona |
141be00392174277455397f8428485598dca6580 | 2,901 | cpp | C++ | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | sdl/6821OT_code_bundle/Alien Attack/src/MainMenuState.cpp | numfo/tryme | 596b48160cc1c2377bee05675570f62df4f37d9d | [
"MIT"
] | null | null | null | //
// MenuState.cpp
// SDL Game Programming Book
//
// Created by shaun mitchell on 09/02/2013.
// Copyright (c) 2013 shaun mitchell. All rights reserved.
//
#include <iostream>
#include "MainMenuState.h"
#include "TextureManager.h"
#include "Game.h"
#include "MenuButton.h"
#include "PlayState.h"
#incl... | 23.208 | 109 | 0.602896 | numfo |
141ee1cdc6a5a2f2e286f9f54fc5b80c345fcb33 | 9,305 | cc | C++ | hoomd/dem/DEM2DForceComputeGPU.cc | kmoskovtsev/HOOMD-Blue-fork | 99560563a5ba9e082b513764bae51a84f48fdc70 | [
"BSD-3-Clause"
] | null | null | null | hoomd/dem/DEM2DForceComputeGPU.cc | kmoskovtsev/HOOMD-Blue-fork | 99560563a5ba9e082b513764bae51a84f48fdc70 | [
"BSD-3-Clause"
] | null | null | null | hoomd/dem/DEM2DForceComputeGPU.cc | kmoskovtsev/HOOMD-Blue-fork | 99560563a5ba9e082b513764bae51a84f48fdc70 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009-2016 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
// Maintainer: mspells
/*! \file DEM2DForceComputeGPU.cc
\brief Defines the DEM2DForceComputeGPU class
*/
#ifdef WIN32
#pragma warning( push )
#pragma warnin... | 39.427966 | 128 | 0.708006 | kmoskovtsev |
14203d4a8fc033848caf513ef85f7b7676b588f2 | 1,641 | hpp | C++ | mission_planner_stack/premap/include/premap/map.hpp | dyutimoy/kraken_3.0 | 4bbf2450b0df7405035bc88966d9b8e2244e5c74 | [
"BSD-3-Clause-Clear"
] | 33 | 2015-02-24T09:41:20.000Z | 2021-05-17T05:10:58.000Z | mission_planner_stack/premap/include/premap/map.hpp | dyutimoy/kraken_3.0 | 4bbf2450b0df7405035bc88966d9b8e2244e5c74 | [
"BSD-3-Clause-Clear"
] | 81 | 2015-03-26T22:14:13.000Z | 2019-08-29T11:08:48.000Z | mission_planner_stack/premap/include/premap/map.hpp | dyutimoy/kraken_3.0 | 4bbf2450b0df7405035bc88966d9b8e2244e5c74 | [
"BSD-3-Clause-Clear"
] | 51 | 2015-02-24T09:41:24.000Z | 2020-09-06T07:45:53.000Z | #include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "ros/ros.h"
#include "geometry_msgs/Point.h"
#include "geometry_msgs/Pose.h"
#include "iostream"
#include "premap/getLocation.h"
#include "kraken_msgs/krakenPose.h"
#include "pose_server/KrakenPose.h"
#include "premap/getLocation.h"
#inclu... | 22.479452 | 98 | 0.735527 | dyutimoy |
1420eaad71a82a254e9665c9af84f7c391a45be4 | 20,607 | cxx | C++ | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 86 | 2016-05-30T16:08:24.000Z | 2022-03-30T22:57:35.000Z | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 41 | 2017-02-02T22:28:17.000Z | 2022-02-22T16:51:14.000Z | src/external/marray/test/dpd_marray_view.cxx | devinamatthews/tensor | 7d979b6624071879383377611cb2fa483b6a3104 | [
"BSD-3-Clause"
] | 26 | 2016-05-30T16:08:33.000Z | 2021-12-29T03:02:30.000Z | #include "gtest/gtest.h"
#include "dpd_marray.hpp"
using namespace std;
using namespace MArray;
template <typename T, unsigned... Sizes>
struct arrays_helper;
template <typename T, unsigned Size1, unsigned Size2>
struct arrays_helper<T, Size1, Size2>
{
typedef array<array<T,Size2>,Size1> type;
};
template <type... | 32.400943 | 131 | 0.492211 | devinamatthews |
1421190022f56d2db91673dd915b6b08f0eb4d27 | 1,787 | cpp | C++ | hiro/core/widget/text-edit.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | hiro/core/widget/text-edit.cpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | hiro/core/widget/text-edit.cpp | ameer-bauer/higan-097 | a4a28968173ead8251cfa7cd6b5bf963ee68308f | [
"Info-ZIP"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #if defined(Hiro_TextEdit)
auto mTextEdit::allocate() -> pObject* {
return new pTextEdit(*this);
}
//
auto mTextEdit::backgroundColor() const -> Color {
return state.backgroundColor;
}
auto mTextEdit::cursor() const -> Cursor {
return state.cursor;
}
auto mTextEdit::doChange() const -> void {
if(state.onCh... | 20.306818 | 70 | 0.698937 | 13824125580 |
1422c3b50d998748e933ec40ec847ddd022c45af | 341 | hpp | C++ | include/invader/tag/hek/class/weapon.hpp | hellux/invader | 1287204249d66e5fa839d0aae7a70fd191400b1a | [
"Apache-2.0"
] | 28 | 2020-11-08T21:48:18.000Z | 2022-03-24T18:25:43.000Z | include/invader/tag/hek/class/weapon.hpp | hellux/invader | 1287204249d66e5fa839d0aae7a70fd191400b1a | [
"Apache-2.0"
] | 44 | 2020-09-28T05:53:21.000Z | 2022-03-31T14:11:46.000Z | include/invader/tag/hek/class/weapon.hpp | hellux/invader | 1287204249d66e5fa839d0aae7a70fd191400b1a | [
"Apache-2.0"
] | 10 | 2020-10-14T02:12:19.000Z | 2021-11-18T19:41:49.000Z | // SPDX-License-Identifier: GPL-3.0-only
#ifndef INVADER__TAG__HEK__CLASS__WEAPON_HPP
#define INVADER__TAG__HEK__CLASS__WEAPON_HPP
namespace Invader::HEK {
enum WeaponJasonJones {
WEAPON_JASON_JONES_NONE = 0,
WEAPON_JASON_JONES_PISTOL_SINGLEPLAYER,
WEAPON_JASON_JONES_PLASMA_RIFLE_SINGLEPLA... | 22.733333 | 52 | 0.774194 | hellux |
14236dd39c3da8c3deef34bf2f44525b4f787ed3 | 6,981 | cpp | C++ | shape_reconstruction/include/vcglib/wrap/nanoply/nanoply_vcg/main.cpp | tu-rbo/omip | 825442774d1a9712937b535e5ced4e4c1aa32fcc | [
"MIT"
] | 27 | 2016-11-10T16:11:28.000Z | 2021-12-21T20:11:39.000Z | src/3rdparty/vcglib/wrap/nanoply/nanoply_vcg/main.cpp | malasiot/mftools | 1edeec673110cdd5fa904ff2ff88289b6c3ec324 | [
"MIT"
] | 8 | 2016-10-27T10:10:05.000Z | 2019-12-07T21:27:02.000Z | src/3rdparty/vcglib/wrap/nanoply/nanoply_vcg/main.cpp | malasiot/mftools | 1edeec673110cdd5fa904ff2ff88289b6c3ec324 | [
"MIT"
] | 9 | 2016-11-25T18:24:12.000Z | 2020-05-24T03:20:33.000Z | /****************************************************************************
* NanoPLY *
* NanoPLY is a C++11 header-only library to read and write PLY file *
* *
* Co... | 47.168919 | 167 | 0.632144 | tu-rbo |
14238e18c63c19e81ec2e9c573d3c724ae2686e8 | 1,088 | cc | C++ | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/203_remove_linked_list_elements.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | /*
* =====================================================================================
*
* Filename: 203_remove_linked_list_elements.cc
*
* Description:
*
* Version: 1.0
* Created: 09/17/2015 09:48:38 AM
* Revision: none
* Compiler: gcc
*
* Author: (Qi... | 22.666667 | 88 | 0.488051 | norlanliu |
14245fe7c83f9ad19d9db73518e203cb3e967444 | 484 | cpp | C++ | src/Item6/Source.cpp | henrytien/effective_cpp_3rd | ff5fa999d68b4a625c939c7f30a10728e967f6bf | [
"MIT"
] | null | null | null | src/Item6/Source.cpp | henrytien/effective_cpp_3rd | ff5fa999d68b4a625c939c7f30a10728e967f6bf | [
"MIT"
] | null | null | null | src/Item6/Source.cpp | henrytien/effective_cpp_3rd | ff5fa999d68b4a625c939c7f30a10728e967f6bf | [
"MIT"
] | null | null | null | #include<iostream>
class Uncopyable
{
public:
Uncopyable() {}
~Uncopyable(){}
Uncopyable(const Uncopyable&) = delete;
Uncopyable& operator=(const Uncopyable&) = delete;
private:
/*Uncopyable(const Uncopyable&);
Uncopyable& operator=(const Uncopyable&);*/
};
class HomeForSale :private Uncopyable
{
public:
HomeFo... | 15.612903 | 51 | 0.67562 | henrytien |
14252f7db5a67bd349e7fb10186b7a225376376c | 7,531 | cc | C++ | tests/mime_test.cc | oktal/restgear | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | 2 | 2015-10-27T11:13:07.000Z | 2016-01-10T02:51:04.000Z | tests/mime_test.cc | oktal/rest | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | null | null | null | tests/mime_test.cc | oktal/rest | 615281a33eccd9c1d09f274254fd28313b0cd582 | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-FileCopyrightText: 2015 Mathieu Stefani
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <gmock/gmock-matchers.h>
#include <gtest/gtest.h>
#include <pistache/http.h>
#include <pistache/mime.h>
#include <locale>
using namespace Pistache::Http;
using namespace Pistache::Http::Mime;
using testing::Thr... | 38.819588 | 122 | 0.641084 | oktal |
14269b3269526a963734d2a29f6ac774f7277557 | 56 | cpp | C++ | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | 1 | 2021-08-30T20:02:34.000Z | 2021-08-30T20:02:34.000Z | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | null | null | null | examples/test_library/test.cpp | tomjnixon/arduino-scons-alt | 35f3725def8d515bc1b28d856188ec9dd10b063b | [
"MIT"
] | 1 | 2016-09-20T03:31:11.000Z | 2016-09-20T03:31:11.000Z | #include "test.h"
int get_delay() {
return 1000;
}
| 9.333333 | 17 | 0.607143 | tomjnixon |
14296e7d80698fedb84dc4e5be71095b7f422ff7 | 28,006 | cc | C++ | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2019-09-16T02:11:58.000Z | 2020-03-20T22:49:32.000Z | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | null | null | null | aslam_cv_cameras/test/test-cameras.cc | shuhannod/aslam_cv2 | 4dd48916b9e5b9d5aa56e28894a04d4a25a87348 | [
"Apache-2.0"
] | 3 | 2020-02-28T14:11:54.000Z | 2022-02-25T08:30:50.000Z | #include <Eigen/Core>
#include <eigen-checks/gtest.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <typeinfo>
#include <aslam/cameras/camera.h>
#include <aslam/cameras/camera-factory.h>
#include <aslam/cameras/camera-pinhole.h>
#include <aslam/cameras/camera-unified-projection.h>
#include <aslam/cameras... | 41.24595 | 144 | 0.69278 | shuhannod |
142bf1d7e83776d2b8dc838478926f2c7d09c497 | 2,795 | cc | C++ | zircon/system/utest/core/system-event/lowmem.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | zircon/system/utest/core/system-event/lowmem.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | zircon/system/utest/core/system-event/lowmem.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <unittest/unittest.h>
#include <lib/zx/event.h>
#include <lib/zx/job.h>
// Tests in this file rely that the default job is the root job.
static... | 35.833333 | 98 | 0.68229 | opensource-assist |
142ccccb72f03cfdda6d0666fcc986a6fee6aaa2 | 12,266 | cpp | C++ | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/Shape/Plugins/XLA/XlaHloShapeBuilder.cpp | shanshanpt/iree | 89351bba213e391b22c1fa4a80963827c4d82d86 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 38.211838 | 80 | 0.69126 | shanshanpt |
142d323a03dc52282b70141eddd1a3c93d6ff2f6 | 971 | hpp | C++ | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 21 | 2018-06-26T16:37:36.000Z | 2022-01-11T01:19:42.000Z | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | null | null | null | Code/include/OE/UI_OLD/Layouts/LayoutElement.hpp | mlomb/OrbitEngine | 41f053626f05782e81c2e48f5c87b04972f9be2c | [
"Apache-2.0"
] | 3 | 2019-10-01T14:10:50.000Z | 2021-11-19T20:30:18.000Z | #ifndef UI_LAYOUT_ELEMENT_HPP
#define UI_LAYOUT_ELEMENT_HPP
#include "OE/Math/Vec2.hpp"
namespace OrbitEngine { namespace UI {
enum LayoutProperty {
MINIMUM_SIZE = 0,
PREFERRED_SIZE,
FLEXIBLE_SIZE
};
enum Axis : int {
HORIZONTAL = 0, VERTICAL = 1
};
typedef Axis Orientation;
class LayoutElement {
pu... | 28.558824 | 175 | 0.762101 | mlomb |
142dee91a299e862a961533dec929be5fdc96bf9 | 1,901 | cpp | C++ | libraries/lib-basic-ui/GenericString.cpp | generic-pers0n/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 11 | 2021-08-08T18:34:30.000Z | 2022-01-14T11:48:17.000Z | libraries/lib-basic-ui/GenericString.cpp | saucedacity/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 11 | 2021-08-07T18:20:36.000Z | 2022-01-06T18:40:27.000Z | libraries/lib-basic-ui/GenericString.cpp | generic-pers0n/saucedacity | c737a38345c35b6b18900ee5ca0fe714b7957af6 | [
"CC-BY-3.0"
] | 1 | 2021-12-29T02:10:21.000Z | 2021-12-29T02:10:21.000Z | /*!********************************************************************
Saucedacity: A Digital Audio Editor
@file GenericString.cpp
@brief GenericString implementation.
Avery King
**********************************************************************/
#include "GenericString.h"
namespace GenericUI {
GenericString... | 18.637255 | 79 | 0.637033 | generic-pers0n |
289f68a259d9542a687da4b05f93feff4c0415a7 | 939 | cpp | C++ | src/core/coin/coin_view_backed.cpp | wurahara/stdchain | 4001f9c62bf9e70ea23a84e54bef4a01ab10f913 | [
"MIT"
] | null | null | null | src/core/coin/coin_view_backed.cpp | wurahara/stdchain | 4001f9c62bf9e70ea23a84e54bef4a01ab10f913 | [
"MIT"
] | null | null | null | src/core/coin/coin_view_backed.cpp | wurahara/stdchain | 4001f9c62bf9e70ea23a84e54bef4a01ab10f913 | [
"MIT"
] | null | null | null | #include "core/coin/coin_view_backed.h"
CoinViewBacked::CoinViewBacked(CoinView *coinView) : base{coinView} {}
bool CoinViewBacked::getCoin(const TxOutPoint &outPoint, Coin &coin) const {
return this->base->getCoin(outPoint, coin);
}
bool CoinViewBacked::haveCoin(const TxOutPoint &outPoint) const {
return th... | 26.083333 | 77 | 0.734824 | wurahara |
28a0627334f6d5bbd9d094d76ec79466c4a66a6c | 5,222 | cpp | C++ | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 354 | 2015-01-10T17:46:11.000Z | 2022-03-29T10:00:00.000Z | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3,243 | 2015-01-02T04:54:45.000Z | 2022-03-31T17:22:22.000Z | src/model/test/AirLoopHVACOutdoorAirSystem_GTest.cpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 157 | 2015-01-07T15:59:55.000Z | 2022-03-30T07:46:09.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 50.699029 | 126 | 0.748372 | muehleisen |
28a146ff9f543d7952310d003b9ce88a6f1c69cc | 2,177 | cpp | C++ | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/source/store.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// Project Queue++
/// Copyright (c) 2016
///
////////////////////////////////////////////////////////////////////////////////
/// @file types.hpp
/// @authors Poturaev Anton
/// @date ... | 26.876543 | 98 | 0.523656 | AntonPoturaev |
28a1ac3a6216f36b0819230589f3af54a9fd9373 | 455 | cc | C++ | application/common/event_names.cc | seanlong/crosswalk | 1d40a39ee794de66b36e8f22b3dde03e21b215cd | [
"BSD-3-Clause"
] | null | null | null | application/common/event_names.cc | seanlong/crosswalk | 1d40a39ee794de66b36e8f22b3dde03e21b215cd | [
"BSD-3-Clause"
] | null | null | null | application/common/event_names.cc | seanlong/crosswalk | 1d40a39ee794de66b36e8f22b3dde03e21b215cd | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/common/event_names.h"
namespace xwalk {
namespace application {
const char kOnLaunched[] = "onLaunched";
const char kOnSus... | 25.277778 | 73 | 0.749451 | seanlong |
28a28f4f0ec64ae497becc6434add8adf46bb7c2 | 7,396 | cpp | C++ | src/libtsduck/dtv/descriptors/tsC2DeliverySystemDescriptor.cpp | George-/tsduck | bcda6aa095c54071c9818ad8c035b5b86389d158 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/descriptors/tsC2DeliverySystemDescriptor.cpp | George-/tsduck | bcda6aa095c54071c9818ad8c035b5b86389d158 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/descriptors/tsC2DeliverySystemDescriptor.cpp | George-/tsduck | bcda6aa095c54071c9818ad8c035b5b86389d158 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2022, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 42.262857 | 165 | 0.598837 | George- |
28a3322f01dc5a1a56ac29fb05cf0bd2ae5ff5f9 | 3,591 | cpp | C++ | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | CMinus/CMinus/attribute/attribute_collection.cpp | benbraide/CMinusMinus | 6e32b825f192634538b3adde6ca579a548ca3f7e | [
"MIT"
] | null | null | null | #include "../type/type_object.h"
#include "attribute_collection.h"
cminus::attribute::collection::collection(std::shared_ptr<type::object> target_type)
: target_type_(target_type){}
cminus::attribute::collection::collection(const list_type &list, std::shared_ptr<type::object> target_type)
: target_type_(target_typ... | 25.468085 | 176 | 0.69897 | benbraide |
28a38d15e5526afbc21b50ae04438d05e525e353 | 1,046 | hpp | C++ | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/NodeReader.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* NodeReader.hpp
* Created by zhufeifei(34008081@qq.com) on 2018/03/03
*
* 视频文件读写,解复用的
*
*/
#pragma once
#include "NodeBase.hpp"
#include "IReader.hpp"
namespace player {
class NodeReader... | 13.240506 | 57 | 0.58891 | zhenfei2016 |
28a8a9f19e76e64bc4871f37b2e26d19ff0c1d3f | 13,310 | hpp | C++ | RaspberryPI_FS/Onboard-SDK/osdk-core/api/inc/dji_vehicle.hpp | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | RaspberryPI_FS/Onboard-SDK/osdk-core/api/inc/dji_vehicle.hpp | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | RaspberryPI_FS/Onboard-SDK/osdk-core/api/inc/dji_vehicle.hpp | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | 2 | 2021-05-18T07:04:23.000Z | 2021-05-23T13:22:13.000Z | /** @file dji_vehicle.hpp
* @version 3.3
* @date April 2017
*
* @brief
* Vehicle API for DJI onboardSDK library
*
* @Copyright (c) 2017 DJI
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* i... | 28.685345 | 82 | 0.695267 | HYEON-JIN-KWON |
28aa115bfb89cf963b0ea22406ae6f8dece58a5b | 2,054 | cc | C++ | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 890 | 2018-05-03T17:27:37.000Z | 2022-03-30T03:54:35.000Z | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 71 | 2018-05-03T22:36:07.000Z | 2021-10-04T22:58:59.000Z | asylo/platform/posix/io/io_context_eventfd.cc | kevin405/mosl_vsgx_migration | 76ddd438c8caad1051ea9a7e2040bf6ccee996a2 | [
"Apache-2.0"
] | 127 | 2018-05-03T21:03:47.000Z | 2022-03-28T20:21:43.000Z | /*
*
* Copyright 2018 Asylo 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... | 26.675325 | 75 | 0.678676 | kevin405 |
28b26c20f01f7221982ea9a4df18fd9c267fea16 | 5,699 | cc | C++ | cc/scrollbar_animation_controller_linear_fade_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | cc/scrollbar_animation_controller_linear_fade_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/scrollbar_animation_controller_linear_fade_unittest.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // Copyright 2012 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 "cc/scrollbar_animation_controller_linear_fade.h"
#include "cc/scrollbar_layer_impl.h"
#include "cc/single_thread_proxy.h"
#include "cc/test/fak... | 35.179012 | 140 | 0.735392 | GnorTech |
28b803182a830c9fc4501fe4754c36c05ffe90d5 | 12,474 | cpp | C++ | SheepShaver/src/MacOSX/sys_darwin.cpp | jvernet/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 940 | 2015-01-04T12:20:10.000Z | 2022-03-29T12:35:27.000Z | SheepShaver/src/MacOSX/sys_darwin.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 163 | 2015-02-10T09:08:10.000Z | 2022-03-13T05:48:10.000Z | SheepShaver/src/MacOSX/sys_darwin.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 188 | 2015-01-07T19:46:11.000Z | 2022-03-26T19:06:00.000Z | /*
* $Id$
*
* sys_darwin.cpp - Extra Darwin system dependant routines. Called by:
*
* sys_unix.cpp - System dependent routines, Unix implementation
*
* Based on Apple's CDROMSample.c and Evan Jones' cd-discid.c patches
*
* Basilisk II (C) 1997-2008 Christian Bauer
*
* This program is free software; you ca... | 28.285714 | 104 | 0.719016 | jvernet |
28b92ffb134d8456e86ac6a01fb77949fe96e59b | 10,742 | hpp | C++ | rclcpp/include/rclcpp/subscription_base.hpp | squizz617/rclcpp | 8e5ddb1f81d4ddf8f788b1d67cbb0e7ef477d504 | [
"Apache-2.0"
] | 3 | 2021-07-05T11:20:10.000Z | 2022-02-18T16:13:15.000Z | rclcpp/include/rclcpp/subscription_base.hpp | squizz617/rclcpp | 8e5ddb1f81d4ddf8f788b1d67cbb0e7ef477d504 | [
"Apache-2.0"
] | 16 | 2020-12-16T16:20:21.000Z | 2022-02-28T11:32:48.000Z | rclcpp/include/rclcpp/subscription_base.hpp | irobot-ros/rclcpp | edcae47df2528a9c06cfd98f204ad9b5d2da56b4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 33.886435 | 100 | 0.754515 | squizz617 |
28b9a59ce67701669817a309fba81dff0b76ec4d | 1,282 | hpp | C++ | Source/ThirdParty/include/cryptolens/DataObject.hpp | trdwll/CryptolensUE | c4bdb001e74a54bf57c98ed18fc78eb17b26e538 | [
"MIT"
] | null | null | null | Source/ThirdParty/include/cryptolens/DataObject.hpp | trdwll/CryptolensUE | c4bdb001e74a54bf57c98ed18fc78eb17b26e538 | [
"MIT"
] | null | null | null | Source/ThirdParty/include/cryptolens/DataObject.hpp | trdwll/CryptolensUE | c4bdb001e74a54bf57c98ed18fc78eb17b26e538 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace cryptolens_io {
namespace v20190401 {
// An immutable class representing an Cryptolens Data Object
class DataObject {
private:
int id_;
std::string name_;
std::string string_value_;
int int_value_;
public:
DataObject
( int id
, std::string name
, std::s... | 21.016393 | 74 | 0.681747 | trdwll |
28ba3290c1bd771e7dee70f8c740f77677e8fa9b | 9,880 | cpp | C++ | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | null | null | null | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | 4 | 2021-02-09T10:33:44.000Z | 2021-02-09T10:35:59.000Z | CPU_6502/CPU_6502/vm_class.cpp | JimmyHwang/PC6502 | d93067bd46a5df5c30a50ec79f5dff1c419edfc5 | [
"MIT"
] | null | null | null | #include "main.h"
//#define DEBUG_ADDRESSS_DECODER
//-----------------------------------------------------------------------------
// Memory Hook for CPU
//-----------------------------------------------------------------------------
UINT8
MemoryRead8(
MEMORY_CONTROL_PROTOCOL *Protocol,
UINTN Ip
) {
UINT8 Data;... | 21.858407 | 85 | 0.589676 | JimmyHwang |
28badb48492f82e1e867e8b6c966911cd60e76cc | 10,891 | cpp | C++ | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 162 | 2015-01-25T23:22:48.000Z | 2022-03-19T12:36:05.000Z | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 20 | 2016-01-08T21:54:33.000Z | 2021-11-05T13:36:30.000Z | triad-sycl/OptionParser.cpp | BeauJoh/HeCBench | 594b845171d686dc951971ce36ed59cf114dd2b4 | [
"BSD-3-Clause"
] | 85 | 2015-01-06T15:27:13.000Z | 2022-01-24T16:49:09.000Z | #include <string>
#include <vector>
#include <map>
#include "OptionParser.h"
#include "Utility.h"
#include <sstream>
#include <fstream>
#include <iomanip>
using namespace std;
OptionParser::OptionParser()
: helpRequested( false )
{
addOption("configFile", OPT_STRING, "",
"specify configuration fil... | 27.997429 | 88 | 0.524102 | BeauJoh |
28bce1fc6f52371373ec58e7d240f1779bc20602 | 4,328 | cpp | C++ | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | src/oswindows/TsfClient/TfCandidateList.cpp | millimoji/ribbon | 59e6659848f5edc435d58078f0cdcd805daf9f3f | [
"MIT"
] | null | null | null | // 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.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h"
#include "... | 23.394595 | 115 | 0.639325 | millimoji |
28bd3b133d3139d6f17fe1121b9bc6f7ee02b370 | 4,768 | cpp | C++ | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | daemon/worktipsnetctl.cpp | Ghost-ai-cpu/lokinet | 2f2074d1069b39d0e455bcbf12ea53304a6a76a1 | [
"Zlib"
] | null | null | null | #include <config/config.hpp>
#include <router_contact.hpp>
#include <util/logging/logger.hpp>
#include <util/logging/ostream_logger.hpp>
#include <cxxopts.hpp>
#include <string>
#include <vector>
#ifdef WITH_CURL
#include <curl/curl.h>
#endif
namespace
{
bool
dumpRc(const std::vector< std::string >& files)
{
... | 26.488889 | 79 | 0.5862 | Ghost-ai-cpu |
28be698df0f1a2f04af20506bc2572ac38c20b1d | 20,356 | cc | C++ | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | java/src/main/c++/jni_spark_vw.cc | thmavri/vowpal_wabbit | 6a5f1f3b790cd37530fae4ec436f5c76683d5b27 | [
"BSD-3-Clause"
] | null | null | null | #include "jni_spark_vw.h"
#include "vw_exception.h"
#include "best_constant.h"
#include "util.h"
#include "options_serializer_boost_po.h"
#include "learner.h"
#include "simple_label_parser.h"
#include <algorithm>
#include <exception>
#include "shared_data.h"
jobject getJavaPrediction(JNIEnv* env, vw* all, e... | 27.620081 | 121 | 0.656956 | thmavri |
28bf32ff2ec315fe9b4786a33bfc0e9342656ed5 | 41,161 | cpp | C++ | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | 2 | 2021-05-02T18:37:48.000Z | 2021-07-18T16:18:14.000Z | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | source/idlib/math/Lcp.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | // Copyright (C) 2007 Id Software, Inc.
//
#include "../precompiled.h"
#pragma hdrstop
// static idCVar lcp_showFailures( "lcp_showFailures", "0", CVAR_SYSTEM | CVAR_BOOL, "show LCP solver failures" );
const float LCP_BOUND_EPSILON = 1e-5f;
const float LCP_ACCEL_EPSILON = 1e-5f;
const float LCP_DELTA_A... | 25.7901 | 156 | 0.562669 | JasonHutton |
28c0961fda250a1b1e9db6394c475466af3f5533 | 19,072 | cpp | C++ | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/SDK/sources/MagicSoftware/FreeMagic/Source/Containment3D/MgcCont3DMinSphere.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | // Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000-2002. All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement. The various license agreemen... | 29.52322 | 78 | 0.511063 | Rikoshet-234 |
28c0baf1c0409af816d5917f9db5264da6708c69 | 2,741 | cpp | C++ | test/benchmark-hwevents.cpp | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 19 | 2018-04-20T06:51:42.000Z | 2022-02-24T02:12:00.000Z | test/benchmark-hwevents.cpp | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 2 | 2018-04-20T09:53:37.000Z | 2018-04-27T19:01:16.000Z | test/benchmark-hwevents.cpp | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 3 | 2019-02-25T19:26:51.000Z | 2020-11-04T00:50:42.000Z | #include <vector>
#include <iterator>
#include <numeric>
#include <cstdio>
#include <cstdlib>
#include "linux-perf-events.h"
#include "sse/sse-matcher.h"
#include "sse/sse-parser-signed.h"
#include "sse/sse-simplified-parser-signed.h"
#include "application.h"
class BenchmarkApp: public Application {
using Signe... | 27.686869 | 96 | 0.64502 | WojciechMula |
28c0db8baa1ec57fa1540fafd34a237d7c12a747 | 19,450 | cpp | C++ | xlslib/src/xlslib/unit.cpp | mikewolfli/wfouttoexcel | 6818774639b464f16c3e402af9c9f06634402957 | [
"Unlicense"
] | 37 | 2015-05-14T13:41:39.000Z | 2022-03-21T09:56:45.000Z | xlslib-package-2.5.0/xlslib/xlslib/src/xlslib/unit.cpp | DrTodd13/ccswisssys | 9d730f50e23154747786a80df1c073426979ff47 | [
"BSD-2-Clause"
] | 1 | 2018-04-02T20:22:26.000Z | 2018-04-02T20:22:26.000Z | xlslib-package-2.5.0/xlslib/xlslib/src/xlslib/unit.cpp | DrTodd13/ccswisssys | 9d730f50e23154747786a80df1c073426979ff47 | [
"BSD-2-Clause"
] | 27 | 2015-02-02T09:46:49.000Z | 2021-06-19T10:29:23.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This file is part of xlslib -- A multiplatform, C/C++ library
* for dynamic generation of Excel(TM) files.
*
* Copyright 2004 Yeico S. A. de C. V. All Rights Reserved.
* Copyright 2008-2013 David Hoerl All Rights Reserved.
*
* ... | 26.753783 | 146 | 0.691157 | mikewolfli |
28c66c52a611c6694e5fd41ce144e2b327b73643 | 1,771 | cc | C++ | SimG4Core/Notification/src/G4TrackToParticleID.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | SimG4Core/Notification/src/G4TrackToParticleID.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimG4Core/Notification/src/G4TrackToParticleID.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | #include "SimG4Core/Notification/interface/G4TrackToParticleID.h"
#include "G4Track.hh"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
int G4TrackToParticleID::particleID(const G4Track * g4trk)
{
int particleID_ = g4trk->GetDefinition()->GetPDGEncoding();
if (0 == particleID_) {
edm::LogWarn... | 30.016949 | 81 | 0.661773 | nistefan |
28c77abb7f2ec847aa936843e9a8ec77c1ebe1d6 | 1,143 | cc | C++ | garnet/bin/system_monitor/harvester/gather_memory_test.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | garnet/bin/system_monitor/harvester/gather_memory_test.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | garnet/bin/system_monitor/harvester/gather_memory_test.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gather_memory.h"
#include "dockyard_proxy_fake.h"
#include "gtest/gtest.h"
#include "root_resource.h"
class GatherMemoryTest : public ::testing... | 31.75 | 79 | 0.755906 | opensource-assist |
28c9fb94fdc9b5c76adb70ee665b1238d787ff12 | 1,094 | cc | C++ | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | effects/src/passthrough.cc | mnyrenius/awesome-fxd | b643cea47a92aa465d24194e23a10e4ff34e0de1 | [
"MIT"
] | null | null | null | #include <audio_processor.h>
#include <fx_plugin.h>
#include <cstring>
#include <memory>
namespace awesomefx
{
class Passthrough : public AudioProcessor
{
public:
Passthrough(const AudioProcessingContext& context)
{
printf("Current sample rate: %u\n", context.getSampleRate());
}
void process(... | 21.45098 | 107 | 0.691956 | mnyrenius |
28caa0e34d402206facf0180406c5f093f3a17fb | 801 | hpp | C++ | base/collection_cast.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | null | null | null | base/collection_cast.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | 1 | 2018-06-27T11:44:23.000Z | 2018-06-28T10:51:48.000Z | base/collection_cast.hpp | Barysman/omim | 469632c879027ec38278ebda699415c28dbd79e0 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <type_traits>
namespace my
{
namespace details
{
template <typename T>
struct ValueType
{
using TType = typename std::remove_reference_t<T>::value_type;
};
template <typename T>
using TValueType = typename ValueType<T>::TType;
} // namespace details
// Use this function to cast one collecti... | 26.7 | 83 | 0.710362 | Barysman |
28cb707c54081c1e521b9cbf9044582698c7947b | 13,070 | cpp | C++ | applications/FluidDynamicsApplication/custom_conditions/fs_werner_wengle_wall_condition.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/FluidDynamicsApplication/custom_conditions/fs_werner_wengle_wall_condition.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/FluidDynamicsApplication/custom_conditions/fs_werner_wengle_wall_condition.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | #include "fs_werner_wengle_wall_condition.h"
namespace Kratos {
///@name Specialized implementation for functions that depend on TDim
///@{
/**
* @see FSWernerWengleWallCondition::EquationIdVector
*/
template<>
void FSWernerWengleWallCondition<2, 2>::EquationIdVector(
EquationIdVectorType& rResult, const Process... | 30.608899 | 108 | 0.664116 | lkusch |
28cbf30a8076c33e2a78dc2ec1ccb8d287177627 | 6,821 | hpp | C++ | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | files/connector.hpp | DmitryKorotin/mama | 8ec15c4a1cb70332d6caf8abd30a9229c1875628 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 29.528139 | 95 | 0.743733 | DmitryKorotin |
28cda7cc336ef0443938bde337e3a37d5726a80a | 1,125 | cpp | C++ | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/antlr/antlr4/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp | mikijov/rune | 66f58cc337e3fb919034128bec690fb86e708234 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "misc/MurmurHash.h"
#include "Lexer.h"
#include "atn/LexerSkipAction.h"
using namespace antlr4;
using namespace... | 23.4375 | 66 | 0.739556 | mikijov |
28d058e61e97bedcd895edacb03a1a64468c0c05 | 20,716 | cpp | C++ | src/shogun/classifier/svm/GNPPLib.cpp | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/classifier/svm/GNPPLib.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/classifier/svm/GNPPLib.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*-----------------------------------------------------------------------
*
* 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 License, or
* (at your option) any l... | 28.61326 | 92 | 0.474754 | srgnuclear |
28d23d042bfbfb7e5e4a6ed33048d0f63f19fdd2 | 1,537 | cpp | C++ | lib/src/dma/f4/interrupts/Dma2Stream3InterruptHandler.cpp | AIHZP/andysworkshop-stm32plus | 8f7868bf30e9df7df38004597a0430d1fe5d0370 | [
"BSD-3-Clause"
] | 607 | 2015-01-06T18:38:17.000Z | 2022-03-19T18:37:09.000Z | lib/src/dma/f4/interrupts/Dma2Stream3InterruptHandler.cpp | AIHZP/andysworkshop-stm32plus | 8f7868bf30e9df7df38004597a0430d1fe5d0370 | [
"BSD-3-Clause"
] | 148 | 2015-01-02T11:34:15.000Z | 2021-05-10T05:15:30.000Z | lib/src/dma/f4/interrupts/Dma2Stream3InterruptHandler.cpp | AIHZP/andysworkshop-stm32plus | 8f7868bf30e9df7df38004597a0430d1fe5d0370 | [
"BSD-3-Clause"
] | 203 | 2015-01-10T14:24:58.000Z | 2022-03-25T16:08:57.000Z | /*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
#include "config/stm32plus.h"
#include "config/dma.h"
// this is only for the F4
#ifdef STM32PLUS_F4
using namespace stm32plus;
// s... | 31.367347 | 119 | 0.735198 | AIHZP |
28d5369650e825e8c602afcb034f7e713ddcff47 | 1,707 | cc | C++ | Tools/Matlab/mex/zlibUncompress.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Tools/Matlab/mex/zlibUncompress.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Tools/Matlab/mex/zlibUncompress.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | 2 | 2018-06-04T12:38:54.000Z | 2018-09-22T10:31:27.000Z | #include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <vector>
#include "zlib.h"
#include <mex.h>
#define BYTE uint8_t
#define MAX_UNCOMPRESSED_SIZE 1000000
using namespace std;
vector<uint8_t> temp(MAX_UNCOMPRESSED_SIZE);
int UncompressData( const BYTE* abSrc, int nLenSrc, BYTE* abDst, int nLenDst )
... | 22.76 | 78 | 0.639133 | ToyotaResearchInstitute |
28d615000acb979439498f09150476da3e942d53 | 2,837 | cpp | C++ | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | WeaponOffset.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
#include "StdAfx.h"
#include "WeaponOffset.h"
#include "Utility/Hermite.h"
#include <Mannequin/Serialization.h>
void SWeaponOffset::Serialize(Serialization::IArchive& ar)
{
ar(m_position, "Position", "Position");
ar(m_rotation, "Rotation", "Ro... | 21.823077 | 120 | 0.752556 | IvarJonsson |
28da71dd189f5e17b3dd89db50bea1d2ed9b7969 | 1,717 | cpp | C++ | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | null | null | null | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | null | null | null | src/camera.cpp | Arjentix/Pi-RTSP-Server | 7346030b22d7e7c64f9a8fd0a3f8611a255da9d8 | [
"MIT"
] | 1 | 2021-09-08T09:32:15.000Z | 2021-09-08T09:32:15.000Z | /*
MIT License
Copyright (c) 2021 Polyakov Daniil Alexandrovich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | 30.122807 | 78 | 0.7682 | Arjentix |
28da798ddad1ca2a3c18c54ecd8b336237d32201 | 7,223 | cpp | C++ | engine/core/render/gles/GLESShaderProgram.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | null | null | null | engine/core/render/gles/GLESShaderProgram.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | null | null | null | engine/core/render/gles/GLESShaderProgram.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | null | null | null | #include "GLESRenderBase.h"
#include "GLESRenderer.h"
#include "GLESShaderProgram.h"
#include "GLESMapping.h"
#include <engine/core/util/Exception.h>
#include <engine/core/log/Log.h>
#include "engine/core/memory/MemAllocDef.h"
namespace Echo
{
GLES2ShaderProgram::GLES2ShaderProgram()
: ShaderProgram()
{
m_shader... | 27.996124 | 135 | 0.707047 | Houkime |
28df063924662d13f1fcd904ac19c519e1287cf7 | 2,075 | cpp | C++ | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | 1 | 2019-11-23T15:41:58.000Z | 2019-11-23T15:41:58.000Z | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | null | null | null | LRUCache/HashLRUCache.cpp | zhanMingming/DataStruct | 7e0c665f02d49919e3df2f08f7a5945300ebd8f1 | [
"MIT"
] | null | null | null | #include"HashLRUCache.h"
#include"Hash.h"
namespace zhanmm {
HashLRUCache::HashLRUCache(const std::string& name_, CacheOption option)
:name(name_)
{
db_num = option.db_num;
assert(db_num > 0);
//name = name_;
if (option.maxmemory != -1) {
const size_t per_capacity = (option.maxmemory + ... | 22.311828 | 91 | 0.568193 | zhanMingming |
28e05e61747a6b44d930b74bdd5b0ca8acbb095c | 483 | cpp | C++ | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | Source/Tests/LinuxSyscalls/x64/Ioctl.cpp | MerryMage/FEX | 55d981fcb01dffd172f48ca83304b2062ccd95b3 | [
"MIT"
] | null | null | null | /*
$info$
tags: LinuxSyscalls|syscalls-x86-64
$end_info$
*/
#include "Tests/LinuxSyscalls/Syscalls.h"
#include "Tests/LinuxSyscalls/x64/Syscalls.h"
#include <stddef.h>
#include <stdint.h>
#include <sys/ioctl.h>
namespace FEX::HLE::x64 {
void RegisterIoctl() {
REGISTER_SYSCALL_IMPL_X64(ioctl, [](FEXCore::Core::... | 21.954545 | 128 | 0.687371 | MerryMage |
28e1d1a45f3f34a4c72949f010606c41049e3612 | 213 | cpp | C++ | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | null | null | null | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | 1 | 2016-01-22T00:25:09.000Z | 2016-01-22T00:25:09.000Z | tst/extraordinary_graphs.cpp | kele/mixed_connectivity | fb038d9ef70a9df3b109fe364df41e98f1775f0e | [
"MIT"
] | null | null | null | #include "extraordinary_graphs.hpp"
std::vector<edge_base_t> petersen_graph_e =
{
{0, 1}, {1, 2}, {2, 3}, {3, 4}, {4, 0}, {1, 8}, {2, 6}, {3, 9}, {7, 4}, {0, 5},
{5, 6}, {6, 7}, {7, 8}, {8, 9}, {9, 5}
};
| 26.625 | 83 | 0.450704 | kele |
28e1e600bd4ad9a43ceec5c822d9303ed1ae8683 | 1,111 | hpp | C++ | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/include/duckdb/parser/parsed_data/create_table_info.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// parser/parsed_data/create_table_info.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/common.hpp"
#include "duckdb/com... | 29.236842 | 116 | 0.620162 | RelationalAI-oss |
28e56082e85e8c246aeed62c99b3b7589712c39e | 2,418 | hpp | C++ | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 21 | 2019-01-29T14:41:46.000Z | 2022-03-11T00:22:56.000Z | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | null | null | null | fon9/auth/AuthBase.hpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 9 | 2019-01-27T14:19:33.000Z | 2022-03-11T06:18:24.000Z | /// \file fon9/auth/AuthBase.hpp
/// \author fonwinz@gmail.com
#ifndef __fon9_auth_AuthBase_hpp__
#define __fon9_auth_AuthBase_hpp__
#include "fon9/auth/AuthBase.h"
#include "fon9/intrusive_ptr.hpp"
#include "fon9/SortedVector.hpp"
#include "fon9/CharVector.hpp"
namespace fon9 { namespace auth {
class fon9_API AuthM... | 29.487805 | 91 | 0.726634 | fonwin |
28e6ff03e2665d11d7f069f9092db30d81485ba6 | 498 | hpp | C++ | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/gui/include/sge/gui/renderer/base_ref.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_GUI_RENDERER_BASE_REF_HPP_INCLUDED
#define SGE_GUI_RENDERER_BASE_REF_HPP_INCLUDED
#inc... | 24.9 | 61 | 0.74498 | cpreh |
28e97639efa2d85fd3cd8e4128ea7ca434431415 | 587 | hpp | C++ | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | lab/lab12/cstereoshape.hpp | YZL24/SUSTech-CS205 | c15e4055b3e260e84e94c8db46b4180448c3619f | [
"MIT"
] | null | null | null | #pragma once
#include <iomanip>
#include <iostream>
using namespace std;
class CStereoShape {
static int numberOfObject;
public:
virtual double getArea() const {
cout << "CStereoShape::getArea()" << endl;
return 0.0f;
}
virtual double getVolume() const {
cout << "CStereoShape::... | 22.576923 | 73 | 0.632027 | YZL24 |
28ebaf76052c51cf0c158de0fdade462e2ad0745 | 12,536 | cpp | C++ | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | FGSMTest.cpp | formal-verification-research/ARFramework | 9be2b7170618da8c46cb10ed9c67adf68fcaac2a | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
#include "tensorflow_graph_tools.hpp"
#include "GraphManager.hpp"
#include "grid_tools.hpp"
#include "tensorflow/core/lib/io/path.h"
#include "tensorflow/core/lib/strings/str_util.h"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/init_main.h... | 39.05296 | 183 | 0.625718 | formal-verification-research |
28ec806e43af25655d0e07f9fa130d76938f5256 | 17,083 | cpp | C++ | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 174 | 2017-04-10T21:29:14.000Z | 2022-03-09T11:38:53.000Z | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 58 | 2018-01-11T16:21:24.000Z | 2022-03-21T22:26:09.000Z | src/main/cpp/smtpappender.cpp | pseiderer/logging-log4cxx | 5fa793b8ae382ec7a3374a190aee2cf81479e6a6 | [
"Apache-2.0"
] | 110 | 2017-04-10T21:22:40.000Z | 2022-03-15T13:34:00.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 You under the Apache License, Version 2.0
* (the "License"); you may ... | 21.596713 | 111 | 0.684891 | pseiderer |
28ed5bb5fe4494fe35cc39a2cfad45a8903c559f | 9,256 | cpp | C++ | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | 4 | 2020-06-27T18:30:17.000Z | 2020-07-23T17:39:15.000Z | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | null | null | null | src/easylib.cpp | orgtechservice/libmaycloud | b6e58e637160d32ecf022ba2e2ae1b243597bc28 | [
"MIT"
] | null | null | null | #include "maycloud/easylib.h"
#include <unistd.h>
#include <cstring>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <fstream>
EasyVector explode(const std::string &delimiter, const std::string &str) {
EasyVector result;
int length = str.length();
int delimiter_length = delimiter.length();
if(d... | 21.084282 | 115 | 0.60901 | orgtechservice |
28ee566db50cf6329ae9e711cd9a8c026c41acb5 | 2,722 | cpp | C++ | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | 001BlankGUI/Middlewares/ST/touchgfx/framework/source/touchgfx/widgets/canvas/AbstractPainterABGR2222.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.17.0 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory... | 38.885714 | 108 | 0.495224 | fjpolo |
28ef3385331649833bfc4544d0747c9869557dea | 1,628 | cpp | C++ | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | null | null | null | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | 12 | 2019-04-30T11:57:33.000Z | 2021-01-15T14:06:49.000Z | cpp/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.cpp | PivovarA/oneDAL | 79bbe88fb3904c4afc60c5ae900f6199e5b44425 | [
"Apache-2.0"
] | 2 | 2019-04-30T09:06:05.000Z | 2019-08-15T06:39:47.000Z | /*******************************************************************************
* Copyright 2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 34.638298 | 97 | 0.697174 | PivovarA |
28f0f90437c04a9ddf0bb9ccbc6dd09eb21a3e77 | 1,390 | cpp | C++ | doc/src/examples/algorithms/discrete_hausdorff_distance_strategy.cpp | jkerkela/geometry | 4034ac88b214da0eab8943172eff0f1200b0a6cc | [
"BSL-1.0"
] | 1,155 | 2015-01-10T19:04:33.000Z | 2022-03-30T12:30:30.000Z | doc/src/examples/algorithms/discrete_hausdorff_distance_strategy.cpp | jkerkela/geometry | 4034ac88b214da0eab8943172eff0f1200b0a6cc | [
"BSL-1.0"
] | 623 | 2015-01-02T23:45:23.000Z | 2022-03-09T11:15:23.000Z | doc/src/examples/algorithms/discrete_hausdorff_distance_strategy.cpp | jkerkela/geometry | 4034ac88b214da0eab8943172eff0f1200b0a6cc | [
"BSL-1.0"
] | 228 | 2015-01-13T12:55:42.000Z | 2022-03-30T11:11:05.000Z | // Boost.Geometry
// QuickBook Example
// Copyright (c) 2018, Oracle and/or its affiliates
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://ww... | 28.958333 | 96 | 0.723741 | jkerkela |
28f1af2a8ecdc8fde3b212c997be7750c3d2a561 | 4,474 | cpp | C++ | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 20 | 2017-08-29T09:01:26.000Z | 2021-12-14T13:43:18.000Z | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 78 | 2017-08-29T18:08:24.000Z | 2022-01-17T17:45:23.000Z | src/App.cpp | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 25 | 2017-09-03T07:03:18.000Z | 2022-03-11T06:29:32.000Z | /*
* Copyight 2017 Akshay Agarwal, agarwal.akshay.akshay8@gmail.com
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "App.h"
#include <AboutWindow.h>
#include <Catalog.h>
#include <Directory.h>
#include <Entry.h>
#include <File.h>
#include <FindDirectory.h>
#include <LocaleRoster.... | 18.411523 | 73 | 0.706974 | JadedCtrl |
28f283027a0bd58517c2f029f77fc54bebe07d6a | 4,255 | cpp | C++ | LeetCode/C++/General/Medium/PermutationSequence/main.cpp | busebd12/InterviewPreparation | e68c41f16f7790e44b10a229548186e13edb5998 | [
"MIT"
] | null | null | null | LeetCode/C++/General/Medium/PermutationSequence/main.cpp | busebd12/InterviewPreparation | e68c41f16f7790e44b10a229548186e13edb5998 | [
"MIT"
] | null | null | null | LeetCode/C++/General/Medium/PermutationSequence/main.cpp | busebd12/InterviewPreparation | e68c41f16f7790e44b10a229548186e13edb5998 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
/*
* Solutions:
*
* 1. Using recursion + backtracking to generate all possible permutations and then select the one at the kth index.
*
* Time complexity: O(n!)
* Space complexity: O(n!)
*
* 2. Generate the ne... | 18.744493 | 169 | 0.554642 | busebd12 |
28f4fb502eb130a0f4ce1b0757d889711376a595 | 178 | cc | C++ | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 7 | 2019-05-09T15:38:55.000Z | 2021-12-07T03:13:29.000Z | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 1 | 2019-06-20T03:01:18.000Z | 2019-06-20T03:01:18.000Z | src/mob/hostile/Chaos.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | null | null | null | #include "mob/hostile/Chaos.h"
#include "mob/player/Player.h"
using namespace Pathos;
void Chaos::beKilledBy(Player &p) {
p.addExperience(5000000);
p.addDrachma(250000);
}
| 17.8 | 35 | 0.730337 | kallentu |
28f58bdd4dbfeedcb32e296b8c5b7b774f4f171a | 32,899 | cpp | C++ | RNAstructure_Source/RNA_class/Multilign_object.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | RNAstructure_Source/RNA_class/Multilign_object.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | RNAstructure_Source/RNA_class/Multilign_object.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | #include <sstream>
#include <fstream>
#include <algorithm>
#include <cstdio>
#include <iostream>
//Usually the number of sequences in one Multilign object is small; thus,
//the pseudo-random number generated in random_shuffle function from STL::algorithm
//is good enough.
//#include <ctime>
//#include "../src/random.h"... | 36.152747 | 427 | 0.575884 | mayc2 |
28f6f491695166664efa66bcb10d2dc9fc6cb828 | 39,107 | hh | C++ | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | include/qpdf/QPDFObjectHandle.hh | ams-tschoening/qpdf | 8f06da75343a5e970ff7a6f275c319172e6292d0 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2005-2019 Jay Berkenbilt
//
// This file is part of qpdf.
//
// 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 ... | 36.858624 | 78 | 0.681285 | ams-tschoening |
28f81470874a91a6c5d61980bc5e0757988b216d | 8,782 | cpp | C++ | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 3 | 2016-01-15T20:17:21.000Z | 2021-01-21T02:32:15.000Z | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 11 | 2016-07-26T01:37:46.000Z | 2018-06-19T16:50:25.000Z | examples/jointHistIOExample.cpp | GRAVITYLab/edda | 2acd00373db1003922db9f5959644e7506de5726 | [
"MIT"
] | 12 | 2016-02-09T04:31:41.000Z | 2021-12-03T01:04:04.000Z | #include <string>
#include <vector>
#include "dataset/distr_array.h"
#include "distributions/distribution_modeler.h"
#include "distributions/joint_GMM.h"
#include "distributions/joint_gaussian.h"
#include "io/edda_reader.h"
#include "io/edda_writer.h"
#include "distributions/joint_histogram.h"
using namespace edda... | 29.972696 | 128 | 0.656001 | GRAVITYLab |
28fa480e80662fd8ea9be937540af46e3911fab9 | 49,011 | cxx | C++ | Charts/Core/vtkChartXYZ.cxx | michaelchanwahyan/vtk-8.1.2 | 243225b750443f76dcb119c1bb8e72d41e505bc0 | [
"BSD-3-Clause"
] | 2 | 2017-12-08T07:50:51.000Z | 2018-07-22T19:12:56.000Z | Charts/Core/vtkChartXYZ.cxx | sakjain92/VTK | 1c32f7a180e2750d4678744d7fc47a00f0eb4780 | [
"BSD-3-Clause"
] | 1 | 2019-06-03T17:04:59.000Z | 2019-06-05T15:13:28.000Z | Charts/Core/vtkChartXYZ.cxx | sakjain92/VTK | 1c32f7a180e2750d4678744d7fc47a00f0eb4780 | [
"BSD-3-Clause"
] | 1 | 2020-07-20T06:43:49.000Z | 2020-07-20T06:43:49.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkChartXYZ.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dis... | 29.578153 | 89 | 0.53943 | michaelchanwahyan |
28fab419c1d125cdef791ecf805e7cd13bb470cf | 8,643 | cc | C++ | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:17:58.000Z | 2021-08-02T12:17:58.000Z | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | null | null | null | mace/ops/arm/base/activation.cc | zhangzhimin/mace | c28f093d719fd650a4308895cd045c26d0f198f6 | [
"Apache-2.0"
] | 1 | 2021-08-02T12:18:00.000Z | 2021-08-02T12:18:00.000Z | // Copyright 2020 The MACE Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 31.315217 | 80 | 0.608006 | zhangzhimin |
28fc5e0ee00f8cafe17e4f2ae0ec58241a43fc4f | 311 | hpp | C++ | libraries/fc/include/fc/io/fstream.hpp | Laighno/evt | 90b94e831aebb62c6ad19ce59c9089e9f51cfd77 | [
"MIT"
] | 1,411 | 2018-04-23T03:57:30.000Z | 2022-02-13T10:34:22.000Z | libraries/fc/include/fc/io/fstream.hpp | Zhang-Zexi/evt | e90fe4dbab4b9512d120c79f33ecc62791e088bd | [
"Apache-2.0"
] | 27 | 2018-06-11T10:34:42.000Z | 2019-07-27T08:50:02.000Z | libraries/fc/include/fc/io/fstream.hpp | Zhang-Zexi/evt | e90fe4dbab4b9512d120c79f33ecc62791e088bd | [
"Apache-2.0"
] | 364 | 2018-06-09T12:11:53.000Z | 2020-12-15T03:26:48.000Z | #include <fc/filesystem.hpp>
#include <string>
namespace fc {
/**
* Grab the full contents of a file into a string object.
* NB reading a full file into memory is a poor choice
* if the file may be very large.
*/
void read_file_contents(const fc::path& filename, std::string& result);
} // namespace fc
| 22.214286 | 71 | 0.707395 | Laighno |
28fd922d77b81b9605c657ff9d5097b8f44bd109 | 4,112 | cc | C++ | paddle/fluid/operators/expand_as_v2_op_npu.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/fluid/operators/expand_as_v2_op_npu.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/operators/expand_as_v2_op_npu.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | /* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | 41.959184 | 79 | 0.636187 | L-Net-1992 |
28ffda0111a2631aba49658194e5f1f182e25259 | 15,123 | cpp | C++ | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | src/byte_compare.cpp | baydroid/Dictionary_Trie | bc58403992ee978b0ed76645f66582222b36a2bd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 transmission.aquitaine@yahoo.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 27.697802 | 167 | 0.544336 | baydroid |
e9027bf288ba62fcd3f780129d6dd0268744ce4f | 5,987 | cpp | C++ | data/ROS-CATEC/CATEC_ugv/src/sendWP.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null | data/ROS-CATEC/CATEC_ugv/src/sendWP.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null | data/ROS-CATEC/CATEC_ugv/src/sendWP.cpp | khairulislam/phys | fc702520fcd3b23022b9253e7d94f878978b4500 | [
"MIT"
] | null | null | null | /*************************************************************************
*
* FADA-CATEC
* __________________
*
* [2013] FADA-CATEC
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of FADA-CATEC and its suppliers,
* if any. The intellectual and technical ... | 31.34555 | 98 | 0.603474 | khairulislam |
e905573bde907d1e1fce98a2d152d103e24a2c1b | 8,316 | cc | C++ | arc/data-snapshotd/worker_bridge_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | arc/data-snapshotd/worker_bridge_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | arc/data-snapshotd/worker_bridge_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 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.
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <base/bind.h>
#include <base/callback_helpers.h>
#include <base/stri... | 34.363636 | 80 | 0.719697 | Toromino |
e906176dfa07a8df170a4da4dc34fa7f176baf17 | 4,538 | cpp | C++ | src/maxmatching_test.cpp | chikiulo/yisi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 18 | 2019-01-23T16:06:29.000Z | 2022-02-16T19:26:27.000Z | src/maxmatching_test.cpp | nrc-cnrc/YiSi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 5 | 2019-02-13T13:46:10.000Z | 2022-01-03T14:58:40.000Z | src/maxmatching_test.cpp | nrc-cnrc/YiSi | fd07bfc58ab5ce8d5ee41d5e563d3c8d42e992db | [
"MIT"
] | 1 | 2021-08-13T19:01:18.000Z | 2021-08-13T19:01:18.000Z | /**
* @file maxmatching_test.cpp
* @brief Unit test for maxmatching.
*
* @author Jackie Lo
*
* Multilingual Text Processing / Traitement multilingue de textes
* Digital Technologies Research Centre / Centre de recherche en technologies numériques
* National Research Council Canada / Conseil national de recherch... | 25.784091 | 88 | 0.494271 | chikiulo |
e90a18a9017fb26b8e44e207f031ad16b4a3428a | 11,043 | cc | C++ | chrome/browser/signin/chrome_signin_url_loader_throttle_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | chrome/browser/signin/chrome_signin_url_loader_throttle_unittest.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | chrome/browser/signin/chrome_signin_url_loader_throttle_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2018 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/signin/chrome_signin_url_loader_throttle.h"
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#i... | 39.021201 | 80 | 0.6999 | Yannic |
e90ccfc26abedf978f7f454001fa98497c30ef28 | 37,281 | cpp | C++ | src/uberdelegate.cpp | lethosor/Dwarf-Therapist | 356ae803fe8a562824004f1776c11b31feeb6f36 | [
"MIT"
] | null | null | null | src/uberdelegate.cpp | lethosor/Dwarf-Therapist | 356ae803fe8a562824004f1776c11b31feeb6f36 | [
"MIT"
] | null | null | null | src/uberdelegate.cpp | lethosor/Dwarf-Therapist | 356ae803fe8a562824004f1776c11b31feeb6f36 | [
"MIT"
] | null | null | null | /*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, m... | 40.216828 | 191 | 0.569888 | lethosor |
e90e9b77a42ee42082241bec9e9d6806ab76d43f | 2,458 | cpp | C++ | Modules/DiffusionCore/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | HRS-Navigation/MITK-Diffusion | b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87 | [
"BSD-3-Clause"
] | 37 | 2019-07-05T10:55:06.000Z | 2022-03-21T12:09:35.000Z | Modules/DiffusionImaging/DiffusionCore/src/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 6 | 2019-11-04T16:05:47.000Z | 2022-03-22T15:53:31.000Z | Modules/DiffusionImaging/DiffusionCore/src/DicomImport/mitkDiffusionHeaderGEDICOMFileReader.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 10 | 2019-10-15T14:37:26.000Z | 2022-02-18T03:22:01.000Z | #include "mitkDiffusionHeaderGEDICOMFileReader.h"
#include <vnl/vnl_math.h>
mitk::DiffusionHeaderGEDICOMFileReader
::DiffusionHeaderGEDICOMFileReader()
{
}
mitk::DiffusionHeaderGEDICOMFileReader
::~DiffusionHeaderGEDICOMFileReader()
{
}
bool mitk::DiffusionHeaderGEDICOMFileReader
::ReadDiffusionHeader(std::string ... | 23.864078 | 100 | 0.691619 | HRS-Navigation |
e90fdeaad559be79fd197e94cdbf47ab407a508c | 10,400 | cc | C++ | src/yb/yql/pgwrapper/geo_transactions_test_base.cc | def-/yugabyte-db | ead5e64034a4c2ed446141b72683ea08119ca72b | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/yql/pgwrapper/geo_transactions_test_base.cc | def-/yugabyte-db | ead5e64034a4c2ed446141b72683ea08119ca72b | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/yql/pgwrapper/geo_transactions_test_base.cc | def-/yugabyte-db | ead5e64034a4c2ed446141b72683ea08119ca72b | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2022-01-24T11:53:58.000Z | 2022-01-24T11:53:58.000Z | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | 40.310078 | 100 | 0.753173 | def- |
e91021303fb38ad4ef6265a1512edbe383338cda | 6,958 | cpp | C++ | Source/DataStructures/imstkGraph.cpp | jcfr/iMSTK | 1602383c32eb116916fa5ca7a19e6c60a540922c | [
"Apache-2.0"
] | null | null | null | Source/DataStructures/imstkGraph.cpp | jcfr/iMSTK | 1602383c32eb116916fa5ca7a19e6c60a540922c | [
"Apache-2.0"
] | null | null | null | Source/DataStructures/imstkGraph.cpp | jcfr/iMSTK | 1602383c32eb116916fa5ca7a19e6c60a540922c | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Library: iMSTK
Copyright (c) Kitware, Inc. & Center for Modeling, Simulation,
& Imaging in Medicine, Rensselaer Polytechnic Institute.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file e... | 29.608511 | 103 | 0.529894 | jcfr |
e910559b101c7768bd6725ab969ba73689467a93 | 10,093 | cc | C++ | test/prelu-nc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | test/prelu-nc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | test/prelu-nc.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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 <gtest/gtest.h>
#include <xnnpack/params.h>
#include "prelu-operator-tester.h"
TEST(PRELU_NC_F16, unit_batch) {
ASSERT_EQ(xnn_status_success... | 36.175627 | 152 | 0.690677 | mcx |
e91175226283e9704ced1f0a0c1d2e5f384cc5f9 | 3,547 | hh | C++ | elements/ids/ahocorasickplus.hh | regufo/fastclick | d56d31c722266ea5d0cfd31435e81ca10dda5e69 | [
"BSD-3-Clause-Clear"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/ids/ahocorasickplus.hh | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/ids/ahocorasickplus.hh | nic-bench/fastclick | 2812f0684050cec07e08f30d643ed121871cf25d | [
"BSD-3-Clause-Clear"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
*
* This file is part of multifast. Modified to work with click by Pavel Lazar
*
Copyright 2010-2015 Kamiar Kanani <kamiar.kanani@gmail.com>
multifast is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundati... | 26.080882 | 77 | 0.733014 | regufo |
e91204b86a31a03ffe472c7963267d73fd7d55e2 | 10,506 | cpp | C++ | src/axom/mint/tests/mint_mesh_curvilinear_mesh.cpp | Parqua/axom | c3a64b372d25e53976b3ba8676a25acc49a9a6cd | [
"BSD-3-Clause"
] | null | null | null | src/axom/mint/tests/mint_mesh_curvilinear_mesh.cpp | Parqua/axom | c3a64b372d25e53976b3ba8676a25acc49a9a6cd | [
"BSD-3-Clause"
] | null | null | null | src/axom/mint/tests/mint_mesh_curvilinear_mesh.cpp | Parqua/axom | c3a64b372d25e53976b3ba8676a25acc49a9a6cd | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and
// other Axom Project Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include "axom/mint/config.hpp" // for compile-time type definitions
// Mint includes
#include "axom/mint/mesh... | 29.594366 | 80 | 0.566438 | Parqua |
e912705b50b8cd2d9328e2ca63dc2126dd8cf17b | 10,143 | cpp | C++ | ICG/src/basic_depth_renderer.cpp | XiaoJake/3DObjectTracking | c1fbf9241a0cd1ce450a1d6b86c67613025e1836 | [
"MIT"
] | 1 | 2022-03-17T08:17:47.000Z | 2022-03-17T08:17:47.000Z | ICG/src/basic_depth_renderer.cpp | 0smile/3DObjectTracking | c1fbf9241a0cd1ce450a1d6b86c67613025e1836 | [
"MIT"
] | null | null | null | ICG/src/basic_depth_renderer.cpp | 0smile/3DObjectTracking | c1fbf9241a0cd1ce450a1d6b86c67613025e1836 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
// Copyright (c) 2022 Manuel Stoiber, German Aerospace Center (DLR)
#include <icg/basic_depth_renderer.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
namespace icg {
std::string BasicDepthRendererCore::vertex_shader_code_ =
"#version 330 core\n"
"layout(location = 0) in vec3... | 32.931818 | 80 | 0.706793 | XiaoJake |
e9130d11252c70bebaad27ae1d481ffad762fd0e | 18,473 | cpp | C++ | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_USB_HID.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDMacroEng_USBHIDClass.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/11/2005
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://o... | 32.015598 | 117 | 0.525794 | MarkStega |
e91352a4d7747e3a94d178e11517004402fb12ef | 16,265 | cpp | C++ | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | core/mapi/cache/namedPropCache.cpp | bradhugh/mfcmapi | d5bf8e44132a7b1c2fca6c725c915c4eb83e9557 | [
"MIT"
] | null | null | null | #include <core/stdafx.h>
#include <core/mapi/cache/namedPropCache.h>
#include <core/mapi/cache/namedProps.h>
#include <core/interpret/guid.h>
#include <core/mapi/mapiMemory.h>
#include <core/mapi/mapiFunctions.h>
#include <core/utility/registry.h>
#include <core/utility/strings.h>
#include <core/utility/output.h>
#incl... | 28.787611 | 121 | 0.683123 | bradhugh |
e9144c01d510d206d5e7ed18f5006c958e14f42b | 3,482 | cc | C++ | dms-enterprise/src/model/ListSensitiveColumnsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | dms-enterprise/src/model/ListSensitiveColumnsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | dms-enterprise/src/model/ListSensitiveColumnsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 36.270833 | 120 | 0.793797 | aliyun |
e9146d2463b01d73381ff0751600ab1c49a7a756 | 1,285 | cpp | C++ | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | flite/src/audio/streaming.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | #include "flite/audio/audio.hpp"
#include "flite/synthcommon/wave.hpp"
#include "flite/utils/string.hpp"
CST_VAL_REGISTER_TYPE(audio_streaming_info, cst_audio_streaming_info)
cst_audio_streaming_info* new_audio_streaming_info(void)
{
cst_audio_streaming_info* asi =
cst_alloc(struct cst_audio_streaming_inf... | 26.22449 | 103 | 0.686381 | Barath-Kannan |
e914d16bbbff3e159e1574a99d339fbb11930c2e | 389 | cc | C++ | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | test/refract/dsd/test-Null.cc | darkcl/drafter | 62dcc54341d76b1dae7bca1777f5eea8815b0c3b | [
"MIT"
] | null | null | null | //
// test/refract/dsd/test-Null.cc
// test-librefract
//
// Created by Thomas Jandecka on 27/08/2017
// Copyright (c) 2017 Apiary Inc. All rights reserved.
//
#include "catch.hpp"
#include "refract/dsd/Null.h"
using namespace refract;
using namespace dsd;
TEST_CASE("`Null`'s default element name is `null`", "[... | 19.45 | 71 | 0.676093 | darkcl |
e9155db40e34494c0a835c45c84ab14e8c63d6c5 | 39,883 | cpp | C++ | core/sql/exp/exp_arith.cpp | anoopsharma00/incubator-trafodion | b109e2cf5883f8e763af853ab6fad7ce7110d9e8 | [
"Apache-2.0"
] | null | null | null | core/sql/exp/exp_arith.cpp | anoopsharma00/incubator-trafodion | b109e2cf5883f8e763af853ab6fad7ce7110d9e8 | [
"Apache-2.0"
] | null | null | null | core/sql/exp/exp_arith.cpp | anoopsharma00/incubator-trafodion | b109e2cf5883f8e763af853ab6fad7ce7110d9e8 | [
"Apache-2.0"
] | null | null | null | /**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... | 28.50822 | 100 | 0.542512 | anoopsharma00 |
e916c451e16deb60fd24015cad291899eb5fbad6 | 12,384 | cpp | C++ | frameworks/libxgame/src/xgame/xsocket.cpp | a77654135/test | 8baad719292e1d04f5ad6a17ee56845437ea90d0 | [
"MIT"
] | null | null | null | frameworks/libxgame/src/xgame/xsocket.cpp | a77654135/test | 8baad719292e1d04f5ad6a17ee56845437ea90d0 | [
"MIT"
] | null | null | null | frameworks/libxgame/src/xgame/xsocket.cpp | a77654135/test | 8baad719292e1d04f5ad6a17ee56845437ea90d0 | [
"MIT"
] | null | null | null | #include "xgame/xsocket.h"
#include "xgame/xruntime.h"
#ifdef _WIN32
#include <Ws2tcpip.h>
#else
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/tcp.h>
#endif
NS_XGAME_BEGIN
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
#... | 23.104478 | 102 | 0.537548 | a77654135 |