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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2817fc0eb238a54b68b52af72c583d910503047f | 2,618 | hpp | C++ | Nwn/include/Nwn/base.hpp | rkibria/NwnCharGen | 98815226e4e18f829178a930c6beada24056f99a | [
"MIT"
] | 1 | 2021-09-01T10:35:02.000Z | 2021-09-01T10:35:02.000Z | Nwn/include/Nwn/base.hpp | rkibria/NwnCharGen | 98815226e4e18f829178a930c6beada24056f99a | [
"MIT"
] | 12 | 2021-04-28T23:09:21.000Z | 2022-02-28T21:06:23.000Z | Nwn/include/Nwn/base.hpp | rkibria/NwnCharGen | 98815226e4e18f829178a930c6beada24056f99a | [
"MIT"
] | null | null | null | #ifndef NWNBASE_H
#define NWNBASE_H
#include <array>
#include <boost/bimap.hpp>
#include <boost/assign.hpp>
#include <boost/serialization/nvp.hpp>
namespace Nwn {
enum class AblScore : int {
Str,
Dex,
Con,
Int,
Wis,
Cha
};
static const std::array<std::string, 6> ablAbbrevs = {
"STR", "D... | 22.765217 | 97 | 0.639801 | rkibria |
281889d0a0d5786e1b45594677b7a487ddb21204 | 5,112 | cc | C++ | zbluenet/zbluenet/src/zbluenet/logger_mgr.cc | zhengjinwei123/zbluenet | 2d3c26f587de34ca7924176487b92e0700756792 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:36:08.000Z | 2022-01-02T20:18:44.000Z | zbluenet/zbluenet/src/zbluenet/logger_mgr.cc | zhengjinwei123/zbluenet | 2d3c26f587de34ca7924176487b92e0700756792 | [
"Apache-2.0"
] | null | null | null | zbluenet/zbluenet/src/zbluenet/logger_mgr.cc | zhengjinwei123/zbluenet | 2d3c26f587de34ca7924176487b92e0700756792 | [
"Apache-2.0"
] | null | null | null | #include <zbluenet/logger_mgr.h>
#include <zbluenet/logger_sink.h>
#include <vector>
namespace zbluenet {
class LoggerMgr::Impl {
public:
using LogFormatter = LoggerMgr::LogFormatter;
using LoggerVec = std::vector<Logger *>;
Impl();
~Impl();
void setMaxLoggerCount(int count);
void setMaxLogSize(int si... | 24.227488 | 137 | 0.655125 | zhengjinwei123 |
2818f6dd9ffcf35bc3047a5557de9f86524d4fc0 | 1,659 | hxx | C++ | main/svx/inc/svx/sdgtritm.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/inc/svx/sdgtritm.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/inc/svx/sdgtritm.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... | 34.5625 | 139 | 0.669078 | Grosskopf |
281954ca35df3f4bf542aaaca0d790a48658459a | 11,699 | cpp | C++ | gpcontrib/gpcloud/src/gpcloud.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2020-07-08T13:20:27.000Z | 2020-07-08T13:20:27.000Z | gpcontrib/gpcloud/src/gpcloud.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 6 | 2020-06-24T18:56:06.000Z | 2022-02-26T08:53:11.000Z | gpcontrib/gpcloud/src/gpcloud.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2021-09-17T15:46:31.000Z | 2021-09-17T15:46:31.000Z | extern "C" {
#include "postgres.h"
/*
* Spinlocks are in PostgreSQL defined with the register storage class,
* which is perfectly legal C but which generates a warning when compiled
* as C++. Ignore this warning as it's a false positive in this case.
*/
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang ... | 31.364611 | 100 | 0.649885 | Tylarb |
2819917cd0acc64cac0ec556690c06ba125529ba | 524 | hpp | C++ | pythran/pythonic/time/time.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 1 | 2018-03-24T00:33:03.000Z | 2018-03-24T00:33:03.000Z | pythran/pythonic/time/time.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/time/time.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_TIME_TIME_HPP
#define PYTHONIC_TIME_TIME_HPP
#include "pythonic/include/time/time.hpp"
#include "pythonic/utils/functor.hpp"
#include <chrono>
PYTHONIC_NS_BEGIN
namespace time
{
double time()
{
std::chrono::time_point<std::chrono::steady_clock> tp =
std::chrono::steady_clock::now()... | 18.714286 | 65 | 0.694656 | SylvainCorlay |
281bf7ef8deb624403c334298e80baddf9b26944 | 7,025 | cpp | C++ | wxWidgets-2.9.1/src/generic/propdlg.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | wxWidgets-2.9.1/src/generic/propdlg.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | wxWidgets-2.9.1/src/generic/propdlg.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/generic/propdlg.cpp
// Purpose: wxPropertySheetDialog
// Author: Julian Smart
// Modified by:
// Created: 2005-03-12
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows lice... | 29.893617 | 109 | 0.644982 | gamekit-developers |
281d9120d1699c6b58f9fabb4059e73573a6e667 | 4,158 | cpp | C++ | apps/hardware_benchmarks/tests/two_level_memory/two_level_memory_generator.cpp | mfkiwl/Halide-to-Hardware | 15425bc5c3d7a243de35fe15a3620a7c2c1cf63e | [
"MIT"
] | 60 | 2019-01-23T22:35:13.000Z | 2022-02-09T03:31:30.000Z | apps/hardware_benchmarks/tests/two_level_memory/two_level_memory_generator.cpp | mfkiwl/Halide-to-Hardware | 15425bc5c3d7a243de35fe15a3620a7c2c1cf63e | [
"MIT"
] | 79 | 2019-02-22T03:27:45.000Z | 2022-02-24T23:03:28.000Z | apps/hardware_benchmarks/tests/two_level_memory/two_level_memory_generator.cpp | mfkiwl/Halide-to-Hardware | 15425bc5c3d7a243de35fe15a3620a7c2c1cf63e | [
"MIT"
] | 12 | 2019-02-21T00:30:31.000Z | 2021-11-03T17:05:39.000Z | #include "Halide.h"
namespace {
using namespace Halide;
using namespace Halide::ConciseCasts;
class ConvolutionKernel : public Halide::Generator<ConvolutionKernel> {
public:
Input<Buffer<uint8_t>> input{"input", 2};
Output<Buffer<uint8_t>> output{"output", 2};
void generate() {
/* THE ALGORITHM... | 34.363636 | 91 | 0.548581 | mfkiwl |
281e12ef04b04c5f1f73f114c47174d234b8ad70 | 100,151 | cpp | C++ | extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp | intrigus/blender-1 | c3001812dc0253624c03236e75da229418a8c4ad | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 116 | 2015-11-02T16:36:53.000Z | 2021-06-08T20:36:18.000Z | extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp | intrigus/blender-1 | c3001812dc0253624c03236e75da229418a8c4ad | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 39 | 2016-04-25T12:18:34.000Z | 2021-03-01T19:06:36.000Z | extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp | intrigus/blender-1 | c3001812dc0253624c03236e75da229418a8c4ad | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 19 | 2016-01-24T14:24:00.000Z | 2020-07-19T05:26:24.000Z |
// DO NOT EDIT !
// This file is generated using the MantaFlow preprocessor (prep generate).
/******************************************************************************
*
* MantaFlow fluid solver framework
* Copyright 2017 Georg Kohl, Nils Thuerey
*
* This program is free software, distributed under the ter... | 32.665036 | 150 | 0.508742 | intrigus |
281f018a81b8c3bf1ac15a9d5b1d3c9ce5cb084f | 13,938 | cpp | C++ | swage/refine_high_order_mesh.cpp | CollinsEM/ELEMENTS | cdce322459d74b0723878e650360f135f71dd1d8 | [
"BSD-3-Clause"
] | 14 | 2020-07-21T21:54:41.000Z | 2022-01-04T15:44:02.000Z | swage/refine_high_order_mesh.cpp | CollinsEM/ELEMENTS | cdce322459d74b0723878e650360f135f71dd1d8 | [
"BSD-3-Clause"
] | 2 | 2021-05-05T14:34:21.000Z | 2021-12-01T01:53:32.000Z | swage/refine_high_order_mesh.cpp | CollinsEM/ELEMENTS | cdce322459d74b0723878e650360f135f71dd1d8 | [
"BSD-3-Clause"
] | 8 | 2020-11-25T21:37:06.000Z | 2022-02-01T22:02:18.000Z | #include "lagrange_polynomials.h"
#include "swage.h"
#include "lagrange_element.h"
#include "point_distributions.h"
namespace swage {
void refine_high_order_mesh(mesh_t &input_mesh, mesh_t &mesh) {
// High order mesh parameters
const int dim = 3;
int elem_order = input_mesh.elem_order();
int nu... | 37.67027 | 103 | 0.531784 | CollinsEM |
2820c3abc86d471553bdf32f5da651987802a270 | 1,090 | cpp | C++ | competitive programming/leetcode/222. Count Complete Tree Nodes.cpp | kashyap99saksham/Code | 96658d0920eb79c007701d2a3cc9dbf453d78f96 | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | competitive programming/leetcode/222. Count Complete Tree Nodes.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | competitive programming/leetcode/222. Count Complete Tree Nodes.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | Given a complete binary tree, count the number of nodes.
Note:
Definition of a complete binary tree from Wikipedia:
In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have between 1 and 2h nodes inclusive at the la... | 20.566038 | 213 | 0.619266 | kashyap99saksham |
2821754670cab7193162fc5bb1e60143b4757972 | 433 | cpp | C++ | Asked questions/tempCodeRunnerFile.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | Asked questions/tempCodeRunnerFile.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | Asked questions/tempCodeRunnerFile.cpp | SeekerNik/code | e36105361daffac2b6e48ab63f3b9d79120f6310 | [
"MIT"
] | null | null | null | void checkMagazine(vector<string> magazine, vector<string> note)
{
int count = 0;
for (int i = 0; i < magazine.size(); i++)
{
for (int j = 0; j < note.size(); j++)
{
if (magazine[i] == note[i])
{
count++;
}
}
}
... | 19.681818 | 65 | 0.357968 | SeekerNik |
2821a82c8df46da9444d8a8b697bf8eb7dbd57cd | 1,470 | cpp | C++ | src/gui/css-parser/driver.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 4 | 2018-09-11T14:27:57.000Z | 2019-12-16T21:06:26.000Z | src/gui/css-parser/driver.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | null | null | null | src/gui/css-parser/driver.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 2 | 2018-06-11T14:15:30.000Z | 2019-01-09T12:23:35.000Z | /*
* djnn v2
*
* The copyright holders for the contents of this file are:
* Ecole Nationale de l'Aviation Civile, France (2020)
* See file "license.terms" for the rights and conditions
* defined by copyright holders.
*
*
* Contributors:
* Mathieu Magnaudet <mathieu.magnaudet@enac.fr>
*
*/
#i... | 17.926829 | 80 | 0.614286 | lii-enac |
2821ae11d5924bc784e86b6221c14f4a445c5367 | 356 | hpp | C++ | src/util/unicode/case.hpp | lu-plus-plus/ama | 18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8 | [
"BSD-2-Clause"
] | 24 | 2022-01-06T20:26:42.000Z | 2022-02-18T07:56:44.000Z | src/util/unicode/case.hpp | lu-plus-plus/ama | 18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8 | [
"BSD-2-Clause"
] | null | null | null | src/util/unicode/case.hpp | lu-plus-plus/ama | 18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8 | [
"BSD-2-Clause"
] | 4 | 2022-01-06T20:26:44.000Z | 2022-01-14T06:59:48.000Z | #ifndef _CASE_JCH_HPP
#define _CASE_JCH_HPP
#include <string>
#include "../jc_array.h"
#include <functional>
/*#pragma add("jc_files", "./case.jc");*/
namespace unicode {
std::string toUpper(std::span<char> s);
std::string toLower(std::span<char> s);
std::string toUpperASCII(std::span<char> s);
std::string toLowerA... | 23.733333 | 45 | 0.702247 | lu-plus-plus |
28230aadfa00778f8a72451c887bc5bc1ebc4ee5 | 319 | cpp | C++ | CSES/Generate.cpp | pratik8696/DSA | 049a76b6e2445bb5de2e87f3755038609006c06a | [
"MIT"
] | 2 | 2021-09-27T14:12:28.000Z | 2021-09-28T03:35:46.000Z | CSES/Generate.cpp | pratik8696/DSA | 049a76b6e2445bb5de2e87f3755038609006c06a | [
"MIT"
] | 2 | 2021-09-30T09:07:11.000Z | 2021-10-17T18:42:34.000Z | CSES/Generate.cpp | pratik8696/DSA | 049a76b6e2445bb5de2e87f3755038609006c06a | [
"MIT"
] | null | null | null | #include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
char s[1000];
scanf("%s", &s);
switch (s[n - 1])
{
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
printf("Vowel Found");
break;
default:
printf("Consonants Found");
}
return 0;
} | 13.869565 | 35 | 0.429467 | pratik8696 |
2825bd7aa48e3063133c66ff41ef882cfe82c978 | 8,345 | cpp | C++ | examples/Demos/CommonRigidBodyBase/Raycast/RaytestDemo.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | examples/Demos/CommonRigidBodyBase/Raycast/RaytestDemo.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | examples/Demos/CommonRigidBodyBase/Raycast/RaytestDemo.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans https://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is gran... | 32.220077 | 243 | 0.738167 | ousttrue |
2826200c4f9d25daf0773ed9414719454cc58fae | 3,172 | cpp | C++ | server/Remote/TrueColorToolBar.cpp | funkpopo/gh0st_remote | b31f778a6980fc6223a2df304b1014f32fd47aaa | [
"MIT"
] | 4 | 2021-05-29T14:58:59.000Z | 2022-03-12T04:25:57.000Z | server/Remote/TrueColorToolBar.cpp | hktkqwe123/gh0st_remote | b31f778a6980fc6223a2df304b1014f32fd47aaa | [
"MIT"
] | null | null | null | server/Remote/TrueColorToolBar.cpp | hktkqwe123/gh0st_remote | b31f778a6980fc6223a2df304b1014f32fd47aaa | [
"MIT"
] | 3 | 2021-05-01T07:48:22.000Z | 2021-09-01T02:19:20.000Z | #include "stdafx.h"
#include "TrueColorToolBar.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTrueColorToolBar
CTrueColorToolBar::CTrueColorToolBar()
{
m_bDropDown = FALSE;
}
CTrueC... | 25.788618 | 88 | 0.690731 | funkpopo |
28292efcdb7fb42a13e4a61b49c387009c8bf158 | 2,404 | cpp | C++ | tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.cpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.cpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <limits>
#include <string>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/DataVector.hpp"
#include "DataStructures/Tensor/Tensor.hpp"
#include "Framework/CheckWithRandomVal... | 39.409836 | 80 | 0.697587 | nilsvu |
2829428881fb2d79e868bfd52c804134db20e9d8 | 4,923 | cpp | C++ | Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp | pgruenbacher/bsf | 9bbac75ca4cc445cd26b435f74465ad91d3e528e | [
"MIT"
] | 2 | 2019-07-08T17:26:25.000Z | 2019-10-13T19:15:28.000Z | Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp | REGoth-project/bsf | e176800d1cb9e71b7be8a28bdae935ed9ddd1de4 | [
"MIT"
] | null | null | null | Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp | REGoth-project/bsf | e176800d1cb9e71b7be8a28bdae935ed9ddd1de4 | [
"MIT"
] | 4 | 2019-06-23T09:55:47.000Z | 2019-07-08T17:23:05.000Z | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "Managers/BsVulkanTextureManager.h"
#include "BsVulkanTexture... | 27.502793 | 124 | 0.719683 | pgruenbacher |
2829dffd680a46d7a293341f375dbfd44e394b2f | 1,137 | cpp | C++ | libestatepp/src/StateItem.cpp | mpeuster/estate | 4cb94201e8110f09ac72c54e7d282e8c38aee415 | [
"Apache-2.0"
] | 1 | 2021-04-28T05:13:30.000Z | 2021-04-28T05:13:30.000Z | libestatepp/src/StateItem.cpp | mpeuster/estate | 4cb94201e8110f09ac72c54e7d282e8c38aee415 | [
"Apache-2.0"
] | null | null | null | libestatepp/src/StateItem.cpp | mpeuster/estate | 4cb94201e8110f09ac72c54e7d282e8c38aee415 | [
"Apache-2.0"
] | null | null | null | /*
* StateItem.cpp
*
* Created on: Aug 12, 2015
* Author: Manuel Peuster (manuel.peuster@uni-paderborn.de)
*/
#include "StateItem.h"
#include <chrono>
#include "util.h"
// select used timestamp mechanism
// 0 = local logical time (tstamp++ on each local set)
// 1 = real time (tstamp = systemtime in msec)
#... | 22.74 | 97 | 0.679859 | mpeuster |
282a78990fe955fe99e900487d29333fcf725d06 | 7,963 | cpp | C++ | src/lib/OpenEXR/ImfStdIO.cpp | msercheli/openexr | 9912f6b3886f6c695547747d70e19b98c0e38d59 | [
"BSD-3-Clause"
] | 517 | 2018-08-11T02:18:47.000Z | 2022-03-27T05:31:40.000Z | src/lib/OpenEXR/ImfStdIO.cpp | msercheli/openexr | 9912f6b3886f6c695547747d70e19b98c0e38d59 | [
"BSD-3-Clause"
] | 391 | 2018-07-31T21:28:52.000Z | 2022-03-28T16:51:18.000Z | src/lib/OpenEXR/ImfStdIO.cpp | msercheli/openexr | 9912f6b3886f6c695547747d70e19b98c0e38d59 | [
"BSD-3-Clause"
] | 189 | 2018-12-22T15:39:26.000Z | 2022-03-16T17:03:20.000Z | //
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) Contributors to the OpenEXR Project.
//
//-----------------------------------------------------------------------------
//
// Low-level file input and output for OpenEXR
// based on C++ standard iostreams.
//
//-----------------------------------------------... | 19.095923 | 99 | 0.615597 | msercheli |
282aefb37bcb44565d8b3e0a6e91ff9422746dac | 7,422 | cpp | C++ | PatternAnalysis/libsvm/svm-scale.cpp | tostathaina/farsight | 7e9d6d15688735f34f7ca272e4e715acd11473ff | [
"Apache-2.0"
] | 8 | 2016-07-22T11:24:19.000Z | 2021-04-10T04:22:31.000Z | PatternAnalysis/libsvm/svm-scale.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | null | null | null | PatternAnalysis/libsvm/svm-scale.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | 7 | 2016-07-21T07:39:17.000Z | 2020-01-29T02:03:27.000Z | /*=========================================================================
Copyright 2009 Rensselaer Polytechnic Institute
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/lice... | 20.789916 | 75 | 0.623417 | tostathaina |
282b04bff1262494d8f9d85462248e917e26df68 | 20,160 | cc | C++ | tests/libtests/faults/TestAdjustTopology_quad.cc | cehanagan/pylith | cf5c1c34040460a82f79b6eb54df894ed1b1ee93 | [
"MIT"
] | 93 | 2015-01-08T16:41:22.000Z | 2022-02-25T13:40:02.000Z | tests/libtests/faults/TestAdjustTopology_quad.cc | sloppyjuicy/pylith | ac2c1587f87e45c948638b19560813d4d5b6a9e3 | [
"MIT"
] | 277 | 2015-02-20T16:27:35.000Z | 2022-03-30T21:13:09.000Z | tests/libtests/faults/TestAdjustTopology_quad.cc | sloppyjuicy/pylith | ac2c1587f87e45c948638b19560813d4d5b6a9e3 | [
"MIT"
] | 71 | 2015-03-24T12:11:08.000Z | 2022-03-03T04:26:02.000Z | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | 47.435294 | 102 | 0.531647 | cehanagan |
282c6fcf0f98b4d4162a49e4c4151db2a8fb31d1 | 791 | cpp | C++ | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp | 549654033/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | 2 | 2020-05-20T05:16:34.000Z | 2020-05-20T05:19:19.000Z | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp | jimxie2012/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | null | null | null | src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.cpp | jimxie2012/RDHelp | 0f5f9c7d098635c7216713d7137c845c0d999226 | [
"MIT"
] | 4 | 2020-05-20T01:50:16.000Z | 2021-08-29T13:48:25.000Z | // $Id: Handle_L_FIFO.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "Handle_L_FIFO.h"
ACE_RCSID(server, Handle_L_FIFO, "$Id: Handle_L_FIFO.cpp 80826 2008-03-04 14:51:23Z wotte $")
#if defined (SunOS4)
extern "C"
{
int init (void);
int fini (void);
void __sti__Handle_L_FIFO_C_init_();
void __std... | 20.282051 | 94 | 0.696587 | 549654033 |
282f3fac6957fc271b07c96a4ea6c62f395dd1ee | 7,649 | cpp | C++ | src/components/transmission/miprtpcomponent.cpp | xchbx/fox | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 2 | 2019-04-12T10:26:43.000Z | 2019-06-21T15:20:11.000Z | src/components/transmission/miprtpcomponent.cpp | xchbx/NetCamera | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 1 | 2019-08-06T16:57:49.000Z | 2019-08-06T16:57:49.000Z | src/components/transmission/miprtpcomponent.cpp | xchbx/NetCamera | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 1 | 2020-12-31T08:52:03.000Z | 2020-12-31T08:52:03.000Z | /*
This file is a part of EMIPLIB, the EDM Media over IP Library.
Copyright (C) 2006-2016 Hasselt University - Expertise Centre for
Digital Media (EDM) (http://www.edm.uhasselt.be)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU ... | 27.028269 | 120 | 0.722709 | xchbx |
28316ada171080b964c368b5c3303b744be2fece | 4,400 | cpp | C++ | src/IECoreHoudini/GEO_CobIOTranslator.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 5 | 2016-07-26T06:09:28.000Z | 2022-03-07T03:58:51.000Z | src/IECoreHoudini/GEO_CobIOTranslator.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | null | null | null | src/IECoreHoudini/GEO_CobIOTranslator.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 3 | 2015-03-25T18:45:24.000Z | 2020-02-15T15:37:18.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010-2012, Image Engine Design 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:
//
// ... | 28.947368 | 165 | 0.707273 | gcodebackups |
2831c514fc19f4723a7e59db2d48fc7e62700e63 | 5,875 | cc | C++ | Alignment/TrackerAlignment/plugins/MisalignedTrackerESProducer.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 2 | 2020-10-26T18:40:32.000Z | 2021-04-10T16:33:25.000Z | Alignment/TrackerAlignment/plugins/MisalignedTrackerESProducer.cc | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | Alignment/TrackerAlignment/plugins/MisalignedTrackerESProducer.cc | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | // Framework
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/Param... | 44.172932 | 144 | 0.790128 | PKUfudawei |
2831ca3f534c0b2b6f59b874da030c6958b12ba3 | 5,659 | cc | C++ | chromecast/media/audio/playback_rate_shifter.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 | chromecast/media/audio/playback_rate_shifter.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 | chromecast/media/audio/playback_rate_shifter.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2021 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 "chromecast/media/audio/playback_rate_shifter.h"
#include <algorithm>
#include <cmath>
#include <utility>
#include "base/check.h"
#include "med... | 31.971751 | 79 | 0.640042 | iridium-browser |
2833bb09ad4fcc31f15e4d9e37fe9dc795de0eef | 4,184 | cpp | C++ | test/control/PathPlannerConstAcc.cpp | ClaudiaVisentin/eeros-framework | 63739a2e33b0c5e9e573748fef675131c35181a6 | [
"Apache-2.0"
] | 10 | 2015-02-17T15:27:50.000Z | 2021-12-10T08:34:13.000Z | test/control/PathPlannerConstAcc.cpp | ClaudiaVisentin/eeros-framework | 63739a2e33b0c5e9e573748fef675131c35181a6 | [
"Apache-2.0"
] | 6 | 2016-05-10T17:11:09.000Z | 2022-03-31T07:52:11.000Z | test/control/PathPlannerConstAcc.cpp | ClaudiaVisentin/eeros-framework | 63739a2e33b0c5e9e573748fef675131c35181a6 | [
"Apache-2.0"
] | 13 | 2016-05-01T09:56:51.000Z | 2022-03-28T09:27:49.000Z | #include <eeros/control/PathPlannerConstAcc.hpp>
#include <eeros/core/Fault.hpp>
#include <eeros/math/Matrix.hpp>
#include <gtest/gtest.h>
#include <Utils.hpp>
using namespace eeros;
using namespace eeros::control;
using namespace eeros::math;
// Test name
TEST(controlPathPlannerConstAcc, name) {
PathPlannerConstA... | 55.786667 | 98 | 0.709369 | ClaudiaVisentin |
28371cae06587ab13e3742dc2cb0498b9229de60 | 2,611 | cpp | C++ | cpp/src/cuda/cupti_manager.cpp | yzs-lab/habitat | cd3735b3e818cb036053d0b7868e024a7e0698ad | [
"Apache-2.0"
] | 33 | 2021-06-02T08:12:16.000Z | 2022-03-23T02:05:01.000Z | cpp/src/cuda/cupti_manager.cpp | yzs-lab/habitat | cd3735b3e818cb036053d0b7868e024a7e0698ad | [
"Apache-2.0"
] | 10 | 2021-11-01T06:47:26.000Z | 2022-03-16T03:28:50.000Z | cpp/src/cuda/cupti_manager.cpp | yzs-lab/habitat | cd3735b3e818cb036053d0b7868e024a7e0698ad | [
"Apache-2.0"
] | 4 | 2021-11-24T10:35:48.000Z | 2022-03-30T10:45:36.000Z | #include "habitat_cupti.h"
#include <cuda.h>
#include <cupti.h>
#include <stdlib.h>
#include <stdio.h>
#include <algorithm>
#include <utility>
#include "cupti_profiler.h"
namespace habitat {
namespace cuda {
CuptiManager::CuptiManager()
: profiler_(CuptiProfiler::create()),
callbacks_bound_(false),
should... | 27.197917 | 108 | 0.693221 | yzs-lab |
2837ff7f975880ba2dad6461f1db3dda540400d3 | 23,028 | cxx | C++ | VTK/Graphics/vtkSubPixelPositionEdgels.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | VTK/Graphics/vtkSubPixelPositionEdgels.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | VTK/Graphics/vtkSubPixelPositionEdgels.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
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 distrib... | 29.867704 | 79 | 0.472642 | matthb2 |
283a81341237133b5e509f5d9e787dade9951564 | 6,587 | cxx | C++ | proof/clas12_selector.cxx | tylern4/hipoTests | e6c773f009e041a9d96ebdabddcc005fe2c7267c | [
"MIT"
] | null | null | null | proof/clas12_selector.cxx | tylern4/hipoTests | e6c773f009e041a9d96ebdabddcc005fe2c7267c | [
"MIT"
] | null | null | null | proof/clas12_selector.cxx | tylern4/hipoTests | e6c773f009e041a9d96ebdabddcc005fe2c7267c | [
"MIT"
] | null | null | null | #define clas12_selector_cxx
// The class definition in clas12_selector.h has been generated automatically
// by the ROOT utility TTree::MakeSelector(). This class is derived
// from the ROOT class TSelector. For more information on the TSelector
// framework see $ROOTSYS/README/README.SELECTOR or the ROOT User Manual.
... | 34.851852 | 87 | 0.653256 | tylern4 |
283bca6812d3eca896e2d12520e94c8dbd9d4107 | 9,072 | cpp | C++ | Examples/SimpleExample.cpp | wxie2013/Spike_July_2019 | 5cfa90e6bfaa5bcf6d13568617e39a6725e3c988 | [
"MIT"
] | null | null | null | Examples/SimpleExample.cpp | wxie2013/Spike_July_2019 | 5cfa90e6bfaa5bcf6d13568617e39a6725e3c988 | [
"MIT"
] | 1 | 2019-08-16T21:18:21.000Z | 2019-08-16T21:18:21.000Z | Examples/SimpleExample.cpp | wxie2013/Spike_July_2019 | 5cfa90e6bfaa5bcf6d13568617e39a6725e3c988 | [
"MIT"
] | null | null | null | /*
An Example Model for running the SPIKE simulator
To create the executable for this network:
- Run cmake from the build directory: "cmake ../"
- Make this example: "make ExampleExperiment"
- Finally, execute the binary: "./ExampleExperiment"
*/
#include "Spike/Spike.hpp"
// The function which will au... | 48.255319 | 142 | 0.792549 | wxie2013 |
283f125f75ca57221c0982dd442be2f568ce0c75 | 1,217 | cpp | C++ | examples/lernfahrer/carfactory.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | 3 | 2021-05-14T15:03:03.000Z | 2021-12-05T08:31:38.000Z | examples/lernfahrer/carfactory.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | null | null | null | examples/lernfahrer/carfactory.cpp | eidelen/EidNN | 80999b1228eda4cab70b060bdaa6d257f8143bb1 | [
"MIT"
] | 3 | 2020-08-13T15:44:05.000Z | 2021-06-07T16:16:53.000Z | //
// Created by Adrian Schneider on 2019-03-13.
//
#include "carfactory.h"
#include "car.h"
#include "genetic.h"
#include "layer.h"
#include "trackmap.h"
CarFactory::CarFactory(std::shared_ptr<TrackMap> map)
{
m_map = map;
}
CarFactory::~CarFactory()
{
}
std::shared_ptr<Simulation> CarFactory::createRandomSim... | 21.732143 | 122 | 0.691865 | eidelen |
283f463c36c78c53b672b4927f915b7bfc868930 | 21,192 | cc | C++ | binding/egl_context_wrapper.cc | propellerfactory/node-gles | fc893afa177e05397b8e02e8b48121106c7cea99 | [
"Apache-2.0"
] | 308 | 2018-10-30T18:35:15.000Z | 2022-01-20T13:56:42.000Z | binding/egl_context_wrapper.cc | propellerfactory/node-gles | fc893afa177e05397b8e02e8b48121106c7cea99 | [
"Apache-2.0"
] | 36 | 2018-11-01T19:31:24.000Z | 2021-08-31T17:40:05.000Z | binding/egl_context_wrapper.cc | chances/node-gles | b4cb488f580888d13c603cba38f692441ec4fc69 | [
"Apache-2.0"
] | 29 | 2018-11-01T02:59:47.000Z | 2021-06-27T15:36:34.000Z | /**
* @license
* Copyright 2018 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 44.521008 | 80 | 0.762741 | propellerfactory |
283fa9dd9a79219c36748a64bb712638fe7dcdcd | 486 | cpp | C++ | iterator/cpp/self-made/arrayconcreteiterator.cpp | LoLei/design-patterns-examples | 213241ab94c8a5e74a3faa9c5f554d557e60b753 | [
"MIT"
] | 3 | 2020-02-11T20:37:13.000Z | 2020-07-31T14:16:51.000Z | iterator/cpp/self-made/arrayconcreteiterator.cpp | LoLei/design-patterns-examples | 213241ab94c8a5e74a3faa9c5f554d557e60b753 | [
"MIT"
] | null | null | null | iterator/cpp/self-made/arrayconcreteiterator.cpp | LoLei/design-patterns-examples | 213241ab94c8a5e74a3faa9c5f554d557e60b753 | [
"MIT"
] | null | null | null | #include "arrayconcreteiterator.h"
/*
* Concrete iterator
*/
ArrayConcreteIterator::ArrayConcreteIterator(const ArrayConcreteCollection* c)
{
reset();
collection_ = c;
}
void ArrayConcreteIterator::next()
{
current_index_++;
}
void ArrayConcreteIterator::reset()
{
current_index_ = 0;
}
bool ArrayConcreteI... | 15.677419 | 78 | 0.746914 | LoLei |
284061a4ca659473939fcb10a23cfe4bc3c940a8 | 32,018 | cpp | C++ | modules/optflow/src/deepflow.cpp | AntoninARBERET/opencv_contrib-3.1.0 | 041d298e61656a3989b344e2a099a5dbbd3bd6b1 | [
"BSD-3-Clause"
] | 16 | 2016-07-04T10:32:22.000Z | 2021-11-10T11:26:45.000Z | modules/optflow/src/deepflow.cpp | AntoninARBERET/opencv_contrib-3.1.0 | 041d298e61656a3989b344e2a099a5dbbd3bd6b1 | [
"BSD-3-Clause"
] | null | null | null | modules/optflow/src/deepflow.cpp | AntoninARBERET/opencv_contrib-3.1.0 | 041d298e61656a3989b344e2a099a5dbbd3bd6b1 | [
"BSD-3-Clause"
] | 22 | 2015-10-23T19:36:18.000Z | 2021-02-02T12:20:32.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 36.929642 | 125 | 0.485165 | AntoninARBERET |
284414d8d30518b0ad65492f9f74a3deba941fbd | 5,005 | cc | C++ | c/test/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc | zk20/libsbp | 041c5055f5db422258ebb3ce3f8e9f6e5d3e5fa9 | [
"MIT"
] | null | null | null | c/test/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc | zk20/libsbp | 041c5055f5db422258ebb3ce3f8e9f6e5d3e5fa9 | [
"MIT"
] | null | null | null | c/test/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc | zk20/libsbp | 041c5055f5db422258ebb3ce3f8e9f6e5d3e5fa9 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2015-2021 Swift Navigation Inc.
* Contact: https://support.swiftnav.com
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ... | 35.75 | 80 | 0.667532 | zk20 |
28460a9000b2ba8a62c8050cef2fcc70ecd74e87 | 2,322 | cpp | C++ | tuan_2/source.cpp | thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu | 04f73c98895e88b1c36b6cfc48da49cb7cec8cf4 | [
"Unlicense"
] | null | null | null | tuan_2/source.cpp | thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu | 04f73c98895e88b1c36b6cfc48da49cb7cec8cf4 | [
"Unlicense"
] | 1 | 2021-11-29T04:37:17.000Z | 2021-11-29T04:37:17.000Z | tuan_2/source.cpp | thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu | 04f73c98895e88b1c36b6cfc48da49cb7cec8cf4 | [
"Unlicense"
] | null | null | null | #include "header.h"
void khoiTao(DaySo &x) { x.n = 0; }
int isEmpty(DaySo x) { return (x.n == 0 ? 1 : 0); }
int isFull(DaySo x) { return (x.n == MAX ? 1 : 0); }
void doc_DanhSach(DaySo &x) {
cout << "\n Nhap vao so phan tu cua DS:";
cin >> x.n;
for (int i = 0; i < x.n; i++) {
cout << "\n Nhap vao phan tu ... | 20.732143 | 63 | 0.445306 | thuanpham2311 |
28472c9be7015a69ffad02d7f608583a615785a8 | 4,810 | ipp | C++ | trunk/src/include/boost/beast/core/impl/file_stdio.ipp | SnailTowardThesun/face-detect | 4f02115684898a41564bbe7fc766b76e9e417ac9 | [
"MIT"
] | null | null | null | trunk/src/include/boost/beast/core/impl/file_stdio.ipp | SnailTowardThesun/face-detect | 4f02115684898a41564bbe7fc766b76e9e417ac9 | [
"MIT"
] | 1 | 2018-02-17T00:40:14.000Z | 2018-02-17T00:40:14.000Z | 3rdparty/include/boost/beast/core/impl/file_stdio.ipp | gradinkov/nheqminer-gradinkov | 6422e0cc3eff7fcab30561a57c1339fbe0107b62 | [
"MIT"
] | 1 | 2019-03-08T11:06:22.000Z | 2019-03-08T11:06:22.000Z | //
// Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOO... | 20.041667 | 80 | 0.537838 | SnailTowardThesun |
2847ab447b00bf8d90bfa0c2ab4886aa91e7cb9f | 13,846 | cpp | C++ | source/code/providers/Container_ContainerStatistics_Class_Provider.cpp | DalavanCloud/Docker-Provider | cd7db76c87100205338fe6710425d905e3d9b8d5 | [
"MIT"
] | 1 | 2018-09-30T04:46:51.000Z | 2018-09-30T04:46:51.000Z | source/code/providers/Container_ContainerStatistics_Class_Provider.cpp | DalavanCloud/Docker-Provider | cd7db76c87100205338fe6710425d905e3d9b8d5 | [
"MIT"
] | null | null | null | source/code/providers/Container_ContainerStatistics_Class_Provider.cpp | DalavanCloud/Docker-Provider | cd7db76c87100205338fe6710425d905e3d9b8d5 | [
"MIT"
] | null | null | null | /* @migen@ */
#include <MI.h>
#include "Container_ContainerStatistics_Class_Provider.h"
#include <map>
#include <stdlib.h>
#include <string>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
#include <vector>
#include "../dockerapi/DockerRemoteApi.h"
#include "../dockerapi/DockerRestHelper.h"
#define NUMBY... | 28.666667 | 201 | 0.661418 | DalavanCloud |
284863c2fcb0f8a1d554cd03f43db15c21b1963e | 856 | cpp | C++ | Threading/ThreadPool.cpp | sakex/NEAT-GRU | 2d96ff50415f38a8cf0ea7f3921c294b5766fc49 | [
"MIT"
] | 1 | 2021-05-21T21:40:11.000Z | 2021-05-21T21:40:11.000Z | Threading/ThreadPool.cpp | sakex/NEAT-GRU | 2d96ff50415f38a8cf0ea7f3921c294b5766fc49 | [
"MIT"
] | 9 | 2020-06-01T14:33:32.000Z | 2020-06-01T16:38:28.000Z | Threading/ThreadPool.cpp | sakex/NEAT-GRU | 2d96ff50415f38a8cf0ea7f3921c294b5766fc49 | [
"MIT"
] | null | null | null | /*
* ThreadPool.cpp
*
* Created on: Aug 8, 2019
* Author: sakex
*/
#include "ThreadPool.h"
namespace Threading {
ThreadPool::ThreadPool(int const _max_threads) :
working_threads(0) {
max_threads = _max_threads;
}
ThreadPool::~ThreadPool() {
// TODO Auto-generated destructor stub
}
void ThreadPool::a... | 17.833333 | 57 | 0.649533 | sakex |
284aa4f106e0fe2ed977ce272a7e4613cf83a841 | 13,054 | cpp | C++ | MathLibTest/Source/TrapezoidQuadrature_TEST.cpp | bgin/MissileSimulation | 90adcbf1c049daafb939f3fe9f9dfe792f26d5df | [
"MIT"
] | 23 | 2016-08-28T23:20:12.000Z | 2021-12-15T14:43:58.000Z | MathLibTest/Source/TrapezoidQuadrature_TEST.cpp | bgin/MissileSimulation | 90adcbf1c049daafb939f3fe9f9dfe792f26d5df | [
"MIT"
] | 1 | 2018-06-02T21:29:51.000Z | 2018-06-05T05:59:31.000Z | MathLibTest/Source/TrapezoidQuadrature_TEST.cpp | bgin/MissileSimulation | 90adcbf1c049daafb939f3fe9f9dfe792f26d5df | [
"MIT"
] | 1 | 2019-07-04T22:38:22.000Z | 2019-07-04T22:38:22.000Z | #include "TrapezoidQuadrature_TEST.h"
void test::TrapezoidQuadratureTest::Test_Trapezoid_Quadrature()
{
std::printf("Beginning test of Trapezoid Quadrature\n");
std::printf("First Run: Numerical Quadrature of polynomial based Integrals...\n\n");
const double a = 0.0L, b = 1.0L;
const int num_steps = 1024;
std::pr... | 38.735905 | 119 | 0.672131 | bgin |
284d189c7b9b5ca8b4c41bb5c507e91b71246f49 | 62,947 | cpp | C++ | include/jdialogs.cpp | Perchik71/jDialogs | 8d8d46df7eb7f7e7e6437faa39a6949392ec447e | [
"MIT"
] | null | null | null | include/jdialogs.cpp | Perchik71/jDialogs | 8d8d46df7eb7f7e7e6437faa39a6949392ec447e | [
"MIT"
] | null | null | null | include/jdialogs.cpp | Perchik71/jDialogs | 8d8d46df7eb7f7e7e6437faa39a6949392ec447e | [
"MIT"
] | null | null | null | /*
Generating Windows dialogs in JSON for C++
Version 0.4.1
https://github.com/Perchik71/jDialogs
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2021 Alex (Perchik71).
Permission is hereby granted, free of charge, to any person obtaining a copy
of thi... | 31.985264 | 198 | 0.679778 | Perchik71 |
284d3213bfddfe4c6fbadf8dc13a5d3bcd577721 | 8,405 | cpp | C++ | src/rastersymbolmanager.cpp | jusirkka/qutenav | 09024f4506f12bfecdfe39cd9155583d71233e66 | [
"ISC",
"X11",
"MIT"
] | 2 | 2021-07-09T14:13:55.000Z | 2022-02-11T06:41:03.000Z | src/rastersymbolmanager.cpp | jusirkka/qutenav | 09024f4506f12bfecdfe39cd9155583d71233e66 | [
"ISC",
"X11",
"MIT"
] | null | null | null | src/rastersymbolmanager.cpp | jusirkka/qutenav | 09024f4506f12bfecdfe39cd9155583d71233e66 | [
"ISC",
"X11",
"MIT"
] | 2 | 2022-02-11T06:41:05.000Z | 2022-03-17T09:29:46.000Z | /* -*- coding: utf-8-unix -*-
*
* File: src/rastersymbolmanager.cpp
*
* Copyright (C) 2021 Jukka Sirkka
*
* 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,... | 34.166667 | 99 | 0.647948 | jusirkka |
284d4169686ca5f1603b37ea66211944b9389dac | 845 | hpp | C++ | inc/Corridor.hpp | venGaza/starwars | 37f1281375241125081177482bd6caff02f80535 | [
"MIT"
] | 3 | 2019-01-25T00:31:35.000Z | 2021-08-19T02:59:59.000Z | inc/Corridor.hpp | venGaza/starwars | 37f1281375241125081177482bd6caff02f80535 | [
"MIT"
] | 2 | 2019-01-23T04:15:20.000Z | 2019-01-23T07:50:26.000Z | inc/Corridor.hpp | venGaza/starwars | 37f1281375241125081177482bd6caff02f80535 | [
"MIT"
] | null | null | null | /*
* Class: Corridor
* -------------------------
* This is the interface file for the Corridor class. This class is a subclass of the superclass
* Space object and is one of the types of spaces within the game. The player will traverse the various
* types of spaces to collect items and reach the final boss.
*/
#... | 33.8 | 103 | 0.59645 | venGaza |
284deeda4f06f9ddbace5bc8932a4df2db63b863 | 526 | cpp | C++ | Variables/src/Variables.cpp | Annihilator708/cpp_adventure | b5d1cf470068d23ff238f16ba7e4ced476b1d0f9 | [
"MIT"
] | null | null | null | Variables/src/Variables.cpp | Annihilator708/cpp_adventure | b5d1cf470068d23ff238f16ba7e4ced476b1d0f9 | [
"MIT"
] | null | null | null | Variables/src/Variables.cpp | Annihilator708/cpp_adventure | b5d1cf470068d23ff238f16ba7e4ced476b1d0f9 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int numberCats = 5;
int numberDogs = 7;
cout << "Number of cats: " << numberCats << endl;
cout << "Number of dogs: " << numberDogs << endl;
cout << "Total number of animals: " << numberCats + numberDogs << endl;
cout << "New dogs arrived!" << endl;
numberDo... | 29.222222 | 72 | 0.629278 | Annihilator708 |
284df5e3e412e2c7cd4e2a01cc98f6f930f97d56 | 726 | hpp | C++ | deps/src/boost_1_65_1/boost/ratio/mpl/not_equal_to.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | deps/src/boost_1_65_1/boost/ratio/mpl/not_equal_to.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_65_1/boost/ratio/mpl/not_equal_to.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | // not_equal_to.hpp
//
// (C) Copyright 2011 Vicente J. Botet Escriba
// Use, modification and distribution are subject to 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 BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
#define BOO... | 23.419355 | 81 | 0.742424 | shreyasvj25 |
284e2ca968f834cff69beffcc04f792a98d0d464 | 33,785 | cpp | C++ | src/core/kext/Classes/EventInputQueue.cpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | src/core/kext/Classes/EventInputQueue.cpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | src/core/kext/Classes/EventInputQueue.cpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | #include "ButtonStatus.hpp"
#include "CommonData.hpp"
#include "Config.hpp"
#include "Core.hpp"
#include "EventInputQueue.hpp"
#include "EventWatcher.hpp"
#include "FlagStatus.hpp"
#include "GlobalLock.hpp"
#include "IOLogWrapper.hpp"
#include "ListHookedConsumer.hpp"
#include "ListHookedKeyboard.hpp"
#include "ListHoo... | 36.524324 | 144 | 0.570579 | gkb |
284eebac8764a8e90f3e34a0d7a967135a03cdcc | 41,739 | cpp | C++ | src/c_api.cpp | CeasarLee/ncnn | 178825d14a16c4059820d9f054a8d857df671027 | [
"BSD-3-Clause"
] | null | null | null | src/c_api.cpp | CeasarLee/ncnn | 178825d14a16c4059820d9f054a8d857df671027 | [
"BSD-3-Clause"
] | null | null | null | src/c_api.cpp | CeasarLee/ncnn | 178825d14a16c4059820d9f054a8d857df671027 | [
"BSD-3-Clause"
] | null | null | null | /* Tencent is pleased to support the open source community by making ncnn available.
*
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a ... | 30.82644 | 213 | 0.693524 | CeasarLee |
2850c0eae061788bfa30aca160c646fe449210d2 | 6,781 | cc | C++ | braids/bootloader/bootloader.cc | oscillating-gate/eurorack | 35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a | [
"MIT"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | braids/bootloader/bootloader.cc | oscillating-gate/eurorack | 35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a | [
"MIT"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | braids/bootloader/bootloader.cc | oscillating-gate/eurorack | 35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a | [
"MIT"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | // Copyright 2012 Olivier Gillet.
//
// Author: Olivier Gillet (ol.gillet@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation th... | 29.228448 | 80 | 0.678366 | oscillating-gate |
2851066a59f4a88f719e716db8305634c35abe53 | 35,009 | cpp | C++ | visa/G4Verifier.cpp | scott-snyder/intel-graphics-compiler | 0977554d5aecf93b4a777f38e6c2e73e4dea313e | [
"MIT"
] | null | null | null | visa/G4Verifier.cpp | scott-snyder/intel-graphics-compiler | 0977554d5aecf93b4a777f38e6c2e73e4dea313e | [
"MIT"
] | null | null | null | visa/G4Verifier.cpp | scott-snyder/intel-graphics-compiler | 0977554d5aecf93b4a777f38e6c2e73e4dea313e | [
"MIT"
] | null | null | null | /*===================== begin_copyright_notice ==================================
Copyright (c) 2017 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, includi... | 35.578252 | 159 | 0.518638 | scott-snyder |
285203d45ff7f01e117ec67132496122c2c47f9f | 244 | hh | C++ | include/HandleMenus.hh | freddyox/word_search | d6db6b2e584025064209fadea7029ba72b1acfff | [
"MIT"
] | null | null | null | include/HandleMenus.hh | freddyox/word_search | d6db6b2e584025064209fadea7029ba72b1acfff | [
"MIT"
] | null | null | null | include/HandleMenus.hh | freddyox/word_search | d6db6b2e584025064209fadea7029ba72b1acfff | [
"MIT"
] | null | null | null | #ifndef HANDLEMENUS_HH
#define HANDLEMENUS_HH
#include <SFML/Graphics.hpp>
class HandleMenus : public sf::Drawable{
private:
public:
HandleMenus();
~HandleMenus();
void draw(sf::RenderTarget&, sf::RenderStates) const;
};
#endif
| 13.555556 | 55 | 0.717213 | freddyox |
2852da1f39635955a32b5ff6b4c11e02e032b428 | 5,902 | cpp | C++ | CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp | tangziwen/Cube-Engine | c79b878dcc7e2e382f4463ca63519627d6220afd | [
"MIT"
] | 360 | 2015-01-26T08:15:01.000Z | 2021-07-11T16:30:58.000Z | CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp | tangziwen/Cube-Engine | c79b878dcc7e2e382f4463ca63519627d6220afd | [
"MIT"
] | 6 | 2015-03-09T09:15:07.000Z | 2020-07-06T01:34:00.000Z | CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp | tangziwen/CubeMiniGame | 90bffa66d4beba5fddc39fc642a8fb36703cf32d | [
"MIT"
] | 41 | 2015-03-10T03:17:46.000Z | 2021-07-13T06:26:26.000Z | #include "PartSurfaceMgr.h"
#include "3D/Primitive/CubePrimitive.h"
#include <algorithm>
#include "BulletCollision/CollisionShapes/btCompoundShape.h"
#include "Scene/SceneMgr.h"
#include "Collision/PhysicsCompoundShape.h"
#include "Collision/PhysicsMgr.h"
#include "CylinderPart.h"
#include "3D/Primitive/CylinderPrimiti... | 37.35443 | 100 | 0.774483 | tangziwen |
285325eb1dc0a24f2e90f778317a5949b9cadadc | 2,773 | hpp | C++ | webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp | TaoYibo1866/webots_ros2 | a72c164825663cebbfd27e0649ea51d3abf9bbed | [
"Apache-2.0"
] | null | null | null | webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp | TaoYibo1866/webots_ros2 | a72c164825663cebbfd27e0649ea51d3abf9bbed | [
"Apache-2.0"
] | null | null | null | webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp | TaoYibo1866/webots_ros2 | a72c164825663cebbfd27e0649ea51d3abf9bbed | [
"Apache-2.0"
] | null | null | null | // Copyright 1996-2021 Cyberbotics Ltd.
//
// 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 agr... | 33.409639 | 107 | 0.769564 | TaoYibo1866 |
28537da8e5973dfc0f2607e146a7b26f07bba5bd | 1,631 | cc | C++ | codebase/qe/qetest_08.cc | debatrimitra02/DBMS | 943faeb8fe542f29b35bd4bd1443ea405d42a4ab | [
"MIT"
] | null | null | null | codebase/qe/qetest_08.cc | debatrimitra02/DBMS | 943faeb8fe542f29b35bd4bd1443ea405d42a4ab | [
"MIT"
] | null | null | null | codebase/qe/qetest_08.cc | debatrimitra02/DBMS | 943faeb8fe542f29b35bd4bd1443ea405d42a4ab | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include "qetest_util.h"
RC testCase_8() {
// Mandatory for the grad teams
// Optional for the other teams - grad solo, undergrad team, and undergrad solo
// (+5 extra credit points will be given base... | 22.342466 | 102 | 0.574494 | debatrimitra02 |
2854fac24383e8a4ce2cc996a92b6ceea210339f | 6,074 | cc | C++ | chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#... | 36.590361 | 91 | 0.763089 | zipated |
2855288850a14e7af04f7a10e250f1c856dfeb6c | 9,703 | cc | C++ | src/base/password_manager.cc | phoepsilonix/mozc | 3b9135b76247a9fe464cadd1a3c8ea5a07032e0c | [
"BSD-3-Clause"
] | 1 | 2021-04-03T10:08:21.000Z | 2021-04-03T10:08:21.000Z | src/base/password_manager.cc | phoepsilonix/mozc | 3b9135b76247a9fe464cadd1a3c8ea5a07032e0c | [
"BSD-3-Clause"
] | null | null | null | src/base/password_manager.cc | phoepsilonix/mozc | 3b9135b76247a9fe464cadd1a3c8ea5a07032e0c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2010-2021, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 27.643875 | 80 | 0.689271 | phoepsilonix |
28555a588d087c73c5f6d479238400e6c6a55e30 | 2,919 | cpp | C++ | Examples/Tutorial/Step8/Step8.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 5 | 2015-05-27T06:57:53.000Z | 2020-03-12T21:08:23.000Z | Examples/Tutorial/Step8/Step8.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 4 | 2020-09-17T16:01:55.000Z | 2022-01-18T21:12:10.000Z | Examples/Tutorial/Step8/Step8.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 2 | 2016-08-17T12:01:04.000Z | 2020-03-12T22:36:36.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 32.797753 | 83 | 0.602261 | danielknorr |
2856cd525fcb9285e315a85cc5738e993afb0a5e | 148 | cpp | C++ | src/engine/main_abilities.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/engine/main_abilities.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/engine/main_abilities.cpp | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | #include <engine/eXl_Main.hpp>
#include "abilityroom.hpp"
EXL_MAIN_WITH_SCENARIO_AND_PROJECT(AbilityRoom, "eXlTestProject/TestProject.eXlProject") | 29.6 | 88 | 0.844595 | eXl-Nic |
2858bf4cc8b1f35610ff946f808ee8ec4d4fec6f | 1,746 | cpp | C++ | src/apps/sequencer/model/Curve.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | 1 | 2019-04-19T01:34:03.000Z | 2019-04-19T01:34:03.000Z | src/apps/sequencer/model/Curve.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | null | null | null | src/apps/sequencer/model/Curve.cpp | forestcaver/performer | 17750bc8e6fa23cd806d58a9c519fac25a52473f | [
"MIT"
] | null | null | null | #include "Curve.h"
#include <algorithm>
#include <cmath>
static const float Pi = 3.1415926536f;
static const float TwoPi = 2.f * Pi;
static float high(float x) {
return 1.f;
}
static float low(float x) {
return 0.f;
}
static float stepUp(float x) {
return x < 0.5f ? 0.f : 1.f;
}
static float stepDown... | 16.628571 | 60 | 0.580756 | forestcaver |
2858f56557099b22852e658db429959bbb257c36 | 296 | hpp | C++ | lib/Core/Providers/RuntimeProvider.hpp | psiberx/cp2077-archive-xl | 5e476978d3128980099c2a2aea5258b38b5f3558 | [
"MIT"
] | 7 | 2021-12-03T08:34:26.000Z | 2022-01-29T20:22:59.000Z | lib/Core/Providers/RuntimeProvider.hpp | psiberx/cp2077-archivexl | 5e476978d3128980099c2a2aea5258b38b5f3558 | [
"MIT"
] | null | null | null | lib/Core/Providers/RuntimeProvider.hpp | psiberx/cp2077-archivexl | 5e476978d3128980099c2a2aea5258b38b5f3558 | [
"MIT"
] | null | null | null | #pragma once
#include "Core/Win.hpp"
#include "Core/Foundation/Feature.hpp"
namespace Core
{
class RuntimeProvider : public Feature
{
public:
struct Options
{
HMODULE handle = nullptr;
int exePathDepth = 0;
};
explicit RuntimeProvider(Options&& aOptions);
};
}
| 14.8 | 49 | 0.665541 | psiberx |
285beee1a9928177a91e106c9ed2ceef7d7275e9 | 1,776 | cpp | C++ | Basic Programming 1/basicprogramming1.cpp | austenjs/kattis | dcc3101e866e302bbf46f5b6ecfcd4a4cb453825 | [
"MIT"
] | null | null | null | Basic Programming 1/basicprogramming1.cpp | austenjs/kattis | dcc3101e866e302bbf46f5b6ecfcd4a4cb453825 | [
"MIT"
] | null | null | null | Basic Programming 1/basicprogramming1.cpp | austenjs/kattis | dcc3101e866e302bbf46f5b6ecfcd4a4cb453825 | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include <vector>
#include <iomanip>
#include <cstdlib>
#include <algorithm>
#include <string.h>
#include <cmath>
using namespace std;
bool inside(unsigned long long int num, vector<unsigned long long int>k) {
for (int i = 0; i < k.size(); i++) {
if (num == k[i]) {
return t... | 18.893617 | 74 | 0.508446 | austenjs |
285c9e2d9248f70e5957c18adefd7c8d350960ab | 1,184 | cpp | C++ | plugins/d3d9/src/state/convert/light/parameters.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/d3d9/src/state/convert/light/parameters.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/d3d9/src/state/convert/light/parameters.cpp | 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)
#include <sge/d3d9/d3dinclude.hpp>
#include <sge/d3d9/convert/to_color_value.hpp>
#include <sge/d3d... | 32.888889 | 90 | 0.722973 | cpreh |
285d09beb363d4d85bb6d49b2cb85276da921958 | 13,234 | cpp | C++ | tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <cstddef>
#include <limits>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/... | 42.690323 | 88 | 0.688076 | nilsvu |
285e0aae2ac95d7699994e1c1cb0c63a751fec2f | 4,577 | cpp | C++ | deps/libgdal/gdal/ogr/ogrsf_frmts/tiger/tigerlandmarks.cpp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | null | null | null | deps/libgdal/gdal/ogr/ogrsf_frmts/tiger/tigerlandmarks.cpp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | null | null | null | deps/libgdal/gdal/ogr/ogrsf_frmts/tiger/tigerlandmarks.cpp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Project: TIGER/Line Translator
* Purpose: Implements TigerLandmarks, providing access to .RT7 files.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
****************************************************************************... | 42.775701 | 79 | 0.511252 | khrushjing |
285e445436dbd76979b33d79e6e45871cf730483 | 1,844 | cpp | C++ | utility/monoid/max_subsum.cpp | kmyk/rsk0315-library | 344f8f8c6c8c8951637154d6cb87cfb3dbc50376 | [
"MIT"
] | 7 | 2020-03-30T11:05:43.000Z | 2022-03-24T06:18:38.000Z | utility/monoid/max_subsum.cpp | kmyk/rsk0315-library | 344f8f8c6c8c8951637154d6cb87cfb3dbc50376 | [
"MIT"
] | null | null | null | utility/monoid/max_subsum.cpp | kmyk/rsk0315-library | 344f8f8c6c8c8951637154d6cb87cfb3dbc50376 | [
"MIT"
] | 2 | 2021-07-27T05:48:29.000Z | 2022-03-24T06:18:40.000Z | #ifndef H_max_subsum_monoid
#define H_max_subsum_monoid
/**
* @brief 部分和の最大値を得る演算のモノイドクラス
* @author えびちゃん
*/
#include <cstddef>
#include <algorithm>
template <typename Tp>
class max_subsum_monoid {
public:
using size_type = size_t;
using value_type = Tp;
private:
value_type M_pre = 0, M_suf = 0, M_sub = 0,... | 27.522388 | 92 | 0.650759 | kmyk |
285f217e046187c88246f69082bf1bb183621f87 | 3,732 | hpp | C++ | BipEngine/include/specific/NotifiableClock.hpp | ESROCOS/control-mc_watchdog | 62ffb1f1843b0be0b780a0186f0d0ef7f27a58e5 | [
"CECILL-B"
] | null | null | null | BipEngine/include/specific/NotifiableClock.hpp | ESROCOS/control-mc_watchdog | 62ffb1f1843b0be0b780a0186f0d0ef7f27a58e5 | [
"CECILL-B"
] | null | null | null | BipEngine/include/specific/NotifiableClock.hpp | ESROCOS/control-mc_watchdog | 62ffb1f1843b0be0b780a0186f0d0ef7f27a58e5 | [
"CECILL-B"
] | null | null | null | /**
* Copyright Verimag laboratory.
*
* contributors:
* Jacques Combaz (jacques.combaz@univ-grenoble-alpes.fr)
*
* This software is a computer program whose purpose is to generate
* executable code from BIP models.
*
* This software is governed by the CeCILL-B license under French law and
* abiding by the... | 26.468085 | 81 | 0.724009 | ESROCOS |
2861aa259f317924e1cfdd1e51a5e0a6d474dab0 | 299 | cpp | C++ | project_template/src/BotController.cpp | JeanMarcZimmer/libDiscordBot | dadd68a15b89f1577fd43a56b6fcf90330f1e1e8 | [
"MIT"
] | 11 | 2020-05-16T08:41:15.000Z | 2022-03-19T23:03:42.000Z | project_template/src/BotController.cpp | JeanMarcZimmer/libDiscordBot | dadd68a15b89f1577fd43a56b6fcf90330f1e1e8 | [
"MIT"
] | 4 | 2020-05-15T06:59:01.000Z | 2020-10-06T18:13:23.000Z | project_template/src/BotController.cpp | JeanMarcZimmer/libDiscordBot | dadd68a15b89f1577fd43a56b6fcf90330f1e1e8 | [
"MIT"
] | 5 | 2020-05-16T09:06:39.000Z | 2021-02-23T21:12:46.000Z | #include <BotController.hpp>
#include <HelloCommand.hpp>
void CBotController::OnReady()
{
//Registers a new command, with description for the builtin help command.
RegisterCommand<CHelloCommand>({"hello", "Writes \"Hello World!\" into the channel", 0, "", AccessMode::EVERYBODY}, Client);
} | 37.375 | 128 | 0.729097 | JeanMarcZimmer |
2863b0ff63c71fd80a33401bda46e097992bf67f | 9,068 | cpp | C++ | .vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | null | null | null | .vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | null | null | null | .vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 2 | 2019-05-16T08:19:45.000Z | 2021-01-24T21:02:43.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | 36.712551 | 143 | 0.609285 | lakehui |
28648de02bca155caafac0e6842abfe1053e83c0 | 1,742 | hpp | C++ | include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_SIZE_REQUEST_HPP
#define COH_SIZE_REQUEST_HPP
#include "coherence/lang.ns"
#include "private/coherence/component/net/extend/Abstr... | 22.921053 | 86 | 0.556257 | chpatel3 |
2864d709864894b57f6b56bd566f760d8bc12c35 | 492 | cpp | C++ | CCC/test.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | 1 | 2017-10-01T00:51:39.000Z | 2017-10-01T00:51:39.000Z | CCC/test.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | CCC/test.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <string>
#include <vector>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
bool used[100];
int main()
{
vector<int> s;
int n;
... | 13.297297 | 30 | 0.51626 | zzh8829 |
286551dad47c0ad11ec44ab801f38281a492af76 | 857 | hpp | C++ | src/backend/opencl/program.hpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 4 | 2015-12-16T09:41:32.000Z | 2018-10-29T10:38:53.000Z | src/backend/opencl/program.hpp | ckeitz/arrayfire | a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b | [
"BSD-3-Clause"
] | 3 | 2015-11-15T18:43:47.000Z | 2015-12-16T09:43:14.000Z | src/backend/opencl/program.hpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 26.78125 | 85 | 0.576429 | ckeitz |
2869c0b3245e4843422e0ded7c563b50e74bd872 | 354,938 | cpp | C++ | My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp | 2Dkun/My-Quest-Log | c2d7f17670631c2f58333ae81527b7bed82b1c57 | [
"Apache-2.0"
] | null | null | null | My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp | 2Dkun/My-Quest-Log | c2d7f17670631c2f58333ae81527b7bed82b1c57 | [
"Apache-2.0"
] | null | null | null | My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp | 2Dkun/My-Quest-Log | c2d7f17670631c2f58333ae81527b7bed82b1c57 | [
"Apache-2.0"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | 42.411041 | 201 | 0.826068 | 2Dkun |
2869fc842b71a0e051952fe3ed5a78a7869f8163 | 2,760 | hpp | C++ | stan/math/prim/fun/acosh.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/fun/acosh.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | stan/math/prim/fun/acosh.hpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_FUN_ACOSH_HPP
#define STAN_MATH_PRIM_FUN_ACOSH_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/copysign.hpp>
#include <stan/math/prim/fun/is_inf.hpp>
#include <stan/math/prim/fun/is_nan.hpp>
#include <stan/math/prim/fun/log.hpp>
#include <sta... | 24 | 76 | 0.690217 | LaudateCorpus1 |
286e9e69a98848f53786fb92e28cd9c39dda299a | 18,354 | cpp | C++ | Source/GUI/Qt/GUI_Main_Core_Table.cpp | JeromeMartinez/BWFMetaEdit | 6a228bd0914aa2749f19dd94510d2126a1231248 | [
"MIT",
"0BSD"
] | null | null | null | Source/GUI/Qt/GUI_Main_Core_Table.cpp | JeromeMartinez/BWFMetaEdit | 6a228bd0914aa2749f19dd94510d2126a1231248 | [
"MIT",
"0BSD"
] | null | null | null | Source/GUI/Qt/GUI_Main_Core_Table.cpp | JeromeMartinez/BWFMetaEdit | 6a228bd0914aa2749f19dd94510d2126a1231248 | [
"MIT",
"0BSD"
] | null | null | null | // BWF MetaEdit GUI - A GUI for BWF MetaEdit
//
// This code was created in 2010 for the Library of Congress and the
// other federal government agencies participating in the Federal Agencies
// Digital Guidelines Initiative and it is in the public domain.
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++... | 40.161926 | 418 | 0.545004 | JeromeMartinez |
286f3a538930e04128f89bf896e75b997dc6f613 | 1,853 | cpp | C++ | src/engine/Camera/CameraControllers/CameraController.cpp | noasoder/VulkanEngine | c5cde80bb62df4ead23c55b70d0149949d1e4d9e | [
"MIT"
] | 1 | 2022-01-23T14:28:56.000Z | 2022-01-23T14:28:56.000Z | src/engine/Camera/CameraControllers/CameraController.cpp | noasoder/VulkanEngine | c5cde80bb62df4ead23c55b70d0149949d1e4d9e | [
"MIT"
] | 1 | 2021-11-07T22:33:36.000Z | 2021-11-07T22:33:36.000Z | src/engine/Camera/CameraControllers/CameraController.cpp | noasoder/VulkanEngine | c5cde80bb62df4ead23c55b70d0149949d1e4d9e | [
"MIT"
] | null | null | null | #include "Camera/CameraControllers/CameraController.h"
#include "Vulkan.h"
#include "Types.h"
#include "Camera/Camera.h"
#include "Managers/InputManager.h"
#include "Managers/CameraManager.h"
CameraController::CameraController()
: m_currMoveSpeed(0)
, m_moveSpeedSlow(3)
, m_moveSpeed(10)
, m_moveSpeedFast(20)
, m_las... | 29.887097 | 74 | 0.67728 | noasoder |
2871a2bc41384997001e75d80c7f5d64c38ef04f | 2,061 | hpp | C++ | sdk/boost_1_30_0/libs/thread/src/mac/delivery_man.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 2 | 2020-01-30T12:51:49.000Z | 2020-08-31T08:36:49.000Z | sdk/boost_1_30_0/libs/thread/src/mac/delivery_man.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | sdk/boost_1_30_0/libs/thread/src/mac/delivery_man.hpp | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | // Copyright (C) 2001
// Mac Murrett
//
// Permission to use, copy, modify, distribute and sell this software
// and its documentation for any purpose is hereby granted without fee,
// provided that the above copyright notice appear in all copies and
// that both that copyright notice and this permission notice a... | 22.648352 | 83 | 0.703542 | acidicMercury8 |
2874ea976afa2648f583fbaadd8f3fc514ef2e20 | 118,995 | hpp | C++ | include/vkoGlbFuncs.hpp | alec101/vko | f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f | [
"Unlicense"
] | 5 | 2019-07-15T18:23:39.000Z | 2019-10-17T00:42:53.000Z | include/vkoGlbFuncs.hpp | alec101/vko | f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f | [
"Unlicense"
] | null | null | null | include/vkoGlbFuncs.hpp | alec101/vko | f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f | [
"Unlicense"
] | null | null | null | #pragma once
/// there is a conflict with some WIN32 defines for CreateSemaphore and CreateEvent
#ifdef CreateSemaphore
#undef CreateSemaphore
#endif
#ifdef CreateEvent
#undef CreateEvent
#endif
///============///
// GLOBAL funcs //
///============///
#ifdef VKO_USE_GLOBAL_FUNCS
// VULKAN 1.0 ================... | 104.290096 | 567 | 0.832186 | alec101 |
287644c8a76e07e75f8b317fa09d640abface660 | 1,106 | cpp | C++ | cpp/locale_messages_byname.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/locale_messages_byname.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | cpp/locale_messages_byname.cpp | rpuntaie/c-examples | 385b3c792e5b39f81a187870100ed6401520a404 | [
"MIT"
] | null | null | null | /*
g++ --std=c++20 -pthread -o ../_build/cpp/locale_messages_byname.exe ./cpp/locale_messages_byname.cpp && (cd ../_build/cpp/;./locale_messages_byname.exe) || true
https://en.cppreference.com/w/cpp/locale/messages_byname
*/
#include <iostream>
#include <locale>
void try_with(const std::locale& loc)
{
const std::me... | 36.866667 | 161 | 0.605787 | rpuntaie |
287674cd9758974b2b4934219fdbf2b15785df4a | 236 | cpp | C++ | mios/ppt.cpp | nery556/programacionnery | 01174228004bd88d803e8eba70c1333999e3f49a | [
"MIT"
] | null | null | null | mios/ppt.cpp | nery556/programacionnery | 01174228004bd88d803e8eba70c1333999e3f49a | [
"MIT"
] | null | null | null | mios/ppt.cpp | nery556/programacionnery | 01174228004bd88d803e8eba70c1333999e3f49a | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int main (){
int numeroaleatorio;
srand(time(NULL));
numeroaleatorio=rand()%2;
cout << numeroaleatorio;
return 0;
} | 13.882353 | 29 | 0.601695 | nery556 |
287695793a67d389af69fd62bd013d1e412758dc | 141 | hxx | C++ | src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_HPUX
#ifndef __UNIX_DIAGNOSTICSERVICERECORD_PRIVATE_H
#define __UNIX_DIAGNOSTICSERVICERECORD_PRIVATE_H
#endif
#endif
| 11.75 | 48 | 0.865248 | brunolauze |
2876b0d7a13104045ff285abad912c44dfed7a53 | 3,843 | cpp | C++ | main.cpp | baldurk/dxilprocessor | aca6f4740b61a662bd36c6d0db0c8b8236b96a8c | [
"MIT"
] | 1 | 2021-08-10T01:02:05.000Z | 2021-08-10T01:02:05.000Z | main.cpp | baldurk/dxilprocessor | aca6f4740b61a662bd36c6d0db0c8b8236b96a8c | [
"MIT"
] | null | null | null | main.cpp | baldurk/dxilprocessor | aca6f4740b61a662bd36c6d0db0c8b8236b96a8c | [
"MIT"
] | 1 | 2021-08-10T01:02:06.000Z | 2021-08-10T01:02:06.000Z | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019 Baldur Karlsson
*
* 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 ... | 28.679104 | 86 | 0.632058 | baldurk |
2877387ff81df56d2b58f4bd431ccaf181d27f44 | 3,712 | cxx | C++ | tests/tdump.cxx | cpackham/novaprova | 770781f2b27f461c99342ed39547f69582f6a7ca | [
"Apache-2.0"
] | 29 | 2015-08-13T01:21:38.000Z | 2020-08-03T01:38:56.000Z | tests/tdump.cxx | gnb/novaprova | c03882c7f078d899cbc49c9ecfc48dd80088cc3e | [
"Apache-2.0"
] | 34 | 2015-08-10T00:55:34.000Z | 2022-03-23T03:08:06.000Z | tests/tdump.cxx | gnb/novaprova | c03882c7f078d899cbc49c9ecfc48dd80088cc3e | [
"Apache-2.0"
] | 9 | 2015-08-13T06:20:53.000Z | 2021-02-26T03:43:18.000Z | /*
* Copyright 2011-2012 Gregory Banks
*
* 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 agr... | 24.746667 | 83 | 0.611261 | cpackham |
2878f33c948fc7658ec9649643942dcc2092a152 | 2,196 | cpp | C++ | zombie2/zombie2/source/zombieguidamagedata.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | zombie2/zombie2/source/zombieguidamagedata.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | zombie2/zombie2/source/zombieguidamagedata.cpp | DavidCoenFish/ancient-code-0 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | [
"Unlicense"
] | null | null | null | //
// ZombieGuiDamageData.cpp
// Zombie
//
// Created by David Coen on 2011 02 17
// Copyright Pleasure seeking morons 2010. All rights reserved.
//
#include "ZombieGuiDamageData.h"
#include <GApplicationWindow.h>
//
//
#include <GVector2Float.h>
#include <GGuiCoordinate.h>
#include <GMath.h>
#include <GComponent... | 21.742574 | 84 | 0.743625 | DavidCoenFish |
287b31076b5da0691b732b634d830dd5e768f1fa | 14,010 | cpp | C++ | sp/src/game/server/weapon_hopwire.cpp | Easimer/source-sdk-2013 | c802545ff902a88cac4f6c8b888f5d00d7030d02 | [
"Unlicense"
] | 4 | 2018-09-02T19:30:28.000Z | 2021-05-08T15:10:44.000Z | sp/src/game/server/weapon_hopwire.cpp | Easimer/compliance_src | c802545ff902a88cac4f6c8b888f5d00d7030d02 | [
"Unlicense"
] | null | null | null | sp/src/game/server/weapon_hopwire.cpp | Easimer/compliance_src | c802545ff902a88cac4f6c8b888f5d00d7030d02 | [
"Unlicense"
] | null | null | null | //========= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "basehlcombatweapon.h"
#include "player.h"
#include "gamerules.h"
#include "grenade_frag.h"
#incl... | 27.57874 | 178 | 0.601356 | Easimer |
287ba2218dcdd35c78d40d99971fd18bfb3f10fe | 24,914 | cpp | C++ | s3/s3_transport/src/s3_transport.cpp | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | null | null | null | s3/s3_transport/src/s3_transport.cpp | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | null | null | null | s3/s3_transport/src/s3_transport.cpp | alanking/irods_resource_plugin_s3 | 492839f885f432d30fa904ac9d5f89369d248ece | [
"BSD-3-Clause"
] | null | null | null | #include "circular_buffer.hpp"
// iRODS includes
#include <transport/transport.hpp>
// misc includes
#include "json.hpp"
#include <libs3.h>
// stdlib and misc includes
#include <string>
#include <thread>
#include <vector>
#include <cstdio>
#include <iostream>
#include <mutex>
#include <condition_variable>
#include <... | 41.248344 | 140 | 0.586979 | alanking |
287da96ad44a9a5d79b4da99f81b3d782d63765b | 1,533 | cpp | C++ | c++/007/007.cpp | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | 36 | 2015-01-24T08:11:52.000Z | 2021-03-21T00:32:00.000Z | c++/007/007.cpp | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | null | null | null | c++/007/007.cpp | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | 4 | 2015-01-24T08:17:42.000Z | 2022-01-11T16:10:56.000Z | #include <iostream>
#include <vector>
#include <complex>
std::vector<unsigned long long> sieveOfAtkin(unsigned long long limit);
int main() {
unsigned long long n = 10001;
unsigned long long limit = (unsigned long long)((n * log(n)) + (n * (log(log(n)))));
std::cout << sieveOfAtkin(limit)[n - 1] << std::endl;... | 18.25 | 86 | 0.511416 | seaneshbaugh |
2880a4b4059b670cbcf8121de9434d343a6aeabb | 535 | cpp | C++ | EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp | LaryEscobar/cpp | 6f131350a8fa23b155a3114191c6d63da9709313 | [
"MIT"
] | null | null | null | EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp | LaryEscobar/cpp | 6f131350a8fa23b155a3114191c6d63da9709313 | [
"MIT"
] | null | null | null | EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp | LaryEscobar/cpp | 6f131350a8fa23b155a3114191c6d63da9709313 | [
"MIT"
] | null | null | null | #include <iostream>
#include<stdio.h>
using namespace std;
int main (){
double subtotal = 0;
double total = 0;
double imp = 0.15;
int descuento= 0;
double Cdescuento = 0;
double Cimp = 0;
cout <<" Ingrese el subtotal de la facura: " <<endl;
cin >> subtotal;
cout <<" Ingrese el descuento (0,10,15,20): " <<endl;
ci... | 18.448276 | 53 | 0.648598 | LaryEscobar |
28811cad8374a83a9117a5fc8252c1a18441feff | 18,305 | cpp | C++ | OpenSees/SRC/reliability/analysis/analysis/SystemAnalysis.cpp | kuanshi/ductile-fracture | ccb350564df54f5c5ec3a079100effe261b46650 | [
"MIT"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/reliability/analysis/analysis/SystemAnalysis.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/reliability/analysis/analysis/SystemAnalysis.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 25.818054 | 113 | 0.586616 | kuanshi |
2881dce4ecbb7eff83db90a0b4d2000f7e2a7d68 | 11,444 | cpp | C++ | demo/widget_show/demo.cpp11.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | 1 | 2018-02-09T21:25:13.000Z | 2018-02-09T21:25:13.000Z | demo/widget_show/demo.cpp11.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | null | null | null | demo/widget_show/demo.cpp11.cpp | gfannes/nana | 3b8d33f9a98579684ea0440b6952deabe61bd978 | [
"BSL-1.0"
] | null | null | null | /*
* This is a demo of Nana C++ Library
* Author: Jinhao
* The demo requires Nana 0.6 and C++11 compiler
* Screenshot at http://sourceforge.net/projects/stdex
*/
#include <nana/gui/wvl.hpp>
#include <nana/gui/place.hpp>
#include <nana/gui/widgets/button.hpp>
#include <nana/gui/widgets/combox.hpp>
#include <nana/gu... | 26.613953 | 123 | 0.633869 | gfannes |
28822213c4c1af93222aa1265bbea3c14ceee7b4 | 20,463 | cpp | C++ | applications/3DimViewer/src/main.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | 6 | 2020-04-14T16:10:55.000Z | 2021-05-21T07:13:55.000Z | applications/3DimViewer/src/main.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | null | null | null | applications/3DimViewer/src/main.cpp | SindenDev/3dimviewer | e23a3147edc35034ef4b75eae9ccdcbc7192b1a1 | [
"Apache-2.0"
] | 2 | 2020-07-24T16:25:38.000Z | 2021-01-19T09:23:18.000Z | ///////////////////////////////////////////////////////////////////////////////
// $Id$
//
// 3DimViewer
// Lightweight 3D DICOM viewer.
//
// Copyright 2008-2016 3Dim Laboratory s.r.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with ... | 36.411032 | 259 | 0.598006 | SindenDev |
28840bbc5eb73b9c7081e60eaa08a26e9d0e3773 | 5,891 | cpp | C++ | OpenGL-Sandbox/src/ShapeHandler.cpp | cshreyastech/OpenGL | 5d6dcce4a0fa210318fb70892423f5646c4bba98 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/ShapeHandler.cpp | cshreyastech/OpenGL | 5d6dcce4a0fa210318fb70892423f5646c4bba98 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/ShapeHandler.cpp | cshreyastech/OpenGL | 5d6dcce4a0fa210318fb70892423f5646c4bba98 | [
"Apache-2.0"
] | null | null | null | #include "ShapeHandler.h"
ShapeHandler::ShapeHandler(Isosurface::Facet id, std::vector<int>& indexSequence, const GLenum type,
const uint32_t indexOffset, const uint32_t vertexOffset, const size_t maxShapeCount)
: ID(id), IndexSequence(indexSequence), Type(type), IndexOffset(indexOffset),
VertexOffset(vertexOffset... | 26.899543 | 133 | 0.749448 | cshreyastech |
28845398d837680e62aea8df330fa816f68826b2 | 6,467 | cpp | C++ | tesseract_monitoring/src/contact_monitor_node.cpp | ros-industrial-consortium/tesseract_ros | b61abc18edb5bb350f05259ddf259937dbdb45f4 | [
"Apache-2.0",
"BSD-2-Clause"
] | 28 | 2020-03-13T05:07:25.000Z | 2021-09-09T01:57:20.000Z | tesseract_monitoring/src/contact_monitor_node.cpp | ros-industrial-consortium/tesseract_ros | b61abc18edb5bb350f05259ddf259937dbdb45f4 | [
"Apache-2.0",
"BSD-2-Clause"
] | 73 | 2020-03-12T17:25:52.000Z | 2021-09-14T14:58:08.000Z | tesseract_monitoring/src/contact_monitor_node.cpp | ros-industrial-consortium/tesseract_ros | b61abc18edb5bb350f05259ddf259937dbdb45f4 | [
"Apache-2.0",
"BSD-2-Clause"
] | 18 | 2020-03-06T20:45:27.000Z | 2021-10-06T21:51:18.000Z | /**
* @file contact_monitor_node.cpp
* @brief Node that instantiates a contact_monitor
*
* @author David Merz, Jr.
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2020, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed under the ... | 34.216931 | 115 | 0.705273 | ros-industrial-consortium |
28851befd1f7789d6e52180110fd4ad91d555a77 | 3,370 | hxx | C++ | include/itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.hxx | InsightSoftwareConsortium/LesionSizingToolk | c1a84175c73319e70083e44abedb655ca85d5c57 | [
"Apache-2.0"
] | 8 | 2017-11-17T03:09:23.000Z | 2021-03-06T04:59:49.000Z | include/itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.hxx | InsightSoftwareConsortium/LesionSizingToolk | c1a84175c73319e70083e44abedb655ca85d5c57 | [
"Apache-2.0"
] | 18 | 2018-04-24T05:35:03.000Z | 2021-04-26T19:15:45.000Z | include/itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.hxx | InsightSoftwareConsortium/LesionSizingToolk | c1a84175c73319e70083e44abedb655ca85d5c57 | [
"Apache-2.0"
] | 8 | 2016-04-09T03:51:11.000Z | 2020-04-28T20:18:10.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 35.104167 | 118 | 0.765579 | InsightSoftwareConsortium |
288520fc8308e359a5213b749becf027b1e53c9f | 73,597 | cpp | C++ | tests/TensorAlgebra.cpp | jturney/EinsumsInCpp | 5da72c32b8814adacb601face888d970edfae205 | [
"MIT"
] | 9 | 2022-01-29T22:21:19.000Z | 2022-03-10T06:26:40.000Z | tests/TensorAlgebra.cpp | jturney/EinsumsInCpp | 5da72c32b8814adacb601face888d970edfae205 | [
"MIT"
] | null | null | null | tests/TensorAlgebra.cpp | jturney/EinsumsInCpp | 5da72c32b8814adacb601face888d970edfae205 | [
"MIT"
] | null | null | null | #include "einsums/TensorAlgebra.hpp"
#include "einsums/LinearAlgebra.hpp"
#include "einsums/State.hpp"
#include "einsums/Tensor.hpp"
#include <H5Fpublic.h>
#include <catch2/catch.hpp>
#include <type_traits>
TEST_CASE("Identity Tensor", "[tensor]") {
using namespace einsums;
using namespace einsums::tensor_al... | 34.715566 | 139 | 0.440249 | jturney |
2885fb771f55eac7f0fa6436dee6595c72bc9b33 | 260 | cpp | C++ | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #include "InterpreterCommandJumpRel.h"
SKALANG_BYTECODE_INTERPRETER_COMMAND_DECLARE(JUMP_REL)(ExecutionContext& context, const Operand& left, const Operand& right) {
context.jumpRelative(context.get<long>(context.currentInstruction().dest()));
return {};
}
| 37.142857 | 126 | 0.803846 | Scorbutics |
28865acc5079976503aa22f0b1bfeeb1a8047787 | 73,130 | hxx | C++ | Modules/Core/Mesh/include/itkBinaryMask3DMeshSource.hxx | PranjalSahu/ITK | b9409f0782c385bac2d7f6e54fa512c1be1d9221 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Mesh/include/itkBinaryMask3DMeshSource.hxx | PranjalSahu/ITK | b9409f0782c385bac2d7f6e54fa512c1be1d9221 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Mesh/include/itkBinaryMask3DMeshSource.hxx | PranjalSahu/ITK | b9409f0782c385bac2d7f6e54fa512c1be1d9221 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 26.965339 | 118 | 0.57034 | PranjalSahu |
2886d642081b372d808216fe7607e06c1551d9e1 | 147,078 | hpp | C++ | deps/boost/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z |
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes,
// Aleksey Gurtovoy, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to 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).
... | 110.668172 | 293 | 0.700989 | kindlychung |
2887639327b6324c51c5ef436cc18b8db262a8dd | 1,159 | cpp | C++ | 4788/src/main/cpp/ControlMap.cpp | goanna247/2021-GameChangers | 99faf17d1e444f0a0f861bcb85375502c52d366c | [
"MIT"
] | 1 | 2021-02-04T09:06:51.000Z | 2021-02-04T09:06:51.000Z | 4788/src/main/cpp/ControlMap.cpp | goanna247/2021-GameChangers | 99faf17d1e444f0a0f861bcb85375502c52d366c | [
"MIT"
] | null | null | null | 4788/src/main/cpp/ControlMap.cpp | goanna247/2021-GameChangers | 99faf17d1e444f0a0f861bcb85375502c52d366c | [
"MIT"
] | null | null | null | #include "ControlMap.h"
using namespace wml;
using namespace wml::controllers;
void ControlMap::InitsmartControllerGroup(SmartControllerGroup &contGroup) {
// Remap Here (map POV buttons to names etc)
}
// ------------------ Values ------------------
// Controller Ports
const int ControlMap::Xbox1Port = 0;
const... | 26.340909 | 79 | 0.705781 | goanna247 |
288952c3486266ca500db759bc9403a6ffb8de0e | 823 | hpp | C++ | include/awt/KeyboardFocusManager.hpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | 5 | 2019-01-01T14:55:58.000Z | 2021-01-31T14:55:59.000Z | include/awt/KeyboardFocusManager.hpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | null | null | null | include/awt/KeyboardFocusManager.hpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | null | null | null | #ifndef __AWT_KEYBOARDFOCUSMANAGER_HPP
#define __AWT_KEYBOARDFOCUSMANAGER_HPP
#include <awt/AWTEvent.hpp>
namespace awt {
class Component;
class KeyboardFocusManager {
public:
static const int FORWARD_TRAVERSAL_KEYS = 0;
static const int BACKWARD_TRAVERSAL_KEYS = 1;
static const int UP_CYCLE_TRAVERSAL_KEYS = 2;
... | 26.548387 | 82 | 0.81531 | krzydyn |