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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
418e73335586695d6d3a4a1a90da24abbbdcc2f6 | 529 | cpp | C++ | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 3 | 2021-01-09T17:25:18.000Z | 2021-07-11T00:04:22.000Z | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 1 | 2021-03-21T13:17:04.000Z | 2021-03-21T14:03:46.000Z | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 1 | 2020-04-03T16:32:53.000Z | 2020-04-03T16:32:53.000Z | #include "CameraSystemProcessor.h"
namespace chaoskit::core {
void CameraSystemProcessor::setCameraSystem(const CameraSystem& cameraSystem) {
setSystem(cameraSystem.system);
setCamera(cameraSystem.camera);
}
SystemParticle CameraSystemProcessor::processCamera(
SystemParticle input) const {
if (!camera_) re... | 25.190476 | 79 | 0.769376 | ChaosKit |
41911c52cdeaa0cca080120286aca4e7b91bf0f9 | 2,036 | cxx | C++ | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | 1 | 2019-09-26T12:08:19.000Z | 2019-09-26T12:08:19.000Z | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | null | null | null | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | 1 | 2020-12-11T04:11:44.000Z | 2020-12-11T04:11:44.000Z | // MIT License
//
// Copyright 2018 Abdelkader Amar
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modif... | 33.933333 | 91 | 0.721513 | abdelkaderamar |
41a2e2fb9777e837d9942e9c28e0d86e270456bc | 23,537 | cpp | C++ | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 19 | 2019-07-21T15:38:12.000Z | 2022-01-06T05:24:48.000Z | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 6 | 2019-12-07T22:12:37.000Z | 2022-01-10T22:31:48.000Z | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 1 | 2019-08-15T14:49:00.000Z | 2019-08-15T14:49:00.000Z | // -*- C++ -*-
// Copyright (C) 2021 Dmitry Igrishin
//
// 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 granted to anyone to use this software for any purpose,
// i... | 36.378671 | 128 | 0.637804 | dmitigr |
41a4315da01c7f6bd5f6cdda58c57442094e2b72 | 2,145 | cpp | C++ | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | // Copyright 2021 Long Le Phi. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
#include "problems/1_2/solution.hpp"
#include <numeric>
#if defined(_MSC_VER)
# include <intrin.h>
#endif
namespace {
using longlp::solution::Problem_1_2;
inline... | 27.151899 | 88 | 0.620513 | philong6297 |
41a5dc84a8361385f2eaea2907a30a4ea42f78a7 | 1,512 | cpp | C++ | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | #include <aoc/pass.hpp>
#include <algorithm>
#include <cassert>
#include <string_view>
namespace
{
}
namespace aoc2020
{
Seat parse_pass(std::string const & seat)
{
assert(seat.length() == 10);
auto calculate_assignment = [](std::string_view info, int low, int high,
... | 28.528302 | 80 | 0.434524 | snewell |
41ac0434e2cf353fae6f2dba2ac4c34391ce4309 | 5,493 | cpp | C++ | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | #include "entity.h"
#include "render.h"
#include "global.h"
#include <GLFW/glfw3.h>
#include <glm/gtx/transform.hpp>
entity_data_base EntityDataBase = {};
internal void
UpdateModelMatrixComponents(std::vector<model_matrix_component> &Components
, std::vector<entity_data> &Entities)
{
model_matr... | 31.033898 | 120 | 0.673585 | llGuy |
41ad84f0db91c4d83da32663187049ae422ab567 | 30,868 | cpp | C++ | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 9 | 2015-01-07T17:24:28.000Z | 2021-08-15T17:49:08.000Z | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 3 | 2015-09-24T05:10:05.000Z | 2016-07-06T15:07:54.000Z | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 5 | 2015-02-14T21:00:28.000Z | 2021-07-10T01:05:09.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 34.183832 | 143 | 0.656149 | GoldenThumbs |
41ae40c170370c26e62d938e1c06d1106419f2ac | 8,741 | cpp | C++ | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 3 | 2018-12-08T16:32:05.000Z | 2020-06-02T11:07:15.000Z | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | null | null | null | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 1 | 2019-09-12T00:26:05.000Z | 2019-09-12T00:26:05.000Z | #include "gli.hpp"
#include "GLES3Renderer.h"
CGLES3Texture::CGLES3Texture(void)
: m_bExtern(false)
, m_target(0)
, m_texture(0)
, m_type(GFX_TEXTURE_INVALID_ENUM)
, m_format(GFX_PIXELFORMAT_UNDEFINED)
, m_width(0)
, m_height(0)
, m_layers(0)
, m_levels(0)
, m_samples(0)
{
}
CGLES3Texture::~CGLES3Textu... | 25.860947 | 185 | 0.732982 | LiangYue1981816 |
41b38b15073c8ebac57b2ccf6279376ac4f692fb | 1,552 | cpp | C++ | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Nov/12/2018 23:55
* solution_verdict: Wrong answer on test 3 language: GNU C++14
* run... | 33.73913 | 111 | 0.462629 | kzvd4729 |
41b7331464dee98a8aca55284d76d6ee922b2c5b | 572 | cpp | C++ | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 5,800 | 2015-01-05T02:36:02.000Z | 2022-03-31T04:27:26.000Z | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 1,681 | 2015-01-04T00:41:40.000Z | 2022-03-31T07:30:51.000Z | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 1,169 | 2015-01-04T01:32:23.000Z | 2022-03-28T13:38:00.000Z | // ArduinoJson - https://arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
TEST_CASE("deserializeMsgPack() returns EmptyInput") {
StaticJsonDocument<100> doc;
SECTION("from sized buffer") {
DeserializationError err = deserializeMsgPack(doc, ""... | 22.88 | 62 | 0.711538 | ortlof |
41b7b2455b8f69a298e6f6c4cc3c92868d093881 | 748 | cpp | C++ | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | null | null | null | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | null | null | null | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | 1 | 2021-09-06T06:08:38.000Z | 2021-09-06T06:08:38.000Z | /**
* @file character_tokenizer.cpp
* @author Chase Geigle
*/
#include "analyzers/tokenizers/character_tokenizer.h"
#include "corpus/document.h"
#include "io/mmap_file.h"
namespace meta
{
namespace analyzers
{
namespace tokenizers
{
const std::string character_tokenizer::id = "character-tokenizer";
character_tok... | 16.622222 | 74 | 0.703209 | saq7 |
41b94436518ed9a574d67416bcd1bf2dd2024d28 | 3,065 | cpp | C++ | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 10 | 2018-08-15T13:27:35.000Z | 2020-12-10T17:20:40.000Z | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 182 | 2016-07-31T07:15:15.000Z | 2022-01-30T01:25:41.000Z | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 7 | 2017-10-12T22:03:42.000Z | 2020-02-26T00:01:18.000Z | #include "exportexpressionmatrix.h"
#include "exportexpressionmatrix_input.h"
#include "datafactory.h"
#include "expressionmatrix_gene.h"
/*!
* Return the total number of blocks this analytic must process as steps
* or blocks of work. This implementation uses a work block for writing the
* sample names and a work... | 23.945313 | 78 | 0.595432 | mfayk |
41bc85742770c7a82c455bfea9e740c54fd94de4 | 589 | cc | C++ | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | #include "EntityLoader.hh"
#include <fstream>
#include <iostream>
namespace Mikan {
EntityLoader::EntityLoader() {
}
void EntityLoader::load_json(const std::string file_location) {
Json::Reader reader;
std::ifstream provinces_file;
provinces_file.open(file_location);
const bool parsingSuccessful = reader.... | 20.310345 | 68 | 0.687606 | BitwiseSoftware |
41bcc5037bdd32edfd6134464253036715ed087f | 5,834 | cpp | C++ | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | // Copyright (C) 2015 SRG Technology, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pu... | 29.917949 | 87 | 0.67158 | jack-lz |
41bd8ec8afffd80df54210ab5431541e91303c65 | 2,777 | cpp | C++ | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2022, NVIDIA CORPORATION.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 35.151899 | 100 | 0.671948 | exactlyallan |
41bf7956aac858c6db61d104b3fcb4d553c1fb29 | 1,139 | hh | C++ | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef DataProducts_ExtMonFNALModuleDenseId_hh
#define DataProducts_ExtMonFNALModuleDenseId_hh
// Sequential number of a silicon module in Mu2e ExtMonFNAL detector.
// Zero based.
//
// $Id: ExtMonFNALModuleDenseId.hh,v 1.1 2013/07/30 18:45:00 wieschie Exp $
// $Author: wieschie $
// $Date: 2013/07/30 18:45:00 $
//
/... | 23.729167 | 89 | 0.697981 | bonventre |
41c0336090f3f0d8a0ca993471720ec50fbf335d | 3,422 | cpp | C++ | tests/pcg.cpp | bezout/LMA | 9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2 | [
"BSL-1.0"
] | 29 | 2015-12-08T12:07:30.000Z | 2022-01-08T21:23:01.000Z | tests/pcg.cpp | ayumizll/LMA | e945452e12a8b05bd17400b46a20a5322aeda01d | [
"BSL-1.0"
] | 3 | 2016-07-11T16:23:48.000Z | 2017-04-05T13:33:00.000Z | tests/pcg.cpp | bezout/LMA | 9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2 | [
"BSL-1.0"
] | 8 | 2015-12-21T01:52:27.000Z | 2017-12-26T02:26:55.000Z | #include <iostream>
#include <Eigen/IterativeLinearSolvers>
#include <libv/lma/lm/solver/solver.hpp>
#include <libv/lma/lm/solver/verbose.hpp>
using namespace Eigen;
void eigen_pcg(const Eigen::MatrixXd& m, const Eigen::VectorXd& jte)
{
std::cout << "\n\n EIGEN PCG " << std::endl;
size_t n = jte.size();
Vec... | 30.017544 | 128 | 0.582992 | bezout |
41c43815f08dfcce1dfc8a7c5283af6b5d86868c | 1,192 | cpp | C++ | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | /****************************************************************
Following is the class structure of the Node class:
class Node
{
public:
int data;
Node *next;
Node(int data)
{
this->data = data;
this->next = NULL;
}
... | 20.912281 | 96 | 0.491611 | ramchandra94 |
41c54e5b780ca813a5f0fb714cb50f1201459da1 | 2,048 | cpp | C++ | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | null | null | null | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | null | null | null | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | 2 | 2020-12-12T21:42:53.000Z | 2020-12-16T20:56:56.000Z | #define ANKERL_NANOBENCH_IMPLEMENT
#include "advent.hpp"
#include "util.hpp"
#include <functional>
#include "nanobench.h"
auto find_terms(std::vector<int> const& values, int n, int64_t sum, int64_t product = 1) -> std::optional<int64_t>
{
if (sum <= 0) {
return std::nullopt;
}
if (n == 2) {
... | 24.674699 | 114 | 0.532715 | foolnotion |
41cabad12060e31d5ed6f09edb760b87ef3c172e | 4,748 | cpp | C++ | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | null | null | null | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | null | null | null | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | 1 | 2018-07-17T11:50:42.000Z | 2018-07-17T11:50:42.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 28.261905 | 80 | 0.573926 | mjlsuccess |
41cd804d89e084684a7ce3bf8ca61961b62a2c80 | 170,444 | cpp | C++ | src/worklist-ai/worklistai.cpp | ChunghaSung/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 7 | 2018-01-18T05:04:10.000Z | 2021-02-07T02:46:48.000Z | src/worklist-ai/worklistai.cpp | sch8906/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 1 | 2021-12-15T07:45:03.000Z | 2021-12-30T04:54:49.000Z | src/worklist-ai/worklistai.cpp | sch8906/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 4 | 2019-11-21T19:36:12.000Z | 2022-03-30T14:07:29.000Z | /**
* Author: Chungha Sung
* This is modified version of Markus' source code of his FSE 2017 submission.
*
* Original Author: Markus Kusano
*
* LLVM pass to perform abstract interpretation (using apron)
*/
#include "llvm/Pass.h"
#include "latticefact.h"
#include "varvisit.h"
#include "bbops.h"
#include "utils.h... | 36.560275 | 104 | 0.590129 | ChunghaSung |
41ce91bf7c7e8bf7c72170131baddc803b82c39d | 2,122 | cpp | C++ | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | #include <KYEngine/Core.h>
#include <KYEngine/SceneTimelineInfo.h>
#include <KYEngine/Utility/TiXmlHelper.h>
#include <KYEngine/Private/AnimSceneActions/UpdateEntitiesAction.h>
#include <cmath>
#include <iostream>
#include <stdexcept>
const std::string UpdateEntitiesAction::XML_NODE = "update-entities";
UpdateEntiti... | 29.472222 | 119 | 0.707352 | heltena |
41d5e6fdf17048d5c977d867533b641d3d5b0f2f | 1,506 | cpp | C++ | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | null | null | null | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | null | null | null | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | 1 | 2020-06-29T14:42:24.000Z | 2020-06-29T14:42:24.000Z | #include "stdafx.h"
#include "HapticAssetTools.h"
#include "AssetToolsLibrary.h"
#define AS_TYPE(Type, Obj) reinterpret_cast<Type *>(Obj)
#define AS_CTYPE(Type, Obj) reinterpret_cast<const Type *>(Obj)
unsigned int NS_ASSETTOOLS_API NSAT_GetVersion(void)
{
return NS_ASSETTOOLS_VERSION;
}
int NSAT_IsCompatibleDLL(v... | 23.53125 | 129 | 0.790837 | HardlightVR |
41d621c72ebdc8325cb1780ec683d6060004089d | 578 | cpp | C++ | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | #include<stdio.h>
long long f[1000000];
int main()
{
int n;
long long sum=1,i=0;
while(sum<=1000000000)
{
f[i]=sum;
i++;
sum+=i;
}
scanf("%d",&n);
for(int i=0;i<n;i++)
{
int temp;
scanf("%d",&temp);
for(int j=0;j<=44721;j++)
... | 15.210526 | 33 | 0.313149 | PIPIKAI |
41d78e97494757744c4c1321b744ac7dea15b3ec | 2,771 | cpp | C++ | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <chrono>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <numbers>
#include "Solvers.h"
using vec2 = mth::vec2<double>;
namespace
{
static constexpr double TO = 4;
static constexpr double STEP = 1;
void error_callback(int error, char const*... | 17.537975 | 80 | 0.568387 | kp2pml30 |
41da1889fcd6a6f0b9e493676c03fa5ab2d3835b | 462 | cpp | C++ | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | 3 | 2020-10-08T19:55:33.000Z | 2021-11-28T04:02:39.000Z | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | null | null | null | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | null | null | null | #include "TechnicPage.h"
#include "ui_TechnicPage.h"
#include "PolycraftLauncher.h"
#include "dialogs/NewInstanceDialog.h"
TechnicPage::TechnicPage(NewInstanceDialog* dialog, QWidget *parent)
: QWidget(parent), ui(new Ui::TechnicPage), dialog(dialog)
{
ui->setupUi(this);
}
TechnicPage::~TechnicPage()
{
d... | 17.111111 | 68 | 0.718615 | StephenGss |
41da2a660915e34383118a58e3bb474392502bab | 559 | cc | C++ | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 40 | 2017-05-16T06:10:51.000Z | 2021-09-02T01:06:37.000Z | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 12 | 2017-06-11T09:42:02.000Z | 2020-10-11T23:46:31.000Z | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 8 | 2017-05-16T03:44:53.000Z | 2020-10-11T22:01:17.000Z |
#include "rocksdb/rate_limiter.h"
#include "rocks/ctypes.hpp"
using namespace ROCKSDB_NAMESPACE;
using std::shared_ptr;
extern "C" {
// FIXME: leaks a ointer size
rocks_ratelimiter_t* rocks_ratelimiter_create(int64_t rate_bytes_per_sec, int64_t refill_period_us, int32_t fairness) {
rocks_ratelimiter_t* rate_lim... | 26.619048 | 119 | 0.810376 | sezaru |
41de11a203843e20f35ac3606529553f96bc13be | 10,117 | cpp | C++ | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-07-26T01:30:45.000Z | 2020-07-26T01:30:45.000Z | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | /* PureBasic Engine3D licence
* --------------------------
*
* MIT License
*
* Copyright (c) 2017 Jerome Ortali
*
* 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,... | 43.607759 | 142 | 0.560443 | JeromeOrtali |
41de92bde3868e46c194e39ac673bf598bf0779c | 428 | cpp | C++ | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "uuid.hpp"
namespace {
TEST(global, round_trip) {
std::string res = get_uuid();
const std::string hex_chars("0123456789ABCDEF");
for (uint cntr = 0; cntr < 36; cntr++) {
if ((cntr == 8) || (cntr == 13) || (cntr == 18) || (cntr == 23)) {
EXPECT_EQ('-', res[... | 23.777778 | 72 | 0.535047 | hannes-hochreiner |
41e8203349475f9d718126d436f3a11dffdb162f | 241 | cc | C++ | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main () {
int f,c;
cin >> f >> c;
char num;
int total=0;
for (int i=0;i<f;i++) {
for (int j=0;j<c;j++) {
char num;
cin >> num;
total+=num-'0';
}
}
cout << total << endl;
} | 12.684211 | 25 | 0.506224 | angelgomezsa |
41ea65811bb6146c803676737fbd885795f7c6f3 | 2,551 | cpp | C++ | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 2 | 2017-10-29T06:43:05.000Z | 2020-03-27T10:27:07.000Z | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | null | null | null | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 5 | 2016-02-06T11:01:51.000Z | 2019-03-18T13:56:00.000Z | //====================================================================================
//Plane.cpp : plane geometry implementation
//
//This code is part of Anubis Engine.
//
//Anubis Engine is a free game engine created as a fan project to be
//awesome platform for developing games!
//
//All sources can be found here:... | 38.074627 | 95 | 0.696198 | Solidstatewater |
41ea950f7b9ac6e2bac86adbe53fc136929102de | 7,308 | cpp | C++ | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 1 | 2015-11-13T10:37:35.000Z | 2015-11-13T10:37:35.000Z | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 19 | 2015-02-10T17:18:58.000Z | 2015-07-11T11:31:08.000Z | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | null | null | null | #include <configure/bind.hpp>
#include <configure/bind/path_utils.hpp>
#include <configure/Filesystem.hpp>
#include <configure/lua/State.hpp>
#include <configure/lua/Type.hpp>
#include <configure/Node.hpp>
#include <configure/bind/path_utils.hpp>
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
na... | 28.107692 | 108 | 0.65613 | hotgloupi |
41efaa24e2497e3bdc45dbe10b8f861a9b3648fc | 1,107 | hpp | C++ | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | /*
* Map.hpp
*
* Created on: 18 giu 2016
* Author: adileobarone
*
* La mappa è composta solo da stanze, non si deve occupare degli oggetti che ci sono sopra,
* poichè sono altre entità gestite da altre classi, l'unico link che c'è è quello che ogni oggetto
* punta a una posizione della mappa in cui si ... | 18.147541 | 100 | 0.671183 | adileo |
41f05244117e51ea6259db2cd44c2f9a70cb4313 | 2,438 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
//<Snippet2>
// Example of the Buffer::SetByte method.
using namespace System;
// Display the array contents in hexadecimal.
void DisplayArray( Array^ arr, String^ name )
{
// Get the array element width; format the formatting string.
int elemWidth = Buffer::ByteLength( arr ) / arr->Length;
St... | 33.861111 | 72 | 0.647252 | hamarb123 |
41f3e35c912ccd2bfb382622751e1763fe19ad24 | 1,528 | cpp | C++ | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 7 | 2019-03-20T10:06:21.000Z | 2022-01-06T14:54:47.000Z | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 1 | 2019-07-30T07:10:37.000Z | 2019-07-30T07:10:37.000Z | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 4 | 2019-08-09T07:31:07.000Z | 2022-02-13T07:13:40.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "BlurFilter.h"
// NaÏve gaussian blur impl
bool UBlurFilter::ModifyHeightMap(TArray<uint16>* RawHeightMapData, FBounds Bounds, FRandomStream* RandomStream)
{
for (int32 j = Bounds.MinY; j <= Bounds.MaxY; j++)
{
for (int32 i = ... | 39.179487 | 138 | 0.690445 | McOmghall |
41f4297d1caf636432a0ca6c9633ab506544f07b | 333 | cpp | C++ | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | 5 | 2019-06-14T16:36:31.000Z | 2020-05-01T06:20:35.000Z | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | null | null | null | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | null | null | null | #include "examples/hello/hello_world_lib.h"
#include "glog/logging.h"
namespace hello {
bool print (proto::Hello hello_pb) {
LOG(INFO) << "Hello world!";
if (!hello_pb.extra_message().empty()) {
LOG(INFO) << hello_pb.extra_message();
}
usleep(1000000);
return !hello_pb.extra_message().emp... | 19.588235 | 45 | 0.642643 | juugcatm |
41f4c066d8701e14e1ac7a4bbc7d3161b2a7e9de | 5,401 | cpp | C++ | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | #include <interrupts/panic.h>
#include <scheduling/scheduler/scheduler.h>
#include <renderer/renderer2D.h>
#include <renderer/point.h>
#include <driver/serial.h>
#include <config.h>
#include <stdio.h>
#include <disassembler.h>
using namespace interrupts;
Panic::Panic(int intr) {
this->intr = intr;
this->panic ... | 31.04023 | 153 | 0.68154 | LipkeGu1810 |
41f820e985264fff1bec67755323714b98ad8f08 | 2,520 | cc | C++ | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 127 | 2017-11-01T01:28:28.000Z | 2021-03-18T05:12:21.000Z | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 2 | 2017-10-20T01:16:49.000Z | 2018-11-04T02:36:53.000Z | // Rama Simulator, Copyright (C) 2014-2020 Russell Smith.
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// T... | 30 | 80 | 0.668254 | teenylasers |
41f89a007b72f7b12b342c22a9fa4c3c7d19fd41 | 3,704 | cpp | C++ | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | 12 | 2015-09-09T07:05:27.000Z | 2020-12-27T12:52:28.000Z | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | null | null | null | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | 2 | 2016-10-23T05:23:20.000Z | 2020-09-17T22:01:33.000Z | #include "DHASLogging.h"
#include "Call.h"
#include <stdio.h>
#include "resip/dum/InviteSession.hxx"
#include "resip/dum/ClientInviteSession.hxx"
#include "AppDialogSetNotifySoundsEmptyCommand.h"
using namespace resip;
Call::Call(resip::DialogUsageManager &dum, ActionMachine* am):AppDialogSet(dum)
{
this->mpActi... | 21.287356 | 95 | 0.657127 | pdumais |
41fa432b5f2d2e2a90f3b00c8d094cbd16c7a44c | 3,517 | cpp | C++ | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 40 | 2017-11-26T05:29:18.000Z | 2020-11-13T00:29:26.000Z | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 101 | 2019-02-09T06:06:09.000Z | 2021-12-25T16:55:37.000Z | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 6 | 2017-01-03T14:17:58.000Z | 2021-01-22T10:37:04.000Z | #include <cassert>
#include <functional>
#include <algorithm>
using namespace std;
#include "avlTree.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <time.h>
#include <cassert>
#include <string>
#include <numeric>
#include <set>
#include <vector>
#include <iostream>
#incl... | 29.066116 | 83 | 0.473415 | bluedawnstar |
eedccf4ba5547f7e03ba807485b21e307c9e24cb | 9,465 | cpp | C++ | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | elen4/simbody | 3ddbc16323afa45b7698c38e07266a7de15e2ad2 | [
"Apache-2.0"
] | 2 | 2020-01-15T05:03:30.000Z | 2021-01-16T06:18:47.000Z | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | sohapouya/simbody | 3729532453b22ffa3693962210941184f5617f5b | [
"Apache-2.0"
] | null | null | null | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | sohapouya/simbody | 3729532453b22ffa3693962210941184f5617f5b | [
"Apache-2.0"
] | 1 | 2021-09-24T15:20:36.000Z | 2021-09-24T15:20:36.000Z | /* -------------------------------------------------------------------------- *
* Simbody(tm) Adhoc Test: Cable Over Bicubic Surfaces *
* -------------------------------------------------------------------------- *
* This is part of the SimTK biosimulation toolkit originating from *
... | 36.125954 | 108 | 0.609192 | elen4 |
eedff2bbd0219385c868326074ac9a8d18cea3b7 | 100,758 | cpp | C++ | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 1 | 2022-01-28T22:29:14.000Z | 2022-01-28T22:29:14.000Z | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 28 | 2021-08-31T09:27:36.000Z | 2022-03-17T13:57:56.000Z | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 5 | 2021-08-25T13:20:39.000Z | 2022-01-27T18:04:15.000Z | /* _ _
* _ __ ___ (_)_ __ | | __
* | '_ ` _ \| | '_ \| |/ /
* | | | | | | | | | | <
* |_| |_| |_|_|_| |_|_|\_\
*
* SPDX-License-Identifier: MIT
*
*/
#include <endian.h>
#include <errno.h>
#include <iomanip>
#include <gdt_utils.h>
bool gdt::ServiceParam::FRAGMENTATION_DONE = false;
bool gdt... | 37.180074 | 125 | 0.44981 | dfranusic |
eee054ddb45e98344a7c22275a544a0007ce30fe | 135 | cpp | C++ | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Hiro-KE/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | 11 | 2020-12-26T23:16:45.000Z | 2022-03-19T20:19:36.000Z | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Fukaidemon/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | null | null | null | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Fukaidemon/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | null | null | null | // KizuEngine Copyright (c) 2019 Jed Fakhfekh. This software is released under the MIT License.
#include "Core/Combat/KizuCombat.h"
| 22.5 | 95 | 0.762963 | Hiro-KE |
eee1135884b51f4dabc53219fbf7019ecb5d2e0e | 4,181 | cpp | C++ | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 28.442177 | 138 | 0.701746 | sinjoywong |
eee7b92440f44b6c9f6b37733489daef1568084a | 6,162 | hpp | C++ | include/eve/module/real/core/function/regular/generic/store.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/module/real/core/function/regular/generic/store.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/module/real/core/function/regular/generic/store.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 36.678571 | 118 | 0.540409 | the-moisrex |
eee80134cd760b89e821f29a1ee0ce616b0f6efa | 17,039 | cpp | C++ | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 2 | 2020-07-08T11:51:02.000Z | 2021-02-22T23:28:37.000Z | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 142 | 2020-08-31T13:21:17.000Z | 2021-09-15T18:46:10.000Z | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 3 | 2020-08-17T13:42:39.000Z | 2020-08-31T11:38:05.000Z | #include "MiniLua/table_functions.hpp"
#include "MiniLua/utils.hpp"
#include "MiniLua/values.hpp"
#include <algorithm>
#include <cmath>
#include <future>
#include <iostream>
#include <stdexcept>
#include <string>
#include <utility>
#include <variant>
#include <vector>
namespace minilua {
auto static try_value_is_int(V... | 39.810748 | 100 | 0.443453 | ThomasWitte |
eeea3c01c736a4561216e651168c651d59733849 | 404 | cpp | C++ | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | null | null | null | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | null | null | null | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | 2 | 2018-10-11T14:14:55.000Z | 2020-02-27T10:28:59.000Z | #include <string.h>
#include <stdio.h>
#include <conio.h>
int main()
{
char str[80];
const char s[2] = "-";
char *token;
clrscr();
printf("Enter String for tokenization: ");
gets(str);
token = strtok(str, s);
while( token != NULL )
{
printf( " %s\n", token ... | 15.538462 | 48 | 0.472772 | rohan-0100010110010100 |
eeec0d2d9fb95d6d0ebac8ebbbf46089ad41685d | 5,392 | cpp | C++ | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 37.186207 | 112 | 0.639837 | SGSSGene |
eeed81b675f735ef27211f8b2846f29330a02e90 | 790 | hpp | C++ | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 37.619048 | 89 | 0.770886 | ddr95070 |
eef3a5ff3595dbb69f895dd41ddbce2c6e07bfb1 | 627 | hpp | C++ | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | 6 | 2020-02-04T09:24:29.000Z | 2022-02-26T18:03:34.000Z | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | null | null | null | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | null | null | null | #ifndef ML_RIFFBASE_HPP
#define ML_RIFFBASE_HPP
#include <cstddef>
#include <cstdint>
#include <ios>
#include <memory>
#include "../Source/SourceBase.hpp"
class RIFFDirBase;
class RIFFBase {
public:
enum class Type {
Chunk,
List,
Root,
};
protected:
RIFFDirBase* parent;
public:
RIFFBase();
... | 15.292683 | 54 | 0.698565 | SegaraRai |
e102464f1c980633d4c3d101eac9f241350a931d | 9,180 | hh | C++ | Files.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | Files.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | Files.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | /* Files
PIRL CVS ID: $Id: Files.hh,v 1.11 2012/07/20 00:25:53 castalia Exp $
Copyright (C) 2006-2010 Arizona Board of Regents on behalf of the
Planetary Image Research Laboratory, Lunar and Planetary Laboratory at
the University of Arizona.
This program is free software; you can redistribute it and/or modify it
und... | 31.875 | 80 | 0.745425 | pirl-lpl |
e107816cc441feae31ebcc0b53c8c75dbd2d2510 | 917 | cpp | C++ | MMOCoreORB/src/server/zone/managers/ship/ShipManager.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/managers/ship/ShipManager.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/managers/ship/ShipManager.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* ShipManager.cpp
*
* Created on: 18/10/2013
* Author: victor
*/
#include "ShipManager.h"
#include "templates/manager/DataArchiveStore.h"
#include "templates/datatables/DataTableIff.h"
ShipManager::ShipManager() {
IffStream* iffStream = DataArchiveStore::instance()->openIffFile(
"datatables/space/sh... | 24.131579 | 135 | 0.704471 | V-Fib |
e1099f393270d8e22b6138229f7b141a3a5530fa | 519 | cpp | C++ | level_zero/tools/source/pin/pin.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | 1 | 2020-04-17T05:46:04.000Z | 2020-04-17T05:46:04.000Z | level_zero/tools/source/pin/pin.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | null | null | null | level_zero/tools/source/pin/pin.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "pin.h"
#include "level_zero/core/source/module/module.h"
#include "level_zero/source/inc/ze_intel_gpu.h"
namespace L0 {
static PinContext *PinContextInstance = nullptr;
void PinContext::init(ze_init_flag_t flag) {
... | 19.222222 | 62 | 0.691715 | dkjiang2018 |
e116b7a2bd41239b474ad1af82c50031b9e728cc | 9,656 | cpp | C++ | samples/gl-320-fbo-blit.cpp | galek/ogl-samples | 38cada7a9458864265e25415ae61586d500ff5fc | [
"MIT"
] | 571 | 2015-01-08T16:29:38.000Z | 2022-03-16T06:45:42.000Z | samples/gl-320-fbo-blit.cpp | galek/ogl-samples | 38cada7a9458864265e25415ae61586d500ff5fc | [
"MIT"
] | 45 | 2015-01-15T12:47:28.000Z | 2022-03-04T09:22:32.000Z | samples/gl-320-fbo-blit.cpp | galek/ogl-samples | 38cada7a9458864265e25415ae61586d500ff5fc | [
"MIT"
] | 136 | 2015-01-31T15:24:57.000Z | 2022-02-17T19:26:24.000Z | #include "test.hpp"
namespace
{
char const* VERT_SHADER_SOURCE("gl-320/fbo-blit.vert");
char const* FRAG_SHADER_SOURCE("gl-320/fbo-blit.frag");
char const* TEXTURE_DIFFUSE("kueken7_rgba8_srgb.dds");
glm::ivec2 const FRAMEBUFFER_SIZE(512, 512);
struct vertex
{
vertex
(
glm::vec2 const & Position,
glm::... | 29.710769 | 136 | 0.727527 | galek |
e11b11ad7daa7984011f9478308fbad2234acda0 | 424 | hpp | C++ | include/skyr/v2/unicode/ranges/sentinel.hpp | BioDataAnalysis/url | 281501b0fdf00b52eeb114f6856a9a83004d204e | [
"BSL-1.0"
] | 47 | 2019-08-24T13:43:45.000Z | 2022-02-21T11:45:19.000Z | include/skyr/v2/unicode/ranges/sentinel.hpp | BioDataAnalysis/url | 281501b0fdf00b52eeb114f6856a9a83004d204e | [
"BSL-1.0"
] | 35 | 2018-10-13T10:35:00.000Z | 2021-06-11T12:23:55.000Z | include/skyr/v2/unicode/ranges/sentinel.hpp | BioDataAnalysis/url | 281501b0fdf00b52eeb114f6856a9a83004d204e | [
"BSL-1.0"
] | 25 | 2019-02-19T02:46:21.000Z | 2021-10-21T14:53:00.000Z | // Copyright 2020 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SKYR_V2_UNICODE_RANGES_SENTINEL_HPP
#define SKYR_V2_UNICODE_RANGES_SENTINEL_HPP
namespace skyr::inline v2::unicode {
clas... | 30.285714 | 61 | 0.787736 | BioDataAnalysis |
e11b5643056209ff627e1d9744991e3476a518c0 | 614 | cpp | C++ | SourceCode/Chapter 15/GradedActivity Version 1/Pr15-1.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | 1 | 2019-04-09T18:29:38.000Z | 2019-04-09T18:29:38.000Z | SourceCode/Chapter 15/GradedActivity Version 1/Pr15-1.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | null | null | null | SourceCode/Chapter 15/GradedActivity Version 1/Pr15-1.cpp | aceiro/poo2019 | 0f93d22296f43a8b024a346f510c00314817d2cf | [
"MIT"
] | null | null | null | // This program demonstrates the GradedActivity class.
#include <iostream>
#include "GradedActivity.h"
using namespace std;
int main()
{
double testScore; // To hold a test score
// Create a GradedActivity object for the test.
GradedActivity test;
// Get a numeric test score from the user.
cout... | 24.56 | 54 | 0.659609 | aceiro |
e125f5c785a485c804fce2c96ffe04b7dfd90908 | 1,270 | cpp | C++ | MemoryzeUM/TCPEndpoint.cpp | allewwaly/dementia-forensics | 401423fd8ba4f4d2b6dbec461df2eb18f33ac734 | [
"MIT"
] | 9 | 2018-08-20T03:06:07.000Z | 2021-06-14T14:46:43.000Z | MemoryzeUM/TCPEndpoint.cpp | zignie/dementia-forensics | 201a10faa17f2d406073d29e9cb5385b30c405f8 | [
"MIT"
] | null | null | null | MemoryzeUM/TCPEndpoint.cpp | zignie/dementia-forensics | 201a10faa17f2d406073d29e9cb5385b30c405f8 | [
"MIT"
] | 2 | 2017-08-02T02:33:31.000Z | 2017-09-03T17:56:33.000Z | #include "StdAfx.h"
#include "TCPEndpoint.h"
TCPEndpoint::TCPEndpoint(const DWORD dwPoolHeaderSize)
{
// initialize object name and tag
m_szObjName = "TCP_ENDPOINT";
m_dwTag = 0x45706354;
m_dwPoolHeaderSize = dwPoolHeaderSize;
// initialize default offset
SetDefaultOffsetsAndSizes();
}
TCPEndpoin... | 21.166667 | 55 | 0.692913 | allewwaly |
e12663c852c4dc04e585c68031d8e49fe158d4e8 | 651 | hpp | C++ | Axis.Core/services/management/UserModuleProxy.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Core/services/management/UserModuleProxy.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Core/services/management/UserModuleProxy.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #pragma once
#include "ProviderProxy.hpp"
namespace axis { namespace services { namespace management {
class UserModuleProxy : public ProviderProxy
{
public:
UserModuleProxy(Provider& provider, bool isNonVolatile);
virtual ~UserModuleProxy(void);
virtual bool IsBootstrapModule(void) const;
virtual bool IsNonVolat... | 27.125 | 60 | 0.786482 | renato-yuzup |
e12f8806969adebcb4a575491bc4fb1a3a84fee0 | 49 | hpp | C++ | src/boost_hana_ext_boost_fusion_deque.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_hana_ext_boost_fusion_deque.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_hana_ext_boost_fusion_deque.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/hana/ext/boost/fusion/deque.hpp>
| 24.5 | 48 | 0.77551 | miathedev |
e131216988b37083b126bed680cfaa1b401e4336 | 1,030 | cpp | C++ | src/client/Country.cpp | john-fotis/SysPro2 | d403493ddad4c962353ecc8b41a7cf20e3759b09 | [
"MIT"
] | 1 | 2021-08-20T11:19:49.000Z | 2021-08-20T11:19:49.000Z | src/client/Country.cpp | john-fotis/SysPro2 | d403493ddad4c962353ecc8b41a7cf20e3759b09 | [
"MIT"
] | null | null | null | src/client/Country.cpp | john-fotis/SysPro2 | d403493ddad4c962353ecc8b41a7cf20e3759b09 | [
"MIT"
] | null | null | null | #include "include/Country.hpp"
Country::Country(const Country &country) {
if (this == &country) return;
name.clear();
name.assign(country.getName());
}
Country &Country::operator=(const Country &country) {
if (this == &country) return *this;
name.clear();
name.assign(country.getName());
re... | 23.953488 | 68 | 0.639806 | john-fotis |
e1314ee536e7cfa437acc31cba31ad4953e63749 | 2,130 | cpp | C++ | configuration/HttpdConf.cpp | Peter408/webServer | 84d7fefd85a3fcbba44c9905d6d1c5c61ff58b61 | [
"MIT"
] | null | null | null | configuration/HttpdConf.cpp | Peter408/webServer | 84d7fefd85a3fcbba44c9905d6d1c5c61ff58b61 | [
"MIT"
] | null | null | null | configuration/HttpdConf.cpp | Peter408/webServer | 84d7fefd85a3fcbba44c9905d6d1c5c61ff58b61 | [
"MIT"
] | null | null | null | #include "HttpdConf.hpp"
#include <iostream>
#include <sstream>
#include <algorithm>
HttpdConf::HttpdConf(std::string fileName) : ConfigurationReader(fileName) {
createDispatch();
}
void HttpdConf::load() {
while(hasMoreLines()) {
std::istringstream iss(nextLine());
std::vector<std::string> t... | 28.783784 | 83 | 0.577465 | Peter408 |
e1349809eb1e25d31982e9c4b985c4543d109a1f | 5,516 | cpp | C++ | pop/src/commands/ScheduleRetryCommand.cpp | webOS-ports/mojomail | 49358ac2878e010f5c6e3bd962f047c476c11fc3 | [
"Apache-2.0"
] | 6 | 2015-01-09T02:20:27.000Z | 2021-01-02T08:14:23.000Z | mojomail/pop/src/commands/ScheduleRetryCommand.cpp | openwebos/app-services | 021d509d609fce0cb41a0e562650bdd1f3bf4e32 | [
"Apache-2.0"
] | 3 | 2019-05-11T19:17:56.000Z | 2021-11-24T16:04:36.000Z | mojomail/pop/src/commands/ScheduleRetryCommand.cpp | openwebos/app-services | 021d509d609fce0cb41a0e562650bdd1f3bf4e32 | [
"Apache-2.0"
] | 6 | 2015-01-09T02:21:13.000Z | 2021-01-02T02:37:10.000Z | // @@@LICENSE
//
// Copyright (c) 2009-2013 LG Electronics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... | 31.701149 | 120 | 0.759608 | webOS-ports |
e1380090e5e4c8865b84376be2e656aee9792197 | 935 | hpp | C++ | include/hydro/parser/__ast/ParamDecl.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/parser/__ast/ParamDecl.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/parser/__ast/ParamDecl.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 23.974359 | 122 | 0.516578 | hydraate |
e13869e260aa5e30185c4fcd0ae77230901e373a | 2,128 | cpp | C++ | Phase 1 Placement Specific/11. Strings/basic_functions.cpp | priyanshd2510/CPP-DSA | 00f5d1018ae2bd4e3d9c20a8b9d06c8ea862190f | [
"Apache-2.0"
] | 42 | 2021-01-03T17:54:59.000Z | 2022-03-26T15:57:01.000Z | Phase 1 Placement Specific/11. Strings/basic_functions.cpp | sauhard2701/CPP-DSA | 1e9202c7b6a15e13aff9edd9220f362e0d84abc6 | [
"Apache-2.0"
] | 26 | 2021-04-05T07:54:21.000Z | 2021-12-10T07:35:39.000Z | Phase 1 Placement Specific/11. Strings/basic_functions.cpp | sauhard2701/CPP-DSA | 1e9202c7b6a15e13aff9edd9220f362e0d84abc6 | [
"Apache-2.0"
] | 56 | 2020-12-24T17:06:33.000Z | 2022-02-06T18:21:33.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
string str,str1,str2,s; // zero based indexing
string sr (6,'0'); // create a string of "aaaaaa"
cout<<sr<<endl;
getline(cin,s); //input a string with spaces
cout<<s<<endl;
//append or add or concatenate 2 strings
str1 = "worry... | 25.638554 | 107 | 0.590226 | priyanshd2510 |
e1388f6a440d029ab35a4e15c1744e8399d033c3 | 1,761 | cpp | C++ | src/PointVisual.cpp | StevenHong/dwl-rviz-plugin | 61b4f70408873dc67712eb6c3afed2e5e3e024ae | [
"BSD-3-Clause"
] | 10 | 2018-02-07T09:50:25.000Z | 2021-01-24T08:30:03.000Z | src/PointVisual.cpp | StevenHong/dwl-rviz-plugin | 61b4f70408873dc67712eb6c3afed2e5e3e024ae | [
"BSD-3-Clause"
] | 1 | 2022-02-11T10:08:51.000Z | 2022-02-11T10:08:51.000Z | src/PointVisual.cpp | StevenHong/dwl-rviz-plugin | 61b4f70408873dc67712eb6c3afed2e5e3e024ae | [
"BSD-3-Clause"
] | 4 | 2018-03-15T10:28:01.000Z | 2022-02-10T21:38:43.000Z | #include <OgreVector3.h>
#include <OgreSceneNode.h>
#include <OgreSceneManager.h>
#include <rviz/ogre_helpers/shape.h>
#include <dwl_rviz_plugin/PointVisual.h>
namespace dwl_rviz_plugin
{
PointVisual::PointVisual(Ogre::SceneManager* scene_manager,
Ogre::SceneNode* parent_node) : radius_(0.)
{
scene_manager_... | 24.123288 | 92 | 0.75071 | StevenHong |
e138a542414962863139e1abdaec88cfcdbae984 | 4,038 | cpp | C++ | src/TestMushMesh/TestMushMeshApp.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 9 | 2020-11-02T17:20:40.000Z | 2021-12-25T15:35:36.000Z | src/TestMushMesh/TestMushMeshApp.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 2 | 2020-06-27T23:14:13.000Z | 2020-11-02T17:28:32.000Z | src/TestMushMesh/TestMushMeshApp.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 1 | 2021-05-12T23:05:42.000Z | 2021-05-12T23:05:42.000Z | //%Header {
/*****************************************************************************
*
* File: src/TestMushMesh/TestMushMeshApp.cpp
*
* Copyright: Andy Southgate 2002-2007, 2020
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation ... | 28.237762 | 78 | 0.655275 | mushware |
e13da52398e3eaa5474ae908429a93b784ce55fd | 4,011 | cpp | C++ | src/Window.cpp | PurpleAzurite/starter_project | 9503bc689ec93bc21797e24bd9abb33bca75c140 | [
"Apache-2.0"
] | null | null | null | src/Window.cpp | PurpleAzurite/starter_project | 9503bc689ec93bc21797e24bd9abb33bca75c140 | [
"Apache-2.0"
] | null | null | null | src/Window.cpp | PurpleAzurite/starter_project | 9503bc689ec93bc21797e24bd9abb33bca75c140 | [
"Apache-2.0"
] | null | null | null | // clang-format off
#include "Window.h"
#include "Events/KeyEvents.h"
#include "Events/WindowEvents.h"
#include "Events/MouseEvents.h"
#include <utility>
// clang-format on
namespace Engine {
Window::Window(WindowProps props)
: m_data(std::move(props))
{
glfwSetErrorCallback(
[](int code, const char* ... | 28.446809 | 102 | 0.614061 | PurpleAzurite |
e13fa352ee2c1942e4a613b79cb77cfca27e2f54 | 747 | cpp | C++ | algorithms/convert-sorted-array-to-binary-search-tree.cpp | jlygit/leetcode-oj | 66718f709b31ef0e7e091638d95418a5543019b4 | [
"Apache-2.0"
] | 1 | 2016-08-10T11:17:16.000Z | 2016-08-10T11:17:16.000Z | algorithms/convert-sorted-array-to-binary-search-tree.cpp | jlygit/leetcode-oj | 66718f709b31ef0e7e091638d95418a5543019b4 | [
"Apache-2.0"
] | null | null | null | algorithms/convert-sorted-array-to-binary-search-tree.cpp | jlygit/leetcode-oj | 66718f709b31ef0e7e091638d95418a5543019b4 | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* makeBST(vector<int>& nums,int start,int end) {
if(start>end) retu... | 26.678571 | 61 | 0.504685 | jlygit |
e1469b32e8c62fadac53e74a7b2300ede6a67de3 | 332 | cpp | C++ | higan/sfc/slot/sufamiturbo/sufamiturbo.cpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | higan/sfc/slot/sufamiturbo/sufamiturbo.cpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | higan/sfc/slot/sufamiturbo/sufamiturbo.cpp | libretro-mirrors/higan | 8617711ea2c201a33442266945dc7ed186e9d695 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #include <sfc/sfc.hpp>
namespace SuperFamicom {
#include "serialization.cpp"
SufamiTurboCartridge sufamiturboA;
SufamiTurboCartridge sufamiturboB;
auto SufamiTurboCartridge::unload() -> void {
rom.reset();
ram.reset();
}
auto SufamiTurboCartridge::power() -> void {
rom.writeProtect(true);
ram.writeProtect(f... | 16.6 | 45 | 0.740964 | mp-lee |
e1481756e08e3a1d063417af62918508e7a6b072 | 4,528 | cpp | C++ | streambox/test/test-common.cpp | wzhao18/StreamBox | 134b7445feca76a44ec3b183a60a270c46e6c067 | [
"BSD-2-Clause"
] | 1 | 2022-03-22T00:01:40.000Z | 2022-03-22T00:01:40.000Z | streambox/test/test-common.cpp | wzhao18/StreamBox | 134b7445feca76a44ec3b183a60a270c46e6c067 | [
"BSD-2-Clause"
] | null | null | null | streambox/test/test-common.cpp | wzhao18/StreamBox | 134b7445feca76a44ec3b183a60a270c46e6c067 | [
"BSD-2-Clause"
] | null | null | null | #include <stdio.h>
#include "log.h"
#include "config.h"
void print_config()
{
printf("config:\n");
#ifdef USE_NUMA_TP
xzl_show_define(USE_NUMA_TP);
#else
xzl_show_undefine(USE_NUMA_TP);
#endif
#ifdef USE_TBB_DS
xzl_show_define(USE_TBB_DS)
#else
xzl_show_undefine(USE_TBB_DS)
#endif
#ifdef USE_FOLLY_VECTOR
xzl_... | 23.706806 | 93 | 0.71091 | wzhao18 |
e1495da8c7f366f6d71aef71335b52b982ef4647 | 5,704 | hpp | C++ | Lodestar/blocks/std/SwitchBlock.hpp | helkebir/Lodestar | 6b325d3e7a388676ed31d44eac1146630ee4bb2c | [
"BSD-3-Clause"
] | 4 | 2020-06-05T14:08:23.000Z | 2021-06-26T22:15:31.000Z | Lodestar/blocks/std/SwitchBlock.hpp | helkebir/Lodestar | 6b325d3e7a388676ed31d44eac1146630ee4bb2c | [
"BSD-3-Clause"
] | 2 | 2021-06-25T15:14:01.000Z | 2021-07-01T17:43:20.000Z | Lodestar/blocks/std/SwitchBlock.hpp | helkebir/Lodestar | 6b325d3e7a388676ed31d44eac1146630ee4bb2c | [
"BSD-3-Clause"
] | 1 | 2021-06-16T03:15:23.000Z | 2021-06-16T03:15:23.000Z | //
// Created by Hamza El-Kebir on 12/23/21.
//
#ifndef LODESTAR_SWITCHBLOCK_HPP
#define LODESTAR_SWITCHBLOCK_HPP
#include "Lodestar/blocks/Block.hpp"
namespace ls {
namespace blocks {
namespace std {
enum class SwitchBlockParameter {
Parametric,
AdditionalInpu... | 30.179894 | 87 | 0.389376 | helkebir |
e14f78db2d2505de8d1a834e9550e18686244508 | 684 | cc | C++ | src/base/b3BaseInclude.cc | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/base/b3BaseInclude.cc | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/base/b3BaseInclude.cc | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | 1 | 2022-01-07T15:58:38.000Z | 2022-01-07T15:58:38.000Z | /*
**
** $Filename: b3BaseInclude.cc $
** $Release: Dortmund 2006 $
** $Revision$
** $Date$
** $Author$
** $Developer: Steffen A. Mork $
**
** Blizzard III - Precompiled header file for base package
**
** (C) Copyright 2006 Steffen A. Mork
** All Rights Reserved
**
**
**
*/
/**************************************... | 26.307692 | 74 | 0.307018 | stmork |
e14fc29fc5053933822bf210b520d3830303d77c | 8,476 | hpp | C++ | include/hermite_multidimensional.hpp | maliasadi/thewalrus | 719cdcc4791579d3f6d45fcc8fb41372989dec85 | [
"Apache-2.0"
] | null | null | null | include/hermite_multidimensional.hpp | maliasadi/thewalrus | 719cdcc4791579d3f6d45fcc8fb41372989dec85 | [
"Apache-2.0"
] | null | null | null | include/hermite_multidimensional.hpp | maliasadi/thewalrus | 719cdcc4791579d3f6d45fcc8fb41372989dec85 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Xanadu Quantum Technologies Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law ... | 31.161765 | 123 | 0.591317 | maliasadi |
e150fcc7c4dd87b2dcce117127aeeccf639d7f1b | 242 | cpp | C++ | 556-next-greater-element-iii/556-next-greater-element-iii.cpp | arihantthriwe/CompetitiveProgramming | 0e923ea965cc1b75cb97e766e61345c8b939f41a | [
"MIT"
] | 1 | 2022-02-25T12:22:31.000Z | 2022-02-25T12:22:31.000Z | 556-next-greater-element-iii/556-next-greater-element-iii.cpp | arihantthriwe/CompetitiveProgramming | 0e923ea965cc1b75cb97e766e61345c8b939f41a | [
"MIT"
] | null | null | null | 556-next-greater-element-iii/556-next-greater-element-iii.cpp | arihantthriwe/CompetitiveProgramming | 0e923ea965cc1b75cb97e766e61345c8b939f41a | [
"MIT"
] | null | null | null | class Solution {
public:
int nextGreaterElement(int n) {
auto digits = to_string(n);
next_permutation(digits.begin(), digits.end());
auto x = stoll(digits);
return (x > INT_MAX || x <= n) ? -1 : x;
}
}; | 26.888889 | 55 | 0.553719 | arihantthriwe |
e15153e746078c2bd6ea3c69ad4e68d0701b02e4 | 1,738 | cpp | C++ | cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/welford_covar_estimator_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/welford_covar_estimator_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/fun/welford_covar_estimator_test.cpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/prim/mat.hpp>
#include <gtest/gtest.h>
TEST(ProbWelfordCovarEstimator, restart) {
const int n = 10;
Eigen::VectorXd q = Eigen::VectorXd::Ones(n);
const int n_learn = 10;
stan::math::welford_covar_estimator estimator(n);
for (int i = 0; i < n_learn; ++i)
estimator.add_sampl... | 20.690476 | 56 | 0.622555 | yizhang-cae |
e1589aef5d6807d3e1a5a53dabb71021de0e4fa1 | 7,708 | cpp | C++ | src/prod/src/Reliability/Failover/ra/Test.Unit.LocalFailoverUnitMap.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Reliability/Failover/ra/Test.Unit.LocalFailoverUnitMap.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Reliability/Failover/ra/Test.Unit.LocalFailoverUnitMap.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using na... | 26.763889 | 153 | 0.730929 | AnthonyM |
e15aae3934814b00d9afe2a4b4786b82c12d7eac | 620 | cpp | C++ | Archivos/Estado_archivo.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | Archivos/Estado_archivo.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | Archivos/Estado_archivo.cpp | memo0p2/Programas-cpp | f78f283886e478be12b3636992dbf922199ae5f1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
using namespace std;
int main(){
/***** ESTADO DEl ARCHIVO *****/
/**
bad() -> Cuando no tenemos permiso. Cuando no hay espacio. Cuando no existe el archivo
fail() -> Error de formato (tratas de leer int y solo encuentras un char).
eof() ... | 25.833333 | 96 | 0.55 | memo0p2 |
e15bba1dfdedc6d7b7780a2031950d8e5876bfc8 | 4,000 | cpp | C++ | src/picotorrent/ui/dialogs/addmagnetlinkdialog.cpp | theRealBaccata/picotorrent | 5baad13e44d15cc5e79da9e947b0e91781cd9e76 | [
"MIT"
] | 2,015 | 2015-07-05T23:00:19.000Z | 2022-03-30T12:42:27.000Z | src/picotorrent/ui/dialogs/addmagnetlinkdialog.cpp | ryahpalma/picotorrent | 68526dcbb9a84fe8155185b0cf4fd43f4cc196a2 | [
"MIT"
] | 740 | 2015-08-14T22:03:55.000Z | 2022-03-24T22:06:55.000Z | src/picotorrent/ui/dialogs/addmagnetlinkdialog.cpp | ryahpalma/picotorrent | 68526dcbb9a84fe8155185b0cf4fd43f4cc196a2 | [
"MIT"
] | 282 | 2015-07-02T21:47:13.000Z | 2022-03-11T15:43:26.000Z | #include "addmagnetlinkdialog.hpp"
#include <regex>
#include <boost/log/trivial.hpp>
#include <libtorrent/magnet_uri.hpp>
#include <wx/clipbrd.h>
#include <wx/tokenzr.h>
#include "../translator.hpp"
namespace lt = libtorrent;
using pt::UI::Dialogs::AddMagnetLinkDialog;
AddMagnetLinkDialog::AddMagnetLinkDialog(wxWi... | 29.62963 | 130 | 0.59275 | theRealBaccata |
e15d5b35691e8502febb5bfa388ae2b36c8a3cc0 | 557 | cpp | C++ | src/sources/AWLdict.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 5 | 2019-03-04T08:47:52.000Z | 2022-01-28T12:53:55.000Z | src/sources/AWLdict.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 3 | 2019-02-22T05:41:49.000Z | 2020-03-16T13:37:23.000Z | src/sources/AWLdict.cpp | Amuwa/TeXpen | d0d7ae74463f88980beb8ceb2958182ac2df021e | [
"MIT"
] | 7 | 2019-02-22T06:04:13.000Z | 2022-01-28T12:54:15.000Z | #include "headers/mainwindow.h"
#include "headers/qtexedit.h"
#include <QString>
#include <QFile>
QStringList AWL;
void setupAWL(){
if(AWL.isEmpty()){
QFile file (":/AWL/awl.txt");
file.open(QIODevice::ReadOnly);
QString word = QString::fromUtf8(file.readLine());
while((!word.isEmp... | 23.208333 | 58 | 0.526032 | Amuwa |
ff150290b708a3924ca3f60eebacf1d51cf58974 | 2,742 | cpp | C++ | Source/Engine/ImageBasedLightingTechnique.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 14 | 2020-02-12T19:13:46.000Z | 2022-03-05T02:26:06.000Z | Source/Engine/ImageBasedLightingTechnique.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 5 | 2020-08-06T07:19:47.000Z | 2021-01-05T21:20:51.000Z | Source/Engine/ImageBasedLightingTechnique.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 2 | 2021-09-18T13:36:47.000Z | 2021-12-04T15:08:53.000Z | #include "Engine/ImageBasedLightingTechnique.hpp"
#include "Engine/Engine.hpp"
#include "Engine/DefaultResourceSlots.hpp"
#include "Core/Executor.hpp"
#include "Core/Profiling.hpp"
DeferredImageBasedLightingTechnique::DeferredImageBasedLightingTechnique(RenderEngine* eng, RenderGraph& graph) :
Technique("GlobalIB... | 50.777778 | 153 | 0.736689 | glowing-chemist |
ff1bc95a9befd8c02e3b5f8bb5a65ccfeeb4cca6 | 5,636 | cpp | C++ | src/plugins/azoth/importmanager.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/azoth/importmanager.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/azoth/importmanager.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 27.227053 | 85 | 0.648155 | Maledictus |
ff1fc5df7f4b9f9b140ff2e8a484776cb0e3a6bc | 5,382 | cpp | C++ | examples/lapack-like/SkewHermitianEig.cpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | examples/lapack-like/SkewHermitianEig.cpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | examples/lapack-like/SkewHermitianEig.cpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
// NOTE: It is possible to simply include "elemental.hp... | 36.612245 | 80 | 0.580639 | ahmadia |
ff20f8da8e0bb40b1dd071d3e8f550fd4dd2335d | 18,857 | cpp | C++ | src/orm/query/grammars/grammar.cpp | MrAhmedSayedAli/TinyORM | f185e76cfa955475df9b807c3e7ecaa4c20989c0 | [
"MIT"
] | 4 | 2021-07-07T01:21:34.000Z | 2022-02-01T01:38:24.000Z | src/orm/query/grammars/grammar.cpp | MrAhmedSayedAli/TinyORM | f185e76cfa955475df9b807c3e7ecaa4c20989c0 | [
"MIT"
] | 2 | 2022-03-04T10:57:15.000Z | 2022-03-26T17:10:28.000Z | src/orm/query/grammars/grammar.cpp | MrAhmedSayedAli/TinyORM | f185e76cfa955475df9b807c3e7ecaa4c20989c0 | [
"MIT"
] | 2 | 2021-08-10T01:31:31.000Z | 2022-03-04T10:37:42.000Z | #include "orm/query/grammars/grammar.hpp"
#include "orm/databaseconnection.hpp"
#include "orm/macros/likely.hpp"
#include "orm/query/joinclause.hpp"
TINYORM_BEGIN_COMMON_NAMESPACE
namespace Orm::Query::Grammars
{
QString Grammar::compileSelect(QueryBuilder &query) const
{
/* If the query does not have any colum... | 34.099458 | 188 | 0.659808 | MrAhmedSayedAli |
ff2124babab6b9c1c6734feb66c531de585a0f08 | 3,082 | cpp | C++ | src/vsg/vk/Sampler.cpp | XenonofArcticus/VulkanSceneGraphPrototype | 2118ff8deb1078625bd09d4435757fdf346dffb7 | [
"MIT"
] | null | null | null | src/vsg/vk/Sampler.cpp | XenonofArcticus/VulkanSceneGraphPrototype | 2118ff8deb1078625bd09d4435757fdf346dffb7 | [
"MIT"
] | null | null | null | src/vsg/vk/Sampler.cpp | XenonofArcticus/VulkanSceneGraphPrototype | 2118ff8deb1078625bd09d4435757fdf346dffb7 | [
"MIT"
] | null | null | null | /* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod... | 41.093333 | 460 | 0.758923 | XenonofArcticus |
ff25a359fb700b9ce74f7c40d051283646c5d0ef | 16,430 | hpp | C++ | include/eve/module/proba/regular/impl/normal_distribution.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | include/eve/module/proba/regular/impl/normal_distribution.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | include/eve/module/proba/regular/impl/normal_distribution.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 33.125 | 115 | 0.545344 | the-moisrex |
ff302bbf2a850a3ce0dbf52c2459a4f000214bec | 34,114 | cpp | C++ | Sources/Internationalizator.cpp | Petititi/imGraph | 068890ffe2f8fa1fb51bc95b8d9296cc79737fac | [
"BSD-3-Clause"
] | 2 | 2015-01-12T11:27:45.000Z | 2015-03-25T18:24:38.000Z | Sources/Internationalizator.cpp | Petititi/imGraph | 068890ffe2f8fa1fb51bc95b8d9296cc79737fac | [
"BSD-3-Clause"
] | 30 | 2015-01-07T11:59:07.000Z | 2015-04-24T13:02:01.000Z | Sources/Internationalizator.cpp | Petititi/imGraph | 068890ffe2f8fa1fb51bc95b8d9296cc79737fac | [
"BSD-3-Clause"
] | 1 | 2018-12-20T12:18:18.000Z | 2018-12-20T12:18:18.000Z |
#include "Internationalizator.h"
#ifdef _WIN32
#pragma warning(disable:4503)
#pragma warning(push)
#pragma warning(disable:4996 4251 4275 4800)
#endif
#include <boost/thread/recursive_mutex.hpp>
#include <boost/thread/lock_guard.hpp>
#ifdef _WIN32
#pragma warning(pop)
#endif
using namespace std;
using boost::recursi... | 58.017007 | 245 | 0.745442 | Petititi |
ff339c084727ed58728297a87a590bdb02575d6f | 6,745 | cpp | C++ | src/hranol.cpp | romeritto/hranol | 71e37d254c7c9ea0f61a0b6ddce3261483dc1809 | [
"MIT"
] | null | null | null | src/hranol.cpp | romeritto/hranol | 71e37d254c7c9ea0f61a0b6ddce3261483dc1809 | [
"MIT"
] | null | null | null | src/hranol.cpp | romeritto/hranol | 71e37d254c7c9ea0f61a0b6ddce3261483dc1809 | [
"MIT"
] | null | null | null | //
// Copyright © 2018 Roman Sobkuliak <[email protected]>
// This code is released under the license described in the LICENSE file
//
#include "../thirdparty/args/args.hxx"
#include "Filter.h"
#include "FolderCrawler.h"
#include "ImageProcessor.h"
#include "ImageStore.h"
#include <iostream>
#include <vector>
#i... | 34.768041 | 136 | 0.630245 | romeritto |
ff40f54d6ec76897d60f928773241dfc493e7dd4 | 3,328 | cpp | C++ | Programming/Sem2/Lab4/lab4.cpp | NazarPonochevnyi/Programming-Labs | 30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f | [
"MIT"
] | 1 | 2020-10-17T13:18:29.000Z | 2020-10-17T13:18:29.000Z | Programming/Sem2/Lab4/lab4.cpp | NazarPonochevnyi/Programming-Labs | 30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f | [
"MIT"
] | null | null | null | Programming/Sem2/Lab4/lab4.cpp | NazarPonochevnyi/Programming-Labs | 30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f | [
"MIT"
] | 1 | 2021-11-08T00:35:35.000Z | 2021-11-08T00:35:35.000Z | #include <iostream>
using namespace std;
/*
10. Перевантажити оператори потокового введення-виведення (>>,<<).
*/
class Fraction
{
protected:
int numerator, denominator;
int nod(int a, int b);
int nok(int a, int b);
public:
Fraction();
Fraction(int num, int den);
... | 21.063291 | 88 | 0.577524 | NazarPonochevnyi |
ff434d0fd0e5b68931982659497b3c4ce24c6e1b | 1,186 | cpp | C++ | reve/reve/lib/SplitEntryBlockPass.cpp | mattulbrich/llreve | 68cb958c1c02177fa0db1965a8afd879a97c2fc4 | [
"BSD-3-Clause"
] | 20 | 2016-08-11T19:51:13.000Z | 2021-09-02T13:10:58.000Z | reve/reve/lib/SplitEntryBlockPass.cpp | mattulbrich/llreve | 68cb958c1c02177fa0db1965a8afd879a97c2fc4 | [
"BSD-3-Clause"
] | 9 | 2016-08-11T11:59:24.000Z | 2021-07-16T09:44:28.000Z | reve/reve/lib/SplitEntryBlockPass.cpp | mattulbrich/llreve | 68cb958c1c02177fa0db1965a8afd879a97c2fc4 | [
"BSD-3-Clause"
] | 7 | 2017-08-19T14:42:27.000Z | 2020-05-20T16:14:13.000Z | /*
* This file is part of
* llreve - Automatic regression verification for LLVM programs
*
* Copyright (C) 2016 Karlsruhe Institute of Technology
*
* The system is published under a BSD license.
* See LICENSE (distributed with this file) for details.
*/
#include "SplitEntryBlockPass.h"
#include "llvm/IR/In... | 31.210526 | 80 | 0.611298 | mattulbrich |
ff458f2db095189a0cbb3b2cf0497bee16c6a515 | 810 | cpp | C++ | src/Game Engine/Material.cpp | JKneedler/JK-Game-Engine | 00a3a3c4833d12c4a93ae98b2508419700450e66 | [
"Apache-2.0"
] | 1 | 2021-05-10T17:29:30.000Z | 2021-05-10T17:29:30.000Z | src/Game Engine/Material.cpp | JKneedler/JK-Game-Engine | 00a3a3c4833d12c4a93ae98b2508419700450e66 | [
"Apache-2.0"
] | null | null | null | src/Game Engine/Material.cpp | JKneedler/JK-Game-Engine | 00a3a3c4833d12c4a93ae98b2508419700450e66 | [
"Apache-2.0"
] | null | null | null | #include "Material.h"
Material::Material() {
specularIntensity = 0.0f;
shininess = 0.0f;
}
Material::Material(GLfloat sIntensity, GLfloat shine) {
specularIntensity = sIntensity;
shininess = shine;
}
Material::Material(Shader* myShader, Texture* myTexture, GLfloat sIntensity, GLfloat shine) {
shader = myShader;... | 23.823529 | 93 | 0.774074 | JKneedler |
ff4644aac0d4c7e8cf9dbe074c6ca22148fe09f3 | 5,013 | hpp | C++ | include/Zenject/MethodMultipleProviderUntyped.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Zenject/MethodMultipleProviderUntyped.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Zenject/MethodMultipleProviderUntyped.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: Zenject.IProvider
#include "Zenject/IProvider.hpp"
#include "extern/b... | 53.903226 | 244 | 0.738081 | darknight1050 |
ff4a04e5c02452aa59ddc8c7d2fc73ce9b308c2e | 10,961 | cpp | C++ | src/pqclean.cpp | Cryptario/tidecoin | 550b726eb7f39730086522676a9c74e40d672a81 | [
"MIT"
] | 30 | 2021-01-05T02:08:40.000Z | 2022-01-21T09:32:10.000Z | src/pqclean.cpp | Cryptario/tidecoin | 550b726eb7f39730086522676a9c74e40d672a81 | [
"MIT"
] | 8 | 2021-03-15T08:14:30.000Z | 2022-02-02T11:37:14.000Z | src/pqclean.cpp | Cryptario/tidecoin | 550b726eb7f39730086522676a9c74e40d672a81 | [
"MIT"
] | 20 | 2021-01-09T00:03:48.000Z | 2022-03-07T11:58:35.000Z | #include "api.h"
#include "inner.h"
#include "randombytes.h"
#include <stddef.h>
#include <string.h>
/*
* Wrapper for implementing the PQClean API.
*/
#define NONCELEN 40
#define SEEDLEN 48
/*
* Encoding formats (nnnn = log of degree, 9 for Falcon-512, 10 for Falcon-1024)
*
* private key:
* header... | 28.396373 | 102 | 0.608612 | Cryptario |
ff564dbfe66e096e358331bd69b90c2d9ea14bf8 | 9,796 | cpp | C++ | McEngine/src/GUI/CBaseUISlider.cpp | musikowskipawel/McEngine | fcd96ecf1d04a6b44545ea06b7531e8816e61368 | [
"MIT"
] | 73 | 2016-09-12T09:55:53.000Z | 2022-03-26T22:18:35.000Z | McEngine/src/GUI/CBaseUISlider.cpp | musikowskipawel/McEngine | fcd96ecf1d04a6b44545ea06b7531e8816e61368 | [
"MIT"
] | 31 | 2016-08-08T18:05:33.000Z | 2022-03-10T09:27:33.000Z | McEngine/src/GUI/CBaseUISlider.cpp | musikowskipawel/McEngine | fcd96ecf1d04a6b44545ea06b7531e8816e61368 | [
"MIT"
] | 17 | 2016-11-19T15:15:11.000Z | 2022-02-24T11:07:22.000Z | //================ Copyright (c) 2012, PG, All rights reserved. =================//
//
// Purpose: a simple slider
//
// $NoKeywords: $
//===============================================================================//
#include "CBaseUISlider.h"
#include "Engine.h"
#include "Mouse.h"
#include "AnimationHandler.h"
#... | 26.986226 | 190 | 0.686607 | musikowskipawel |
ff59c1a8f1690e09839ef3ba85690fad6ee64446 | 1,673 | cpp | C++ | src/authgeneratorbtns.cpp | OpenIKEv2/libopenikev2_impl | 3c620ca479b20814fe42325cffcfd1d18dbf041c | [
"Apache-2.0"
] | 3 | 2017-03-03T17:05:37.000Z | 2020-06-16T04:50:40.000Z | src/authgeneratorbtns.cpp | OpenIKEv2/libopenikev2_impl | 3c620ca479b20814fe42325cffcfd1d18dbf041c | [
"Apache-2.0"
] | 11 | 2017-02-27T09:31:17.000Z | 2020-03-20T16:31:05.000Z | src/authgeneratorbtns.cpp | OpenIKEv2/libopenikev2_impl | 3c620ca479b20814fe42325cffcfd1d18dbf041c | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright (C) 2005 by *
* Alejandro Perez Mendez [email protected] *
* Pedro J. Fernandez Ruiz [email protected] *
* ... | 39.833333 | 155 | 0.528392 | OpenIKEv2 |
ff5b7908f992d93dddef5743d47248d55e6f19f8 | 1,515 | cpp | C++ | vulkan/ShaderStorageBuffer.cpp | enjiushi/VulkanLearn | 29fb429a3fb526f8de7406404a983685a7e87117 | [
"MIT"
] | 272 | 2019-06-27T12:21:49.000Z | 2022-03-23T07:18:33.000Z | vulkan/ShaderStorageBuffer.cpp | enjiushi/VulkanLearn | 29fb429a3fb526f8de7406404a983685a7e87117 | [
"MIT"
] | 9 | 2019-08-11T13:07:01.000Z | 2022-01-26T12:30:24.000Z | vulkan/ShaderStorageBuffer.cpp | enjiushi/VulkanLearn | 29fb429a3fb526f8de7406404a983685a7e87117 | [
"MIT"
] | 16 | 2019-09-29T01:41:02.000Z | 2022-03-29T15:51:35.000Z | #include "ShaderStorageBuffer.h"
#include "GlobalDeviceObjects.h"
bool ShaderStorageBuffer::Init(const std::shared_ptr<Device>& pDevice, const std::shared_ptr<ShaderStorageBuffer>& pSelf, uint32_t numBytes)
{
VkBufferCreateInfo info = {};
info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
info.usage = VK_BUFFER_USA... | 37.875 | 140 | 0.805281 | enjiushi |
ff60de0ac0520b62f5f68e07b1ee4b29728e0af1 | 6,500 | cc | C++ | mmap/testing/node_page_test.cc | datacratic/DasDB | 5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b | [
"Apache-2.0"
] | 3 | 2017-12-06T00:25:52.000Z | 2021-08-24T20:46:54.000Z | mmap/testing/node_page_test.cc | datacratic/DasDB | 5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b | [
"Apache-2.0"
] | null | null | null | mmap/testing/node_page_test.cc | datacratic/DasDB | 5ccc1fc7c6c69c97e3dae0e02bb4009f95908d3b | [
"Apache-2.0"
] | 1 | 2016-11-24T17:14:16.000Z | 2016-11-24T17:14:16.000Z | /* node_page_test.cc
Rémi Attab, 20 January 2012
Copyright (c) 2012 Datacratic. All rights reserved.
Tests for node_page.h
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include "mmap/node_page.h"
#include "soa/utils/threaded_test.h"
#include <boost/test/unit_test.hpp>
#include <iostream>
#includ... | 28.508772 | 80 | 0.560308 | datacratic |
ff64b5db8c46c9154066d0808fae5094566deab9 | 335 | cpp | C++ | Backtrack/recur/AddN.cpp | Twinkle0799/Competitive_Programming_Rocks | fb71021e02019004bef59ee1df86687234e36f5a | [
"MIT"
] | 2 | 2021-05-06T17:59:44.000Z | 2021-08-04T12:50:38.000Z | Backtrack/recur/AddN.cpp | Twinkle0799/Competitive_Programming_Rocks | fb71021e02019004bef59ee1df86687234e36f5a | [
"MIT"
] | 1 | 2022-01-14T19:58:34.000Z | 2022-01-14T19:58:34.000Z | Backtrack/recur/AddN.cpp | Twinkle0799/Competitive_Programming_Rocks | fb71021e02019004bef59ee1df86687234e36f5a | [
"MIT"
] | 1 | 2021-02-17T09:48:06.000Z | 2021-02-17T09:48:06.000Z | #include<bits/stdc++.h>
using namespace std;
int AddN(int n)
{
if(n==0)
{
return 0;
}
int presum = AddN(n-1);
return n + presum;
}
int main()
{
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
int n;
cin>>n;
cout<<AddN(n);
... | 12.884615 | 39 | 0.540299 | Twinkle0799 |
ff65e6f12c981871c143635bc4f2658d4463410b | 1,338 | cpp | C++ | src/kindyn/src/controller/cardsflow_command_interface.cpp | NexusReflex/VRpuppet | 0b6a14e13951ceaf849b09da1f8dd797a4a1125d | [
"BSD-3-Clause"
] | 3 | 2018-11-12T09:58:35.000Z | 2019-03-31T02:52:54.000Z | src/kindyn/src/controller/cardsflow_command_interface.cpp | NexusReflex/VRpuppet | 0b6a14e13951ceaf849b09da1f8dd797a4a1125d | [
"BSD-3-Clause"
] | 5 | 2018-12-02T14:31:10.000Z | 2021-05-06T12:10:06.000Z | src/kindyn/src/controller/cardsflow_command_interface.cpp | NexusReflex/VRpuppet | 0b6a14e13951ceaf849b09da1f8dd797a4a1125d | [
"BSD-3-Clause"
] | 3 | 2018-12-02T09:55:49.000Z | 2021-09-08T11:54:30.000Z | #include "kindyn/controller/cardsflow_command_interface.hpp"
namespace hardware_interface
{
CardsflowHandle::CardsflowHandle() : CardsflowStateHandle(){}
/**
* @param js This joint's state handle
* @param cmd A pointer to the storage for this joint's output command
*/
CardsflowHandle::Car... | 47.785714 | 121 | 0.749626 | NexusReflex |
ff686f28f5f10d347265bafa78b8228312d0974d | 151 | cpp | C++ | test.cpp | yusukeOteki/pxt-test1 | a5bb45d48c8c4a8096579d39c2134b953a773846 | [
"MIT"
] | null | null | null | test.cpp | yusukeOteki/pxt-test1 | a5bb45d48c8c4a8096579d39c2134b953a773846 | [
"MIT"
] | null | null | null | test.cpp | yusukeOteki/pxt-test1 | a5bb45d48c8c4a8096579d39c2134b953a773846 | [
"MIT"
] | null | null | null | #include "pxt.h"
using namespace pxt;
namespace test {
//%
void dammy(int32_t x, int32_t y){
uBit.display.image.setPixelValue(0, 0, 255);
}
} | 11.615385 | 46 | 0.662252 | yusukeOteki |
ff6ace1c0415f19b1777f3b561a5501b5f51b9f8 | 2,204 | cpp | C++ | 00-Keypoint_in_WangDao/Chapter_02-List/01-LinkList/00-Basic_LinkList/01-LinkList_Examples/02-LinkList_Seprate_by_Char_Type.cpp | ysl970629/kaoyan_data_structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | 2 | 2021-03-24T03:29:16.000Z | 2022-03-29T16:34:30.000Z | 00-Keypoint_in_WangDao/Chapter_02-List/01-LinkList/00-Basic_LinkList/01-LinkList_Examples/02-LinkList_Seprate_by_Char_Type.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | 00-Keypoint_in_WangDao/Chapter_02-List/01-LinkList/00-Basic_LinkList/01-LinkList_Examples/02-LinkList_Seprate_by_Char_Type.cpp | ysl2/kaoyan-data-structure | d0a469bf0e9e7040de21eca38dc19961aa7e9a53 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
typedef int ElemType;
typedef struct LinkNode {
ElemType data;
struct LinkNode *next;
} LinkNode, *LinkList;
void outPut(LinkList L) {
LinkNode *p = L->next;
while (p != NULL) {
std::cout << p->data << " ";
p = p->next;
}
std::cout << std:... | 22.04 | 72 | 0.511343 | ysl970629 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.