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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba935dd94be3bfb1e1830f1c93e205c59439be71 | 10,088 | cpp | C++ | src/TriangMesh.cpp | NikitaMatckevich/SWE_FVM | bffdcea6292a263514b97fa4f6f93679a7452714 | [
"MIT"
] | null | null | null | src/TriangMesh.cpp | NikitaMatckevich/SWE_FVM | bffdcea6292a263514b97fa4f6f93679a7452714 | [
"MIT"
] | null | null | null | src/TriangMesh.cpp | NikitaMatckevich/SWE_FVM | bffdcea6292a263514b97fa4f6f93679a7452714 | [
"MIT"
] | null | null | null | #include <TriangMesh.h>
#include <iostream>
#include <fstream>
#include <functional>
#include <string>
using namespace std;
struct EdgeHash {
std::size_t operator()(const EdgeTag& e) const {
return std::hash<Idx>()(e[0]) ^ (std::hash<Idx>()(e[1]) << 1);
}
};
struct EdgeEqual {
bool operator()(const EdgeTag&... | 30.477341 | 92 | 0.598632 | NikitaMatckevich |
ba95f09ccbfa110697beac81b3d9cd3c328ca6a7 | 12,467 | hxx | C++ | main/stoc/inc/pch/precompiled_stoc.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/stoc/inc/pch/precompiled_stoc.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/stoc/inc/pch/precompiled_stoc.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 43.590909 | 74 | 0.791289 | Grosskopf |
ba967e44ca2effe2e766a08b7240a470b224d4dc | 2,561 | cpp | C++ | lesson04/src/disjoint_set.cpp | Usdjy/CPPExercises2021 | a4ab46a8726f57c08171e1236566d48779332bbf | [
"MIT"
] | 1 | 2021-12-14T19:28:32.000Z | 2021-12-14T19:28:32.000Z | lesson04/src/disjoint_set.cpp | Usdjy/CPPExercises2021 | a4ab46a8726f57c08171e1236566d48779332bbf | [
"MIT"
] | null | null | null | lesson04/src/disjoint_set.cpp | Usdjy/CPPExercises2021 | a4ab46a8726f57c08171e1236566d48779332bbf | [
"MIT"
] | null | null | null | #include "disjoint_set.h"
#define ROOT -1 // объявили макрос (считайте константу) равный минус единице - чтобы не было "волшебной переменной", а была именованная константа "корень дерева"
using namespace std;
DisjointSet::DisjointSet(int size)
{
parent = std::vector<int>(size);
ranks = std::vector<int>(size);... | 46.563636 | 188 | 0.717688 | Usdjy |
ba9699bbe1b1102ad971f284ca2343ee5db0175f | 2,834 | cxx | C++ | src/python/lib/graph/agglo/merge_rules.cxx | DerThorsten/n3p | c4bd4cd90f20e68f0dbd62587aba28e4752a0ac1 | [
"MIT"
] | 38 | 2016-06-29T07:42:50.000Z | 2021-12-09T09:25:25.000Z | src/python/lib/graph/agglo/merge_rules.cxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 62 | 2016-07-27T16:07:53.000Z | 2022-03-30T17:24:36.000Z | src/python/lib/graph/agglo/merge_rules.cxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 20 | 2016-01-25T21:21:52.000Z | 2021-12-09T09:25:16.000Z | #include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include "nifty/graph/agglo/cluster_policies/detail/merge_rules.hxx"
namespace py = pybind11;
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
namespace nifty{
namespace graph{
namespace agglo{
void exportMergeRules(py::module & aggloModule) {
... | 29.520833 | 101 | 0.527876 | DerThorsten |
ba9903a85fc3c4ad1a815d5c5da0b549aeb1d521 | 18,935 | cpp | C++ | source/Irrlicht/CImageLoaderWAL.cpp | reizencroft/irrAndroid | 41d3f2724663a605f7a60df5c957c2e91100f0e7 | [
"IJG"
] | 1 | 2021-06-27T18:27:19.000Z | 2021-06-27T18:27:19.000Z | source/Irrlicht/CImageLoaderWAL.cpp | fkoner/irrAndroid | 41d3f2724663a605f7a60df5c957c2e91100f0e7 | [
"IJG"
] | null | null | null | source/Irrlicht/CImageLoaderWAL.cpp | fkoner/irrAndroid | 41d3f2724663a605f7a60df5c957c2e91100f0e7 | [
"IJG"
] | 4 | 2015-09-09T08:35:16.000Z | 2021-06-27T18:27:20.000Z | // Copyright (C) 2004 Murphy McCauley
// Copyright (C) 2007-2011 Christian Stehno
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CImageLoaderWAL.h"
#include "CColorConverter.h"
#include "CImage.h"
#include "os.h"
#include ... | 42.265625 | 125 | 0.797465 | reizencroft |
ba99301ae5116b69218e78c5f9754664bc44dacb | 13,239 | cpp | C++ | Part_4/odom_tf/src/OdomTf.cpp | zhaolongkzz/ROS | 52c70d9d22fe1714c438312fde61214920a4dc3c | [
"MIT"
] | null | null | null | Part_4/odom_tf/src/OdomTf.cpp | zhaolongkzz/ROS | 52c70d9d22fe1714c438312fde61214920a4dc3c | [
"MIT"
] | null | null | null | Part_4/odom_tf/src/OdomTf.cpp | zhaolongkzz/ROS | 52c70d9d22fe1714c438312fde61214920a4dc3c | [
"MIT"
] | null | null | null | //odom_tf_fncs.cpp:
//wsn, March 2016
//implementation of member functions of OdomTf class
#include <odom_tf/odom_tf.h>
using namespace std;
//constructor: don't need nodehandle here, but could be handy if want to add a subscriber
OdomTf::OdomTf(ros::NodeHandle* nodehandle) : nh_(*nodehandle) { // constructor
RO... | 52.956 | 154 | 0.716444 | zhaolongkzz |
ba99973fc95c863217b27689d40b7be4a1daf6fc | 26,654 | cpp | C++ | 3rd_party/gslib/ogs/src/ogsKernels.cpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | 3rd_party/gslib/ogs/src/ogsKernels.cpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | 3rd_party/gslib/ogs/src/ogsKernels.cpp | roystgnr/nekRS | 280acd21c3088d7658a8a113e544fce05853d7b4 | [
"BSD-3-Clause"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... | 55.995798 | 149 | 0.771592 | roystgnr |
ba99c46ab2b4cc8ffed797b81c30dfbac8dfa060 | 693 | cc | C++ | src/Attributes/DrillToleranceAttribute.cc | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 6 | 2016-09-28T18:26:42.000Z | 2021-04-10T13:19:05.000Z | src/Attributes/DrillToleranceAttribute.cc | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 1 | 2021-02-09T00:24:04.000Z | 2021-02-27T22:08:05.000Z | src/Attributes/DrillToleranceAttribute.cc | aaronbamberger/gerber_rs274x_parser | d2bbd6c66d322ab47715771642255f8302521300 | [
"BSD-2-Clause"
] | 5 | 2017-09-14T09:48:17.000Z | 2021-07-19T07:58:34.000Z | /*
* Copyright 2021 Aaron Bamberger
* Licensed under BSD 2-clause license
* See LICENSE file at root of source tree,
* or https://opensource.org/licenses/BSD-2-Clause
*/
#include "Attributes/DrillToleranceAttribute.hh"
DrillToleranceAttribute::DrillToleranceAttribute(ValueWithLocation<double> plus_tolerance,
... | 33 | 90 | 0.787879 | aaronbamberger |
ba9c80654c3a1d3bb952a8156ad1a44f6799857c | 1,139 | hpp | C++ | include/detectball.hpp | ssudake21/spm | fb6d62674831acb2ddac4c5dddce24b2d2c89caa | [
"Apache-2.0"
] | 1 | 2019-06-20T01:54:37.000Z | 2019-06-20T01:54:37.000Z | include/detectball.hpp | ssudake21/spm | fb6d62674831acb2ddac4c5dddce24b2d2c89caa | [
"Apache-2.0"
] | null | null | null | include/detectball.hpp | ssudake21/spm | fb6d62674831acb2ddac4c5dddce24b2d2c89caa | [
"Apache-2.0"
] | null | null | null | /*!
* \file detectball.hpp
* \brief
*/
#ifndef __DETECTBALL_H_INCLUDED__
#define __DETECTBALL_H_INCLUDED__
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/video/video.hpp>
#include <iostream>
using namespace cv;
/*!
* \class DetectB... | 19.637931 | 58 | 0.729587 | ssudake21 |
baa05568757004610ac574afbfc34d778f404368 | 2,260 | cpp | C++ | android-31/java/sql/SQLWarning.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/sql/SQLWarning.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/sql/SQLWarning.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JString.hpp"
#include "../../JThrowable.hpp"
#include "./SQLWarning.hpp"
namespace java::sql
{
// Fields
// QJniObject forward
SQLWarning::SQLWarning(QJniObject obj) : java::sql::SQLException(obj) {}
// Constructors
SQLWarning::SQLWarning()
: java::sql::SQLException(
"java.sql.SQLWarning"... | 25.681818 | 79 | 0.671239 | YJBeetle |
baa0ae00112e57fa93b65a8b7f8a1ffa970beed4 | 10,949 | cpp | C++ | ork.tool/src/ged/ged_delegate_obj.cpp | tweakoz/orkid | e3f78dfb3375853fd512a9d0828b009075a18345 | [
"BSL-1.0"
] | 25 | 2015-02-21T04:21:21.000Z | 2022-01-20T05:19:27.000Z | ork.tool/src/ged/ged_delegate_obj.cpp | tweakoz/orkid | e3f78dfb3375853fd512a9d0828b009075a18345 | [
"BSL-1.0"
] | 113 | 2019-08-23T04:52:14.000Z | 2021-09-13T04:04:11.000Z | ork.tool/src/ged/ged_delegate_obj.cpp | tweakoz/orkid | e3f78dfb3375853fd512a9d0828b009075a18345 | [
"BSL-1.0"
] | 4 | 2017-02-20T18:17:55.000Z | 2020-06-28T03:47:55.000Z | ////////////////////////////////////////////////////////////////
// Orkid Media Engine
// Copyright 1996-2020, Michael T. Mayers.
// Distributed under the Boost Software License - Version 1.0 - August 17, 2003
// see http://www.boost.org/LICENSE_1_0.txt
////////////////////////////////////////////////////////////////
... | 34.869427 | 120 | 0.55311 | tweakoz |
baa25be63ee81a8ac7b93fba97091c9153696473 | 4,238 | cc | C++ | tensorflow/contrib/lite/kernels/comparisons.cc | imdone/tensorflow | bb4d1ef3861c83627ee9586b85ac3070a7d38335 | [
"Apache-2.0"
] | 1 | 2021-04-16T14:53:22.000Z | 2021-04-16T14:53:22.000Z | tensorflow/contrib/lite/kernels/comparisons.cc | imdone/tensorflow | bb4d1ef3861c83627ee9586b85ac3070a7d38335 | [
"Apache-2.0"
] | 10 | 2018-02-04T18:41:52.000Z | 2018-05-02T09:00:46.000Z | tensorflow/contrib/lite/kernels/comparisons.cc | imdone/tensorflow | bb4d1ef3861c83627ee9586b85ac3070a7d38335 | [
"Apache-2.0"
] | 4 | 2018-01-17T14:22:49.000Z | 2018-02-27T15:06:41.000Z | /* Copyright 2018 The TensorFlow 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 a... | 35.024793 | 80 | 0.67933 | imdone |
baa35e7aa30971136885604b162f97fb6a6c4046 | 5,966 | cc | C++ | src/outlinerboundingboxer.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 4 | 2021-09-02T16:52:23.000Z | 2022-02-07T16:39:50.000Z | src/outlinerboundingboxer.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 87 | 2021-09-12T06:09:57.000Z | 2022-02-15T00:05:43.000Z | src/outlinerboundingboxer.cc | jariarkko/cave-outliner | 2077a24627881f45a27aec3eb4e5b4855f6b7fec | [
"BSD-3-Clause"
] | 1 | 2021-09-28T21:38:30.000Z | 2021-09-28T21:38:30.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////
//
// CCC AAA V V ... | 36.157576 | 95 | 0.53654 | jariarkko |
baa391fef2c1e34fa9cc9a786d52914dfa45b725 | 22,737 | cpp | C++ | third_party/pdfium/core/fxge/ge/fx_ge_path.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | third_party/pdfium/core/fxge/ge/fx_ge_path.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/pdfium/core/fxge/ge/fx_ge_path.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fxcrt/include/fx_system.h"
#include "core/fxge/include/fx_ge.h"... | 34.502276 | 80 | 0.596825 | maidiHaitai |
baa3e10c85ae181b42e8d2914b10a257929b4dd4 | 2,775 | cpp | C++ | video/device/linux_list_devices.cpp | fgenolini/frank | 0581c503f0a724cb29dc1901df9da5893947190f | [
"MIT"
] | 1 | 2020-10-12T03:08:22.000Z | 2020-10-12T03:08:22.000Z | video/device/linux_list_devices.cpp | fgenolini/frank | 0581c503f0a724cb29dc1901df9da5893947190f | [
"MIT"
] | 17 | 2020-04-23T08:32:59.000Z | 2020-08-20T16:58:26.000Z | video/device/linux_list_devices.cpp | fgenolini/frank | 0581c503f0a724cb29dc1901df9da5893947190f | [
"MIT"
] | 1 | 2020-10-12T03:33:27.000Z | 2020-10-12T03:33:27.000Z | #include "config.h"
#if defined(UNIX) && !defined(APPLE) && !defined(MINGW) && !defined(MSYS) && \
!defined(CYGWIN) && !defined(WIN32)
WARNINGS_OFF
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include <gsl/gsl_util>
WARNINGS_ON
using name... | 28.316327 | 80 | 0.668468 | fgenolini |
baa4baf4b9f1015bd23654247a7777416b47e977 | 760 | cpp | C++ | tools/animator/src/gui/gui.cpp | anteins/Blunted2 | 284a1fb59805914af1ee0dc763ff022fb088a922 | [
"Unlicense"
] | null | null | null | tools/animator/src/gui/gui.cpp | anteins/Blunted2 | 284a1fb59805914af1ee0dc763ff022fb088a922 | [
"Unlicense"
] | null | null | null | tools/animator/src/gui/gui.cpp | anteins/Blunted2 | 284a1fb59805914af1ee0dc763ff022fb088a922 | [
"Unlicense"
] | null | null | null | // written by bastiaan konings schuiling 2008 - 2014
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#include "gui.hpp"
namespace blunted {
GuiTask::GuiTask(boo... | 21.714286 | 132 | 0.710526 | anteins |
baa4f31dd538f04af37aff10998dc6232f38db66 | 524 | cpp | C++ | 1644/1644.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 14 | 2017-05-02T02:00:42.000Z | 2021-11-16T07:25:29.000Z | 1644/1644.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 1 | 2017-12-25T14:18:14.000Z | 2018-02-07T06:49:44.000Z | 1644/1644.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 9 | 2016-03-03T22:06:52.000Z | 2020-04-30T22:06:24.000Z | #include <stdio.h>
int main() {
bool bo[3999972] = { 1, 1 };
int pos = 0, prime[283146] = { 0 };
for (int i = 2; i <= 2000; i++) if (!bo[i]) for (int j = i << 1; j <= 3999971; j += i) bo[j] = 1;
for (int i = 2; i <= 3999971; i++) if (!bo[i]) prime[pos++] = i;
int n, cnt = 0, tmp = 2;
scanf("%d", &n);
int i = 0,... | 26.2 | 98 | 0.44084 | isac322 |
baa59545e2670825a48de371db5cdc5e0c003234 | 3,381 | cc | C++ | test/cpp/end2end/admin_services_end2end_test.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | 1 | 2021-12-01T03:10:14.000Z | 2021-12-01T03:10:14.000Z | test/cpp/end2end/admin_services_end2end_test.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | test/cpp/end2end/admin_services_end2end_test.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | //
//
// Copyright 2021 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 33.147059 | 76 | 0.71399 | lishengze |
baa7792f26a9085dfe05ca8ecf2100cfcae2912d | 5,665 | cpp | C++ | DriverlessCar/Main.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | null | null | null | DriverlessCar/Main.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | null | null | null | DriverlessCar/Main.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | 3 | 2020-03-04T16:00:05.000Z | 2022-02-24T11:29:52.000Z | #include "Collector/ICollector.h"
#include "Collector/CollectorWithVideo/CollectorWithVideo.h" // [on Car] replace with CollectorWithCamera
#include "Calculator/ICalculator.h"
#include "Calculator/CalculatorBlobsBased/CalculatorBlobsBased.h"
#include "Calculator/CropTool.h"
#include "Calculator/FlipTool.h"
#include "Ca... | 36.082803 | 186 | 0.695499 | phuctm97 |
baa7e9366c3862f120e8e7e549d27f999c53ca1c | 1,047 | hpp | C++ | include/RED4ext/Types/generated/anim/AnimNode_BlendSpace.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/anim/AnimNode_BlendSpace.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/anim/AnimNode_BlendSpace.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/DynArray.hpp>
#include <RED4ext/Types/generated/anim/AnimNode_Base.hpp>
#include <RED4ext/Types/generated/anim/AnimNode_... | 30.794118 | 83 | 0.751671 | Cyberpunk-Extended-Development-Team |
baadb0f3d710696ff8caaf20501aeb0f7417f6b7 | 9,820 | cc | C++ | zetasql/public/parse_tokens_test.cc | manifoldfinance/zetasql-formatter | 88a7f98f7fff0e1032f43bbb66d4e6df588e09a6 | [
"Apache-2.0"
] | null | null | null | zetasql/public/parse_tokens_test.cc | manifoldfinance/zetasql-formatter | 88a7f98f7fff0e1032f43bbb66d4e6df588e09a6 | [
"Apache-2.0"
] | null | null | null | zetasql/public/parse_tokens_test.cc | manifoldfinance/zetasql-formatter | 88a7f98f7fff0e1032f43bbb66d4e6df588e09a6 | [
"Apache-2.0"
] | 1 | 2020-12-31T12:24:15.000Z | 2020-12-31T12:24:15.000Z | //
// Copyright 2019 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | 38.509804 | 80 | 0.727088 | manifoldfinance |
bab11a6c1e816120b42b862c689e577113cbfba4 | 12,550 | cc | C++ | components/exo/text_input_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | components/exo/text_input_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/exo/text_input_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.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 "components/exo/text_input.h"
#include <memory>
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "components/exo/buf... | 34.289617 | 80 | 0.724064 | iridium-browser |
bab1a30276d99dfb58df19ba73952bdecc2be15a | 26,438 | cpp | C++ | src/utilities/bcl/BCLXML.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 3 | 2020-09-05T18:13:23.000Z | 2022-01-15T14:47:57.000Z | src/utilities/bcl/BCLXML.cpp | muehleisen/OpenStudio | 3bfe89f6c441d1e61e50b8e94e92e7218b4555a0 | [
"blessing"
] | 4 | 2016-06-27T21:25:59.000Z | 2020-04-28T14:00:21.000Z | src/utilities/bcl/BCLXML.cpp | jmarrec/OpenStudio | 5276feff0d8dbd6c8ef4e87eed626bc270a19b14 | [
"blessing"
] | 1 | 2020-06-19T14:54:05.000Z | 2020-06-19T14:54:05.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... | 30.180365 | 128 | 0.64778 | muehleisen |
bab42054517ff7ed1c53bd02a4889cecd91c01ac | 33,810 | cpp | C++ | library/src/rocblas_auxiliary.cpp | malcolmroberts/rocBLAS | 019833e177c362d8def819c8026560a323bac959 | [
"MIT"
] | null | null | null | library/src/rocblas_auxiliary.cpp | malcolmroberts/rocBLAS | 019833e177c362d8def819c8026560a323bac959 | [
"MIT"
] | null | null | null | library/src/rocblas_auxiliary.cpp | malcolmroberts/rocBLAS | 019833e177c362d8def819c8026560a323bac959 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016-2019 Advanced Micro Devices, Inc.
*
* ************************************************************************ */
#include <hip/hip_runtime.h>
#include <stdio.h>
#include "definitions.h"
#include "rocblas-types.h"
#include... | 45.443548 | 100 | 0.46291 | malcolmroberts |
bab555387a9d92e1dc08da690a90260f43d51047 | 961 | cpp | C++ | src/MainController.cpp | pigatron-industries/xen_sequentialswitch | 9bbcdbd7f065fbf6c54cad459a559bb9216dd564 | [
"Unlicense"
] | null | null | null | src/MainController.cpp | pigatron-industries/xen_sequentialswitch | 9bbcdbd7f065fbf6c54cad459a559bb9216dd564 | [
"Unlicense"
] | null | null | null | src/MainController.cpp | pigatron-industries/xen_sequentialswitch | 9bbcdbd7f065fbf6c54cad459a559bb9216dd564 | [
"Unlicense"
] | null | null | null | #include "MainController.h"
#include "hwconfig.h"
#include "Hardware.h"
#include <Arduino.h>
#include <math.h>
MainController::MainController() {
}
void MainController::init() {
controllers.getActiveController()->init();
}
void MainController::process() {
Hardware::hw.encoderButton.update();
if(Hardwar... | 24.641026 | 65 | 0.608741 | pigatron-industries |
3bf7f88d08b080cec2043bca0c043c74e6604a4b | 88,065 | cpp | C++ | Game/Points.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 44 | 2018-07-08T16:44:53.000Z | 2022-02-06T14:07:30.000Z | Game/Points.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 31 | 2019-03-24T16:00:38.000Z | 2022-02-24T20:23:18.000Z | Game/Points.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 24 | 2018-11-08T21:58:53.000Z | 2022-01-12T12:04:42.000Z | /***************************************************************************************
* Original Author: Gabriele Giuseppini
* Created: 2018-05-06
* Copyright: Gabriele Giuseppini (https://github.com/GabrieleGiuseppini)
*******************************************************************... | 40.102459 | 275 | 0.645773 | sjohal21 |
3bf870973f94c3fad3df77ce7d23776eaec2a753 | 101,021 | hpp | C++ | storage/HashTable.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 82 | 2016-04-18T03:59:06.000Z | 2019-02-04T11:46:08.000Z | storage/HashTable.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 265 | 2016-04-19T17:52:43.000Z | 2018-10-11T17:55:08.000Z | storage/HashTable.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 68 | 2016-04-18T05:00:34.000Z | 2018-10-30T12:41:02.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... | 46.212717 | 107 | 0.637046 | Hacker0912 |
3bfb6b7ec394f0ef0dc85b8e9a756bb99ffaa161 | 417 | hpp | C++ | src/IComponent.hpp | bullno1/xveearr | 4690cde72b7ec747d944daa919c3275744d75e25 | [
"BSD-2-Clause"
] | null | null | null | src/IComponent.hpp | bullno1/xveearr | 4690cde72b7ec747d944daa919c3275744d75e25 | [
"BSD-2-Clause"
] | null | null | null | src/IComponent.hpp | bullno1/xveearr | 4690cde72b7ec747d944daa919c3275744d75e25 | [
"BSD-2-Clause"
] | null | null | null | #ifndef XVEEEARR_COMPONENT_HPP
#define XVEEEARR_COMPONENT_HPP
namespace xveearr
{
class IComponentBase
{
public:
virtual void shutdown() = 0;
virtual const char* getName() const = 0;
};
template<typename T>
class IComponent: public IComponentBase
{
public:
virtual bool init(const T& initParam) = 0;
};
template<>... | 13.451613 | 45 | 0.741007 | bullno1 |
3bfbdb27042fd30fa479f3f60ff8d8b8f2045d79 | 3,334 | cc | C++ | common_video/h264/h264_bitstream_parser_unittest.cc | Aexyn/webrtc2 | daea5bf2deb843567a792f22ea2047a037e09d78 | [
"DOC",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | common_video/h264/h264_bitstream_parser_unittest.cc | modulesio/webrtc | ea143e774b4c00a74b617f272f5a8f71169cf24e | [
"DOC",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | common_video/h264/h264_bitstream_parser_unittest.cc | modulesio/webrtc | ea143e774b4c00a74b617f272f5a8f71169cf24e | [
"DOC",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 37.460674 | 79 | 0.717457 | Aexyn |
3bfd0551cb4836a7787a0819616b67a83dd65086 | 9,326 | cpp | C++ | externals/wasm-compiler/llvm/lib/CodeGen/SafeStackColoring.cpp | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | 1 | 2018-08-14T03:52:21.000Z | 2018-08-14T03:52:21.000Z | externals/wasm-compiler/llvm/lib/CodeGen/SafeStackColoring.cpp | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | null | null | null | externals/wasm-compiler/llvm/lib/CodeGen/SafeStackColoring.cpp | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | null | null | null | //===-- SafeStackColoring.cpp - SafeStack frame coloring -------*- C++ -*--===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 31.613559 | 80 | 0.614304 | JaminChan |
3bfdb4c4122bd1a2553ffe89582015c146b50fd0 | 17,759 | cpp | C++ | code/utils/ETools/encode.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/utils/ETools/encode.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/utils/ETools/encode.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | /* OggEnc
**
** This program is distributed under the GNU General Public License, version 2.
** A copy of this license is included with this source.
**
** Copyright 2000-2002, Michael Smith <msmith@xiph.org>
**
** Portions from Vorbize, (c) Kenneth Arnold <kcarnold-xiph@arnoldnet.net>
** and libvorbis examples,... | 38.439394 | 99 | 0.51861 | InNoHurryToCode |
3bfea285d3aeee7f16c804c2402afec08b75b330 | 2,740 | hpp | C++ | libs/fnd/variant/include/bksge/fnd/variant/detail/move_assign.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/variant/include/bksge/fnd/variant/detail/move_assign.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/variant/include/bksge/fnd/variant/detail/move_assign.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file move_assign.hpp
*
* @brief MoveAssign の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_VARIANT_DETAIL_MOVE_ASSIGN_HPP
#define BKSGE_FND_VARIANT_DETAIL_MOVE_ASSIGN_HPP
#include <bksge/fnd/variant/variant_npos.hpp>
#include <bksge/fnd/variant/detail/copy_assign.hpp>
#include <bksge/fnd/vari... | 28.247423 | 116 | 0.727007 | myoukaku |
3bffdce14200efbcb0ef7f702221417bfd5f16ee | 170,645 | hh | C++ | libclingo/clingo.hh | tsahyt/clingo | 5c5a61dc0ac5f54d8245e6c4ec28f6040882b151 | [
"MIT"
] | 1 | 2018-11-20T10:29:50.000Z | 2018-11-20T10:29:50.000Z | libclingo/clingo.hh | tsahyt/clingo | 5c5a61dc0ac5f54d8245e6c4ec28f6040882b151 | [
"MIT"
] | null | null | null | libclingo/clingo.hh | tsahyt/clingo | 5c5a61dc0ac5f54d8245e6c4ec28f6040882b151 | [
"MIT"
] | null | null | null | // {{{ MIT License
// Copyright 2017 Roland Kaminski
// 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,... | 35.514048 | 252 | 0.677283 | tsahyt |
ce021454ae6b71da9caef6c804176ce20e24c45f | 6,006 | cc | C++ | components/ntp_tiles/webui/popular_sites_internals_message_handler.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/ntp_tiles/webui/popular_sites_internals_message_handler.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/ntp_tiles/webui/popular_sites_internals_message_handler.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_tiles/webui/popular_sites_internals_message_handler.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/fi... | 34.517241 | 86 | 0.733933 | google-ar |
ce043e2bd502aab9a92620d06e38ea52824e84a1 | 3,871 | cpp | C++ | Menu.cpp | KoheXR/Warzone_Esp_-_aimbot | 152754bba7fea464382df5f75844273f94629c9e | [
"MIT"
] | 113 | 2020-03-26T17:56:01.000Z | 2022-03-30T02:55:37.000Z | Menu.cpp | KoheXR/Warzone_Esp_-_aimbot | 152754bba7fea464382df5f75844273f94629c9e | [
"MIT"
] | 21 | 2020-03-24T09:02:24.000Z | 2021-07-21T15:44:28.000Z | Menu.cpp | KoheXR/Warzone_Esp_-_aimbot | 152754bba7fea464382df5f75844273f94629c9e | [
"MIT"
] | 66 | 2020-03-25T19:07:51.000Z | 2022-03-23T20:08:29.000Z | #pragma once
#include <Windows.h>
#include "imgui.h"
#include "Render.h"
#include "Global.h"
#include <Settings.h>
namespace Menu
{
bool bIsOpen = true;
ImVec4 Red = { 255, 0, 0, 255 };
ImVec4 Green = { 0, 255, 0, 255 };
void MenuInit()
{
ImGuiStyle& style = ImGui::GetStyle();
style.Alpha = 1.f;
style.Wi... | 26.333333 | 162 | 0.676569 | KoheXR |
ce068ce2d0beb8f62fbbba04a379e3db078b0027 | 10,411 | cpp | C++ | UISim_C++/src/Graph.cpp | UISim2020/UISim2020 | a216898a707079c86807d61e7a157c9fc34d0f59 | [
"MIT"
] | 1 | 2021-02-28T10:11:54.000Z | 2021-02-28T10:11:54.000Z | UISim_C++/src/Graph.cpp | UISim2020/UISim2020 | a216898a707079c86807d61e7a157c9fc34d0f59 | [
"MIT"
] | null | null | null | UISim_C++/src/Graph.cpp | UISim2020/UISim2020 | a216898a707079c86807d61e7a157c9fc34d0f59 | [
"MIT"
] | null | null | null | /*
* Graph.cpp
*
* Created on: 2019��3��13��
* Author: yichen_shen
*/
#include "Graph.h"
#include "TextWriter.h"
#include "TextReader.h"
#include "Trim.h"
#include <math.h>
#include "IndexManager.h"
#include <time.h>
#include <iostream>
#include <algorithm>
Graph::Graph()
{
// TODO Auto-... | 26.356962 | 320 | 0.556143 | UISim2020 |
ce0a5572f40aed049ddc9a6c35be6f68446c9dd4 | 333 | cpp | C++ | monisai_2/problem_5.cpp | Leon-Francis/AlgorithmPractice | bfff066da64ebbb00ecd33d94ebbe5bcc382867c | [
"MIT"
] | 1 | 2020-10-07T12:03:12.000Z | 2020-10-07T12:03:12.000Z | monisai_2/problem_5.cpp | Leon-Francis/AlgorithmPractice | bfff066da64ebbb00ecd33d94ebbe5bcc382867c | [
"MIT"
] | null | null | null | monisai_2/problem_5.cpp | Leon-Francis/AlgorithmPractice | bfff066da64ebbb00ecd33d94ebbe5bcc382867c | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int n;
int a, b, c;
cin >> n >> a >> b >> c;
int res = 0;
for (int i = 1; i <= n; i++)
{
if (i % a != 0 && i % b != 0 && i % c != 0)
{
res++;
}
}
cout << res << endl;
... | 17.526316 | 51 | 0.378378 | Leon-Francis |
ce0d17629d550b1c8cb95fb03596ccd2750caaec | 6,716 | cc | C++ | mesh/mesh.cc | rafgitdz/bimodal-scheduler-rstm | 7d6f795e6a2820a4c59cdc195bcea4d13c5d20c8 | [
"BSD-3-Clause"
] | null | null | null | mesh/mesh.cc | rafgitdz/bimodal-scheduler-rstm | 7d6f795e6a2820a4c59cdc195bcea4d13c5d20c8 | [
"BSD-3-Clause"
] | null | null | null | mesh/mesh.cc | rafgitdz/bimodal-scheduler-rstm | 7d6f795e6a2820a4c59cdc195bcea4d13c5d20c8 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006, 2007
// University of Rochester
// Department of Computer Science
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fo... | 35.162304 | 85 | 0.532609 | rafgitdz |
ce0e1e0faadcaf6c25efd0bc96d178b7ddadeeb8 | 576 | hpp | C++ | metaforce-gui/ArgumentEditor.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | metaforce-gui/ArgumentEditor.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | metaforce-gui/ArgumentEditor.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #pragma once
#include <memory>
#include <QDialog>
#include <QStringListModel>
class QAbstractButton;
namespace Ui {
class ArgumentEditor;
} // namespace Ui
class ArgumentEditor : public QDialog {
Q_OBJECT
std::unique_ptr<Ui::ArgumentEditor> m_ui;
QStringListModel m_model;
public:
explicit ArgumentEditor(... | 18.580645 | 53 | 0.767361 | Jcw87 |
ce1302c718762084ac616f5751c93ca9a5d9741e | 421 | cpp | C++ | src/pybind11_playground.cpp | cielavenir/pybind11_playground | 55a31ec9f2eb73affd7450b5e54e908719678819 | [
"CC0-1.0"
] | null | null | null | src/pybind11_playground.cpp | cielavenir/pybind11_playground | 55a31ec9f2eb73affd7450b5e54e908719678819 | [
"CC0-1.0"
] | null | null | null | src/pybind11_playground.cpp | cielavenir/pybind11_playground | 55a31ec9f2eb73affd7450b5e54e908719678819 | [
"CC0-1.0"
] | null | null | null | #include <pybind11/pybind11.h>
extern "C" {
#include <stdlib.h>
}
namespace py = pybind11;
using namespace pybind11::literals;
class toyclass{
public:
void sleep(int duration){
::sleep(duration);
}
};
PYBIND11_MODULE(pybind11_playground, m){
py::class_<toyclass, std::shared_ptr<toyclass> >(m, "t... | 16.84 | 67 | 0.634204 | cielavenir |
ce133b2f5d6ac0dcbb85c327615e65c696385636 | 4,827 | cc | C++ | src/tir/transforms/replace_selected_expr.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | src/tir/transforms/replace_selected_expr.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 2,863 | 2017-08-17T19:55:50.000Z | 2019-11-04T17:18:41.000Z | src/tir/transforms/replace_selected_expr.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.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 ... | 43.881818 | 99 | 0.737725 | XiaoSong9905 |
ce15ea0debeefad3e1a2431b3d3093c555888c22 | 1,667 | cc | C++ | chromium/components/pref_registry/pref_registry_syncable.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/pref_registry/pref_registry_syncable.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/pref_registry/pref_registry_syncable.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 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 "components/pref_registry/pref_registry_syncable.h"
#include "base/files/file_path.h"
#include "base/prefs/default_pref_store.h"
#include "b... | 33.34 | 78 | 0.726455 | wedataintelligence |
ce167cd9fce344ee1e0ad491f4320d99794eb0f2 | 7,110 | cpp | C++ | ODFAEG/src/odfaeg/Physics/boundingEllipsoid.cpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | 5 | 2015-06-13T13:11:59.000Z | 2020-04-17T23:10:23.000Z | ODFAEG/src/odfaeg/Physics/boundingEllipsoid.cpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | 4 | 2019-01-07T11:46:21.000Z | 2020-02-14T15:04:15.000Z | ODFAEG/src/odfaeg/Physics/boundingEllipsoid.cpp | Ornito/ODFAEG-1 | f563975ae4bdd2e178d1ed7267e1920425aa2c4d | [
"Zlib"
] | 4 | 2016-01-05T09:54:57.000Z | 2021-01-06T18:52:26.000Z | #include "../../../include/odfaeg/Physics/boundingEllipsoid.h"
#include "../../../include/odfaeg/Physics/boundingSphere.h"
#include "../../../include/odfaeg/Physics/boundingBox.h"
#include "../../../include/odfaeg/Physics/orientedBoundingBox.h"
#include "../../../include/odfaeg/Physics/boundingPolyhedron.h"
#inclu... | 46.776316 | 133 | 0.549648 | Ornito |
ce18a18695db87268aba899ee8cdc2707ca00df5 | 6,990 | cpp | C++ | MaterialLib/MPL/CreateProperty.cpp | yezhigangzju/ogs | 074c5129680e87516477708b081afe79facabe87 | [
"BSD-3-Clause"
] | 1 | 2019-10-24T02:38:44.000Z | 2019-10-24T02:38:44.000Z | MaterialLib/MPL/CreateProperty.cpp | yezhigangzju/ogs | 074c5129680e87516477708b081afe79facabe87 | [
"BSD-3-Clause"
] | null | null | null | MaterialLib/MPL/CreateProperty.cpp | yezhigangzju/ogs | 074c5129680e87516477708b081afe79facabe87 | [
"BSD-3-Clause"
] | null | null | null | /**
* \file
* \author Norbert Grunwald
* \date Sep 7, 2017
*
* \copyright
* Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lic... | 29.004149 | 80 | 0.667811 | yezhigangzju |
ce1bade86ec6eb36605e8ec4c5319b5e49b1378b | 2,738 | cpp | C++ | Level/GameLevel.cpp | sagbonkh/Sokoban_Solver | 96290f4d85d36ff2591eca96c7d4d694e0763b8d | [
"Unlicense"
] | null | null | null | Level/GameLevel.cpp | sagbonkh/Sokoban_Solver | 96290f4d85d36ff2591eca96c7d4d694e0763b8d | [
"Unlicense"
] | null | null | null | Level/GameLevel.cpp | sagbonkh/Sokoban_Solver | 96290f4d85d36ff2591eca96c7d4d694e0763b8d | [
"Unlicense"
] | null | null | null | // Copyright Tobias Faller 2016
#include <Level/GameLevel.h>
#include <Level/MapGrid.h>
#include <Level/Parser.h>
#include <numeric>
#include <fstream>
#include <string>
namespace Sokoban {
using std::ifstream;
using std::istream;
using std::to_string;
using std::string;
using std::endl;
using std::cout;
using std::... | 19.985401 | 88 | 0.663988 | sagbonkh |
ce1c085e4aca19e94177342faceaba2a95979e28 | 22,232 | cpp | C++ | test/interpolation-test.cpp | 12ff54e/BSplineInterpolation | b0f04414807bea999c5102f1274ea2ad9c2a6b6f | [
"MIT"
] | 5 | 2022-03-21T08:50:42.000Z | 2022-03-31T05:31:41.000Z | test/interpolation-test.cpp | 12ff54e/BSplineInterpolation | b0f04414807bea999c5102f1274ea2ad9c2a6b6f | [
"MIT"
] | null | null | null | test/interpolation-test.cpp | 12ff54e/BSplineInterpolation | b0f04414807bea999c5102f1274ea2ad9c2a6b6f | [
"MIT"
] | 1 | 2022-03-31T11:12:24.000Z | 2022-03-31T11:12:24.000Z | #include "../src/include/Interpolation.hpp"
#include "./Assertion.hpp"
#include "./rel_err.hpp"
#include <algorithm>
#include <iostream>
int main() {
using namespace std;
using namespace intp;
// These tests are done by comparing interpolation results with that from
// MMA.
Assertion assertion;
... | 47.402985 | 83 | 0.610291 | 12ff54e |
ce1cfb84e2e211cf9ea9ef4e19ea69931a22b0a0 | 1,985 | hpp | C++ | include/tweedledee/quil/ast/ast_node.hpp | boschmitt/tweedledee | a7f5041681350601469b38311b9654e2c22643c0 | [
"MIT"
] | 4 | 2018-07-21T08:11:56.000Z | 2019-05-30T20:06:43.000Z | include/tweedledee/quil/ast/ast_node.hpp | boschmitt/tweedledee | a7f5041681350601469b38311b9654e2c22643c0 | [
"MIT"
] | null | null | null | include/tweedledee/quil/ast/ast_node.hpp | boschmitt/tweedledee | a7f5041681350601469b38311b9654e2c22643c0 | [
"MIT"
] | 1 | 2019-05-15T14:11:28.000Z | 2019-05-15T14:11:28.000Z | /*-------------------------------------------------------------------------------------------------
| This file is distributed under the MIT License.
| See accompanying file /LICENSE for details.
*------------------------------------------------------------------------------------------------*/
#pragma once
#include "... | 19.086538 | 99 | 0.649874 | boschmitt |
ce1dceb2a3715552d34f334dece72ec95f5c8759 | 17,759 | cpp | C++ | lib/Runtime/Library/JSONParser.cpp | satheeshravi/ChakraCore | 3bf47ff12bf80ab06fb7ea6925ec7579985ac1f5 | [
"MIT"
] | 1 | 2021-11-07T18:56:21.000Z | 2021-11-07T18:56:21.000Z | lib/Runtime/Library/JSONParser.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | null | null | null | lib/Runtime/Library/JSONParser.cpp | MaxMood96/ChakraCore | 9d9fea268ce1ae6c00873fd966a6a2be048f3455 | [
"MIT"
] | 1 | 2021-09-04T23:26:57.000Z | 2021-09-04T23:26:57.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 42.689904 | 190 | 0.489724 | satheeshravi |
ce22379d97d928b3ea1a8ef06dfd2ca14d5f6320 | 6,732 | cc | C++ | tensorflow/core/lib/db/sqlite_test.cc | shengfuintel/tensorflow | e67f3af48c94c9456c3ff376dc30c82a4bf982cd | [
"Apache-2.0"
] | 522 | 2016-06-08T02:15:50.000Z | 2022-03-02T05:30:36.000Z | tensorflow/core/lib/db/sqlite_test.cc | shengfuintel/tensorflow | e67f3af48c94c9456c3ff376dc30c82a4bf982cd | [
"Apache-2.0"
] | 48 | 2016-07-26T00:11:55.000Z | 2022-02-23T13:36:33.000Z | tensorflow/core/lib/db/sqlite_test.cc | shengfuintel/tensorflow | e67f3af48c94c9456c3ff376dc30c82a4bf982cd | [
"Apache-2.0"
] | 108 | 2016-06-16T15:34:05.000Z | 2022-03-12T13:23:11.000Z | /* Copyright 2015 The TensorFlow 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 a... | 33.829146 | 80 | 0.672311 | shengfuintel |
ce22dba9649bd0e6b4e343178e9abd25bcbf8319 | 990 | cpp | C++ | unit_tests/diagnostics.cpp | tay10r/pathway | 20e961b6c0bf01a1c3a9e5a97396cc64d0f64cf6 | [
"MIT"
] | 1 | 2021-04-29T02:29:40.000Z | 2021-04-29T02:29:40.000Z | unit_tests/diagnostics.cpp | tay10r/pathway | 20e961b6c0bf01a1c3a9e5a97396cc64d0f64cf6 | [
"MIT"
] | null | null | null | unit_tests/diagnostics.cpp | tay10r/pathway | 20e961b6c0bf01a1c3a9e5a97396cc64d0f64cf6 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "diagnostics.h"
TEST(Diagnostics, GetClippedLocation)
{
Location loc1{ 1, 7, 1, 7 };
auto range1 = ConsoleDiagObserver::GetClippedLocation(1, " line 1", loc1);
EXPECT_EQ(range1.index, 6);
EXPECT_EQ(range1.length, 1);
Location loc2{ 2, 2, 3, 5 };
auto range2 = ConsoleD... | 24.75 | 76 | 0.651515 | tay10r |
ce254b163692b17480af619db791dbb587db4184 | 1,102 | cpp | C++ | cpp/lib/string/is_parentheses_column.cpp | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | cpp/lib/string/is_parentheses_column.cpp | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | cpp/lib/string/is_parentheses_column.cpp | KATO-Hiro/atcoder-1 | c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
// --------------------------------------------------------
#define FOR(i,l,r) for (ll i = (l); i < (r); ++i)
#define RFOR(i,l,r) for (ll i = (r)-1; (l) <= i; --i)
#define REP(i,n) FOR(i,0,n)
#define RREP(i,n) RFOR(i,0,n)
#define BIT(b,i) (((b)>>(i)) &... | 24.488889 | 66 | 0.451906 | KATO-Hiro |
ce25536e9fe45588c86ded4ba219fc2d05ecc2a0 | 12,027 | cpp | C++ | plugins/OpenVR/src/VROpenVRInputDevice.cpp | elainejiang8/MinVR | d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7 | [
"BSD-3-Clause"
] | null | null | null | plugins/OpenVR/src/VROpenVRInputDevice.cpp | elainejiang8/MinVR | d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7 | [
"BSD-3-Clause"
] | null | null | null | plugins/OpenVR/src/VROpenVRInputDevice.cpp | elainejiang8/MinVR | d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright Regents of the University of Minnesota, 2015. This software is released under the following license: http://opensource.org/licenses/GPL-2.0
* Source code originally developed at the University of Minnesota Interactive Visualization Lab (http://ivlab.cs.umn.edu).
*
* Code author(s):
* Ben Knorlein... | 40.22408 | 156 | 0.728112 | elainejiang8 |
ce2596707aac0b02d1a33e8bf6813fe70ec2ae44 | 30,276 | hpp | C++ | xsec/dsig/DSIGSignature.hpp | pexip/os-xml-security-c | ad4c06c7670e7186a6dcc353e023216522f9782a | [
"Apache-2.0"
] | 1 | 2020-04-15T21:07:32.000Z | 2020-04-15T21:07:32.000Z | src/xsec/dsig/DSIGSignature.hpp | odant/conan-xmlsec | 50293a093a32f81a37088aca4116e4c139dc2358 | [
"Apache-2.0"
] | null | null | null | src/xsec/dsig/DSIGSignature.hpp | odant/conan-xmlsec | 50293a093a32f81a37088aca4116e4c139dc2358 | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | 31.970433 | 102 | 0.653488 | pexip |
ce28e1f2f3e9da82cb87668869f44cf00615d388 | 114 | hxx | C++ | src/Providers/UNIXProviders/PrintSAP/UNIX_PrintSAP_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/PrintSAP/UNIX_PrintSAP_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/PrintSAP/UNIX_PrintSAP_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_PRINTSAP_PRIVATE_H
#define __UNIX_PRINTSAP_PRIVATE_H
#endif
#endif
| 9.5 | 33 | 0.833333 | brunolauze |
ce29d83f5cca49a329feb55b17adb09dd45e7011 | 395 | cpp | C++ | BOJ_CPP/11597.cpp | tnsgh9603/BOJ_CPP | 432b1350f6c67cce83aec3e723e30a3c6b5dbfda | [
"MIT"
] | null | null | null | BOJ_CPP/11597.cpp | tnsgh9603/BOJ_CPP | 432b1350f6c67cce83aec3e723e30a3c6b5dbfda | [
"MIT"
] | null | null | null | BOJ_CPP/11597.cpp | tnsgh9603/BOJ_CPP | 432b1350f6c67cce83aec3e723e30a3c6b5dbfda | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
using namespace std;
int arr[100'001];
int main() {
int n, ans = INT_MAX;
cin >> n;
for (int i = 0; i < n; ++i) {
cin >> arr[i];
}
sort(arr, arr + n);
for (int i = 0; i < n / 2; ++i) {
ans ... | 20.789474 | 63 | 0.481013 | tnsgh9603 |
ce2aba1accaf931fb79ef906a84914685426eec6 | 706 | cpp | C++ | dataset/test/modification/1467_rename/8/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1467_rename/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1467_rename/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fo(i, a, n) for (int i = a; i < n; i++)
#define foe(i, a, n) for (int i = a; i <= n; i++)
void fpx_o()
{
int n_d;
cin >> n_d;
if (n_d == 1)
cout << 9 << endl;
else if (n_d == 2)
cout << 98 << endl... | 18.102564 | 50 | 0.382436 | Karina5005 |
ce2bbcf881621d927b8ae6c49d3420ef7c2b4fcb | 4,047 | hpp | C++ | src/internal/geoarrow-cpp/internal/arrow-hpp/builder-string.hpp | paleolimbot/geoarrow | 45033ffe9cd9e0d21ee223361f0ac5eaf1f4330a | [
"MIT"
] | 42 | 2021-11-26T01:17:46.000Z | 2022-03-26T21:00:28.000Z | src/internal/geoarrow-cpp/internal/arrow-hpp/builder-string.hpp | paleolimbot/geoarrow | 45033ffe9cd9e0d21ee223361f0ac5eaf1f4330a | [
"MIT"
] | 3 | 2022-03-02T18:18:38.000Z | 2022-03-23T20:06:22.000Z | src/internal/geoarrow-cpp/internal/arrow-hpp/builder-string.hpp | paleolimbot/geoarrow | 45033ffe9cd9e0d21ee223361f0ac5eaf1f4330a | [
"MIT"
] | null | null | null |
#pragma once
#include "builder.hpp"
namespace arrow {
namespace hpp {
namespace builder {
class BinaryArrayBuilder: public ArrayBuilder {
public:
BinaryArrayBuilder(): is_large_(false), item_size_(0) {
offset_buffer_builder_.write_element(0);
}
void reserve(int64_t additional_capacity) {
ArrayBuild... | 23.393064 | 87 | 0.700025 | paleolimbot |
ce2ced32ade0dd20e345642373a091265b9e059d | 2,962 | cpp | C++ | blades/xbmc/xbmc/addons/PluginSource.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/addons/PluginSource.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/addons/PluginSource.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | 26.212389 | 97 | 0.68366 | krattai |
ce2d0051690dbfc2e25292480a20eac807049323 | 6,847 | cpp | C++ | src/Squad.cpp | Kruecke/KBot | 97a9abc4537d83c9b6132684b7fa41dec807d174 | [
"MIT"
] | 2 | 2017-03-18T18:22:00.000Z | 2017-07-17T17:02:58.000Z | src/Squad.cpp | fklemme/KBot | 97a9abc4537d83c9b6132684b7fa41dec807d174 | [
"MIT"
] | 3 | 2017-03-17T04:23:38.000Z | 2017-07-02T17:43:09.000Z | src/Squad.cpp | Kruecke/KBot | 97a9abc4537d83c9b6132684b7fa41dec807d174 | [
"MIT"
] | null | null | null | #include "Squad.h"
#include "KBot.h"
#include "utils.h"
#include <stdexcept>
namespace KBot {
using namespace BWAPI;
Squad::Squad(KBot &kBot) : m_kBot(&kBot), m_state(State::scout) {}
void Squad::update() {
if (!empty()) {
// Draw squad radius
Broodwar->drawCircleMap(getPosition(), 400, Colors:... | 39.350575 | 100 | 0.498174 | Kruecke |
ce2d2c335f7263114a7dc4cbcdd2767b153dc6b2 | 2,622 | cpp | C++ | source/lx/fvec2.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | 1 | 2021-02-07T08:40:11.000Z | 2021-02-07T08:40:11.000Z | source/lx/fvec2.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | null | null | null | source/lx/fvec2.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | null | null | null | // fvec2.cpp
// Copyright (c) 2014 - 2016, zhiayang@gmail.com
// Licensed under the Apache License Version 2.0.
#include "lx.h"
#include "lx/fvec2.h"
#include <assert.h>
namespace lx
{
float& fvec2::operator[] (size_t i)
{
assert(i == 0 || i == 1);
return this->ptr[i];
}
const float& fvec2::operator[] (siz... | 26.484848 | 93 | 0.58505 | zhiayang |
ce2d5a527c00b4e538c7f002b16507652cd5be62 | 1,602 | cc | C++ | firmware/src/MightyBoard/shared/Pin.cc | 46cv8/Sailfish-MightyBoardFirmware | 4d8456e54c537dd32775095ed2715d41f5961e6c | [
"AAL"
] | 79 | 2015-01-13T21:00:15.000Z | 2022-03-22T14:40:41.000Z | firmware/src/MightyBoard/shared/Pin.cc | 46cv8/Sailfish-MightyBoardFirmware | 4d8456e54c537dd32775095ed2715d41f5961e6c | [
"AAL"
] | 79 | 2015-04-23T18:25:49.000Z | 2021-10-03T14:42:07.000Z | firmware/src/MightyBoard/shared/Pin.cc | 46cv8/Sailfish-MightyBoardFirmware | 4d8456e54c537dd32775095ed2715d41f5961e6c | [
"AAL"
] | 66 | 2015-01-05T04:05:09.000Z | 2022-02-16T17:31:02.000Z | #include "Compat.hh"
#include "Pin.hh"
Pin::Pin() :
port_base(NullPort.port_base),
is_null(true),
pin_mask(0),
pin_mask_inverted((uint8_t)~0) { }
Pin::Pin(const AvrPort& port_in, uint8_t pin_index_in) :
port_base(port_in.port_base),
is_null(port_base == NULL_PORT),
pin_mask((uint8_t... | 20.538462 | 58 | 0.626092 | 46cv8 |
ce2dd54b596d6c8e57b70db5d7f532404fc6fe6f | 5,135 | cpp | C++ | Source/ppmc.cpp | leossoaress/PPMC | 025ee65e94a19222d5361132bf6c3743eeae13f4 | [
"MIT"
] | null | null | null | Source/ppmc.cpp | leossoaress/PPMC | 025ee65e94a19222d5361132bf6c3743eeae13f4 | [
"MIT"
] | null | null | null | Source/ppmc.cpp | leossoaress/PPMC | 025ee65e94a19222d5361132bf6c3743eeae13f4 | [
"MIT"
] | null | null | null | #include "ppmc.h"
PPMC::PPMC(unsigned int order_, std::string inputname, std::string outputname) : order(order_)
{
root = new Node(ROOT);
base = root;
input.open(inputname, std::ios::in | std::ios::binary);
if(!input) {
std::cout << "Could not open input file" << std::endl;
exit(-1);
... | 23.555046 | 94 | 0.508666 | leossoaress |
ce2ea67d09cd6a4ef1b0b42c6a6a69b9d6e5842e | 19,578 | cpp | C++ | src/cdnscache.cpp | Network-Tokens/oss-util | a1223835bc29ac5a291acfb02fabf513a18f6996 | [
"Apache-2.0"
] | null | null | null | src/cdnscache.cpp | Network-Tokens/oss-util | a1223835bc29ac5a291acfb02fabf513a18f6996 | [
"Apache-2.0"
] | null | null | null | src/cdnscache.cpp | Network-Tokens/oss-util | a1223835bc29ac5a291acfb02fabf513a18f6996 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017 Sprint
*
* 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,... | 25.794466 | 143 | 0.53555 | Network-Tokens |
ce2ed0442729f6f404b7617006601392e4e263c2 | 7,482 | cxx | C++ | Applications/Viqui/vqPredefinedQueryCache.cxx | m-chaturvedi/vivia | 5381445da395682a62d4580de5061653bf48339b | [
"BSD-3-Clause"
] | 1 | 2017-07-31T07:08:05.000Z | 2017-07-31T07:08:05.000Z | Applications/Viqui/vqPredefinedQueryCache.cxx | m-chaturvedi/vivia | 5381445da395682a62d4580de5061653bf48339b | [
"BSD-3-Clause"
] | null | null | null | Applications/Viqui/vqPredefinedQueryCache.cxx | m-chaturvedi/vivia | 5381445da395682a62d4580de5061653bf48339b | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +5
* Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "vqPredefinedQueryCache.h"
#include "vqPredefinedQueryCachePrivate.h"
#include <QAp... | 29.690476 | 80 | 0.606923 | m-chaturvedi |
ce2f651a2eb8a3fd6d1ccc81ca5113a560384111 | 320 | hh | C++ | src/simulated-annealing.hh | obs145628/sudoku-solver | 11f117fee0409719a0f82ca55138f5f261f13b20 | [
"MIT"
] | null | null | null | src/simulated-annealing.hh | obs145628/sudoku-solver | 11f117fee0409719a0f82ca55138f5f261f13b20 | [
"MIT"
] | null | null | null | src/simulated-annealing.hh | obs145628/sudoku-solver | 11f117fee0409719a0f82ca55138f5f261f13b20 | [
"MIT"
] | null | null | null | #pragma once
#include "local-search.hh"
#include <utility>
class SimulatedAnnealing : public LocalSearch
{
public:
using successor_t = std::pair<unsigned, unsigned>;
static void solve(Game& g);
private:
SimulatedAnnealing(Game& g);
void exec_();
double temperature_(unsigned i);
successor_t next_();
};
| 16 | 52 | 0.721875 | obs145628 |
ce2fcb66fa63ad030e174d66fb332117ac4c6f22 | 3,317 | hh | C++ | p1.hh | bitsofcotton/p1 | 8cf062d961c018c39f4f15d7bc1baf0a641dde34 | [
"BSD-3-Clause"
] | null | null | null | p1.hh | bitsofcotton/p1 | 8cf062d961c018c39f4f15d7bc1baf0a641dde34 | [
"BSD-3-Clause"
] | 6 | 2017-04-15T08:47:59.000Z | 2020-10-15T12:43:17.000Z | p1.hh | bitsofcotton/p1 | 8cf062d961c018c39f4f15d7bc1baf0a641dde34 | [
"BSD-3-Clause"
] | null | null | null | /*
BSD 3-Clause License
Copyright (c) 2020-2021, kazunobu watatsu
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list ... | 39.488095 | 78 | 0.691589 | bitsofcotton |
ce30b4ffb1b49ddda52382ff27471fc96cb4e264 | 2,018 | cpp | C++ | unittests/testNearestNeighbor.cpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | 4 | 2021-02-20T15:59:42.000Z | 2022-03-25T04:04:21.000Z | unittests/testNearestNeighbor.cpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | 1 | 2021-04-14T04:12:48.000Z | 2021-04-14T04:12:48.000Z | unittests/testNearestNeighbor.cpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | 2 | 2019-10-29T12:41:16.000Z | 2021-03-22T16:38:27.000Z | /**
* @file rrts02-nearestNeighbors.cpp
* @author Can Erdogan
* @date Feb 04, 2013
* @brief Checks if the nearest neighbor computation done by flann is correct.
*/
#include <iostream>
#include <gtest/gtest.h>
#include <Eigen/Core>
#include <dart/dart.hpp>
#if HAVE_FLANN
#include <flann/flann.hpp>
#endif // HAVE_F... | 34.793103 | 99 | 0.606046 | purewind7 |
ce323ad3d9b49b086493ead14eb5658ef13a655a | 1,572 | hpp | C++ | include/MemeCore/Function.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | include/MemeCore/Function.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | include/MemeCore/Function.hpp | Gurman8r/CppSandbox | a0f1cf0ade69ecaba4d167c0611a620914155e53 | [
"MIT"
] | null | null | null | #ifndef _ML_FUNCTION_HPP_
#define _ML_FUNCTION_HPP_
#include <MemeCore/ITrackable.hpp>
namespace ml
{
/* * * * * * * * * * * * * * * * * * * * */
class ML_CORE_API Function
: public ITrackable
{
public:
virtual ~Function() {}
virtual void run() = 0;
inline void operator()() { return run(); }
};
... | 16.375 | 63 | 0.512087 | Gurman8r |
ce3761c6141bb4ed1abcc92b7b91d30584e23061 | 301 | cpp | C++ | src/sdm/utils/linear_programming/ndpomdp_naming.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | src/sdm/utils/linear_programming/ndpomdp_naming.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | src/sdm/utils/linear_programming/ndpomdp_naming.cpp | SDMStudio/sdms | 43a86973081ffd86c091aed69b332f0087f59361 | [
"MIT"
] | null | null | null | #include <sdm/utils/linear_programming/ndpomdp_naming.hpp>
namespace sdm
{
std::string NDPOMDPNaming::getTransitionName(const std::shared_ptr<State> &x, const std::shared_ptr<State> &y)
{
std::ostringstream oss;
oss << "tr:" << x << ":" << y;
return oss.str();
}
} | 27.363636 | 114 | 0.621262 | SDMStudio |
ce3a12a8fbe10c4c915dd603f022d69b38c4d3a1 | 6,604 | cpp | C++ | test/unit/MessageBuffer_test.cpp | mgukowsky/Omulator | 82e6d112ee09fa02cce8d0d4ad2e9077cc73e870 | [
"0BSD"
] | 1 | 2022-01-17T22:16:47.000Z | 2022-01-17T22:16:47.000Z | test/unit/MessageBuffer_test.cpp | mgukowsky/Omulator | 82e6d112ee09fa02cce8d0d4ad2e9077cc73e870 | [
"0BSD"
] | 14 | 2019-05-14T02:43:53.000Z | 2019-05-26T23:05:22.000Z | test/unit/MessageBuffer_test.cpp | mgukowsky/Omulator | 82e6d112ee09fa02cce8d0d4ad2e9077cc73e870 | [
"0BSD"
] | null | null | null | #include "omulator/msg/MessageBuffer.hpp"
#include "omulator/util/reinterpret.hpp"
#include <gtest/gtest.h>
#include <cmath>
#include <cstddef>
using omulator::U16;
using omulator::U32;
using omulator::U8;
using omulator::msg::MessageBuffer;
using omulator::util::reinterpret;
namespace {
constexpr int MAGIC = 42;
... | 44.621622 | 100 | 0.726075 | mgukowsky |
ce3b9f8bc7b42cacfd21af37d7c193993324ab96 | 1,052 | hpp | C++ | include/cond_check.hpp | MatthiasKillat/template_metaprogramming | a0f65d11052c317387d09a2fdf967cac2bb987a2 | [
"Apache-2.0"
] | null | null | null | include/cond_check.hpp | MatthiasKillat/template_metaprogramming | a0f65d11052c317387d09a2fdf967cac2bb987a2 | [
"Apache-2.0"
] | null | null | null | include/cond_check.hpp | MatthiasKillat/template_metaprogramming | a0f65d11052c317387d09a2fdf967cac2bb987a2 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <type_traits>
//some helper aliases/templates to make reasoning about what happens a little easier
template <bool Value = true>
using Boolean = std::integral_constant<bool, Value>;
using True = Boolean<true>;
using False = Boolean<false>;
template <typename Cond>
using TrueOrFail = typename st... | 29.222222 | 111 | 0.701521 | MatthiasKillat |
ce3c24bd470b1a00b64490111036387bd630ce2f | 3,725 | cpp | C++ | Sources/x10/xla_tensor/ops/xla_avg_pool.cpp | vguerra/swift-apis | 215c1380874c55d2f12ae81ce78968f9e25ed723 | [
"Apache-2.0"
] | 848 | 2019-02-12T00:27:29.000Z | 2022-01-26T04:41:50.000Z | Sources/x10/xla_tensor/ops/xla_avg_pool.cpp | BradLarson/swift-apis | 02f31d531cbbfbd72de2b2f288f24f8645ee5bcb | [
"Apache-2.0"
] | 698 | 2019-02-12T12:35:54.000Z | 2022-01-25T00:48:53.000Z | Sources/x10/xla_tensor/ops/xla_avg_pool.cpp | ProfFan/swift-apis | f51ee4618d652a2419e998bf9418ad80bda67454 | [
"Apache-2.0"
] | 181 | 2019-02-12T00:33:34.000Z | 2021-12-05T19:15:55.000Z | // Copyright 2020 TensorFlow 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... | 40.934066 | 79 | 0.656644 | vguerra |
ce3d505ecb23510ee8c55d106cfcec90f5cd6f75 | 106 | hpp | C++ | buildSystemTests/single_exec/code/inc/MyClass.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | buildSystemTests/single_exec/code/inc/MyClass.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | 6 | 2020-10-11T21:03:24.000Z | 2020-10-12T20:32:13.000Z | buildSystemTests/single_exec/code/inc/MyClass.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | #ifndef MY_CLASS_HPP_
#define MY_CLASS_HPP_
struct CMyClass {
void fun();
};
#endif // MY_CLASS_HPP_ | 13.25 | 23 | 0.726415 | iblis-ms |
ce3f81c43ce53f85afcb408ea2e634bceabdc928 | 18,026 | hpp | C++ | src/core/common/message.hpp | jjzhang166/openthread | e68e38b8e85fe4eeb3810727cd3583b5f87a4e70 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T05:03:00.000Z | 2021-05-21T05:03:00.000Z | src/core/common/message.hpp | lluwang/openthread | cfb2f38e6933d5f284f869c2081e9f29f2cc087c | [
"BSD-3-Clause"
] | null | null | null | src/core/common/message.hpp | lluwang/openthread | cfb2f38e6933d5f284f869c2081e9f29f2cc087c | [
"BSD-3-Clause"
] | 1 | 2021-05-21T05:03:01.000Z | 2021-05-21T05:03:01.000Z | /*
* Copyright (c) 2016, Nest Labs, 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | 29.943522 | 118 | 0.641962 | jjzhang166 |
ce3fa24c1ac8d6b0bba496f413dddd50b015bc1b | 2,116 | cpp | C++ | wpilibcIntegrationTests/src/DigitalGlitchFilterTest.cpp | virtuald/allwpilib | 1c8fb298b47ec1669c4c0d3ad80563b432b06a12 | [
"BSD-3-Clause"
] | null | null | null | wpilibcIntegrationTests/src/DigitalGlitchFilterTest.cpp | virtuald/allwpilib | 1c8fb298b47ec1669c4c0d3ad80563b432b06a12 | [
"BSD-3-Clause"
] | null | null | null | wpilibcIntegrationTests/src/DigitalGlitchFilterTest.cpp | virtuald/allwpilib | 1c8fb298b47ec1669c4c0d3ad80563b432b06a12 | [
"BSD-3-Clause"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2015-2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 33.0625 | 80 | 0.649338 | virtuald |
ce45645fe053d81daa57536b805fdcffdefd33a9 | 2,224 | cpp | C++ | src/tree/bst.cpp | rzakaan/datastructure | e283e53614a729a4ad070ab86374cf6dc0edc596 | [
"MIT"
] | null | null | null | src/tree/bst.cpp | rzakaan/datastructure | e283e53614a729a4ad070ab86374cf6dc0edc596 | [
"MIT"
] | null | null | null | src/tree/bst.cpp | rzakaan/datastructure | e283e53614a729a4ad070ab86374cf6dc0edc596 | [
"MIT"
] | null | null | null | #include <iostream>
template <typename T>
class BinarySearchTree {
public:
class Node {
public:
T data;
Node* left;
Node* right;
};
BinarySearchTree();
~BinarySearchTree();
int size();
bool empty();
void clear();
void print();
void insert(const T data);
... | 22.464646 | 96 | 0.600719 | rzakaan |
ce45bae2fc9f82c959a4547d8432730acb3e384d | 15,261 | hpp | C++ | test/test_types.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null | test/test_types.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null | test/test_types.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null |
#if defined __GNUC__ || defined __clang__
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
extern char buffer[1024];
extern "C" {
int foobar0();
}
static int foobar0_fake()
{
return -1;
}
int foobar1(int a);
static int foobar1_fake(int a)
{
return -... | 35.163594 | 175 | 0.607169 | lingjf |
ce475d9a33183dab3cf0aac544f9ddb3f5436140 | 11,061 | cc | C++ | be/src/exec/old-hash-table-test.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | 51 | 2015-01-02T04:10:26.000Z | 2020-11-21T16:33:19.000Z | be/src/exec/old-hash-table-test.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | 58 | 2015-01-29T15:52:19.000Z | 2016-04-19T08:19:02.000Z | be/src/exec/old-hash-table-test.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | 8 | 2015-03-16T11:03:41.000Z | 2019-07-11T06:39:31.000Z | // Copyright 2012 Cloudera 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 wr... | 33.722561 | 89 | 0.679957 | AtScaleInc |
ce479f7e6a0ef49884f13c4e2cea730a5dbe3e9f | 17,326 | cpp | C++ | Msg22.cpp | privacore/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 134 | 2016-05-30T13:29:37.000Z | 2021-06-18T02:13:51.000Z | Msg22.cpp | mehmet-biter/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 65 | 2016-10-31T16:02:28.000Z | 2020-04-30T14:18:57.000Z | Msg22.cpp | mehmet-biter/open-source-search-engine | dac28de673068039381ca3f66521ea4c1eaf6a1e | [
"Apache-2.0"
] | 22 | 2016-05-30T13:29:39.000Z | 2020-06-30T08:43:38.000Z | #include "Msg22.h"
#include "Titledb.h"
#include "UdpServer.h"
#include "UdpSlot.h"
#include "Collectiondb.h"
#include "Process.h"
#include "Mem.h"
#include "Msg5.h"
#include "Errno.h"
#include "Docid.h"
static void handleRequest22 ( UdpSlot *slot , int32_t netnice ) ;
Msg22Request::Msg22Request() {
//use memset() t... | 29.975779 | 168 | 0.63725 | privacore |
ce47fca96d5b02ef1201fbd8a6957389ba9fe8ee | 1,268 | cc | C++ | tests/test_integration_2d.cc | stvdwtt/adamantine | af396f02089a488a35146ab83234974ae465ada2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_integration_2d.cc | stvdwtt/adamantine | af396f02089a488a35146ab83234974ae465ada2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_integration_2d.cc | stvdwtt/adamantine | af396f02089a488a35146ab83234974ae465ada2 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2016 - 2020, the adamantine authors.
*
* This file is subject to the Modified BSD License and may not be distributed
* without copyright and license information. Please refer to the file LICENSE
* for the text and further information on this license.
*/
#define BOOST_TEST_MODULE Integration_2D
#... | 30.190476 | 78 | 0.713722 | stvdwtt |
ce49e472e8df388706447b5f15ebbd415c166ffa | 1,002 | cpp | C++ | Game/Source/Cores/TestCore.cpp | wobbier/portals | c9f603318137f80b773bab5aad12be265c17e846 | [
"MIT"
] | null | null | null | Game/Source/Cores/TestCore.cpp | wobbier/portals | c9f603318137f80b773bab5aad12be265c17e846 | [
"MIT"
] | null | null | null | Game/Source/Cores/TestCore.cpp | wobbier/portals | c9f603318137f80b773bab5aad12be265c17e846 | [
"MIT"
] | null | null | null | #include "TestCore.h"
#include "Components/Transform.h"
#include "Components/Camera.h"
#include "Engine/Input.h"
#include "Events/EventManager.h"
#include "optick.h"
#include "Engine/World.h"
#include "Components/Graphics/Model.h"
TestCore::TestCore() : Base(ComponentFilter().Requires<Transform>())
{
}
... | 18.90566 | 69 | 0.658683 | wobbier |
ce4a913d3b0cb97664f722fc1e8d752122a706a4 | 2,881 | hpp | C++ | src/include/portaudio/portaudioDuplex.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 245 | 2020-10-24T16:27:13.000Z | 2022-03-31T03:01:11.000Z | src/include/portaudio/portaudioDuplex.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 41 | 2021-01-13T11:30:42.000Z | 2022-01-14T14:36:11.000Z | src/include/portaudio/portaudioDuplex.hpp | elinjammal/opensmile | 0ae2da44e61744ff1aaa9bae2b95d747febb08de | [
"W3C"
] | 43 | 2020-12-11T15:28:19.000Z | 2022-03-20T11:55:58.000Z | /*F***************************************************************************
* This file is part of openSMILE.
*
* Copyright (c) audEERING GmbH. All rights reserved.
* See the file COPYING for details on license terms.
***************************************************************************E*/
/* openSMIL... | 25.27193 | 139 | 0.669212 | elinjammal |
ce4c7f43b84d2b460d9f9beadab57b8a36a1105e | 1,122 | cpp | C++ | engine/engine/render_system/render_system.cpp | phossc/game-engine | 7695ed2795cfe44aa295da2114dffc49f258af33 | [
"Zlib"
] | 1 | 2019-01-13T14:43:15.000Z | 2019-01-13T14:43:15.000Z | engine/engine/render_system/render_system.cpp | phossc/game-engine | 7695ed2795cfe44aa295da2114dffc49f258af33 | [
"Zlib"
] | null | null | null | engine/engine/render_system/render_system.cpp | phossc/game-engine | 7695ed2795cfe44aa295da2114dffc49f258af33 | [
"Zlib"
] | 1 | 2019-01-13T14:43:02.000Z | 2019-01-13T14:43:02.000Z | #include "engine/render_system/render_system.hpp"
#include "engine/core/profiler.hpp"
#include "engine/core/system.hpp"
#include "engine/update_priorities.hpp"
#include "glad/glad.h"
#include <cassert>
namespace engine {
void Render_system::activate() {
glClearColor(0.8f, 0.8f, 0.8f, 1.0f);
sys->update_sys... | 26.714286 | 73 | 0.721034 | phossc |
ce4d5cf387d150c7715f9f774596a66f2b76b092 | 32,591 | cc | C++ | hub/db/helper.cc | Tsangares/rpchub | 84378884a189f5c52f14e346fdc1071a816d8b56 | [
"Apache-2.0"
] | null | null | null | hub/db/helper.cc | Tsangares/rpchub | 84378884a189f5c52f14e346fdc1071a816d8b56 | [
"Apache-2.0"
] | null | null | null | hub/db/helper.cc | Tsangares/rpchub | 84378884a189f5c52f14e346fdc1071a816d8b56 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 IOTA Stiftung
* https://github.com/iotaledger/hub
*
* Refer to the LICENSE file for licensing information
*/
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <sqlpp11/functions.h>
#include <sqlpp11/insert.h>
#include <sqlpp11/schema.h>
#inc... | 33.426667 | 80 | 0.613636 | Tsangares |
ce4d6e0f2ac4d81d4be245ad10bd01c7657aa2bd | 4,550 | hpp | C++ | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/FixedPointNumber.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 2,690 | 2015-01-07T03:50:23.000Z | 2022-03-31T20:27:01.000Z | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/FixedPointNumber.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 481 | 2015-01-27T10:21:00.000Z | 2022-03-31T14:02:41.000Z | aslam_optimizer/aslam_backend_expressions/include/aslam/backend/FixedPointNumber.hpp | PushyamiKaveti/kalibr | d8bdfc59ee666ef854012becc93571f96fe5d80c | [
"BSD-4-Clause"
] | 1,091 | 2015-01-26T21:21:13.000Z | 2022-03-30T01:55:33.000Z | #ifndef ASLAM_BACKEND_FIXED_POINT_NUMBER_HPP
#define ASLAM_BACKEND_FIXED_POINT_NUMBER_HPP
#include <cstdint>
#include <limits>
namespace aslam {
namespace backend {
template <typename Integer_>
struct BiggerType;
template <>
struct BiggerType<char> {
typedef std::int16_t type;
};
template <>
struct BiggerType<s... | 29.934211 | 151 | 0.726593 | PushyamiKaveti |
ce527023f9ad06af4249f8277d16a75ea5ad352e | 711 | hpp | C++ | net/hls/hls_writer.hpp | Romantic-LiXuefeng/cpp_media_server | cf6b791cd8d2de867e3f4831d72fce04d65f211a | [
"MIT"
] | 116 | 2021-09-07T12:16:59.000Z | 2022-03-28T12:44:47.000Z | net/hls/hls_writer.hpp | Romantic-LiXuefeng/cpp_media_server | cf6b791cd8d2de867e3f4831d72fce04d65f211a | [
"MIT"
] | 4 | 2022-03-01T18:54:50.000Z | 2022-03-28T14:22:43.000Z | net/hls/hls_writer.hpp | Romantic-LiXuefeng/cpp_media_server | cf6b791cd8d2de867e3f4831d72fce04d65f211a | [
"MIT"
] | 22 | 2021-09-07T12:53:40.000Z | 2022-03-27T11:30:17.000Z | #ifndef HLS_WRITER_HPP
#define HLS_WRITER_HPP
#include <stdint.h>
#include <stddef.h>
#include <string>
#include "media_packet.hpp"
#include "hls_worker.hpp"
class hls_writer : public av_writer_base
{
public:
hls_writer(boost::asio::io_context& io_context, uint16_t port,
const std::string& path, bool ... | 22.935484 | 66 | 0.725738 | Romantic-LiXuefeng |
ce53554d719dd9023260a439fb8379b5023f734f | 1,633 | hpp | C++ | ext/src/java/awt/Container_AccessibleAWTContainer.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/awt/Container_AccessibleAWTContainer.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/awt/Container_AccessibleAWTContainer.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <atomic>
#include <fwd-POI.hpp>
#include <java/awt/fwd-POI.hpp>
#include <java/awt/event/fwd-POI.hpp>
#include <java/beans/fwd-POI.hpp>
#include <javax/accessibility/fwd-POI.hpp>
#include <java/awt/... | 28.649123 | 97 | 0.753827 | pebble2015 |
ce594b71cd4b88e19a72e197efce997c98b9f5d6 | 15,592 | cpp | C++ | source/coolprj/lisp.cpp | pierrebestwork/owl-next | 94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e | [
"Zlib"
] | null | null | null | source/coolprj/lisp.cpp | pierrebestwork/owl-next | 94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e | [
"Zlib"
] | null | null | null | source/coolprj/lisp.cpp | pierrebestwork/owl-next | 94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e | [
"Zlib"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright: Ferdinand Prantl, portions by Stcherbatchenko Andrei
// E-mail: prantl@ff.cuni.cz
//
// LISP (particularly AutoLISP) syntax highlighing definition
//
// You are free to use or modify this code to the following r... | 26.205042 | 182 | 0.40617 | pierrebestwork |
ce5a32ec47ac683d71215999d1de4bf7979c04c3 | 4,725 | hh | C++ | tests/array1.hh | geekysuavo/hx | 457b7c486d24e3142f2f9c259b0dfb97af03b312 | [
"MIT"
] | 1 | 2020-10-29T14:32:06.000Z | 2020-10-29T14:32:06.000Z | tests/array1.hh | geekysuavo/hx | 457b7c486d24e3142f2f9c259b0dfb97af03b312 | [
"MIT"
] | null | null | null | tests/array1.hh | geekysuavo/hx | 457b7c486d24e3142f2f9c259b0dfb97af03b312 | [
"MIT"
] | null | null | null |
#include "array.hh"
class Array1 : public CxxTest::TestSuite {
public:
/* array{} */
void testDefaultConstructor () {
hx::array<hx::scalar<0>, 5> x;
assert_values(x, {{0, 0, 0, 0, 0}});
}
/* array{Type[N]} */
void testArrayConstructor () {
hx::array<int, 5> x{{1, 2, 3, 4, 5}};
TS_ASSERT_EQU... | 23.161765 | 69 | 0.469841 | geekysuavo |
ce5ca3a37be366ff132c49a2351fe3b9d6531e52 | 2,052 | cpp | C++ | src/pool/executor_thread_pool.cpp | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | 54 | 2015-01-14T21:11:56.000Z | 2021-06-27T13:29:40.000Z | src/pool/executor_thread_pool.cpp | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | null | null | null | src/pool/executor_thread_pool.cpp | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | 10 | 2015-07-15T05:09:34.000Z | 2019-01-10T07:32:02.000Z | #include <glog/logging.h>
#include <pool/executor_thread_pool.h>
namespace {
const std::string k_exec_pool_service = "executor pool queue size";
const std::string k_exec_pool_desc = "number of pending tasks";
const size_t k_stop_attempts = 50;
const size_t k_stop_interval_check_ms = 100;
const size_t k_max_queue_siz... | 19.730769 | 73 | 0.649123 | juruen |
ce5d9b20ca0e1b4316efffb721be5acd3ce048a8 | 2,554 | cpp | C++ | Codeforces-Code/8VC Venture Cup 2016 - Final Round/G.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | Codeforces-Code/8VC Venture Cup 2016 - Final Round/G.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | Codeforces-Code/8VC Venture Cup 2016 - Final Round/G.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
const int MAXN = 4001;
int r, c, n, k, a[MAXN], p[MAXN], L[MAXN], R[MAXN], sA[MAXN], sB[MAXN], pA[MAXN], pB[MAXN];
std::pair<int, int> z[MAXN];
std::vector<int> d[MAXN];
long long answer;
bool cmp(const std::pair<int, int> &a, const std::pair<int, int> &b) {
return a.second < b.second;
}
v... | 25.54 | 91 | 0.434612 | PrayStarJirachi |
ce611cb18716c369627b86e45bceca05fc3a4c7e | 1,740 | hpp | C++ | src/solvers/agent_routing/AgentTask.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T12:15:15.000Z | 2022-03-31T12:15:15.000Z | src/solvers/agent_routing/AgentTask.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | null | null | null | src/solvers/agent_routing/AgentTask.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | 1 | 2021-12-29T10:38:07.000Z | 2021-12-29T10:38:07.000Z | #ifndef TEMPL_AGENT_ROUTING_AGENT_TASK_HPP
#define TEMPL_AGENT_ROUTING_AGENT_TASK_HPP
#include <cstdint>
#include "../../symbols/constants/Location.hpp"
#include "../../solvers/temporal/Interval.hpp"
namespace templ {
namespace solvers {
namespace agent_routing {
typedef uint32_t TaskPriority;
typedef uint32_t TaskD... | 33.461538 | 100 | 0.744828 | tomcreutz |
ce6259027340728f6bba8d36f06a7b60a07a71e8 | 6,761 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/Tests/SpatialView/AuthorityRecordTest.cpp | elizabethking2/UnrealGDK | e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74 | [
"MIT"
] | 363 | 2018-07-30T12:57:42.000Z | 2022-03-25T14:30:28.000Z | SpatialGDK/Source/SpatialGDK/Private/Tests/SpatialView/AuthorityRecordTest.cpp | elizabethking2/UnrealGDK | e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74 | [
"MIT"
] | 1,634 | 2018-07-30T14:30:25.000Z | 2022-03-03T01:55:15.000Z | SpatialGDK/Source/SpatialGDK/Private/Tests/SpatialView/AuthorityRecordTest.cpp | elizabethking2/UnrealGDK | e3a8aee7c71c6bd0c33f4f88c10b6725d8039d74 | [
"MIT"
] | 153 | 2018-07-31T13:45:02.000Z | 2022-03-03T05:20:24.000Z | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "Tests/TestDefinitions.h"
#include "SpatialView/AuthorityRecord.h"
#define AUTHORITYRECORD_TEST(TestName) \
GDK_TEST(Core, AuthorityRecord, TestName)
using namespace SpatialGDK;
namespace
{
class AuthorityChangeRecordFixture
{
public:
const... | 46.308219 | 160 | 0.845289 | elizabethking2 |
ce62dc6592757c644edb31ac74936c8712072c12 | 7,672 | hpp | C++ | include/Aether/horizon/overlays/DateTime.hpp | 3096/Aether | bc547ec192d8a973a63a97eda2994b3c2bdfeef7 | [
"MIT"
] | 9 | 2020-05-06T20:23:22.000Z | 2022-01-19T10:37:46.000Z | include/Aether/horizon/overlays/DateTime.hpp | 3096/Aether | bc547ec192d8a973a63a97eda2994b3c2bdfeef7 | [
"MIT"
] | 11 | 2020-03-22T03:40:50.000Z | 2020-06-09T00:53:13.000Z | include/Aether/horizon/overlays/DateTime.hpp | 3096/Aether | bc547ec192d8a973a63a97eda2994b3c2bdfeef7 | [
"MIT"
] | 6 | 2020-05-03T06:59:36.000Z | 2020-07-15T04:21:59.000Z | #ifndef AETHER_DATETIME_HPP
#define AETHER_DATETIME_HPP
#include <ctime>
#include "Aether/horizon/button/BorderButton.hpp"
#include "Aether/horizon/controls/ControlBar.hpp"
#include "Aether/horizon/input/Spinner.hpp"
#include "Aether/primary/Rectangle.hpp"
#include "Aether/Overlay.hpp"
namespace Aether {
/**
... | 30.811245 | 98 | 0.48123 | 3096 |
ce694d003cbbc052c3b869e83e14fe871d57e425 | 1,243 | cpp | C++ | modules/body/test/c++/plugingaitTest.cpp | OpenMA/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 41 | 2016-06-28T13:51:39.000Z | 2022-01-20T16:33:00.000Z | modules/body/test/c++/plugingaitTest.cpp | bmswgnp/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 82 | 2016-04-09T15:19:31.000Z | 2018-11-15T18:56:12.000Z | modules/body/test/c++/plugingaitTest.cpp | bmswgnp/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 9 | 2016-03-29T14:28:31.000Z | 2020-07-29T07:39:19.000Z | #include <cxxtest/TestDrive.h>
#include "plugingaitTest_def.h"
CXXTEST_SUITE(PluginGaitTest)
{
CXXTEST_TEST(clone)
{
ma::body::PluginGait helper(ma::body::Region::Full, ma::body::Side::Both);
fill_parameters_with_fake_value(&helper);
ma::Node root("root");
auto clonedhelper = helper.clone(&root... | 32.710526 | 84 | 0.74819 | OpenMA |
ce6b700b7d210e0917bcaca2f5360e853a4caf6f | 2,186 | cpp | C++ | src/platform.cpp | dev2alert/node-samp-plugin | ad3bf531aacaae99b653154b0af2e6809429f212 | [
"MIT"
] | 2 | 2022-01-13T15:37:15.000Z | 2022-02-06T11:55:23.000Z | src/platform.cpp | dev2alert/node-samp-plugin | ad3bf531aacaae99b653154b0af2e6809429f212 | [
"MIT"
] | null | null | null | src/platform.cpp | dev2alert/node-samp-plugin | ad3bf531aacaae99b653154b0af2e6809429f212 | [
"MIT"
] | null | null | null | #include "platform.h"
#include "env.h"
#include "json.hpp"
namespace nodesamp {
Platform::Platform(const std::vector<std::string>& options, std::string path, const std::vector<std::string>& args): path(path) {
this->args.push_back("");
for(std::string option: options)
this->args.push_ba... | 31.681159 | 141 | 0.595608 | dev2alert |
ce6b7f4246c6d654c977be57f95d7a8cf36139c2 | 6,361 | hpp | C++ | zebROS_ws/src/field_obj_tracker/include/field_obj_tracker/track3d.hpp | FRC900/2020RobotCode | e5d5f8f9f0ea2dc0e1139e776989ccb5a05896de | [
"BSD-3-Clause"
] | 4 | 2020-11-25T18:30:33.000Z | 2021-11-14T04:50:16.000Z | zebROS_ws/src/field_obj_tracker/include/field_obj_tracker/track3d.hpp | FRC900/2020Offseason | 36ccd74667d379b07d9b7a1e937307c6d8119229 | [
"BSD-3-Clause"
] | 19 | 2021-03-20T01:10:04.000Z | 2022-01-17T22:51:05.000Z | zebROS_ws/src/field_obj_tracker/include/field_obj_tracker/track3d.hpp | FRC900/2020Offseason | 36ccd74667d379b07d9b7a1e937307c6d8119229 | [
"BSD-3-Clause"
] | 2 | 2021-04-13T22:48:25.000Z | 2021-11-14T06:13:06.000Z | #pragma once
#include <algorithm>
#include <string>
#include <vector>
#include <list>
//#include <Eigen/Geometry>
#include <boost/circular_buffer.hpp>
#include "field_obj_tracker/kalman.hpp"
#include "field_obj_tracker/objtype.hpp"
const size_t TrackedObjectHistoryLength = 20;
// Class to hold info on a tracked objec... | 38.08982 | 121 | 0.710895 | FRC900 |
ce6c364bcfad9ecff51003a8829e14375de86fc8 | 8,213 | cpp | C++ | core/src/db/meta/backend/MockEngine.cpp | AmyYH/milvus | d993bcc9894f30fd1bbf3a3b998bcaa7226260da | [
"Apache-2.0"
] | null | null | null | core/src/db/meta/backend/MockEngine.cpp | AmyYH/milvus | d993bcc9894f30fd1bbf3a3b998bcaa7226260da | [
"Apache-2.0"
] | null | null | null | core/src/db/meta/backend/MockEngine.cpp | AmyYH/milvus | d993bcc9894f30fd1bbf3a3b998bcaa7226260da | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2019-2020 Zilliz. 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 l... | 32.207843 | 117 | 0.56995 | AmyYH |
ce6eac4783780cacc30f2eac52b346bbfa7db469 | 1,457 | cpp | C++ | aashishgahlawat/codeforces/B/834-B/834-B-32840837.cpp | aashishgahlawat/CompetetiveProgramming | 12d6b2682765ae05b622968b9a26b0b519e170aa | [
"MIT"
] | null | null | null | aashishgahlawat/codeforces/B/834-B/834-B-32840837.cpp | aashishgahlawat/CompetetiveProgramming | 12d6b2682765ae05b622968b9a26b0b519e170aa | [
"MIT"
] | null | null | null | aashishgahlawat/codeforces/B/834-B/834-B-32840837.cpp | aashishgahlawat/CompetetiveProgramming | 12d6b2682765ae05b622968b9a26b0b519e170aa | [
"MIT"
] | null | null | null | #include <iostream>
#include <bits/stdc++.h>
#include <math.h>
#include <string.h>
#include <algorithm>
#define endl '\n'
#define ll long long int
#define pb push_back
#define mp make_pair
#define foriter(it, x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++)
using namespace std;
int mod=1000000007;... | 27.490566 | 95 | 0.586822 | aashishgahlawat |
ce7318de225a1db368a9b0c8d64199de117d9107 | 1,003 | hpp | C++ | third_party/boost/simd/function/sec.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/function/sec.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/function/sec.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//=========================... | 22.288889 | 100 | 0.565304 | SylvainCorlay |