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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1a61935036985d544e3a9622285db4d27da03ea | 982 | cpp | C++ | shared/primitives/src/ViewFrustum.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | shared/primitives/src/ViewFrustum.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | shared/primitives/src/ViewFrustum.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "../include/ViewFrustum.hpp"
ViewFrustum::ViewFrustum() : view(1.0f) {
planes.fill(glm::vec4(0.0f));
planeNormals.fill(glm::vec4(0.0f));
}
ViewFrustum::ViewFrustum(const float screen_depth, const glm::mat4 & projection, const glm::mat4 & _view, const glm::mat4 world) {
Construct(screen_depth, pro... | 28.057143 | 133 | 0.695519 | fuchstraumer |
b1a83df89e8803687eeeb825c0cc31bd98d41d32 | 16,444 | cpp | C++ | tests/workbook/workbook_test_suite.cpp | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 8 | 2019-02-28T14:49:56.000Z | 2022-03-29T06:32:09.000Z | tests/workbook/workbook_test_suite.cpp | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 2 | 2021-04-09T15:36:05.000Z | 2021-11-17T22:38:10.000Z | tests/workbook/workbook_test_suite.cpp | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 3 | 2019-12-31T14:04:17.000Z | 2022-03-18T11:44:49.000Z | // Copyright (c) 2014-2018 Thomas Fussell
//
// 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... | 33.220202 | 100 | 0.615057 | haquocviet |
b1acec5eb381e57e82747d2a802813c339a4f3f5 | 13,114 | cc | C++ | src/components/application_manager/test/request_timeout_handler_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 5 | 2015-02-26T07:47:26.000Z | 2021-08-03T15:08:53.000Z | src/components/application_manager/test/request_timeout_handler_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 73 | 2015-11-12T15:36:48.000Z | 2022-02-11T08:09:52.000Z | src/components/application_manager/test/request_timeout_handler_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 8 | 2015-09-11T08:37:55.000Z | 2021-07-13T19:34:02.000Z | /*
* Copyright (c) 2020, Ford Motor Company
* 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... | 42.716612 | 80 | 0.761781 | Sohei-Suzuki-Nexty |
b1afa9982ff9499d9dca9a38e3ce2c234246befb | 1,579 | cpp | C++ | graph/bfs/grid_bfs/abc184_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | graph/bfs/grid_bfs/abc184_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | graph/bfs/grid_bfs/abc184_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
/*
参考リンク
ABC 184 E - Third Avenue
https://atcoder.jp/contests/abc184/tasks/abc184_e
*/
vector<int> dx = {1, 0, -1, 0};
vector<int> dy = {0, 1, 0, -1};
int main()... | 23.924242 | 80 | 0.431919 | Takumi1122 |
b1b1b28879d113656958f685dcdf50dc43f07776 | 1,980 | hxx | C++ | src/xoundation/native/speeder_native.hxx | secondwtq/SpeederMonkey | 49788607311670634e3ccf949125ae4c482153c1 | [
"BSD-2-Clause"
] | null | null | null | src/xoundation/native/speeder_native.hxx | secondwtq/SpeederMonkey | 49788607311670634e3ccf949125ae4c482153c1 | [
"BSD-2-Clause"
] | null | null | null | src/xoundation/native/speeder_native.hxx | secondwtq/SpeederMonkey | 49788607311670634e3ccf949125ae4c482153c1 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by secondwtq 15-6-15.
// Copyright (c) 2015 The Xoundation Project All rights reserved.
//
#ifndef MOZJS_SPEEDER_NATIVE_HXX
#define MOZJS_SPEEDER_NATIVE_HXX
#include <iostream>
#include <string>
#include "xoundation/thirdpt/js_engine.hxx"
#include <xoundation/spde/spde_test_common.h>
#include <xoundati... | 30.461538 | 105 | 0.692929 | secondwtq |
b1b581c7279016180a6944efa9ca35ca18451511 | 7,305 | inl | C++ | include/hfsm2/detail/root/registry_2.inl | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 221 | 2018-10-17T09:30:15.000Z | 2022-03-17T17:41:03.000Z | include/hfsm2/detail/root/registry_2.inl | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 32 | 2019-06-17T09:16:07.000Z | 2022-03-13T13:47:04.000Z | include/hfsm2/detail/root/registry_2.inl | amessing/HFSM2 | 419c6847adcc644cabb6634757ec1b403bf2e192 | [
"MIT"
] | 38 | 2019-03-16T12:57:37.000Z | 2022-03-10T22:05:16.000Z | namespace hfsm2 {
namespace detail {
////////////////////////////////////////////////////////////////////////////////
template <typename TC, typename TG, typename TSL, typename TRL, Long NCC HFSM2_IF_SERIALIZATION(, Long NSB), Long NSL HFSM2_IF_PLANS(, Long NTC), typename TTP>
HFSM2_CONSTEXPR(11)
bool
RegistryT<ArgsT... | 37.654639 | 164 | 0.629569 | amessing |
b1bd2cccb0ff2b0bb4ff2c1d01e7682a657000e1 | 12,341 | cpp | C++ | src/fixed_trig.cpp | jyaif/dux_fixed | c60841d71380fc0fbd097f0a255743b93f660af4 | [
"MIT"
] | 1 | 2020-05-05T23:01:03.000Z | 2020-05-05T23:01:03.000Z | src/fixed_trig.cpp | jyaif/dux_fixed | c60841d71380fc0fbd097f0a255743b93f660af4 | [
"MIT"
] | null | null | null | src/fixed_trig.cpp | jyaif/dux_fixed | c60841d71380fc0fbd097f0a255743b93f660af4 | [
"MIT"
] | null | null | null | #include "fixed_trig.h"
#include <array>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <vector>
namespace {
// Precomputed cos values between 0 and PI/2.
std::array<int16_t, 513> kCosTable = {
{4096, 4095, 4095, 4095, 4095, 4095, 4095, 4095, 4094, 4094, 4094, 4093,
4093... | 43.762411 | 79 | 0.553764 | jyaif |
b1bd7693366a5c80b975ce8e421e7f3c19b04094 | 11,345 | cpp | C++ | xfa/fgas/font/cfgas_gefont.cpp | ScarletteTout/PDFium | 3ba6010b63a97271f23ed921a58dc9298d2e74ef | [
"BSD-3-Clause"
] | 1 | 2019-01-12T07:00:40.000Z | 2019-01-12T07:00:40.000Z | xfa/fgas/font/cfgas_gefont.cpp | ScarletteTout/PDFium | 3ba6010b63a97271f23ed921a58dc9298d2e74ef | [
"BSD-3-Clause"
] | null | null | null | xfa/fgas/font/cfgas_gefont.cpp | ScarletteTout/PDFium | 3ba6010b63a97271f23ed921a58dc9298d2e74ef | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fgas/font/cfgas_gefont.h"
#include <memory>
#include <utility>
... | 30.662162 | 80 | 0.654033 | ScarletteTout |
04d90cfc1256b2b8d47e2a331d295d5c90dc5765 | 2,292 | hpp | C++ | libssr/include/ssr/SystemMonitor.hpp | rofferom/ssr | 785249bbc7e081ee966b70f8aadcba95402fd84b | [
"MIT"
] | null | null | null | libssr/include/ssr/SystemMonitor.hpp | rofferom/ssr | 785249bbc7e081ee966b70f8aadcba95402fd84b | [
"MIT"
] | null | null | null | libssr/include/ssr/SystemMonitor.hpp | rofferom/ssr | 785249bbc7e081ee966b70f8aadcba95402fd84b | [
"MIT"
] | null | null | null | #ifndef __SYSTEM_MONITOR_HPP__
#define __SYSTEM_MONITOR_HPP__
class EventLoop;
class SystemMonitor {
public:
struct SystemConfig {
int32_t mClkTck;
int32_t mPagesize ;
};
struct SystemStats {
uint64_t mTs;
uint64_t mAcqEnd;
// Durations
uint64_t mUtime;
uint64_t mNice;
uint64_t mSt... | 18.047244 | 75 | 0.672775 | rofferom |
04d9f49b7697087989f84eab095e13ee4fd6dc31 | 6,255 | cpp | C++ | XivAlexanderCommon/Sqex_CommandLine.cpp | ddc/XivAlexander | 8371d70e42c64cd082d90fc1ca102b687c9d3899 | [
"Apache-2.0"
] | null | null | null | XivAlexanderCommon/Sqex_CommandLine.cpp | ddc/XivAlexander | 8371d70e42c64cd082d90fc1ca102b687c9d3899 | [
"Apache-2.0"
] | null | null | null | XivAlexanderCommon/Sqex_CommandLine.cpp | ddc/XivAlexander | 8371d70e42c64cd082d90fc1ca102b687c9d3899 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "Sqex_CommandLine.h"
#include "Utils_CallOnDestruction.h"
#include "Utils_Win32.h"
const char Sqex::CommandLine::ChecksumTable[17] = "fX1pGtdS5CAP4_VL";
const char Sqex::CommandLine::ObfuscationHead[13] = "//**sqex0003";
const char Sqex::CommandLine::ObfuscationTail[5] = "**//";
std::vector... | 36.156069 | 197 | 0.648441 | ddc |
04dabcc1a040fc27f3b0c4cce6a8e9dbacc53763 | 703 | hpp | C++ | MORPG/src/NetworkControl.hpp | pablotomico/ProjectMORPG | 3dd5c7d001cd5f59bd6fafd310d4eb1c51ae3089 | [
"MIT"
] | 2 | 2021-05-30T16:34:26.000Z | 2021-08-03T11:37:37.000Z | MORPG/src/NetworkControl.hpp | pablotomico/ProjectMORPG | 3dd5c7d001cd5f59bd6fafd310d4eb1c51ae3089 | [
"MIT"
] | null | null | null | MORPG/src/NetworkControl.hpp | pablotomico/ProjectMORPG | 3dd5c7d001cd5f59bd6fafd310d4eb1c51ae3089 | [
"MIT"
] | null | null | null | #pragma once
#include "Observer.hpp"
class NetworkControl : public Observer {
public:
NetworkControl(const std::shared_ptr<MessageSystem>& l_messageSystem);
private:
void RegisterClient(const int& l_clientID);
void RegisterClient(const int& l_clientID, const std::string& l_username);
void AddClientGameObject(con... | 30.565217 | 97 | 0.789474 | pablotomico |
04dd688d9e6bc827b03c15c06a85e0e2a0f05a5c | 1,805 | hpp | C++ | include/UnityEngine/ScriptingUtility.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/ScriptingUtility.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | include/UnityEngine/ScriptingUtility.hpp | Fernthedev/BeatSaber-Quest-Codegen | 716e4ff3f8608f7ed5b83e2af3be805f69e26d9e | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Begin f... | 41.976744 | 169 | 0.716898 | Fernthedev |
04ddac6661f1a23a40210acef1373c6bff86e35e | 2,789 | cpp | C++ | TestedTrek/TestedTrek/src/Tests/PhotonCharacterizationTests.cpp | vhe182/labs-cpp-gtest | 6e264620ebbb8bf5688fa4e39c3d0e6521cbc94a | [
"MIT"
] | null | null | null | TestedTrek/TestedTrek/src/Tests/PhotonCharacterizationTests.cpp | vhe182/labs-cpp-gtest | 6e264620ebbb8bf5688fa4e39c3d0e6521cbc94a | [
"MIT"
] | null | null | null | TestedTrek/TestedTrek/src/Tests/PhotonCharacterizationTests.cpp | vhe182/labs-cpp-gtest | 6e264620ebbb8bf5688fa4e39c3d0e6521cbc94a | [
"MIT"
] | 8 | 2016-05-18T09:52:01.000Z | 2020-06-17T15:44:17.000Z | #include "stdafx.h"
#include <iostream>
#include <cstdlib>
#include <string>
#include <StarTrek/Game.h>
#include <StarTrek/Galaxy.h>
#include <Tests/MockGalaxy.h>
#include <Tests/MockKlingon.h>
#include "gtest/gtest.h"
#include "gmock/gmock.h"
using ::testing::Return;
using ::testing::Throw;
using namespace std;
us... | 29.670213 | 115 | 0.733596 | vhe182 |
04e8ad5e1fe7862e5aa9fbd8000498e0e2fb9776 | 4,399 | cpp | C++ | game/state/battle/ai/unitai.cpp | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | 1 | 2020-11-10T18:31:44.000Z | 2020-11-10T18:31:44.000Z | game/state/battle/ai/unitai.cpp | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | null | null | null | game/state/battle/ai/unitai.cpp | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | null | null | null | #include "game/state/battle/ai/unitai.h"
#include "game/state/battle/ai/unitaibehavior.h"
#include "game/state/battle/ai/unitaidefault.h"
#include "game/state/battle/ai/unitaihardcore.h"
#include "game/state/battle/ai/unitailowmorale.h"
#include "game/state/battle/ai/unitaivanilla.h"
#include "game/state/battle/battle.... | 22.443878 | 87 | 0.691521 | trevortomesh |
04ee34f895efec5db076d92e119686c342f241f4 | 4,737 | cpp | C++ | 1er_semestre/Programacion_y_analisis_de_algoritmos/Tareas/Tarea_2/stats_functions_with_vector (utiliza la libreria vector, este archivo no es).cpp | Enriquesec/Maestria_Computo_Estadistico_CIMAT | 53f1d7a84f16dd34e5bf60bfac956b3984d1c201 | [
"MIT"
] | 1 | 2021-01-09T21:07:42.000Z | 2021-01-09T21:07:42.000Z | 1er_semestre/Programacion_y_analisis_de_algoritmos/Tareas/Tarea_2/stats_functions_with_vector (utiliza la libreria vector, este archivo no es).cpp | Enriquesec/Maestria_Computo_Estadistico_CIMAT | 53f1d7a84f16dd34e5bf60bfac956b3984d1c201 | [
"MIT"
] | null | null | null | 1er_semestre/Programacion_y_analisis_de_algoritmos/Tareas/Tarea_2/stats_functions_with_vector (utiliza la libreria vector, este archivo no es).cpp | Enriquesec/Maestria_Computo_Estadistico_CIMAT | 53f1d7a84f16dd34e5bf60bfac956b3984d1c201 | [
"MIT"
] | 1 | 2021-12-02T01:05:42.000Z | 2021-12-02T01:05:42.000Z | #include <iostream>
#include <stdlib.h> // rand
#include <math.h> // pow, sqrt
#include <vector> // vector
using namespace std; //* cout, endl *//
namespace stats{ //Encapsulamos las funciones solicitadas.
// Function para calcular la media de los datos.
float mean_calculate(vector<int> &v){
float mean_muestra... | 32.006757 | 90 | 0.605235 | Enriquesec |
04eec422daf44aaaad59b34bba8478877d7e9419 | 944 | cpp | C++ | Examples/MacroMFunc/main_macro_mfunc.cpp | sapphire-devteam/SA-UnitTestHelper | 5413b64f5554036e9fd18e2e0f7784f97aaf3c2f | [
"MIT"
] | null | null | null | Examples/MacroMFunc/main_macro_mfunc.cpp | sapphire-devteam/SA-UnitTestHelper | 5413b64f5554036e9fd18e2e0f7784f97aaf3c2f | [
"MIT"
] | null | null | null | Examples/MacroMFunc/main_macro_mfunc.cpp | sapphire-devteam/SA-UnitTestHelper | 5413b64f5554036e9fd18e2e0f7784f97aaf3c2f | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Sapphire's Suite. All Rights Reserved.. All Rights Reserved.
#include <UnitTestHelper.hpp>
using namespace Sa;
struct MyClass
{
float myFloat = 0.0f;
bool IsZero() { return myFloat == 0.0f; }
bool Equals(const MyClass& _rhs) { return myFloat == _rhs.myFloat; }
int Add(const MyClass& _rhs) ... | 19.666667 | 82 | 0.666314 | sapphire-devteam |
04f67be83bb39e1524c873dfa6ae54bdd30b90ab | 9,400 | cc | C++ | src/xenia/cpu/test/test_vector_add.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/cpu/test/test_vector_add.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/cpu/test/test_vector_add.cc | Parovozik/Xenia_UI | 3f12becc1845a8fc264ae74d25e28e543f61b5b4 | [
"BSD-3-Clause"
] | 1 | 2018-10-16T16:45:27.000Z | 2018-10-16T16:45:27.000Z | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... | 33.215548 | 80 | 0.446596 | Parovozik |
04f8a14c94d5ed2a087c806ab506832660c730b6 | 664 | hpp | C++ | source/Shader.hpp | VehicularEpic/vehicularepic.github.io | 310b1b3674d6efb2a2ae4dd2368b8cc8d30e6a19 | [
"MIT"
] | null | null | null | source/Shader.hpp | VehicularEpic/vehicularepic.github.io | 310b1b3674d6efb2a2ae4dd2368b8cc8d30e6a19 | [
"MIT"
] | null | null | null | source/Shader.hpp | VehicularEpic/vehicularepic.github.io | 310b1b3674d6efb2a2ae4dd2368b8cc8d30e6a19 | [
"MIT"
] | null | null | null | #ifndef SHADER_HPP
#define SHADER_HPP
#include <stdio.h>
#include <glad/gl.h>
#include <string>
class Shader {
private:
GLuint program;
public:
Shader(std::string vertex_shader, std::string fragment_shader);
virtual ~Shader();
void _int(GLint location, GLint value);
void _float(GLint location, G... | 23.714286 | 76 | 0.697289 | VehicularEpic |
04fda679d38221dfc7fcc2bdd3e2010438c2b895 | 3,914 | cpp | C++ | djikstra.cpp | potter1024/Hacktoberfest2020 | 5b02a6bded8628e540eb2cd760241bf3f837a007 | [
"MIT"
] | null | null | null | djikstra.cpp | potter1024/Hacktoberfest2020 | 5b02a6bded8628e540eb2cd760241bf3f837a007 | [
"MIT"
] | null | null | null | djikstra.cpp | potter1024/Hacktoberfest2020 | 5b02a6bded8628e540eb2cd760241bf3f837a007 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <list>
#include <set>
using namespace std;
typedef struct nodes {
int dest;
int cost;
//bool checked;
} node;
class Graph {
public:
int n;
list<node> *adjList;
void showList(int src, list<node> lt)
{
list<node>::... | 24.310559 | 104 | 0.447624 | potter1024 |
ca004fb9e970b929d4d88781c1cdb3fb3b8aec56 | 1,442 | cpp | C++ | Userland/Applications/MouseSettings/main.cpp | petelliott/serenity | 6b8688228b3a576b0156066e6aae37a32b8a407e | [
"BSD-2-Clause"
] | 1 | 2021-11-26T08:13:48.000Z | 2021-11-26T08:13:48.000Z | Userland/Applications/MouseSettings/main.cpp | petelliott/serenity | 6b8688228b3a576b0156066e6aae37a32b8a407e | [
"BSD-2-Clause"
] | null | null | null | Userland/Applications/MouseSettings/main.cpp | petelliott/serenity | 6b8688228b3a576b0156066e6aae37a32b8a407e | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Idan Horowitz <idan.horowitz@serenityos.org>
* Copyright (c) 2021, the SerenityOS developers.
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021-2022, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "MouseWidget.h"
... | 33.534884 | 115 | 0.710818 | petelliott |
ca04252ff6976fb76e1f71e41dcc9fbc45de93ef | 2,799 | hpp | C++ | src/value.hpp | lisqlql/lyza.json | 656a8b52212961c67f83a6997bc3fac2f8f0bdcf | [
"MIT"
] | 1 | 2015-02-18T15:15:52.000Z | 2015-02-18T15:15:52.000Z | src/value.hpp | lisqlql/supjson | 656a8b52212961c67f83a6997bc3fac2f8f0bdcf | [
"MIT"
] | null | null | null | src/value.hpp | lisqlql/supjson | 656a8b52212961c67f83a6997bc3fac2f8f0bdcf | [
"MIT"
] | null | null | null | #ifndef SUPJSON_JSON_VALUE__
# define SUPJSON_JSON_VALUE__
# include <map>
# include <string>
# include <vector>
# include <iomanip>
# include <sstream>
# include <iostream>
# include <type_traits>
# include "defines.hpp"
# include "variant.hpp"
# include "exceptions.hpp"
namespace supjson {
template <typename T>
s... | 18.66 | 76 | 0.64273 | lisqlql |
ca04e0af61b9fd1693f2dc955f804fbd61463558 | 11,935 | cpp | C++ | source/games/exhumed/src/wasp.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | source/games/exhumed/src/wasp.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/wasp.cpp | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 sirlemonhead, Nuke.YKT
This file is part of PCExhumed.
PCExhumed is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 28.21513 | 128 | 0.444742 | prg318 |
ca06a9eb84a50ef6435c8512521316f42f0560ad | 7,629 | cc | C++ | src/main.cc | rodrigowerberich/codeforces621 | 1f38bff25ac1d88c9b67259dcee4583fb91a1271 | [
"MIT"
] | null | null | null | src/main.cc | rodrigowerberich/codeforces621 | 1f38bff25ac1d88c9b67259dcee4583fb91a1271 | [
"MIT"
] | null | null | null | src/main.cc | rodrigowerberich/codeforces621 | 1f38bff25ac1d88c9b67259dcee4583fb91a1271 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <iomanip>
#include "helper.hh"
#include "DirectedGraph.hh"
#include "Path.hh"
#include "PathHelper.hh"
#include "EdgeSelector.hh"
#include <chrono>
// Helper output function
std::ostream& operator <<(std::ostream& os, const std::map<size_t, std::map<size_t, std::vector<s... | 40.796791 | 117 | 0.536243 | rodrigowerberich |
ca074d205ac1e860c7efd973da52079328a10187 | 1,390 | cc | C++ | core/common/src/common/state/free_state.cc | GallopWind/epsilon-learn | 74dc723fbc9797f3bd05bee30f6f9b9acceeec17 | [
"MIT"
] | 186 | 2020-09-22T10:57:57.000Z | 2022-03-30T15:52:15.000Z | core/common/src/common/state/free_state.cc | Yufei-Wei/EPSILON | 155f1b1c4dae3ae29287d5b0b967d7d6ce230c73 | [
"MIT"
] | 16 | 2020-10-19T02:55:49.000Z | 2022-01-14T08:17:06.000Z | core/common/src/common/state/free_state.cc | Yufei-Wei/EPSILON | 155f1b1c4dae3ae29287d5b0b967d7d6ce230c73 | [
"MIT"
] | 66 | 2020-09-28T01:51:57.000Z | 2022-03-25T08:39:04.000Z | #include "common/state/free_state.h"
#include <math.h>
namespace common {
void GetFreeStateFromState(const State& state, FreeState* free_state) {
free_state->position = state.vec_position;
decimal_t cn = cos(state.angle);
decimal_t sn = sin(state.angle);
free_state->velocity[0] = state.velocity * cn;
free_s... | 36.578947 | 75 | 0.720144 | GallopWind |
ca0b3d071ba415ef5d72551a3708fbfd1351f5a0 | 46,922 | cpp | C++ | blazetest/src/mathtest/customtensor/AlignedPaddedTest1.cpp | igl42/blaze_tensor | f6a7ab2ae69ff52af32fdfabeaad53787d01bca0 | [
"Unlicense"
] | 30 | 2018-11-26T09:33:55.000Z | 2021-12-21T21:19:58.000Z | blazetest/src/mathtest/customtensor/AlignedPaddedTest1.cpp | igl42/blaze_tensor | f6a7ab2ae69ff52af32fdfabeaad53787d01bca0 | [
"Unlicense"
] | 31 | 2018-12-01T19:41:57.000Z | 2020-08-06T12:03:38.000Z | blazetest/src/mathtest/customtensor/AlignedPaddedTest1.cpp | igl42/blaze_tensor | f6a7ab2ae69ff52af32fdfabeaad53787d01bca0 | [
"Unlicense"
] | 6 | 2019-03-07T17:04:08.000Z | 2021-06-28T22:15:19.000Z | //=================================================================================================
/*!
// \file src/mathtest/customtensor/AlignedPaddedTest1.cpp
// \brief Source file for the aligned/padded CustomTensor class test (part 1)
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
// Copyr... | 36.317337 | 122 | 0.468352 | igl42 |
ca0bc1f88abf6074c0585100468ef361340d077b | 567 | hh | C++ | bloc/ABloc.hh | Dracks977/FDI-COBJ- | 349900d8d4c9b704e47aa9354b12cf95ce0e327d | [
"Apache-2.0"
] | null | null | null | bloc/ABloc.hh | Dracks977/FDI-COBJ- | 349900d8d4c9b704e47aa9354b12cf95ce0e327d | [
"Apache-2.0"
] | null | null | null | bloc/ABloc.hh | Dracks977/FDI-COBJ- | 349900d8d4c9b704e47aa9354b12cf95ce0e327d | [
"Apache-2.0"
] | null | null | null | //
// IBloc.hh for cpp in /home/annibal/cpp/cp_2/anniba_c/bloc
//
// Made by ANNIBAL Celine
// Login <anniba_c@etna-alternance.net>
//
// Started on Mon Feb 13 09:26:18 2017 ANNIBAL Celine
// Last update Tue Feb 14 14:24:42 2017 ANNIBAL Celine
//
#ifndef _IBLOC_HH_
#define _IBLOC_HH_
#include <iostream>
#include ... | 18.290323 | 59 | 0.657848 | Dracks977 |
ca0bc8e2d4d17f3b7e15dc8838cd44f23d12c1c9 | 465 | hpp | C++ | include/conditions.hpp | dacom-core/unicore | 4fff619e3043f39d77e40d1612abb4dcbddc6649 | [
"MIT"
] | null | null | null | include/conditions.hpp | dacom-core/unicore | 4fff619e3043f39d77e40d1612abb4dcbddc6649 | [
"MIT"
] | null | null | null | include/conditions.hpp | dacom-core/unicore | 4fff619e3043f39d77e40d1612abb4dcbddc6649 | [
"MIT"
] | null | null | null | /*!
\brief Структура хранилища универсального набора условий, относящихся к хосту, платформе или протоколу.
*/
struct [[eosio::table, eosio::contract("unicore")]] conditions {
uint64_t key;
eosio::string key_string;
uint64_t value;
uint64_t primary_key() const{return key;}
... | 31 | 107 | 0.68172 | dacom-core |
ca11766de6b9ded4a1fd8d257d9ae0abfb260874 | 575 | cpp | C++ | Estruturas/1110-cards.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | Estruturas/1110-cards.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | Estruturas/1110-cards.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | #include <iostream>
#include <queue>
using namespace std;
int main() {
int N;
while(cin >> N && N) {
queue <int> dscrd, remain;
for(int i=1; i<=N; i++)
remain.push(i);
while(N > 1) {
dscrd.push(remain.front());
remain.pop();
remain.push(remain.front());
remain.pop();
N--;
}
bool collon... | 17.424242 | 57 | 0.54087 | hugotannus |
ca1503917521152e115278eb1178be9bbcdb3f75 | 463 | cpp | C++ | typical90/24/Main.cpp | okamoto2997/ProgrammingContest | b7b527e797d61f8fdceca5452c2e0966b7048db1 | [
"BSD-2-Clause"
] | null | null | null | typical90/24/Main.cpp | okamoto2997/ProgrammingContest | b7b527e797d61f8fdceca5452c2e0966b7048db1 | [
"BSD-2-Clause"
] | null | null | null | typical90/24/Main.cpp | okamoto2997/ProgrammingContest | b7b527e797d61f8fdceca5452c2e0966b7048db1 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include "lib/log.hpp"
#include "lib/utility.hpp"
using namespace std;
using namespace lib;
int main()
{
auto [N, K] = read_elems<int, int>();
vector<int> A = read_vector<int>(N);
vector<int> B = read_vector<int>(N);
int diff = 0;
... | 21.045455 | 70 | 0.578834 | okamoto2997 |
ca17003203f76ee8d87e6af30a633ce5423e875d | 588 | hxx | C++ | inc/html5xx.d/Area.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | inc/html5xx.d/Area.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | inc/html5xx.d/Area.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | /*
*
*/
#ifndef _HTML5XX_AREA_HXX_
#define _HTML5XX_AREA_HXX_
#include "Element.hxx"
using namespace std;
namespace html
{
class Area: public Element
{
public:
Area():
Element(InlineBlock, "area")
{}
Area( const string& shape, const string& coords,
const string& href, const string& alt="" ):
... | 14 | 51 | 0.607143 | astrorigin |
ca1d889d505d8ceaf83ef3bb032af89b5d655d44 | 784 | cpp | C++ | LambdaEngine/Source/Networking/Mac/MacIPAddress.cpp | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Source/Networking/Mac/MacIPAddress.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Source/Networking/Mac/MacIPAddress.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #ifdef LAMBDA_PLATFORM_MACOS
#include "Log/Log.h"
#include "Networking/Mac/MacIPAddress.h"
#include <arpa/inet.h>
namespace LambdaEngine
{
MacIPAddress::MacIPAddress(const std::string& address, uint64 hash) :
IPAddress(address, hash)
{
if (address == ADDRESS_ANY)
{
m_Addr.s_addr = INADDR_ANY;
}
else i... | 18.232558 | 93 | 0.683673 | IbexOmega |
ca1dfdf3ce420e58c83f1d32532321bc7993a2e3 | 12,059 | cc | C++ | engine/scene/data/common/openctm_serializer.cc | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:22:38.000Z | 2021-03-02T22:22:38.000Z | engine/scene/data/common/openctm_serializer.cc | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | null | null | null | engine/scene/data/common/openctm_serializer.cc | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:23:12.000Z | 2021-03-02T22:23:12.000Z | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 36.10479 | 80 | 0.688697 | pikacuh |
ca1ffa1c44159c7cd9772635b69fc8ad56bb2d2f | 646 | hpp | C++ | private/tst/routingzone/inc/IasRoutingZoneTest.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 5 | 2018-11-05T07:37:58.000Z | 2022-03-04T06:40:09.000Z | private/tst/routingzone/inc/IasRoutingZoneTest.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | null | null | null | private/tst/routingzone/inc/IasRoutingZoneTest.hpp | juimonen/SmartXbar | 033f521a5dba5bce5e097df9c98af5b2cc2636dd | [
"BSD-3-Clause"
] | 7 | 2018-12-04T07:32:19.000Z | 2021-02-17T11:28:28.000Z | /*
* Copyright (C) 2018 Intel Corporation.All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* IasRoutingZoneTest.hpp
*
* Created 2015
*/
#ifndef IASROUTINGZONETEST_HPP_
#define IASROUTINGZONETEST_HPP_
#include "gtest/gtest.h"
#include "smartx/IasConfigFile.hpp"
namespace IasAudio
{
class... | 15.380952 | 60 | 0.688854 | juimonen |
ca288b706d8e16670b352fb475ab897b0128044f | 629 | hpp | C++ | source/components.hpp | 1pkg/halfo | a57dc4b68d29165d6ab7ed36c7886326e414e269 | [
"MIT"
] | null | null | null | source/components.hpp | 1pkg/halfo | a57dc4b68d29165d6ab7ed36c7886326e414e269 | [
"MIT"
] | null | null | null | source/components.hpp | 1pkg/halfo | a57dc4b68d29165d6ab7ed36c7886326e414e269 | [
"MIT"
] | null | null | null | #ifndef COMPONENTS
#define COMPONENTS
#include "Components/Metric.hpp"
#include "Components/File.hpp"
#include "Components/Setting.hpp"
#include "Components/Statistic.hpp"
#include "Components/Resource.hpp"
#include "Components/SpriteFrame.hpp"
#include "Components/Body.hpp"
#include "Components/Audio.hpp"
#include "C... | 28.590909 | 38 | 0.796502 | 1pkg |
ca28c8962089b549380eaef5a663f40a5a442140 | 112 | cpp | C++ | allMatuCommit/循环打印10个星号_2021010911011_20210920125335.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/循环打印10个星号_2021010911011_20210920125335.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | allMatuCommit/循环打印10个星号_2021010911011_20210920125335.cpp | BachWV/matu | d4e3a89385f0a205431dd34c2c7214af40bb8ddb | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
int i = 1;
for (i = 1; i <= 10; i++)
{
printf("*");
}
return 0;
} | 11.2 | 27 | 0.419643 | BachWV |
ca28ed3582df817a0adb8794f94944f5c31940e8 | 3,338 | cc | C++ | src/roots/test/tstzbrent.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/roots/test/tstzbrent.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/roots/test/tstzbrent.cc | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file roots/test/tstzbrent.cc
* \author Kent Budge
* \date Tue Aug 17 15:24:48 2004
* \brief Test the zbrent function template
* \note Copyright (C) 2016-2019 Triad National Security, LLC
* All rights reserved. */... | 32.407767 | 79 | 0.514979 | rspavel |
ca2d8c1b00756c6abb2f19435ae0711054ba4160 | 7,291 | cpp | C++ | src/game/server/tf2/tf_func_construction_yard.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/server/tf2/tf_func_construction_yard.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/server/tf2/tf_func_construction_yard.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "cbase.h"
#include "tf_func_construction_yard.h"
#include "tf_team.h"
//--------------------------------------... | 30.894068 | 88 | 0.491702 | cstom4994 |
ca2dc3e68d31dbe5eeb7dfabb4fca2b7de989744 | 3,944 | hpp | C++ | PlayRho/Dynamics/Joints/TargetJointConf.hpp | godinj/PlayRho | f6f19598a8fca67e10a574faa9bc732d1bd20a2e | [
"Zlib"
] | null | null | null | PlayRho/Dynamics/Joints/TargetJointConf.hpp | godinj/PlayRho | f6f19598a8fca67e10a574faa9bc732d1bd20a2e | [
"Zlib"
] | null | null | null | PlayRho/Dynamics/Joints/TargetJointConf.hpp | godinj/PlayRho | f6f19598a8fca67e10a574faa9bc732d1bd20a2e | [
"Zlib"
] | null | null | null | /*
* Original work Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
* Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* a... | 34 | 101 | 0.729209 | godinj |
ca33abac09ca560678948cd96825273b04cd5f8e | 18,620 | cpp | C++ | AvxBlas/Convolution2D/conv2d_backwardfilter_s.cpp | tk-yoshimura/AvxBlas | 37ae77f05e35aa3e97109785276afba3835585ec | [
"MIT"
] | null | null | null | AvxBlas/Convolution2D/conv2d_backwardfilter_s.cpp | tk-yoshimura/AvxBlas | 37ae77f05e35aa3e97109785276afba3835585ec | [
"MIT"
] | null | null | null | AvxBlas/Convolution2D/conv2d_backwardfilter_s.cpp | tk-yoshimura/AvxBlas | 37ae77f05e35aa3e97109785276afba3835585ec | [
"MIT"
] | null | null | null | #include "../avxblas.h"
#include "../constants.h"
#include "../utils.h"
#include "../Inline/inline_kernelfma_ss.hpp"
#include "../Inline/inline_numeric.hpp"
#include "../Inline/inline_matmul_s.hpp"
#include "../Inline/inline_imcol_s.hpp"
using namespace System;
#pragma unmanaged
#pragma region padnone
int conv2d_ba... | 34.738806 | 128 | 0.601128 | tk-yoshimura |
ca3571786c61aa690475526950ea48adc5d05ab7 | 4,009 | hpp | C++ | include/boost/astronomy/time/time_conversions.hpp | nitink25/astronomy | 0a1d137171b08d1014d4ff138b2a40a146f4f39b | [
"BSL-1.0"
] | 75 | 2019-05-14T13:53:02.000Z | 2022-03-03T20:37:18.000Z | include/boost/astronomy/time/time_conversions.hpp | nitink25/astronomy | 0a1d137171b08d1014d4ff138b2a40a146f4f39b | [
"BSL-1.0"
] | 96 | 2019-05-28T17:46:00.000Z | 2021-01-09T07:59:17.000Z | include/boost/astronomy/time/time_conversions.hpp | nitink25/astronomy | 0a1d137171b08d1014d4ff138b2a40a146f4f39b | [
"BSL-1.0"
] | 29 | 2019-05-13T21:09:50.000Z | 2022-03-04T06:24:39.000Z | /*=============================================================================
Copyright 2020 Syed Ali Hasan <alihasan9922@gmail.com>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file License.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
========================================... | 25.535032 | 111 | 0.593165 | nitink25 |
ca35a2698dbabe344d71882137e0307fe574807e | 31,178 | cc | C++ | test/options/options_tests.cc | nstokes2/ozz-animation | 0b9a1c90398dbc8dc11394fbc93720159db19cc9 | [
"Zlib"
] | null | null | null | test/options/options_tests.cc | nstokes2/ozz-animation | 0b9a1c90398dbc8dc11394fbc93720159db19cc9 | [
"Zlib"
] | null | null | null | test/options/options_tests.cc | nstokes2/ozz-animation | 0b9a1c90398dbc8dc11394fbc93720159db19cc9 | [
"Zlib"
] | null | null | null | //============================================================================//
// //
// ozz-animation, 3d skeletal animation libraries and tools. //
// https://code.google.com/p/ozz-animation/ ... | 36.723204 | 85 | 0.651132 | nstokes2 |
ca36ac935371bc2e14c38b153ea38c509489299c | 624 | hpp | C++ | src/shelly_hap_sensor.hpp | nikwest/shelly-homekit | 34f299c0d74aeb9cb93416b7965fa3a85e6e0245 | [
"Apache-2.0"
] | 2 | 2021-11-16T14:29:42.000Z | 2022-02-26T08:58:38.000Z | src/shelly_hap_sensor.hpp | nikwest/shelly-homekit | 34f299c0d74aeb9cb93416b7965fa3a85e6e0245 | [
"Apache-2.0"
] | null | null | null | src/shelly_hap_sensor.hpp | nikwest/shelly-homekit | 34f299c0d74aeb9cb93416b7965fa3a85e6e0245 | [
"Apache-2.0"
] | 1 | 2022-02-05T15:02:09.000Z | 2022-02-05T15:02:09.000Z |
#pragma once
#include <memory>
#include <vector>
#include "mgos_hap.hpp"
#include "mgos_sys_config.h"
#include "mgos_timers.h"
#include "mgos_hap_accessory.hpp"
#include "mgos_hap_service.hpp"
#include "shelly_common.hpp"
#include "shelly_component.hpp"
#include "shelly_sensor.hpp"
namespace shelly {
namespace ha... | 17.828571 | 64 | 0.727564 | nikwest |
ca387b86a50aaeb2df87d5f5447528c49b8ad08b | 3,054 | cpp | C++ | examples/mt_order_entry/Util.cpp | coinderex/liquibook | 110695cf0a234888555323c94d8b65edb45fe8cf | [
"BSD-3-Clause"
] | 550 | 2015-01-05T23:44:03.000Z | 2019-09-04T01:48:13.000Z | examples/mt_order_entry/Util.cpp | swtcfoundation/liquibook | 110695cf0a234888555323c94d8b65edb45fe8cf | [
"BSD-3-Clause"
] | 22 | 2015-04-24T15:35:43.000Z | 2019-07-09T04:54:49.000Z | examples/mt_order_entry/Util.cpp | swtcfoundation/liquibook | 110695cf0a234888555323c94d8b65edb45fe8cf | [
"BSD-3-Clause"
] | 249 | 2015-01-20T14:14:58.000Z | 2019-08-18T13:55:21.000Z | // Copyright (c) 2017 Object Computing, Inc.
// All rights reserved.
// See the file license.txt for licensing information.
#include "Util.h"
#include <iostream>
#include <algorithm>
#include <functional>
#include <cctype>
namespace orderentry
{
std::string nextToken(const std::vector<std::string> & tokens, size_t & p... | 20.635135 | 77 | 0.575639 | coinderex |
ca3b26460e10d7947c6d49a73cae8a7cc34acb13 | 4,362 | cpp | C++ | check_mem.cpp | ejsiron/check_mem | 065824ecd5eaaca8e2216977b09df8ea7ee8fc96 | [
"MIT"
] | null | null | null | check_mem.cpp | ejsiron/check_mem | 065824ecd5eaaca8e2216977b09df8ea7ee8fc96 | [
"MIT"
] | null | null | null | check_mem.cpp | ejsiron/check_mem | 065824ecd5eaaca8e2216977b09df8ea7ee8fc96 | [
"MIT"
] | null | null | null | #include <cctype>
#include <getopt.h>
#include <iostream>
#include <locale>
#include <string>
#include <sys/sysinfo.h>
#include "format_legible.h"
#include "sanitize_numericinput.h"
using namespace format_legible;
using namespace sanitize_numericinput;
using namespace std;
constexpr int NAGSTAT_OK{0};
constexpr int N... | 30.503497 | 201 | 0.730399 | ejsiron |
ca3b334035828bd5ccc227644a15f5c7bfa963d6 | 10,547 | cpp | C++ | src/ccd/taylor_matrix.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 2 | 2020-08-13T02:38:13.000Z | 2021-08-13T08:03:17.000Z | src/ccd/taylor_matrix.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 1 | 2019-06-03T11:44:53.000Z | 2019-06-03T11:44:53.000Z | src/ccd/taylor_matrix.cpp | tgn3000/fcl | dd0dce5023c88c5f98b39234ba8296b15f818e41 | [
"BSD-3-Clause"
] | 4 | 2019-05-31T09:22:58.000Z | 2019-12-30T03:19:24.000Z | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | 23.970455 | 99 | 0.608894 | tgn3000 |
ca3b4c50695ae66649206ea785ed6bdd6c37b7ac | 45 | hpp | C++ | src/boost_beast_core_string_param.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_beast_core_string_param.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_beast_core_string_param.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/beast/core/string_param.hpp>
| 22.5 | 44 | 0.8 | miathedev |
ca3d4e89578738b060fdb40950a308f428ab756d | 551 | hpp | C++ | 3D-Puzzle/include/solve.hpp | g4rgoil/small-projects | f8196ca68955bc609ee19bbd25a8e794ed26c263 | [
"Unlicense"
] | null | null | null | 3D-Puzzle/include/solve.hpp | g4rgoil/small-projects | f8196ca68955bc609ee19bbd25a8e794ed26c263 | [
"Unlicense"
] | null | null | null | 3D-Puzzle/include/solve.hpp | g4rgoil/small-projects | f8196ca68955bc609ee19bbd25a8e794ed26c263 | [
"Unlicense"
] | null | null | null | //
// Created by pascal on 30.12.18.
//
#ifndef INC_3D_PUZZLE_SOLVE_HPP
#define INC_3D_PUZZLE_SOLVE_HPP
#include "puzzle.hpp"
bool solve_min(const Level &level, Solution &solution);
bool solve_min(const Level &level, Solution &solution, u_long z_level);
bool solve_max(const Level &level, Solution &solution);
bo... | 21.192308 | 71 | 0.76951 | g4rgoil |
ca3f465ee1f15620949340662357a23a84be3437 | 10,609 | cpp | C++ | Source/VlcMedia/Private/Player/VlcMediaTracks.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | 1 | 2022-03-23T04:35:54.000Z | 2022-03-23T04:35:54.000Z | Source/VlcMedia/Private/Player/VlcMediaTracks.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | null | null | null | Source/VlcMedia/Private/Player/VlcMediaTracks.cpp | jeirix/UnrealEngine5VLC | f74f5dde001631b2856cece61d5f5b907ae35c3c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "VlcMediaTracks.h"
#include "Vlc.h"
#include "MediaHelpers.h"
#define LOCTEXT_NAMESPACE "FVlcMediaTracks"
/* FVlcMediaTracks structors
*****************************************************************************/
FVlcMediaTracks... | 23.894144 | 170 | 0.650108 | jeirix |
ca3fbe5c7896e81939662328a8a3f97716cf4feb | 836 | cpp | C++ | src/frc/detail/PinSet.cpp | terraindata/frc | 0ccb9194b758f20f218caf464b7d9bd68d28c3fb | [
"MIT"
] | 16 | 2018-06-18T06:19:55.000Z | 2021-09-30T19:26:12.000Z | src/frc/detail/PinSet.cpp | terraindata/frc | 0ccb9194b758f20f218caf464b7d9bd68d28c3fb | [
"MIT"
] | 1 | 2018-05-02T19:49:06.000Z | 2018-05-02T23:48:50.000Z | src/frc/detail/PinSet.cpp | terraindata/frc | 0ccb9194b758f20f218caf464b7d9bd68d28c3fb | [
"MIT"
] | null | null | null | /*
* Copyright 2014, 2017 Terrain Data, Inc.
*
* This file is part of FRC, a fast reference counting library for C++
* (see <https://github.com/terraindata/frc>).
*
* FRC is distributed under the MIT License, which is found in
* COPYING.md in the repository.
*
* You should have received a copy of the MIT Licen... | 20.9 | 70 | 0.655502 | terraindata |
ca40218ba0735d7765dfa3bb3ec89c35393db403 | 12,804 | cpp | C++ | cpp/godot-cpp/src/gen/AudioStreamPlayer3D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/AudioStreamPlayer3D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/AudioStreamPlayer3D.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "AudioStreamPlayer3D.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
#include "AudioStream.hpp"
#include "AudioStreamPlayback.hpp"
namespace godot {
AudioStreamPlayer3D::___method_bindings AudioStreamPlayer3D:... | 50.608696 | 219 | 0.821696 | GDNative-Gradle |
ca4277be3b98995f24c4530027ef1b55568a4af9 | 784 | cpp | C++ | Others/filereadwrite.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | Others/filereadwrite.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | Others/filereadwrite.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | #include<iostream>
#include<fstream>
using namespace std;
struct stud
{
int rol;
char sex;
char name[30];
};
int main()
{
int i,x,c;
stud s1;
cout<<"How many records do you want to store : ";
cin>>c;
ofstream t;
t.open("test.txt",ios::out);
for(i=0;i<c;i++ )
{
cout<<"roll: ";cin>>s1.rol;
cout<<... | 16.333333 | 73 | 0.571429 | TiwariAnil |
ca4945f6a69f90c9f7dbe7ce1d5f32c647b9a1cd | 1,038 | cpp | C++ | hackerRank/interview prep kit/hash tables/anagrams.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | hackerRank/interview prep kit/hash tables/anagrams.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | hackerRank/interview prep kit/hash tables/anagrams.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | // Problem: https://www.hackerrank.com/challenges/sherlock-and-anagrams/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=dictionaries-hashmaps&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen
#include <bits/stdc++.h>
using namespace std;
/*
* Complete the 'sherlockAndAn... | 29.657143 | 237 | 0.601156 | mateuslatrova |
ca520120b51b5b9e2f33b4014fc166be6107d05a | 6,169 | cpp | C++ | tests/utests/fc/static_variant_visitor_tests.cpp | scorum/scorum | 1da00651f2fa14bcf8292da34e1cbee06250ae78 | [
"MIT"
] | 53 | 2017-10-28T22:10:35.000Z | 2022-02-18T02:20:48.000Z | tests/utests/fc/static_variant_visitor_tests.cpp | Scorum/Scorum | fb4aa0b0960119b97828865d7a5b4d0409af7876 | [
"MIT"
] | 38 | 2017-11-25T09:06:51.000Z | 2018-10-31T09:17:22.000Z | tests/utests/fc/static_variant_visitor_tests.cpp | Scorum/Scorum | fb4aa0b0960119b97828865d7a5b4d0409af7876 | [
"MIT"
] | 27 | 2018-01-08T19:43:35.000Z | 2022-01-14T10:50:42.000Z | #include <type_traits>
#include <boost/test/unit_test.hpp>
#include <fc/static_variant.hpp>
#include <fc/optional.hpp>
#include "defines.hpp"
namespace {
struct generic_visitor
{
size_t operator()(const std::vector<int>& x) const
{
return x.size();
}
template <typename T> size_t operator()(cons... | 34.657303 | 119 | 0.579997 | scorum |
ca5273d8ef14230d9b2c37f4ca422d89151a7d0a | 3,913 | hpp | C++ | include/eve/module/real/special/function/regular/generic/gamma_pinv.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/module/real/special/function/regular/generic/gamma_pinv.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/module/real/special/function/regular/generic/gamma_pinv.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 35.252252 | 102 | 0.607207 | orao |
ca53d5354b1af855ac7f3887ccca65d3b5cbf30d | 42,786 | cpp | C++ | frmts/ingr/IntergraphBand.cpp | imincik/pkg-gdal | 0187f37ed1e63ab3618843e8bdca7816b6b2c111 | [
"BSD-3-Clause"
] | 6 | 2017-05-12T08:18:27.000Z | 2022-01-17T17:16:11.000Z | frmts/ingr/IntergraphBand.cpp | imincik/pkg-gdal | 0187f37ed1e63ab3618843e8bdca7816b6b2c111 | [
"BSD-3-Clause"
] | 1 | 2019-03-07T15:25:14.000Z | 2019-03-07T15:25:14.000Z | frmts/ingr/IntergraphBand.cpp | imincik/pkg-gdal | 0187f37ed1e63ab3618843e8bdca7816b6b2c111 | [
"BSD-3-Clause"
] | 2 | 2017-01-18T16:28:58.000Z | 2021-09-03T21:40:43.000Z | /*****************************************************************************
* $Id: IntergraphBand.cpp 25785 2013-03-23 11:34:53Z rouault $
*
* Project: Intergraph Raster Format support
* Purpose: Read/Write Intergraph Raster Format, band support
* Author: Ivan Lucena, ivan.lucena@pmldnet.com
*
***********... | 33.716312 | 97 | 0.418735 | imincik |
ca54b44da4077e88b2ff3648688c4cc53b6e610a | 2,315 | cpp | C++ | Problem201-250/p215_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem201-250/p215_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem201-250/p215_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | /**
* @file p215_1.cpp
* @brief
* @author dingqunfei (dqflying@gmail.com)
* @version 1.0
* @date 2021-05-30
*
* @copyright Copyright (c) 2021 DQFLYING
*
* @par :
*
*
* Date : 2021-05-30
* Version : 1.0
* Author : dqflying
* Lisence :
* Description :
*
*
*
*
*/
class... | 23.15 | 67 | 0.425486 | dingqunfei |
3ed0dcb566953fa1b2ad6fdc125536c460be44a9 | 3,513 | cpp | C++ | examples/hello_console/src/hello_console.cpp | KazDragon/munin | ca5ae77cf5f75f6604fddd1a39393fa6acb88769 | [
"MIT"
] | 6 | 2017-07-15T10:16:20.000Z | 2021-06-14T10:02:37.000Z | examples/hello_console/src/hello_console.cpp | KazDragon/munin | ca5ae77cf5f75f6604fddd1a39393fa6acb88769 | [
"MIT"
] | 243 | 2017-05-01T19:27:07.000Z | 2021-09-01T09:32:49.000Z | examples/hello_console/src/hello_console.cpp | KazDragon/munin | ca5ae77cf5f75f6604fddd1a39393fa6acb88769 | [
"MIT"
] | 2 | 2019-07-16T00:29:43.000Z | 2020-09-19T09:49:00.000Z | #include <munin/button.hpp>
#include <munin/compass_layout.hpp>
#include <munin/filled_box.hpp>
#include <munin/image.hpp>
#include <munin/view.hpp>
#include <munin/window.hpp>
#include <terminalpp/canvas.hpp>
#include <terminalpp/string.hpp>
#include <terminalpp/terminal.hpp>
#include <consolepp/console.hpp>
#include ... | 25.092857 | 77 | 0.623683 | KazDragon |
3edd21036e9b865e2997cb9c5fc8fe55983add0c | 1,693 | cpp | C++ | messages/src/primitives/discoveredcontact.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-07-05T12:01:36.000Z | 2021-03-19T22:48:48.000Z | messages/src/primitives/discoveredcontact.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 41 | 2019-11-26T18:59:54.000Z | 2020-05-01T10:52:47.000Z | messages/src/primitives/discoveredcontact.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-05-21T17:48:16.000Z | 2021-03-19T22:48:49.000Z | #include "discoveredcontact.h"
DiscoveredContact::DiscoveredContact(
std::chrono::time_point<std::chrono::system_clock> created,
std::string channel_moniker,
std::string contact_adress,
std::string public_key,
std::string name,
std::string dialog_id) :
m_created(created),
m_channel_moni... | 32.557692 | 79 | 0.639693 | sqglobe |
3ee1808e94f37765abac9ed838da1ee349b792a2 | 2,802 | cpp | C++ | vkconfig/widget_mute_message.cpp | johnzupin/VulkanTools | 4a4d824b43984d29902f7c8246aab99f0909151d | [
"Apache-2.0"
] | null | null | null | vkconfig/widget_mute_message.cpp | johnzupin/VulkanTools | 4a4d824b43984d29902f7c8246aab99f0909151d | [
"Apache-2.0"
] | null | null | null | vkconfig/widget_mute_message.cpp | johnzupin/VulkanTools | 4a4d824b43984d29902f7c8246aab99f0909151d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Valve Corporation
* Copyright (c) 2020 LunarG, 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
*
* Unl... | 33.759036 | 109 | 0.721271 | johnzupin |
3ee6cd9fdf65775a2b48773bd5caed6390a041a7 | 2,775 | hpp | C++ | systems/opengl/Controllers.hpp | phisko/kengine | c30f98cc8e79cce6574b5f61088b511f29bbe8eb | [
"MIT"
] | 259 | 2018-11-01T05:12:37.000Z | 2022-03-28T11:15:27.000Z | systems/opengl/Controllers.hpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 2 | 2018-11-30T13:58:44.000Z | 2018-12-17T11:58:42.000Z | systems/opengl/Controllers.hpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 16 | 2018-12-01T13:38:18.000Z | 2021-12-04T21:31:55.000Z | #pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "data/LightComponent.hpp"
#include "data/ImGuiToolComponent.hpp"
#include "data/NameComponent.hpp"
#include "functions/InitGBuffer.hpp"
namespace kengine {
namespace Controllers {
struct ShaderProfileComponent {
float executionTime;
};
stat... | 30.163043 | 115 | 0.58991 | phisko |
3ef3d9092f93eead4eb122ace5858bf4e7145936 | 1,799 | inl | C++ | unit_tests/api/cl_retain_release_device_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/api/cl_retain_release_device_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/api/cl_retain_release_device_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/platform/platform.h"
#include "cl_api_tests.h"
using namespace NEO;
typedef api_tests clRetainReleaseDeviceTests;
namespace ULT {
TEST_F(clRetainReleaseDeviceTests, GivenRootDeviceWhenRetainingThenReferenceC... | 29.491803 | 89 | 0.716509 | FelipeMLopez |
3ef3fe29bc120204f8b792ef33c50e955d6a43c9 | 1,026 | cpp | C++ | Wonderland/Wonderland/Editor/Modules/Hoard/Supply/HoardSupplyVault.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 3 | 2018-04-09T13:01:07.000Z | 2021-03-18T12:28:48.000Z | Wonderland/Wonderland/Editor/Modules/Hoard/Supply/HoardSupplyVault.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | null | null | null | Wonderland/Wonderland/Editor/Modules/Hoard/Supply/HoardSupplyVault.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 1 | 2021-03-18T12:28:50.000Z | 2021-03-18T12:28:50.000Z | ////////////////////////////////////////////////////////////////////////////////
// Filename: FluxMyWrapper.cpp
////////////////////////////////////////////////////////////////////////////////
#include "HoardSupplyVault.h"
/*
Hoard::Supply::HoardSupplyVault::HoardSupplyVault()
{
// Set the initial data
// ...
}
Hoa... | 22.304348 | 111 | 0.62963 | RodrigoHolztrattner |
3efbde5d68863ab3f0232e07f9a1d7a79d889838 | 4,293 | cpp | C++ | src_test/smartcontract_vm/instance/test_class_object.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 6 | 2019-01-06T05:02:39.000Z | 2020-10-01T11:45:32.000Z | src_test/smartcontract_vm/instance/test_class_object.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 209 | 2018-05-18T03:07:02.000Z | 2022-03-26T11:42:41.000Z | src_test/smartcontract_vm/instance/test_class_object.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 3 | 2019-07-06T09:16:36.000Z | 2020-10-15T08:23:28.000Z | /*
* test_class_object.cpp
*
* Created on: 2020/03/10
* Author: iizuka
*/
#include "test_utils/t_macros.h"
#include "vm/VirtualMachine.h"
#include "engine/sc/SmartContract.h"
#include "base_io_stream/FileInputStream.h"
#include "base/UnicodeString.h"
#include "ext_binary/ExtPrimitiveObject.h"
#include ".... | 26.337423 | 98 | 0.750757 | alinous-core |
3efec32436185a850d84186ba3e69d3d7f471cdd | 1,052 | hpp | C++ | include/experimental/fundamental/v3/utility/unwrap_ref_decay.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 105 | 2015-01-24T13:26:41.000Z | 2022-02-18T15:36:53.000Z | include/experimental/fundamental/v3/utility/unwrap_ref_decay.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 37 | 2015-09-04T06:57:10.000Z | 2021-09-09T18:01:44.000Z | include/experimental/fundamental/v3/utility/unwrap_ref_decay.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 23 | 2015-01-27T11:09:18.000Z | 2021-10-04T02:23:30.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Vicente J. Botet Escriba 2014,2018.
// 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)
//
//////////////////////////... | 23.377778 | 93 | 0.608365 | jwakely |
41037c90b05165c68ace83722f30299002269378 | 996 | hpp | C++ | physics/BtWorld.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 26 | 2015-04-22T05:25:25.000Z | 2020-11-15T11:07:56.000Z | physics/BtWorld.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 2 | 2015-01-05T10:41:27.000Z | 2015-01-06T20:46:11.000Z | physics/BtWorld.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 5 | 2016-08-02T11:13:57.000Z | 2018-10-26T11:19:27.000Z | #ifndef ___INANITY_PHYSICS_BT_WORLD_HPP___
#define ___INANITY_PHYSICS_BT_WORLD_HPP___
#include "World.hpp"
#include "bt.hpp"
BEGIN_INANITY_PHYSICS
/// Класс физического мира Bullet.
class BtWorld : public World
{
private:
btDefaultCollisionConfiguration* collisionConfiguration;
btCollisionDispatcher* collisionDisp... | 26.918919 | 92 | 0.802209 | quyse |
4103b42e114155aa57c1deb1c1404450b51f4fe7 | 171 | cpp | C++ | Types/TypeSystem/GpTypePropFlags.cpp | heimusharper/GpCore2 | b3b443e8a06ae0121eeb23b93af747f1ce95e15a | [
"MIT"
] | null | null | null | Types/TypeSystem/GpTypePropFlags.cpp | heimusharper/GpCore2 | b3b443e8a06ae0121eeb23b93af747f1ce95e15a | [
"MIT"
] | 1 | 2020-06-19T18:38:40.000Z | 2020-06-19T18:38:40.000Z | Types/TypeSystem/GpTypePropFlags.cpp | heimusharper/GpCore2 | b3b443e8a06ae0121eeb23b93af747f1ce95e15a | [
"MIT"
] | 6 | 2020-06-04T07:32:59.000Z | 2021-05-17T15:41:30.000Z | #include "GpTypePropFlags.hpp"
#if defined(GP_USE_TYPE_SYSTEM)
namespace GPlatform {
GP_ENUM_IMPL(GpTypePropFlag);
}//GPlatform
#endif//GP_USE_TYPE_SYSTEM
| 14.25 | 32 | 0.748538 | heimusharper |
4108057007200034417f0e8d34b50b417fd3a4a5 | 836 | cpp | C++ | Array/LC0560.cpp | xxxsssyyy/leetcode | 1e98ba89e079960f8864747abfa83aa6ce1dee2b | [
"Apache-2.0"
] | 1 | 2021-08-20T02:10:47.000Z | 2021-08-20T02:10:47.000Z | Array/LC0560.cpp | xxxsssyyy/leetcode | 1e98ba89e079960f8864747abfa83aa6ce1dee2b | [
"Apache-2.0"
] | null | null | null | Array/LC0560.cpp | xxxsssyyy/leetcode | 1e98ba89e079960f8864747abfa83aa6ce1dee2b | [
"Apache-2.0"
] | null | null | null | // Created by 邢思远 on 2021/7/29 3:57 下午.
// Copyright (c) xingsiyuan2019@ia.ac.cn
#include<stdio.h>
#include<stdlib.h>
#include<iostream>
#include<vector>
#include<map>
#include<algorithm>
#include<unordered_map>
using namespace std;
/*
题目描述:
给定一个整数数组和一个整数k,你需要找到该数组中和为k的连续的子数组的个数。
示例 1 :
输入:nums = [1,1,1], k = 2
输出: 2... | 19.904762 | 47 | 0.552632 | xxxsssyyy |
410bc256bf871f3ae5392920f5954931bdc02991 | 218 | cpp | C++ | abc/abc180/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | 3 | 2019-06-25T06:17:38.000Z | 2019-07-13T15:18:51.000Z | abc/abc180/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | abc/abc180/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | #include "template.hpp"
int main() {
ll(N);
vll(x, N);
ll m = 0;
double e = 0;
ll c = 0;
each(xi, x) {
m += abs(xi);
e += xi * xi;
chmax(c, abs(xi));
}
out(m);
fout(sqrt(e));
out(c);
}
| 12.111111 | 23 | 0.43578 | wotsushi |
410cad4e889bdb18535e7c85fc5720eaf638ac13 | 2,476 | cpp | C++ | webkit/WebCore/rendering/style/ContentData.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/rendering/style/ContentData.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/rendering/style/ContentData.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundat... | 25.525773 | 77 | 0.615509 | s1rcheese |
410ddde8bfb953b7454871a223706cab8d42f80b | 5,099 | cpp | C++ | src/curl_utils.cpp | cs128-2021c/yahoo-finance | 27edad648da168a3ad19615461f8b8ff362c617a | [
"MIT"
] | 21 | 2019-04-28T08:20:30.000Z | 2022-02-07T03:47:20.000Z | src/curl_utils.cpp | cs128-2021c/yahoo-finance | 27edad648da168a3ad19615461f8b8ff362c617a | [
"MIT"
] | 3 | 2020-12-13T16:21:34.000Z | 2021-02-09T20:09:22.000Z | src/curl_utils.cpp | cs128-2021c/yahoo-finance | 27edad648da168a3ad19615461f8b8ff362c617a | [
"MIT"
] | 13 | 2019-10-31T01:43:03.000Z | 2022-02-07T03:47:23.000Z | #include "curl_utils.hpp"
#include "time_utils.hpp"
#include <curl/curl.h>
#include <algorithm>
#include <sstream>
#include <fstream>
void saveYahooCredentials(const char* filename, std::string *crumb, std::string *cookie) {
// Open cookie file
std::ofstream file(filename);
// Save update time, crumb and... | 28.171271 | 90 | 0.607374 | cs128-2021c |
41120c58db0d5b16d09db6483bcb7988c4e36f4d | 3,071 | cpp | C++ | common/base/src/base/html.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 9 | 2016-08-10T16:51:23.000Z | 2020-04-08T22:07:47.000Z | common/base/src/base/html.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 78 | 2015-02-25T15:16:02.000Z | 2021-10-31T15:58:15.000Z | common/base/src/base/html.cpp | naazgull/zapata | e5734ff88a17b261a2f4547fa47f01dbb1a69d84 | [
"Unlicense"
] | 7 | 2015-01-13T14:39:21.000Z | 2018-11-24T06:48:09.000Z | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
this software, either in source code form or as a compiled binary, for any
purpose, commercial or non-commercial, and by any means.
In jurisdictions that reco... | 32.670213 | 94 | 0.577988 | naazgull |
4112df38df0cfe198bd43e3b4a766e875fb9ef25 | 5,226 | cpp | C++ | StringForge.Test/classtest/rhsusf_c_weapons/config.cpp | Freddo3000/StringForge | f601f0e1eaf3ec1330230c46c0ce9ef3aa08262a | [
"MIT"
] | 8 | 2015-03-16T16:21:14.000Z | 2021-08-03T17:02:22.000Z | StringForge.Test/classtest/rhsusf_c_weapons/config.cpp | Freddo3000/StringForge | f601f0e1eaf3ec1330230c46c0ce9ef3aa08262a | [
"MIT"
] | 37 | 2015-02-08T14:41:47.000Z | 2020-06-16T13:29:31.000Z | StringForge.Test/classtest/rhsusf_c_weapons/config.cpp | Freddo3000/StringForge | f601f0e1eaf3ec1330230c46c0ce9ef3aa08262a | [
"MIT"
] | 4 | 2015-07-13T15:00:29.000Z | 2020-06-04T19:15:55.000Z | #include "script_component.hpp"
#include "script_config.hpp"
class CfgPatches {
class rhsusf_c_weapons {
units[] =
{
rhsusf_weapons_crate,
rhsusf_ammo_crate
};
weapons[] = {"rhsusf_weap_XM2010"};
requiredVersion= 1.32;
requiredAddons[] = {
"A3_Weapons_F_Acc",
"A3_Functions... | 21.957983 | 83 | 0.730961 | Freddo3000 |
4113c008c72bfdc67fd51887f8f012f8b1a7b4f9 | 1,276 | cpp | C++ | bitops.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | bitops.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | bitops.cpp | shirishbahirat/code_examples | ebc8bb743b7b0a4ad1e01164cd85afc0bfe7f107 | [
"MIT"
] | null | null | null | // https://graphics.stanford.edu/~seander/bithacks.html
#include <iostream>
#include <cstdlib>
int get_sign(int value, const int method = 0)
{
int sign;
switch(method)
{
case 0:
sign = -(value < 0);
break;
case 1:
sign = -(int)((unsigned int)((int)value... | 24.538462 | 105 | 0.450627 | shirishbahirat |
411650db2d6e751aa23e2479d1882109cb44ee69 | 552 | hpp | C++ | libs/core/include/fcppt/type_iso/transform.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | libs/core/include/fcppt/type_iso/transform.hpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | libs/core/include/fcppt/type_iso/transform.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// 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 FCPPT_TYPE_ISO_TRANSFORM_HPP_INCLUDED
#define FCPPT_TYPE_ISO_TRANSFORM_HPP_INCLUDED
#inclu... | 25.090909 | 61 | 0.759058 | freundlich |
411ba241aef67ff24853c7f356faf3053f6cc345 | 857 | hpp | C++ | Jagerts.Felcp.IO.Archive/ArchiveFile.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | Jagerts.Felcp.IO.Archive/ArchiveFile.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | Jagerts.Felcp.IO.Archive/ArchiveFile.hpp | Jagreaper/Project-Felcp | 195d5de4230fe98e53d862c5c69b986344bc2cf5 | [
"MIT"
] | null | null | null | #pragma once
#include "Jagerts.Felcp.Shared/Common.hpp"
#include <vector>
#include <string>
namespace Jagerts::Felcp::IO::Archive
{
class ArchiveFileItem;
enum class ArchiveFileItemType
{
Managed,
Unmanaged,
};
class JAGERTS_FELCP_IO_ARCHIVE_API ArchiveFile
{
public:
... | 27.645161 | 98 | 0.691949 | Jagreaper |
411c25baf5de9d08f33bf535592abc3362f2e4c8 | 32,703 | cpp | C++ | core/src/wallet/bitcoin/transaction_builders/BitcoinLikeStrategyUtxoPicker.cpp | hlafet-ledger/lib-ledger-core | 44d21837e51cb6dfdecb4af4a674cae0aee9f06d | [
"MIT"
] | null | null | null | core/src/wallet/bitcoin/transaction_builders/BitcoinLikeStrategyUtxoPicker.cpp | hlafet-ledger/lib-ledger-core | 44d21837e51cb6dfdecb4af4a674cae0aee9f06d | [
"MIT"
] | null | null | null | core/src/wallet/bitcoin/transaction_builders/BitcoinLikeStrategyUtxoPicker.cpp | hlafet-ledger/lib-ledger-core | 44d21837e51cb6dfdecb4af4a674cae0aee9f06d | [
"MIT"
] | null | null | null | /*
*
* BitcoinLikeStrategyUtxoPicker.cpp
* ledger-core
*
* Created by Pierre Pollastri on 29/03/2018.
*
* The MIT License (MIT)
*
* Copyright (c) 2017 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | 54.963025 | 195 | 0.555851 | hlafet-ledger |
411d541676423dc5f4a5e3012a180f58776fe281 | 2,506 | cpp | C++ | aws-cpp-sdk-opsworks/source/model/TemporaryCredential.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-opsworks/source/model/TemporaryCredential.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-opsworks/source/model/TemporaryCredential.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 21.791304 | 80 | 0.737031 | ambasta |
411f653d2548aa272f7715e891eff5237d1dcba7 | 2,732 | cpp | C++ | Engine/source/gfx/gl/gfxGLOcclusionQuery.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/gfx/gl/gfxGLOcclusionQuery.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/gfx/gl/gfxGLOcclusionQuery.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.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... | 28.458333 | 93 | 0.68265 | vbillet |
412156301066ad86210b313db0870c030aec19bc | 3,501 | cpp | C++ | Blocks/Core/ShaderManager.cpp | swr06/Block | 5eca9caa18ba7c296955d6a718f3f9311c3a0351 | [
"MIT"
] | 8 | 2020-11-18T12:04:32.000Z | 2021-07-15T08:19:42.000Z | Blocks/Core/ShaderManager.cpp | swr06/Block | 5eca9caa18ba7c296955d6a718f3f9311c3a0351 | [
"MIT"
] | null | null | null | Blocks/Core/ShaderManager.cpp | swr06/Block | 5eca9caa18ba7c296955d6a718f3f9311c3a0351 | [
"MIT"
] | 2 | 2021-03-27T15:26:39.000Z | 2021-06-06T16:57:15.000Z | #include "ShaderManager.h"
#include <sstream>
static std::unordered_map<std::string, GLClasses::Shader> ShaderManager_ShaderMap;
void Blocks::ShaderManager::CreateShaders()
{
AddShader("RENDER_SHADER", "Core/Shaders/BlockVert.glsl", "Core/Shaders/BlockFrag.glsl");
AddShader("POST_PROCESSING", "Core/Shaders/Tonemapp... | 40.709302 | 136 | 0.762068 | swr06 |
4125897f87cd43ab084d60150ee2ee70fb0119f0 | 82 | cpp | C++ | sources/source.cpp | summersoul17/Lab-05-stak-summersoul | 46f0e1a01438efd6881dbdae969ef48671c3e55f | [
"MIT"
] | null | null | null | sources/source.cpp | summersoul17/Lab-05-stak-summersoul | 46f0e1a01438efd6881dbdae969ef48671c3e55f | [
"MIT"
] | null | null | null | sources/source.cpp | summersoul17/Lab-05-stak-summersoul | 46f0e1a01438efd6881dbdae969ef48671c3e55f | [
"MIT"
] | null | null | null | // Copyright 2021 summersoul17 <17summersoul17@gmail.com>
#include <stack_1.hpp>
| 20.5 | 57 | 0.780488 | summersoul17 |
4126790d31930004e6ee4155508f460a282c545c | 9,902 | cpp | C++ | tests/validation/reference/CropResize.cpp | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 2,313 | 2017-03-24T16:25:28.000Z | 2022-03-31T03:00:30.000Z | tests/validation/reference/CropResize.cpp | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 952 | 2017-03-28T07:05:58.000Z | 2022-03-30T09:54:02.000Z | tests/validation/reference/CropResize.cpp | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 714 | 2017-03-24T22:21:51.000Z | 2022-03-18T19:49:57.000Z | /*
* Copyright (c) 2019-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 49.019802 | 147 | 0.615532 | Ehsan-aghapour |
412929612a93486b34d3c3e5d0f1e7efc34f071c | 1,274 | cpp | C++ | issue/avr-issue-tpl-fun.b.cpp | martinmoene/kalman-estimator | 87a20cca596c51f85d6ce21f4e1e4a6ddf8ae344 | [
"BSL-1.0"
] | 20 | 2018-07-27T21:49:21.000Z | 2022-03-03T08:59:54.000Z | issue/avr-issue-tpl-fun.b.cpp | YiBo-zhu/kalman-estimator | 87a20cca596c51f85d6ce21f4e1e4a6ddf8ae344 | [
"BSL-1.0"
] | 3 | 2018-07-23T12:52:53.000Z | 2019-08-16T13:32:17.000Z | issue/avr-issue-tpl-fun.b.cpp | YiBo-zhu/kalman-estimator | 87a20cca596c51f85d6ce21f4e1e4a6ddf8ae344 | [
"BSL-1.0"
] | 3 | 2019-09-26T16:09:18.000Z | 2022-01-17T03:37:07.000Z | #include "num/fixed-point.hpp"
#include "num/matrix.hpp"
template< typename T, int S >
struct kalman
{
//num::matrix<T,S,S>
auto eye()
{
return num::eye<T,S>();
}
};
using fp15_t = num::fixed_point<int,15>;
auto eye1 = num::eye<double,2>();
auto eye3 = num::eye<num::fixed_point<int,15>,2>();
... | 25.48 | 100 | 0.573783 | martinmoene |
412b249ddcab28c10b579b934e06bc2db2b43a04 | 2,224 | hpp | C++ | src/kernel/inc/device_proxy.hpp | dgaur/dx | 701232e4ba67036de7594f33c3f5445d0c49942f | [
"MIT"
] | null | null | null | src/kernel/inc/device_proxy.hpp | dgaur/dx | 701232e4ba67036de7594f33c3f5445d0c49942f | [
"MIT"
] | null | null | null | src/kernel/inc/device_proxy.hpp | dgaur/dx | 701232e4ba67036de7594f33c3f5445d0c49942f | [
"MIT"
] | null | null | null | //
// device_proxy.hpp
//
#ifndef _DEVICE_PROXY_HPP
#define _DEVICE_PROXY_HPP
#include "dx/system_call.h"
#include "dx/types.h"
#include "hal/interrupt_vectors.h"
#include "hal/spinlock.hpp"
#include "interrupt.hpp"
#include "list.hpp"
#include "thread.hpp"
///
/// List of interrupt handlers/threads
///
typedef lis... | 20.592593 | 75 | 0.739209 | dgaur |
412d5a2045fcd85abaa0fc7075cc83023b708a3f | 57 | cpp | C++ | templatePolymorphism/Func.cpp | chryoung/cpp_testing_ground | ef73f9f3c1745b4a5dd79d34557165f5c282182e | [
"MIT"
] | null | null | null | templatePolymorphism/Func.cpp | chryoung/cpp_testing_ground | ef73f9f3c1745b4a5dd79d34557165f5c282182e | [
"MIT"
] | null | null | null | templatePolymorphism/Func.cpp | chryoung/cpp_testing_ground | ef73f9f3c1745b4a5dd79d34557165f5c282182e | [
"MIT"
] | null | null | null | #include "Func.h"
Func::Func()
{
}
Func::~Func()
{
}
| 4.75 | 17 | 0.491228 | chryoung |
413156fde42dde3ea20828dd95877f8442b02592 | 5,230 | cpp | C++ | src/SharpSvn/Commands/PropertyList.cpp | matherm-aboehm/SharpSvn | 11b1889ab71985b08c9a7338c9237ef8ef5c9e41 | [
"Apache-2.0"
] | 17 | 2021-04-08T13:54:54.000Z | 2022-03-08T07:43:30.000Z | src/SharpSvn/Commands/PropertyList.cpp | AnkhSVN/SharpSvn | 8ed5ae9d2c8a1f3d61a5a5c2186524d83d47886d | [
"Apache-2.0"
] | 24 | 2021-05-18T09:23:45.000Z | 2022-03-28T09:55:42.000Z | src/SharpSvn/Commands/PropertyList.cpp | matherm-aboehm/SharpSvn | 11b1889ab71985b08c9a7338c9237ef8ef5c9e41 | [
"Apache-2.0"
] | 8 | 2021-05-25T19:11:06.000Z | 2022-03-17T08:29:14.000Z | // Copyright 2007-2009 The SharpSvn Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 35.337838 | 282 | 0.697132 | matherm-aboehm |
41327000b99e0d9dce97a78890df771611339a6c | 6,103 | hxx | C++ | Modules/IO/VectorDataIO/include/otbVectorDataFileWriter.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/IO/VectorDataIO/include/otbVectorDataFileWriter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/IO/VectorDataIO/include/otbVectorDataFileWriter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 32.291005 | 142 | 0.687203 | heralex |
4135c39a9ff9163a3527aa9c61d4de59333f3cee | 44 | cpp | C++ | benchmark/bm_main.cpp | matazure/mtensor | 4289284b201cb09ed1dfc49f44d6738751affd63 | [
"MIT"
] | 82 | 2020-04-11T09:33:36.000Z | 2022-03-23T03:47:25.000Z | benchmark/bm_main.cpp | Lexxos/mtensor | feb120923dad3fb4ae3b31dd09931622a63c3d06 | [
"MIT"
] | 28 | 2017-04-26T17:12:35.000Z | 2019-04-08T04:05:24.000Z | benchmark/bm_main.cpp | Lexxos/mtensor | feb120923dad3fb4ae3b31dd09931622a63c3d06 | [
"MIT"
] | 22 | 2017-01-10T14:57:29.000Z | 2019-12-17T08:55:59.000Z | #include "bm_config.hpp"
BENCHMARK_MAIN();
| 11 | 24 | 0.75 | matazure |
4136ce34ca4344eb46aca495234e8d8729c7fb8e | 3,300 | cpp | C++ | service/sys_sigprocmask.cpp | zukisoft/vm | 8da577329a295449ed1517bbf27cb489531b18ac | [
"MIT"
] | 2 | 2017-02-02T13:32:14.000Z | 2017-08-20T07:58:49.000Z | service/sys_sigprocmask.cpp | zukisoft/vm | 8da577329a295449ed1517bbf27cb489531b18ac | [
"MIT"
] | null | null | null | service/sys_sigprocmask.cpp | zukisoft/vm | 8da577329a295449ed1517bbf27cb489531b18ac | [
"MIT"
] | 2 | 2017-03-09T02:41:25.000Z | 2019-07-10T03:22:23.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2016 Michael G. Brehm
//
// 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 restricti... | 45.205479 | 192 | 0.683636 | zukisoft |
4137c5ea94c8c2f83a95f4747f1cbfb4ab5d316e | 1,110 | cpp | C++ | 22/01.cpp | philipplenk/adventofcode21 | 5258525ce5011a63157e3b705329e8a76d2f5110 | [
"BSD-2-Clause"
] | null | null | null | 22/01.cpp | philipplenk/adventofcode21 | 5258525ce5011a63157e3b705329e8a76d2f5110 | [
"BSD-2-Clause"
] | null | null | null | 22/01.cpp | philipplenk/adventofcode21 | 5258525ce5011a63157e3b705329e8a76d2f5110 | [
"BSD-2-Clause"
] | null | null | null | #include <advent.hpp>
#include <iostream>
#include <numeric>
#include <string>
#include <unordered_map>
#include <cstddef>
using namespace advent;
namespace std
{
template <>
struct hash<advent::point3d>
{
std::size_t operator()(const advent::point3d& p) const noexcept
{
return p.x*50+p.y*50*50+p.z;
}
... | 20.555556 | 154 | 0.645045 | philipplenk |
413cfa2e9226d178c3dc3f52ae60c4c86e5335fd | 1,633 | cpp | C++ | Source/Graphics/Camera.cpp | PandarinDev/Winter | 567bd93f1fc8be8e0b9559409f1c80421d0b8e24 | [
"MIT"
] | 1 | 2019-01-08T12:13:59.000Z | 2019-01-08T12:13:59.000Z | Source/Graphics/Camera.cpp | PandarinDev/Winter | 567bd93f1fc8be8e0b9559409f1c80421d0b8e24 | [
"MIT"
] | null | null | null | Source/Graphics/Camera.cpp | PandarinDev/Winter | 567bd93f1fc8be8e0b9559409f1c80421d0b8e24 | [
"MIT"
] | null | null | null | #include "Graphics/Camera.h"
#include <glm/gtc/matrix_transform.hpp>
#include <algorithm>
namespace winter {
const glm::vec3 Camera::WORLD_UP(0.0f, 1.0f, 0.0f);
Camera::Camera(const glm::vec3& position) :
position(position),
direction(glm::vec3(0.0f, 0.0f, -1.0f)),
right(glm::vec3(... | 26.33871 | 70 | 0.592162 | PandarinDev |
41432334a936741c06f1d94b2516c4a8d23e2699 | 3,056 | cpp | C++ | Source/Common/Platform/NMR_ExportStream_Memory.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | Source/Common/Platform/NMR_ExportStream_Memory.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | Source/Common/Platform/NMR_ExportStream_Memory.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2017 Autodesk, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | 33.955556 | 106 | 0.772579 | PolygonalSun |
414be1c07bf7db62524fe2d460bec295e687dbbc | 508 | cpp | C++ | world/religion/source/ReligionFactory.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | world/religion/source/ReligionFactory.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | world/religion/source/ReligionFactory.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "ReligionFactory.hpp"
using std::string;
ReligionFactory::ReligionFactory()
{
}
Religion ReligionFactory::create_religion(const DeityMap& deities)
{
Religion religion;
DeityRelations deity_relations;
for (DeityMap::const_iterator d_it = deities.begin(); d_it != deities.end(); d_it++)
{
DeitySta... | 20.32 | 86 | 0.746063 | sidav |
414cd65aef867e6f61210df356d8965cb8c8fb23 | 1,532 | cpp | C++ | pembroke/src/pembroke/internal/util_test.cpp | JohnMurray/pembroke | 880545899dda12c0038936aa07f92170bd799f6a | [
"MIT"
] | null | null | null | pembroke/src/pembroke/internal/util_test.cpp | JohnMurray/pembroke | 880545899dda12c0038936aa07f92170bd799f6a | [
"MIT"
] | 13 | 2019-09-27T02:18:37.000Z | 2020-06-21T12:55:40.000Z | pembroke/src/pembroke/internal/util_test.cpp | JohnMurray/pembroke | 880545899dda12c0038936aa07f92170bd799f6a | [
"MIT"
] | null | null | null | #include <catch2/catch.hpp>
#include <chrono>
#include "pembroke/internal/util.hpp"
using namespace pembroke;
using namespace std::chrono_literals;
TEST_CASE("create timeval with sub-second value", "[util][timeval]") {
auto micros = 50us;
auto tv = internal::to_timeval(micros);
CHECK(tv.tv_sec == 0);
... | 24.709677 | 81 | 0.63577 | JohnMurray |
414ceb63fff2af440e238566083319909780cefe | 6,051 | cpp | C++ | cocos2d/cocos/editor-support/cocostudio/CCComAttribute.cpp | IoriKobayashi/BluetoothChecker | fb0127d756a2794be89e5a98b031109cdabfc977 | [
"MIT"
] | null | null | null | cocos2d/cocos/editor-support/cocostudio/CCComAttribute.cpp | IoriKobayashi/BluetoothChecker | fb0127d756a2794be89e5a98b031109cdabfc977 | [
"MIT"
] | null | null | null | cocos2d/cocos/editor-support/cocostudio/CCComAttribute.cpp | IoriKobayashi/BluetoothChecker | fb0127d756a2794be89e5a98b031109cdabfc977 | [
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and assoc... | 27.256757 | 90 | 0.636258 | IoriKobayashi |
414db1a4b0a770e292584f07a7d07332d1cb60d0 | 6,254 | cpp | C++ | src/components/FolderListItem.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | src/components/FolderListItem.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | src/components/FolderListItem.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | // ------------------------------------ //
#include "FolderListItem.h"
#include "resources/DatabaseAction.h"
#include "resources/Folder.h"
#include "CacheManager.h"
#include "Database.h"
#include "DualView.h"
using namespace DV;
// ------------------------------------ //
FolderListItem::FolderListItem(const std::sha... | 29.361502 | 95 | 0.638951 | hhyyrylainen |
414dbcdd74d0f23270b5e8a62830afd66f519de3 | 3,487 | cpp | C++ | src/Mahi/Fes/Core/Channel.cpp | chip5441/mahi-fes | 1941255c3b36249be85c40affc1011f6e305d30e | [
"MIT"
] | null | null | null | src/Mahi/Fes/Core/Channel.cpp | chip5441/mahi-fes | 1941255c3b36249be85c40affc1011f6e305d30e | [
"MIT"
] | null | null | null | src/Mahi/Fes/Core/Channel.cpp | chip5441/mahi-fes | 1941255c3b36249be85c40affc1011f6e305d30e | [
"MIT"
] | 2 | 2020-12-21T09:43:35.000Z | 2022-03-28T17:59:21.000Z | // MIT License
//
// Copyright (c) 2020 Mechatronics and Haptic Interfaces Lab - Rice University
//
// 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 l... | 38.318681 | 97 | 0.611127 | chip5441 |
414fe583aa54e17f54d5919c6b9cb262c22134ab | 9,783 | cpp | C++ | fon9/Subr_UT.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 21 | 2019-01-29T14:41:46.000Z | 2022-03-11T00:22:56.000Z | fon9/Subr_UT.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | null | null | null | fon9/Subr_UT.cpp | fonwin/Plan | 3bfa9407ab04a26293ba8d23c2208bbececb430e | [
"Apache-2.0"
] | 9 | 2019-01-27T14:19:33.000Z | 2022-03-11T06:18:24.000Z | // \file fon9/Subr_UT.cpp
// \author fonwinz@gmail.com
#include "fon9/Subr.hpp"
#include "fon9/TestTools.hpp"
#include <atomic>
#include <thread>
//----------------------------------------------------------------------------
typedef uint64_t SubrMsg;
std::atomic<uint64_t> gMsgCount;
#ifdef _DEBUG
static const... | 32.828859 | 109 | 0.551058 | fonwin |
415110ac33d1c6530f72a4e2a7a32013a29a39d3 | 951 | hpp | C++ | bindings/python/parsers/python.hpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bindings/python/parsers/python.hpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | bindings/python/parsers/python.hpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// Copyright (c) 2016 CNRS
//
#ifndef __pinocchio_pythonparser_hpp__
#define __pinocchio_pythonparser_hpp__
#include <boost/python.hpp>
#include "pinocchio/multibody/model.hpp"
namespace pinocchio
{
namespace python
{
/// \brief Load a model from a Python script.
///
/// This function raises a Py... | 27.970588 | 113 | 0.697161 | mkatliar |
a9939bab068b43738b48270853614e49a34a17d3 | 2,150 | cpp | C++ | NeoML/src/Dnn/Layers/ArgmaxLayer.cpp | MTETERIN/neoml | 0a69f76507c194de092b82ed28bc55187cc8573b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoML/src/Dnn/Layers/ArgmaxLayer.cpp | MTETERIN/neoml | 0a69f76507c194de092b82ed28bc55187cc8573b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoML/src/Dnn/Layers/ArgmaxLayer.cpp | MTETERIN/neoml | 0a69f76507c194de092b82ed28bc55187cc8573b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /* Copyright © 2017-2020 ABBYY Production LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 26.875 | 112 | 0.705116 | MTETERIN |
a994eb9eb846c1c9a9d5bc51675678800d18dbe0 | 18,708 | cpp | C++ | src/Main/Main_SetSingleSite.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | 3 | 2015-09-21T20:58:45.000Z | 2019-03-20T01:21:41.000Z | src/Main/Main_SetSingleSite.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null | src/Main/Main_SetSingleSite.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null | #include "NRGclasses.hpp"
int TwoChQSNoSz_SetSingleSite(CNRGbasisarray* pSingleSite){
pSingleSite->NQNumbers=2;
pSingleSite->Nshell=0;
// new
pSingleSite->totalS=true;
pSingleSite->Sqnumbers.push_back(1);
// 16 states divided in 6 Q,S blocks
// with Sz entering in iDegen (Sz=10*iDegen)
// -2 0 : ... | 24.680739 | 72 | 0.666613 | lgds |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.