hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55a1403817ca4bce43b4cc7f9a766496af14f577 | 12,986 | cpp | C++ | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 32 | 2015-09-02T22:56:22.000Z | 2021-02-24T17:15:50.000Z | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 30 | 2015-04-26T18:35:07.000Z | 2021-06-06T09:57:02.000Z | beelzebub/src/tests/bigint.cpp | vercas/Beelzebub | 9d0e4790060b313c6681ca7e478d08d3910332b0 | [
"NCSA"
] | 11 | 2015-09-03T20:47:41.000Z | 2021-06-25T17:00:01.000Z | /*
Copyright (c) 2016 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | 32.710327 | 87 | 0.569844 | vercas |
55a1b52862820322526616c3d1d946a6fd97b712 | 7,104 | cpp | C++ | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/App/main.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unistd.h>
#include "../../../dist/cppframework.hh"
static void tcpServer(fwk::System* system, uint16_t port) {
int i = 0;
try {
fwk::TcpServer& server = fwk::NetworkManager::get().getTCP().createServer(port);
server.events.onAccept.subscribe([] (fwk::TcpSocketStream*) {
... | 29.974684 | 241 | 0.603322 | gautier-lefebvre |
55a2bb439617f4cb6979e752cd110e3ca6a748ed | 291 | hpp | C++ | include/aw/util/log/message.hpp | AlexAUT/rocketWar | edea1c703755e198b1ad8909c82e5d8d56c443ef | [
"MIT"
] | null | null | null | include/aw/util/log/message.hpp | AlexAUT/rocketWar | edea1c703755e198b1ad8909c82e5d8d56c443ef | [
"MIT"
] | null | null | null | include/aw/util/log/message.hpp | AlexAUT/rocketWar | edea1c703755e198b1ad8909c82e5d8d56c443ef | [
"MIT"
] | null | null | null | #pragma once
#include <aw/util/log/level.hpp>
#include <string>
#include <fmt/format.h>
namespace aw::log
{
struct Message
{
const char* module;
const char* fileName;
int lineNumber;
const char* functionName;
Level level;
fmt::memory_buffer message;
};
} // namespace aw::log
| 14.55 | 32 | 0.701031 | AlexAUT |
55a86c5cf49b250d2aec738c971545b6158131cf | 2,454 | cpp | C++ | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | CS2/DanielPinedoCS2Assignment3/DanielPinedoCS2Assignment3/FractionList.cpp | odenipinedo/cpp | 74a7c00e60bfd68e0004013ee05f1fa294056395 | [
"Unlicense"
] | null | null | null | /*
Name: Daniel Pinedo
Class: CS 2
Assignment #: 3
All Compilers Used: VS17
Operating Systems on Which Compiled: Win10
Date and Time of Last successful run: 10/4/2017 @0345
Email: d.p@ieee.org
*/
#include "FractionList.h"
FractionList::FractionList() : num_elements(0), isSorted(false)
{
}
void FractionList::addFract... | 18.313433 | 71 | 0.635697 | odenipinedo |
55ad6c4ef114d36b75863024a6778d960a834f74 | 1,045 | cpp | C++ | mystery/src/graphics/vertex_array.cpp | joaovsq/mystery | 302df8b0ab36b5d4cac163dfa8f3177599461fcd | [
"Apache-2.0"
] | null | null | null | mystery/src/graphics/vertex_array.cpp | joaovsq/mystery | 302df8b0ab36b5d4cac163dfa8f3177599461fcd | [
"Apache-2.0"
] | null | null | null | mystery/src/graphics/vertex_array.cpp | joaovsq/mystery | 302df8b0ab36b5d4cac163dfa8f3177599461fcd | [
"Apache-2.0"
] | null | null | null | #include "vertex_array.hpp"
#include "vertex_buffer_layout.hpp"
#include "index_buffer.hpp"
namespace mystery {
namespace graphics {
VertexArray::VertexArray()
{
glGenVertexArrays(1, &m_VertexArrayID);
}
VertexArray::~VertexArray()
{
glDeleteVertexArrays(1, &m_VertexArrayID);
}
void VertexArray... | 20.9 | 119 | 0.702392 | joaovsq |
55b3cd6b93a7279163db4755860b4a680cb50e44 | 2,568 | cpp | C++ | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 327 | 2015-01-02T19:25:13.000Z | 2022-03-07T21:25:48.000Z | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 13 | 2015-01-14T23:35:43.000Z | 2016-02-07T16:13:18.000Z | external/mintomic/tests/template.test_bitarray.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 72 | 2015-01-01T11:11:23.000Z | 2021-12-28T06:52:10.000Z | #include <mintomic/mintomic.h>
#include <mintpack/random.h>
#include <mintpack/timewaster.h>
#include <mintpack/threadsynchronizer.h>
#include <assert.h>
#include <string.h>
#define ELEMENT(index) ((index) >> ${TEST_INT_BITSHIFT})
#define BIT(index) ((uint${TEST_INT_BITSIZE}_t) 1 << ((index) & (${TEST_INT_BITSIZE} - ... | 28.21978 | 93 | 0.589564 | ehei1 |
55b966e8f247353ca6746bcadbe3bae3102f5136 | 892 | cpp | C++ | libs/libzkutil/src/tests/zkutil_zookeeper_holder.cpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | null | null | null | libs/libzkutil/src/tests/zkutil_zookeeper_holder.cpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | null | null | null | libs/libzkutil/src/tests/zkutil_zookeeper_holder.cpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 2 | 2018-11-29T11:15:02.000Z | 2019-04-12T16:56:31.000Z | #include <zkutil/ZooKeeperHolder.h>
#include <iostream>
#include <Poco/Util/Application.h>
int main()
{
// Test::initLogger();
zkutil::ZooKeeperHolder zk_holder;
zk_holder.init("localhost:2181");
{
auto zk_handler = zk_holder.getZooKeeper();
if (zk_handler)
{
bool ... | 27.030303 | 83 | 0.580717 | 189569400 |
55ba31f466600245ba2761bb123ea27c471afd00 | 646 | cpp | C++ | EVENTS/UI/RecordSelection.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | 7 | 2019-02-09T13:09:10.000Z | 2020-10-31T18:01:41.000Z | EVENTS/UI/RecordSelection.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | 1 | 2021-06-04T01:07:52.000Z | 2021-06-06T20:43:44.000Z | EVENTS/UI/RecordSelection.cpp | claudioperez/R2DTool | 7afa6bac42fe40a378878bda2efff423ac242e68 | [
"BSD-2-Clause"
] | 12 | 2018-09-06T22:29:58.000Z | 2020-09-21T18:42:54.000Z | #include "RecordSelection.h"
RecordSelection::RecordSelection(QObject *parent) : QObject(parent)
{
m_recordId = -1;
m_scaleFactor = 0.0;
}
int RecordSelection::recordId() const
{
return m_recordId;
}
void RecordSelection::setRecordId(int recordId)
{
if(m_recordId != recordId)
{
m_recordId... | 17.944444 | 67 | 0.685759 | claudioperez |
55bbc358cefbdfda93859d14d6f84cacb949dc08 | 4,865 | cpp | C++ | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | null | null | null | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | null | null | null | src/number/ratio.cpp | peelonet/peelo-cpp | 8b1923f25175497cf46478c9ab5e9fbab365b6d6 | [
"BSD-2-Clause"
] | 1 | 2018-10-06T05:02:45.000Z | 2018-10-06T05:02:45.000Z | /*
* Copyright (c) 2014, peelo.net
* 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 conditions ... | 26.297297 | 84 | 0.612333 | peelonet |
55c16bef9d6e1bcfb465455be82e6c3eecf84335 | 3,787 | cpp | C++ | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | src/consensus/sliver.cpp | beerriot/concord | b03ccf01963bd072915020bb954a7afdb3074d79 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
/**
* Sliver -- Zero-copy management of bytes.
*
* See sliver.hpp for design details.
*/
#include "sliver.hpp"
#include <algorithm>
#include <cassert>
#include <cstring>
#include <ios>
#include <memory>
#include "... | 28.473684 | 80 | 0.667019 | beerriot |
55c198449268a5b7ebfd22023399226b5bf3369f | 228 | cpp | C++ | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | main.cpp | robbor78/OpenGLTetris3D | b388cbdc2eda9fcc9a073f8aa857b0912819e695 | [
"Apache-2.0"
] | null | null | null | /*
* main.cpp
*
* Created on: 20 Dec 2013
* Author: bert
*/
#include "Application.h"
int main() {
Tetris3D::Application* app = new Tetris3D::Application();
app->Init();
app->Run();
delete app;
return 0;
}
| 10.363636 | 58 | 0.587719 | robbor78 |
55c3c51ea93de32d97b92712a0ef8b75bd475e90 | 426 | cpp | C++ | src/cpp/ax/name.cpp | bryanedds/ax | 3a84ea729341a31754078f68adc091dce59edc97 | [
"MIT"
] | 12 | 2016-02-04T12:29:05.000Z | 2019-01-16T05:49:32.000Z | src/cpp/ax/name.cpp | bryanedds/ax | 3a84ea729341a31754078f68adc091dce59edc97 | [
"MIT"
] | 12 | 2016-02-08T19:52:14.000Z | 2019-08-26T06:58:16.000Z | src/cpp/ax/name.cpp | bryanedds/ax | 3a84ea729341a31754078f68adc091dce59edc97 | [
"MIT"
] | 2 | 2016-02-08T15:55:29.000Z | 2020-01-06T08:23:45.000Z | #include "ax/name.hpp"
#include "ax/hash.hpp"
namespace ax
{
name::name(const char* name_str) : name(std::string(name_str)) { }
name::name(const std::string& name_str) : hash_code(get_hash(name_str)), name_str(name_str) { }
name::name(std::string&& name_str) : hash_code(get_hash(name_str)), name_str(nam... | 28.4 | 99 | 0.676056 | bryanedds |
55c3f45c2955619e2b1d1c5d5a9e28969c810ee3 | 6,576 | hpp | C++ | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 1,570 | 2016-06-30T10:40:04.000Z | 2022-03-31T01:47:33.000Z | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 9 | 2017-01-16T07:09:08.000Z | 2020-08-25T18:28:59.000Z | src/Vulkan/VkTimelineSemaphore.hpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 253 | 2016-06-30T18:57:10.000Z | 2022-03-25T03:57:40.000Z | // Copyright 2021 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 39.377246 | 113 | 0.756083 | sunnycase |
55c42a09001231832430ab515221e62db87f5a28 | 1,537 | hpp | C++ | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | test/tuple_hash.hpp | gkoszegi/cached_func | 97ad6158c31e39bb041b7612965d5a03c39020bf | [
"BSL-1.0"
] | null | null | null | #ifndef FUNCTOOLS_TEST_TUPLE_HASH_HPP_INCUDED
#define FUNCTOOLS_TEST_TUPLE_HASH_HPP_INCUDED
#include <boost/functional/hash.hpp>
#include <tuple>
// =====================================================================================================================
namespace std
{
template<typename T>
struct... | 26.5 | 120 | 0.488614 | gkoszegi |
55c48e32ed7d56897cd90e2126cffd8b2f874b31 | 4,045 | cc | C++ | src/ParticleShifter.cc | touuki/sovol | b2e4d7bcf335b9cb97b5e1ad799cb405a93f2ddb | [
"MIT"
] | null | null | null | src/ParticleShifter.cc | touuki/sovol | b2e4d7bcf335b9cb97b5e1ad799cb405a93f2ddb | [
"MIT"
] | null | null | null | src/ParticleShifter.cc | touuki/sovol | b2e4d7bcf335b9cb97b5e1ad799cb405a93f2ddb | [
"MIT"
] | 1 | 2022-01-22T15:14:02.000Z | 2022-01-22T15:14:02.000Z | #include "ParticleShifter.hh"
#include "Rotator.hh"
class CustomParticleShifter : public ParticleShifter {
#ifdef __EMSCRIPTEN__
private:
emscripten::val func;
public:
CustomParticleShifter(emscripten::val v) : func(v["func"]){};
void operator()(Particle &p) const override {
emscripten::val result = func... | 33.155738 | 78 | 0.650927 | touuki |
55c515700b7ba80f217aaafba2ca2fa875d9ac94 | 1,596 | cpp | C++ | UVa 10140 - Prime Distance/sample/10140 - Prime Distance.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 10140 - Prime Distance/sample/10140 - Prime Distance.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 10140 - Prime Distance/sample/10140 - Prime Distance.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <math.h>
#define maxL (1000000>>5)+1
#define GET(x) (mark[x>>5]>>(x&31)&1)
#define SET(x) (mark[x>>5]|=1<<(x&31))
int mark[maxL];
int p[700000], pt = 0;
void sieve() {
register int i, j, k;
SET(1);
int n = 1000000;
for(i = 2; i <= n; i++) {
if(!GET(i)) {
p... | 24.9375 | 83 | 0.348371 | tadvi |
55cb43bf19d21f4259faf77ca80ce38b7da59800 | 8,290 | cpp | C++ | src/software/ai/hl/stp/tactic/receiver/receiver_fsm.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | src/software/ai/hl/stp/tactic/receiver/receiver_fsm.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | src/software/ai/hl/stp/tactic/receiver/receiver_fsm.cpp | jonl112/Software | 61a028a98d5c0dd5e79bf055b231633290ddbf9f | [
"MIT"
] | null | null | null | #include "software/ai/hl/stp/tactic/receiver/receiver_fsm.h"
Angle ReceiverFSM::getOneTouchShotDirection(const Ray& shot, const Ball& ball)
{
Vector shot_vector = shot.toUnitVector();
Angle shot_dir = shot.getDirection();
Vector ball_vel = ball.velocity();
Vector lateral_vel = ball_vel.project(... | 40.637255 | 90 | 0.677443 | jonl112 |
55cd8f3d6d6f33947692c7a8d22baf0e3875337b | 324 | cpp | C++ | src/pte/Application.cpp | carbonacat/pokitto-tasui-examples | 7b7122fc5e3e6b51f40fa9b927e76c20b120fa4b | [
"Apache-2.0"
] | null | null | null | src/pte/Application.cpp | carbonacat/pokitto-tasui-examples | 7b7122fc5e3e6b51f40fa9b927e76c20b120fa4b | [
"Apache-2.0"
] | null | null | null | src/pte/Application.cpp | carbonacat/pokitto-tasui-examples | 7b7122fc5e3e6b51f40fa9b927e76c20b120fa4b | [
"Apache-2.0"
] | null | null | null | #include "pte/Application.hpp"
#include <Pokitto.h>
#include <miloslav.h>
namespace pte
{
// Application - Lifecycle.
void Application::init() noexcept
{
using PD = Pokitto::Display;
PD::loadRGBPalette(miloslav);
}
Application::Activities Application::activitie... | 16.2 | 52 | 0.62037 | carbonacat |
55ce80f5ca9b57284e7d4a293c999251052d5195 | 13,186 | cpp | C++ | private/inet/controls/framewrk/ipserver.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/iecontrols/framewrk/ipserver.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/iecontrols/framewrk/ipserver.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //=--------------------------------------------------------------------------=
// IPServer.Cpp
//=--------------------------------------------------------------------------=
// Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
... | 26.965235 | 90 | 0.489686 | King0987654 |
55d0439f046914458c65f31edb2f53ced9d40a73 | 1,951 | cpp | C++ | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/bsp.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* bsp.cpp :+: :+: :+: ... | 39.816327 | 82 | 0.401845 | tderwedu |
55d4badb294537850bad54832a1c64277200745d | 4,569 | cxx | C++ | main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 44.359223 | 108 | 0.739987 | Grosskopf |
55d544cba0d062d05eac5b65bd04cb2badee4341 | 73,663 | cpp | C++ | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs14.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.XR.InputDevice>
struct IEqualityComparer_1_tC19DB848F703F8CA24DB7... | 47.219872 | 257 | 0.819109 | frenchmajorcsminor |
55d565e806961ae8396df58a3c18aad947ef4f4a | 3,827 | cpp | C++ | dev/Gems/LmbrCentral/Code/Tests/EditorCapsuleShapeComponentTests.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/LmbrCentral/Code/Tests/EditorCapsuleShapeComponentTests.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/LmbrCentral/Code/Tests/EditorCapsuleShapeComponentTests.cpp | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 38.656566 | 129 | 0.681735 | kostenickj |
55d7ba03bdda2056f37782b518d1ef175d618f3b | 1,697 | cpp | C++ | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 19 | 2016-08-16T10:19:07.000Z | 2018-12-04T01:00:00.000Z | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 1 | 2016-08-18T04:23:19.000Z | 2017-01-26T22:46:44.000Z | Source/Shared/engine/cfc/gpu/gfx.cpp | JJoosten/IndirectOcclusionCulling | 0376da0f9bdb14e67238a5b54e928e50ee33aef6 | [
"MIT"
] | 1 | 2019-09-23T10:49:36.000Z | 2019-09-23T10:49:36.000Z | #include "gfx.h"
#include <cfc/core/io.h>
namespace cfc {
void gfx_gpu_timer_query::Begin(gfx_command_list* const cmdList, const char* const description)
{
m_cmdList = cmdList;
m_startIndex = cmdList->InsertTimerQuery();
usize descriptionLength = strlen(description);
stl_assert(descriptionLength < GFX_MAX... | 27.819672 | 173 | 0.763701 | JJoosten |
55d836281060d5085df1f2fefceed3c1c210be72 | 5,906 | cpp | C++ | src/particle_filter.cpp | lilipads/CarND-Kidnapped-Vehicle-Project | bd586726bcc16503f21c1c39b55199216b562d34 | [
"MIT"
] | null | null | null | src/particle_filter.cpp | lilipads/CarND-Kidnapped-Vehicle-Project | bd586726bcc16503f21c1c39b55199216b562d34 | [
"MIT"
] | null | null | null | src/particle_filter.cpp | lilipads/CarND-Kidnapped-Vehicle-Project | bd586726bcc16503f21c1c39b55199216b562d34 | [
"MIT"
] | null | null | null | /*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#include <random>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <math.h>
#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include <limits>
#include "particle_filter.h"
usin... | 31.752688 | 101 | 0.692347 | lilipads |
55da40767ee4d3fd7a8c7597049c46a761b9fc8a | 12,400 | cpp | C++ | PyDK/DCAffineTransform3.cpp | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | 14 | 2015-09-12T01:32:05.000Z | 2021-10-13T02:52:53.000Z | PyDK/DCAffineTransform3.cpp | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | PyDK/DCAffineTransform3.cpp | hhg128/DKGL | c61bc6546ac5655da97462cc532a9034ba08516d | [
"PSF-2.0",
"BSD-3-Clause"
] | 3 | 2015-11-10T03:12:49.000Z | 2018-10-15T15:38:31.000Z | #include <Python.h>
#include <structmember.h>
#include <DK/DK.h>
#include "DCObject.h"
struct DCAffineTransform3
{
PyObject_HEAD
DKAffineTransform3 affineTransform3;
};
static PyObject* DCAffineTransform3New(PyTypeObject* type, PyObject* args, PyObject* kwds)
{
DCAffineTransform3* self = (DCAffineTransform3*)type-... | 27.990971 | 143 | 0.655887 | hhg128 |
55dc54a2eced19c10cf783d11aeed761de3f342d | 2,157 | hpp | C++ | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | memhlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | null | null | null | #ifndef MEMHLP_H
#define MEMHLP_H
#include <tuple>
#include <map>
#include <unordered_map>
#include <elf.h>
#include <cstddef>
#include <string>
enum symbl{
SYM_INVALID, SYM_ON, SYM_SEL_ON, SYM_M_LOOP, SYM_ENTRYP,
SYM_ALU_EQ, SYM_ALU_ADD, SYM_BIT_SET, SYM_BIT_CLR,
SYM_ALU_AND, SYM_ALU_OR, SYM_ALU_XOR, SYM_ALU_SHL,... | 32.681818 | 69 | 0.724618 | yqw1212 |
55e1cec71fcea52c28148e45891cab7c6eaaad90 | 15,001 | hpp | C++ | include/pstore/mcrepo/compilation.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | include/pstore/mcrepo/compilation.hpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | include/pstore/mcrepo/compilation.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- include/pstore/mcrepo/compilation.hpp --------------*- mode: C++ -*-===//
//* _ _ _ _ *
//* ___ ___ _ __ ___ _ __ (_) | __ _| |_(_) ___ _ __ *
//* / __/ _ \| '_ ` _ \| '_ \| | |/ _` | __| |/ _ \| '_ \ *
//* | (_| (_) | | | | | | |_) | | | (_| | |_| | (_) |... | 49.022876 | 100 | 0.515632 | paulhuggett |
55e3efd6f6edf5de07f1b2d25fee72a9852bfbdb | 3,752 | hpp | C++ | src/libraries/core/fields/DimensionedFields/DimensionedSymmTensorField/DimensionedSymmTensorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fields/DimensionedFields/DimensionedSymmTensorField/DimensionedSymmTensorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/fields/DimensionedFields/DimensionedSymmTensorField/DimensionedSymmTensorField.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 32.626087 | 79 | 0.545309 | MrAwesomeRocks |
55e537fd69426fb6d3cb722d59fa00f56456eac7 | 893 | cc | C++ | src/command/rm_command.cc | archilleu/lsm-db | e3a6f0de370722a69419f56646ab42f89e6abdbf | [
"Unlicense"
] | null | null | null | src/command/rm_command.cc | archilleu/lsm-db | e3a6f0de370722a69419f56646ab42f89e6abdbf | [
"Unlicense"
] | null | null | null | src/command/rm_command.cc | archilleu/lsm-db | e3a6f0de370722a69419f56646ab42f89e6abdbf | [
"Unlicense"
] | null | null | null | //---------------------------------------------------------------------------
#include "rm_command.h"
//---------------------------------------------------------------------------
namespace lsm
{
//---------------------------------------------------------------------------
using namespace base::json;
//--------------... | 31.892857 | 77 | 0.256439 | archilleu |
55e6582fa1a3884c2a5e27b5936a50fdd0af71b0 | 828 | cpp | C++ | src_test/blockchain/trx/DummyAddress.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 1 | 2020-10-15T08:24:35.000Z | 2020-10-15T08:24:35.000Z | src_test/blockchain/trx/DummyAddress.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | src_test/blockchain/trx/DummyAddress.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | null | null | null | /*
* DummyAddress.cpp
*
* Created on: 2019/01/04
* Author: iizuka
*/
#include "blockchain/trx/DummyAddress.h"
namespace codablecash {
DummyAddress::DummyAddress() : AbstractAddress(100){
}
DummyAddress::~DummyAddress() {
}
AbstractAddress* DummyAddress::clone() const noexcept {
return nullptr;
}
bool... | 16.897959 | 102 | 0.741546 | alinous-core |
55e884e7214c235746421f6dec1be3bd99daddc6 | 7,951 | cpp | C++ | projects/video/src/Stream.cpp | jsvenus/MosaicUI | 5e01079eb29f82a5916dcbd8c8fd7936e322b873 | [
"MIT"
] | 1 | 2019-02-01T01:41:42.000Z | 2019-02-01T01:41:42.000Z | projects/video/src/Stream.cpp | jsvenus/MosaicUI | 5e01079eb29f82a5916dcbd8c8fd7936e322b873 | [
"MIT"
] | null | null | null | projects/video/src/Stream.cpp | jsvenus/MosaicUI | 5e01079eb29f82a5916dcbd8c8fd7936e322b873 | [
"MIT"
] | null | null | null | #include <video/Stream.h>
/*
libav signals a SIGPIPE when the remote connections disconnects
when it's not yet initialized, therefore we need to handle the
SIGPIPE.
See: https://git.libav.org/?p=libav.git;a=commitdiff;h=6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f
*/
#include <signal.h>
extern "C" {
... | 25.731392 | 161 | 0.574267 | jsvenus |
55e8a46085f327361786e5db44c171b77f43827f | 13,139 | hpp | C++ | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/GameSongController.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"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"
// Including type: SongController... | 56.878788 | 498 | 0.755841 | marksteward |
55e9af34cd76704e307c1b2ae8d340cdb645311b | 1,855 | hpp | C++ | src/gamescene.hpp | zhs007/natasha | 80b1a20b68ee1c162973b300933673dc15cf3228 | [
"Apache-2.0"
] | null | null | null | src/gamescene.hpp | zhs007/natasha | 80b1a20b68ee1c162973b300933673dc15cf3228 | [
"Apache-2.0"
] | null | null | null | src/gamescene.hpp | zhs007/natasha | 80b1a20b68ee1c162973b300933673dc15cf3228 | [
"Apache-2.0"
] | null | null | null | #ifndef __NATASHA_GAMESCENE_H__
#define __NATASHA_GAMESCENE_H__
#include "basedef.hpp"
#include "symbol.hpp"
#include <vector>
BEGIN_NATASHA()
// -----------------------------------------------------------------------------------
// GameSceneNode
struct GameSceneNode {
int x, y;
SymbolCode ... | 21.823529 | 86 | 0.490027 | zhs007 |
55ec9afa2f616b458c9948c60c14610c41382a65 | 36,597 | cpp | C++ | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 523 | 2018-02-02T08:07:24.000Z | 2022-03-21T15:44:39.000Z | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 28 | 2018-02-02T20:58:13.000Z | 2022-02-06T15:03:41.000Z | lib/dffi_impl.cpp | kamino/dragonffi | 3c983cc8c091d5472f7cdeab1b06dc3b1902e1be | [
"Apache-2.0"
] | 28 | 2018-02-02T12:05:55.000Z | 2021-09-16T21:05:05.000Z | // Copyright 2018 Adrien Guinet <adrien@guinet.me>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | 30.909628 | 156 | 0.672268 | kamino |
55ef13ffe7397e3cd0f9122590867242ec7e6615 | 1,165 | cpp | C++ | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | UnionFind and Kruskal/1160.cpp | enricava/Competitive-Programming | ea39f5c74acc2202f3933f693f6d7f03f5435391 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <fstream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <utility>
#include <queue>
using namespace std;
int MAX = 100000;
struct UFDS {
vector<int> p;
int numSets;
UFDS(int n) : p(n, 0), numSets(n) {
for (int i = ... | 17.651515 | 46 | 0.549356 | enricava |
55f2d742a669d0004515682a655c2057b9b5ff95 | 181 | cpp | C++ | sample_class.cpp | yoggy/google_test_study | 297912dfeb24906d52c70cc88f1e78b6d02f12b5 | [
"MIT"
] | null | null | null | sample_class.cpp | yoggy/google_test_study | 297912dfeb24906d52c70cc88f1e78b6d02f12b5 | [
"MIT"
] | null | null | null | sample_class.cpp | yoggy/google_test_study | 297912dfeb24906d52c70cc88f1e78b6d02f12b5 | [
"MIT"
] | null | null | null | #include "sample_class.h"
SampleClass::SampleClass() : value_(0)
{
}
void SampleClass::add(const int &val)
{
value_ += val;
}
int SampleClass::value() const
{
return value_;
}
| 11.3125 | 38 | 0.679558 | yoggy |
55f7ed82ee5480f392388da618c41db1f63054d7 | 460 | hpp | C++ | src/HttpRoleList.hpp | dantin/srt-server | d355f78b0f8e44e0fdfd164d515e2df978d30dcd | [
"BSD-3-Clause"
] | null | null | null | src/HttpRoleList.hpp | dantin/srt-server | d355f78b0f8e44e0fdfd164d515e2df978d30dcd | [
"BSD-3-Clause"
] | null | null | null | src/HttpRoleList.hpp | dantin/srt-server | d355f78b0f8e44e0fdfd164d515e2df978d30dcd | [
"BSD-3-Clause"
] | null | null | null | #ifndef _HttpRoleList_INCLUDE_
#define _HttpRoleList_INCLUDE_
#include <list>
#include "HttpClient.hpp"
#include "SLSLock.hpp"
/**
* CHttpRoleList
*/
class CHttpRoleList
{
public :
CHttpRoleList();
~CHttpRoleList();
int push(CHttpClient *role);
CHttpClient *pop();
void erase();
... | 14.375 | 42 | 0.619565 | dantin |
55f8c49ba682152823f34a8e664ed909846c13d9 | 298 | hpp | C++ | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | null | null | null | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | 1 | 2017-04-21T16:18:44.000Z | 2017-04-21T16:18:44.000Z | include/lilypad.hpp | yt-siden/lilypad | 38f3000675b1ac2e350c70157bd31cf58f105b87 | [
"MIT"
] | null | null | null | #ifndef LILYPAD_HPP
#define LILYPAD_HPP
#include "lilypad/info.hpp"
#include "lilypad/global.hpp"
#include "lilypad/communicator.hpp"
#include "lilypad/multivector.hpp"
#include "lilypad/localmatrix.hpp"
#include "lilypad/mkl_wrapper.hpp"
#include "lilypad/cholesky_qr.hpp"
#endif // LILYPAD_HPP
| 22.923077 | 35 | 0.788591 | yt-siden |
55f92026527a5d536ca73a29c5aaee8d5095dda9 | 4,723 | cpp | C++ | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/university | 5561969b1b11678228aaf7e6660e8b1a93d10294 | [
"WTFPL"
] | 1 | 2018-06-03T17:48:50.000Z | 2018-06-03T17:48:50.000Z | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | null | null | null | discrete-maths/languages/i_fastminimization.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | 14 | 2019-04-07T21:27:09.000Z | 2021-12-05T13:37:25.000Z | #include <fstream>
#include <vector>
#include <queue>
#include <map>
#include <unordered_set>
using namespace std;
struct vertex {
int index;
bool accept, reach, reachable;
int transitions[26];
vector<int> back[26];
vertex() {
for (int i = 0; i < 26; ++i)
... | 38.398374 | 109 | 0.367986 | nothingelsematters |
55ffab4f797918d281220e300a7cf53711bc6a75 | 1,433 | cpp | C++ | polish-spoj/AL_31_01/solution.cpp | kpagacz/spoj | 8bff809c6c5227a6e85e9b12f808dd921f24e587 | [
"MIT"
] | 1 | 2021-12-06T16:01:55.000Z | 2021-12-06T16:01:55.000Z | polish-spoj/AL_31_01/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | polish-spoj/AL_31_01/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | // link to the problem https://pl.spoj.com/problems/AL_31_01/
#include<string>
#include<unordered_map>
#include<vector>
#include<iostream>
struct Match {
std::string team1, team2, result;
Match(std::string team1_, std::string team2_, std::string result_) : team1(team1_), team2(team2_), result(result_) {}
Match() = ... | 21.073529 | 118 | 0.60014 | kpagacz |
3601aab5419b377ba0309c7636afd817d126d9ff | 3,044 | cpp | C++ | code/steps/source/model/pvu_models/pv_converter_model/pv_converter_model.cpp | cuihantao/steps | 60327bf42299cb7117ed5907a931583d7cdf590d | [
"MIT"
] | 1 | 2021-01-21T13:10:40.000Z | 2021-01-21T13:10:40.000Z | code/steps/source/model/pvu_models/pv_converter_model/pv_converter_model.cpp | cuihantao/steps | 60327bf42299cb7117ed5907a931583d7cdf590d | [
"MIT"
] | null | null | null | code/steps/source/model/pvu_models/pv_converter_model/pv_converter_model.cpp | cuihantao/steps | 60327bf42299cb7117ed5907a931583d7cdf590d | [
"MIT"
] | 1 | 2020-10-01T03:48:38.000Z | 2020-10-01T03:48:38.000Z | #include "header/model/pvu_models/pv_converter_model/pv_converter_model.h"
#include "header/basic/utility.h"
#include "header/basic/constants.h"
#include "header/steps_namespace.h"
#include <cstdio>
#include <istream>
#include <iostream>
using namespace std;
PV_CONVERTER_MODEL::PV_CONVERTER_MODEL(STEPS& toolkit) : PV... | 27.672727 | 101 | 0.799277 | cuihantao |
36022e8cf7a40d4c93a98ebf926ed6c0c64a1a45 | 3,435 | cpp | C++ | liboh/plugins/monoscript/MonoArray.cpp | danielrh/sirikata | 063740f96f24f6f60b047453f7254297d1a33f29 | [
"BSD-3-Clause"
] | 3 | 2015-12-23T14:26:05.000Z | 2016-05-09T04:05:51.000Z | liboh/plugins/monoscript/MonoArray.cpp | danielrh/sirikata | 063740f96f24f6f60b047453f7254297d1a33f29 | [
"BSD-3-Clause"
] | null | null | null | liboh/plugins/monoscript/MonoArray.cpp | danielrh/sirikata | 063740f96f24f6f60b047453f7254297d1a33f29 | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata - Mono Embedding
* MonoArray.cpp
*
* Copyright (c) 2009, Stanford University
* 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 ... | 39.482759 | 95 | 0.546725 | danielrh |
3602aeb157c769208642c454418c8692085b651e | 439 | hpp | C++ | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | 2 | 2020-05-05T13:31:55.000Z | 2022-01-16T15:38:00.000Z | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | null | null | null | include/Sprite/Magema.hpp | VisualGMQ/Chaos_Dungeon | 95f9b23934ee16573bf9289b9171958f750ffc93 | [
"MIT"
] | 1 | 2021-11-27T02:32:24.000Z | 2021-11-27T02:32:24.000Z | #ifndef MAGEMA_HPP
#define MAGEMA_HPP
#include "Animation.hpp"
#include "Sprite.hpp"
#include "ColliSystem.hpp"
#include "WorldModel.hpp"
class Magema : public ColliableSprite{
public:
static Magema* Create();
void Init() override;
void Collied(Object* oth, BasicProp* prop, const Manifold* m) override;
... | 19.954545 | 75 | 0.694761 | VisualGMQ |
3604de1cd1b5720a81401a9316a4387b0af2c56f | 333 | cpp | C++ | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | LeetCode/1018.Binary_Prefix_Divisible_By_5.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | class Solution {
public:
vector<bool> prefixesDivBy5(vector<int>& A) {
vector<bool>ans;
int now = 0;
for(int i = 0; i < A.size(); ++i) {
now = (now * 2 + A[i]) % 5;
if(now % 5 == 0) ans.push_back(true);
else ans.push_back(false);
}
return a... | 23.785714 | 49 | 0.453453 | w181496 |
360831d1f77f6b94ffda27eda355bd34ba9f2c54 | 2,949 | cpp | C++ | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 2 | 2018-10-31T08:09:03.000Z | 2021-01-18T19:23:54.000Z | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 1 | 2020-02-02T11:58:22.000Z | 2020-02-02T11:58:22.000Z | microbench/check.cpp | DanieleDeSensi/Nornir | 60587824d6b0a6e61b8fc75bdea37c9fc69199c7 | [
"MIT"
] | 1 | 2019-04-13T09:54:49.000Z | 2019-04-13T09:54:49.000Z | /*
* check.cpp
*
* Created on: 26/03/2016
*
* Checks if the architecture is supported.
*
* =========================================================================
* Copyright (C) 2015-, Daniele De Sensi (d.desensi.software@gmail.com)
*
* This file is part of nornir.
*
* nornir is free software: you can... | 39.851351 | 80 | 0.515768 | DanieleDeSensi |
360a05a649e2644fc36fa323b48ea109c29ddb3f | 4,425 | hpp | C++ | src/cpu-sparse-matrix.hpp | inducer/iterative-cuda | e6413cff0466457957d99402f624cae0be06c3cc | [
"MIT"
] | null | null | null | src/cpu-sparse-matrix.hpp | inducer/iterative-cuda | e6413cff0466457957d99402f624cae0be06c3cc | [
"MIT"
] | null | null | null | src/cpu-sparse-matrix.hpp | inducer/iterative-cuda | e6413cff0466457957d99402f624cae0be06c3cc | [
"MIT"
] | 1 | 2020-11-23T09:55:57.000Z | 2020-11-23T09:55:57.000Z | /*
Iterative CUDA is licensed to you under the MIT/X Consortium license:
Copyright (c) 2009 Andreas Kloeckner.
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... | 25.877193 | 79 | 0.702599 | inducer |
3610adb7cb01067df9c3119fc13902553ffd12e1 | 696 | cpp | C++ | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | 1 | 2021-08-12T21:59:50.000Z | 2021-08-12T21:59:50.000Z | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | null | null | null | src/cookie-engine/struct/SceneSettings.cpp | an22/cookie | 3c4b8cf6f9f3aab5e2e2d13ea8ba717fb19da640 | [
"MIT"
] | null | null | null | //
// SceneSettings.cpp
// cookie-engine
//
// Created by Antiufieiev Michael on 06.08.2021.
//
#include "SceneSettings.hpp"
namespace cookie {
SceneSettings::SceneSettings(
uint32_t width,
uint32_t height,
float x,
float y,
float z,
float fov,
float nearZ,
float farZ
) : width(width),
... | 19.333333 | 77 | 0.679598 | an22 |
361112eed960dce6539ef49df634412c8f8ac440 | 746 | cc | C++ | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | 5 | 2020-04-11T21:30:19.000Z | 2021-12-04T16:16:09.000Z | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | examples/toy/iterative.cc | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | #include <TaskGraph>
#include "TaskIterative.h"
using namespace tg;
typedef TaskGraph<void,int> iterative_TaskGraph;
void taskTest (coreTaskGraph *&t, unsigned param)
{
iterative_TaskGraph* const tg = new iterative_TaskGraph();
taskgraph(iterative_TaskGraph, *tg, tuple1(b))
{
tPrintf("param + b = %d\n", ... | 23.3125 | 99 | 0.668901 | paulhjkelly |
36111b6879f52c481bbfa4d06a1d99159447eea0 | 15,875 | cpp | C++ | src/CQChartsStripPlot.cpp | SammyEnigma/CQCharts | 56433e32c943272b6faaf6771d0652c0507f943e | [
"MIT"
] | 14 | 2018-05-22T15:06:08.000Z | 2022-01-20T12:18:28.000Z | src/CQChartsStripPlot.cpp | SammyEnigma/CQCharts | 56433e32c943272b6faaf6771d0652c0507f943e | [
"MIT"
] | 6 | 2020-09-04T15:49:24.000Z | 2022-01-12T19:06:45.000Z | src/CQChartsStripPlot.cpp | SammyEnigma/CQCharts | 56433e32c943272b6faaf6771d0652c0507f943e | [
"MIT"
] | 9 | 2019-04-01T13:10:11.000Z | 2022-01-22T01:46:27.000Z | #include <CQChartsStripPlot.h>
#include <CQChartsView.h>
#include <CQChartsAxis.h>
#include <CQChartsTip.h>
#include <CQChartsModelDetails.h>
#include <CQChartsModelData.h>
#include <CQChartsAnalyzeModelData.h>
#include <CQChartsUtil.h>
#include <CQChartsVariant.h>
#include <CQCharts.h>
#include <CQChartsDrawUtil.h>
#i... | 19.080529 | 96 | 0.657134 | SammyEnigma |
3611e3b2c3034551d1faeb5071c7a712d84cba7e | 2,459 | cpp | C++ | BlackBirdBox/src/Platform/OpenGL/Buffers/OpenGLVertexArray.cpp | RokKos/black-bird-box | 27205fcc6db18d042e712fd8640af41922c3c186 | [
"MIT"
] | 1 | 2020-06-22T16:57:16.000Z | 2020-06-22T16:57:16.000Z | BlackBirdBox/src/Platform/OpenGL/Buffers/OpenGLVertexArray.cpp | RokKos/black-bird-box | 27205fcc6db18d042e712fd8640af41922c3c186 | [
"MIT"
] | null | null | null | BlackBirdBox/src/Platform/OpenGL/Buffers/OpenGLVertexArray.cpp | RokKos/black-bird-box | 27205fcc6db18d042e712fd8640af41922c3c186 | [
"MIT"
] | null | null | null | #include "bbbpch.h"
#include "OpenGLVertexArray.h"
#include <GL/glew.h>
namespace Platform {
static GLenum ShaderDataTypeToOpenGLBaseType(BlackBirdBox::ShaderDataType type)
{
switch (type) {
case BlackBirdBox::ShaderDataType::Float:
return GL_FLOAT;
case BlackBirdBox::ShaderDataType::Float2:
... | 25.091837 | 125 | 0.714925 | RokKos |
3611f37d1e05d236303f0139c73aeebd5058d05c | 5,832 | cpp | C++ | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | src/graphics/model.cpp | Eae02/space-game | d3a4589f137a1485320fc2cd3485bff7c3afcd49 | [
"Zlib"
] | null | null | null | #include "model.hpp"
#include "../utils.hpp"
#include <tiny_obj_loader.h>
#include <iostream>
static_assert(sizeof(Vertex) == sizeof(float) * 7);
void Model::initializeVao() {
glCreateVertexArrays(1, &vao);
for (GLuint i = 0; i < 4; i++) {
glEnableVertexArrayAttrib(vao, i);
glVertexArrayAttribBinding(vao, i,... | 32.043956 | 132 | 0.655178 | Eae02 |
36155ea412d8e4bbc9a16427c163379f9760e753 | 9,590 | cpp | C++ | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | LycheeCam/src/NetTask.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | #include "mbed.h"
#include "NetTask.h"
#include "http_request.h"
NtpTask::NtpTask(NetTask *owner) :
Task(osWaitForever),
_owner(owner),
_state(State::Unsynced),
_retry(0)
{
}
NtpTask::~NtpTask()
{
}
void NtpTask::ProcessEvent(InterTaskSignals::T signals)
{
if ((signals & InterTaskSignals::WifiConnected) != 0) {... | 19.571429 | 101 | 0.652868 | h7ga40 |
3615f66a0ceaaf69df8a9b53166c3e17636f3cd0 | 5,913 | cpp | C++ | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 74 | 2021-05-31T15:23:49.000Z | 2022-03-12T04:46:39.000Z | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 16 | 2021-05-31T15:26:38.000Z | 2022-03-30T06:02:43.000Z | unittest/obproxy/test_netsystem.cpp | stutiredboy/obproxy | b5f98a6e1c45e6a878376df49b9c10b4249d3626 | [
"Apache-2.0"
] | 64 | 2021-05-31T15:25:36.000Z | 2022-02-23T08:43:58.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ... | 27.502326 | 116 | 0.687976 | stutiredboy |
361d752504f38029807a5b133d5daba5e9da38c7 | 24,838 | cpp | C++ | Shared/CommonUtils/CommonMeshUtilities.cpp | jonntd/ExocortexCrateVS2010MAYA | 2e54951b1cf79434df4d6410d47197a4794352be | [
"BSD-3-Clause"
] | 105 | 2015-01-01T03:42:42.000Z | 2021-11-15T10:07:06.000Z | Shared/CommonUtils/CommonMeshUtilities.cpp | jonntd/ExocortexCrateVS2010MAYA | 2e54951b1cf79434df4d6410d47197a4794352be | [
"BSD-3-Clause"
] | 55 | 2015-01-16T15:24:43.000Z | 2021-06-28T06:57:48.000Z | Shared/CommonUtils/CommonMeshUtilities.cpp | jonntd/ExocortexCrateVS2010MAYA | 2e54951b1cf79434df4d6410d47197a4794352be | [
"BSD-3-Clause"
] | 69 | 2015-01-16T12:44:36.000Z | 2022-03-08T10:32:26.000Z | #include "CommonMeshUtilities.h"
#include "CommonAlembic.h"
#include "CommonLog.h"
#include "CommonProfiler.h"
#include "CommonUtilities.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////
template <typename T>
void extractMeshInfo(T& schema, bool& i... | 33.839237 | 108 | 0.596062 | jonntd |
361e602b5f1bebb307006c619eb113462b79fcb8 | 768 | cc | C++ | src/analyzer/protocol/gtpv1/GTPv1.cc | eniware-org/zeek | dc0313ac487521aec3c01013927be0518331ad44 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 1 | 2021-03-06T19:51:07.000Z | 2021-03-06T19:51:07.000Z | src/analyzer/protocol/gtpv1/GTPv1.cc | eniware-org/zeek | dc0313ac487521aec3c01013927be0518331ad44 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | null | null | null | src/analyzer/protocol/gtpv1/GTPv1.cc | eniware-org/zeek | dc0313ac487521aec3c01013927be0518331ad44 | [
"Apache-2.0",
"CC0-1.0",
"MIT"
] | null | null | null | // See the file "COPYING" in the main distribution directory for copyright.
#include "GTPv1.h"
#include "events.bif.h"
using namespace analyzer::gtpv1;
GTPv1_Analyzer::GTPv1_Analyzer(Connection* conn)
: Analyzer("GTPV1", conn)
{
interp = new binpac::GTPv1::GTPv1_Conn(this);
}
GTPv1_Analyzer::~GTPv1_Analyzer()
... | 20.210526 | 116 | 0.699219 | eniware-org |
361f2d444e5e38f108416f322e0e6ad62dc84bf7 | 561 | hpp | C++ | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/json.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | #ifndef DATATREE_JSON_HPP
# define DATATREE_JSON_HPP
# include "datatree.hpp"
namespace Json
{
class Parser
{
public:
Parser(const std::string&, bool filename = true);
DataTree* Run(void);
private:
void ParseValue(DataBranch*);
void ParseString(DataBranch*);
void ... | 18.7 | 53 | 0.600713 | Plaristote |
361fac8704e7985f5d946500a9743b622e77df96 | 7,205 | cpp | C++ | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.6.15/GameDll/MultiplayerEntities/NetworkBuilding.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
"BeatGames" Source File.
Copyright (C), BeatGames, 2014.
-------------------------------------------------------------------------
History:
- 03.12.2014 13:49 : Created by AfroStalin(chernecoff)
- 10.12.2014 21:08 : Edited by AfroStalin(ch... | 23.700658 | 106 | 0.694656 | amrhead |
36249ccc7f686680819704dc0fe8e1adcce533ab | 357 | hpp | C++ | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 4 | 2020-12-28T15:29:15.000Z | 2021-06-27T12:37:15.000Z | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | null | null | null | components/operators/src/misc/antialiasing_cuda.hpp | knicos/voltu | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | [
"MIT"
] | 2 | 2021-01-13T05:28:39.000Z | 2021-05-04T03:37:11.000Z | #ifndef _FTL_CUDA_ANTIALIASING_HPP_
#define _FTL_CUDA_ANTIALIASING_HPP_
#include <ftl/cuda_common.hpp>
namespace ftl {
namespace cuda {
void fxaa(ftl::cuda::TextureObject<uchar4> &colour, cudaStream_t stream);
void fxaa(ftl::cuda::TextureObject<uchar4> &colour, ftl::cuda::TextureObject<float> &depth, float threshold... | 22.3125 | 130 | 0.784314 | knicos |
3626b3c4db07a233b0bb15b2fbd725302b6636da | 5,842 | hxx | C++ | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | c++/Utils/cmSNRUnitsReconstructorB1Weighted.hxx | cloudmrhub-com/CMRCode | 23cf19f35ac9590054aa05ddbdc82b87e8dfd3a0 | [
"MIT"
] | null | null | null | #ifndef __cmSNRUnitsReconstructorB1Weighted_hxx
#define __cmSNRUnitsReconstructorB1Weighted_hxx
#include "cmSNRUnitsReconstructorB1Weighted.h"
#include "itkImageAlgorithm.h"
#include "vnl/vnl_inverse.h"
#include "vnl/vnl_vector.h"
#include "vnl/vnl_matrix.h"
#include "vnl/algo/vnl_matrix_inverse.h"
#include "itkVec... | 20.790036 | 127 | 0.649264 | cloudmrhub-com |
36285eb7da9fe516b891787505e706fad97ac9aa | 608 | cpp | C++ | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | 120 | 2021-02-19T07:39:50.000Z | 2022-02-19T14:55:28.000Z | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | null | null | null | C++/soln-string-problems/string-compression.cpp | ansumandas441/Data-Structures-and-Algorithms | 8fa30569b974c8e24e761df266072069f1dfe033 | [
"MIT"
] | 22 | 2021-06-21T17:21:27.000Z | 2021-12-24T01:56:29.000Z | /**
@author Farheen Bano
Date 11-08-2021
Reference-
https://leetcode.com/problems/string-compression
*/
class Solution {
public:
int compress(vector<char>& chars) {
int i=0;
int index=0;
while(i<chars.size()){
int j=i;
while(j<chars.size() && chars[i]==chars[... | 20.266667 | 55 | 0.440789 | ansumandas441 |
36294680fdab099fe86f218abc64bff6440dfe7a | 622 | cpp | C++ | ZOJ/2734-0.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2017-12-16T13:55:04.000Z | 2017-12-16T13:55:04.000Z | ZOJ/2734-0.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2021-09-03T03:00:17.000Z | 2021-09-03T03:00:17.000Z | ZOJ/2734-0.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2016-12-19T16:35:13.000Z | 2016-12-19T16:35:13.000Z | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
using namespace std;
int sum,ways;
int num[1010];
int value,n;
void DFS(int x)
{
if( sum == value )
{
ways++;
return ;
}
for(int i=x; i<=value; i++)
{
if( num[i] && sum + i <= value )
{
num[i]--;
sum += i;
DFS(i);
nu... | 12.44 | 34 | 0.490354 | claviering |
362c1fc71e35832af041c75fab189a17a61b25b2 | 3,181 | hpp | C++ | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | 4 | 2019-09-17T13:11:02.000Z | 2021-02-22T15:39:15.000Z | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | null | null | null | demos/python_demos/speech_recognition_demo/ctcdecode-numpy/ctcdecode_numpy/yoklm/language_model.hpp | ivanvikhrev/open_model_zoo | 322e7ac5ed8a17611b56c46e5e56bfef05d8cc2a | [
"Apache-2.0"
] | 1 | 2021-02-24T00:40:03.000Z | 2021-02-24T00:40:03.000Z | /*********************************************************************
* Copyright (c) 2020 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
**********************************************************************/
#ifndef YOKLM_LANGUAGE_MODEL_HPP
#define YOKLM_LANGUAGE_MODEL_HPP
#include <vector>
#include <stri... | 34.576087 | 124 | 0.69255 | ivanvikhrev |
362d28d4b1b9c75eb1a13c5b8c5b409f9e5fa0d9 | 27 | cpp | C++ | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | src/cues/animism/AnimismCues.cpp | HfMT-ZM4/cvgl-osc | 97b4259aac6757a68959cfa625c59c97bd7a62d1 | [
"CC0-1.0"
] | null | null | null | #include "AnimismCues.hpp"
| 13.5 | 26 | 0.777778 | HfMT-ZM4 |
362dba564948c3777123e5181dc6cec927daffd1 | 1,684 | hpp | C++ | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 1 | 2015-10-21T14:22:12.000Z | 2015-10-21T14:22:12.000Z | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2019-05-26T20:52:31.000Z | 2019-05-28T16:19:49.000Z | libs/besiq/method/wald_lm_method.hpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T14:58:37.000Z | 2019-05-26T14:03:13.000Z | #ifndef __WALD_LM_METHOD_H__
#define __WALD_LM_METHOD_H__
#include <string>
#include <vector>
#include <armadillo>
#include <besiq/method/method.hpp>
#include <besiq/stats/log_scale.hpp>
/**
* This class is responsible for executing the closed form
* wald test for a logistic regression model.
*/
class wald_lm_me... | 19.811765 | 80 | 0.597387 | hoehleatsu |
1568838949b90afe711d171aa63f41971ef83329 | 4,934 | cc | C++ | chrome/browser/devtools/device/devtools_android_bridge_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | chrome/browser/devtools/device/devtools_android_bridge_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | chrome/browser/devtools/device/devtools_android_bridge_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include <array>
#include "base/bind.h"
#include "base/values.h"
#include "chrome/browser/devtools/device/devtools_android_bridge.h"
... | 33.564626 | 78 | 0.741184 | zealoussnow |
156a027c2be706ad495539c53f1f7e14bdb27d95 | 5,914 | cpp | C++ | IDA/FUN_0001d6e0.cpp | Mochongli/evil-mhyprot-cli | 628470626532d663a1f557b5048b319266f70f75 | [
"MIT"
] | 91 | 2020-10-18T07:59:47.000Z | 2022-03-08T18:34:04.000Z | IDA/FUN_0001d6e0.cpp | Game-Academy-of-Sciences/evil-mhyprot-cli | ff4e1413f7e878fa0dbc4ebe724830ac6a5db3e1 | [
"MIT"
] | 2 | 2021-08-29T22:38:30.000Z | 2021-12-16T20:32:38.000Z | IDA/FUN_0001d6e0.cpp | Game-Academy-of-Sciences/evil-mhyprot-cli | ff4e1413f7e878fa0dbc4ebe724830ac6a5db3e1 | [
"MIT"
] | 36 | 2020-10-18T17:13:54.000Z | 2022-03-30T10:16:00.000Z |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
//
// Pseudocode
//
undefined8 IOCTL_FUN_0001d6e0(undefined8 param_1,longlong param_2)
{
uint uVar1;
uint uVar2;
uint uVar3;
ulonglong *puVar4;
int iVar5;
undefined8 uVar6;
longlong lVar7;
ulonglong uVar8;
ulonglon... | 34.383721 | 99 | 0.49442 | Mochongli |
156a0e6602ed4e0182c7a7a546ca88d2ef20fe82 | 5,671 | cpp | C++ | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 32 | 2021-07-21T14:55:10.000Z | 2022-03-09T22:07:20.000Z | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 1 | 2021-07-21T18:42:39.000Z | 2021-07-21T18:45:53.000Z | million-sdk/cheat/hooks/functions/draw_model_execute.cpp | excludes/millionware-v1 | 78429e0c50d33df4acb675e403a313384f6fb2e0 | [
"MIT"
] | 29 | 2021-07-21T14:56:45.000Z | 2022-03-29T20:57:25.000Z | #include "../hooks.hpp"
#include <cstdio>
#include "../../../source engine/sdk.hpp"
#include "../../features/bt.hpp"
#include "../../../engine/utilities/config.hpp"
#include "../../../source engine/classes/key_values.hpp"
void __fastcall hooks::draw_model_execute( void* ecx, void* edx, void* ctx, void* state, model_r... | 28.786802 | 183 | 0.603245 | excludes |
156c3c7e30f0ba52484e4ff5663aaa3c5bc6c8ad | 1,436 | cpp | C++ | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | 2 | 2020-06-13T11:48:59.000Z | 2020-06-13T11:56:24.000Z | src/scenes/menu.cpp | AgoutiGames/Piper | 160f0c7e8afb8d3ea91dd69ee10c63da60f66a21 | [
"MIT"
] | null | null | null | #include "scenes/menu.hpp"
#include "core/scene_manager.hpp"
#include <iostream>
const char* Menu::type = "Menu";
const bool Menu::good = GameScene::register_class<Menu>(Menu::type);
Menu::Menu(salmon::MapRef map, SceneManager* scene_manager) :
GameScene(map,scene_manager) {}
void Menu::init() {
m_scene_ma... | 26.592593 | 68 | 0.655292 | AgoutiGames |
156ed93956ad72fe0ab6b04e54915020ac764ab4 | 5,412 | cpp | C++ | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 8 | 2020-04-26T11:48:29.000Z | 2022-02-23T15:13:50.000Z | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | null | null | null | examples/helloasge/ASGEGame.cpp | Alexthehuman3/ASGE | a9cf473a3117f4b67a2dbe8fac00b1a2a4fd6e44 | [
"MIT"
] | 1 | 2021-05-13T16:37:24.000Z | 2021-05-13T16:37:24.000Z | #include <map>
#include <Engine/GameSettings.hpp>
#include <Engine/Logger.hpp>
#include <Engine/OGLGame.hpp>
#include <Engine/Sprite.hpp>
class ASGENetGame : public ASGE::OGLGame
{
public:
explicit ASGENetGame(const ASGE::GameSettings& settings) :
OGLGame(settings)
{
inputs->use_threads = false;
input... | 27.612245 | 89 | 0.610495 | Alexthehuman3 |
1572a406156d05b5be659568d497858d6da053fc | 951 | cpp | C++ | source/Main.cpp | CookiePLMonster/YAMP | 4f49d0702d7d93e3cf679d5cbe9012131f8e9a4d | [
"MIT"
] | 15 | 2021-06-01T19:14:06.000Z | 2022-03-31T18:42:28.000Z | source/Main.cpp | CookiePLMonster/YAMP | 4f49d0702d7d93e3cf679d5cbe9012131f8e9a4d | [
"MIT"
] | 1 | 2021-06-02T12:48:12.000Z | 2021-06-07T21:49:11.000Z | source/Main.cpp | CookiePLMonster/YAMP | 4f49d0702d7d93e3cf679d5cbe9012131f8e9a4d | [
"MIT"
] | 2 | 2021-12-11T21:46:50.000Z | 2022-01-18T21:20:03.000Z | #define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include "RenderWindow.h"
#include "Y6-VF5FS.h"
#include "imgui/imgui.h"
#include "wil/com.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
// TODO: This is a hack, currently shutdown crashes because of mismatched a... | 25.026316 | 95 | 0.723449 | CookiePLMonster |
15743c4d3608a7c308708ba8361f4a10efa99cec | 692 | cpp | C++ | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | OOP/Lab 1/Ex 1/main.cpp | LjupcheD14/FINKI1408 | be2454864d8aa0c33621141295f958424c7b0f16 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <ctype.h>
#include <string.h>
struct Product {
char ime[100];
float cena;
float kolicina;
};
typedef struct Product Product;
int main() {
// Product p;
// readProduct(&p);
// printProduct(p);
Product p[100];
int n, i;
float vkupno, total = 0;
scanf... | 18.702703 | 97 | 0.492775 | LjupcheD14 |
1574697262692c84ffdfca80b6206837b0b7ebcd | 452 | hpp | C++ | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | 1 | 2022-02-02T21:41:59.000Z | 2022-02-02T21:41:59.000Z | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | null | null | null | sources/cards/Land.hpp | angeluriot/Magic_royal | a337ce4ad6c3215bbdec8c376d6e88fe97f48f94 | [
"MIT"
] | 2 | 2022-02-01T12:59:57.000Z | 2022-03-05T12:50:27.000Z | #ifndef LAND_HPP
#define LAND_HPP
#include "cards/Card.hpp"
#include <string>
/**
* @brief A class that represent a land.
*/
class Land : public Card
{
public:
Land();
Land(const Land& other) = default;
virtual ~Land();
Land& operator=(const Land& other) = default;
virtual Type get_type() const override;
v... | 16.740741 | 52 | 0.705752 | angeluriot |
157d4409d04beef2c70f721cd2e0e9ed106de6f5 | 3,551 | hpp | C++ | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | 19 | 2020-12-04T01:50:52.000Z | 2022-03-27T18:18:50.000Z | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | 5 | 2021-02-09T21:21:35.000Z | 2022-01-28T09:50:20.000Z | src/app.hpp | ITotalJustice/untitled | e4058e3a2ddd3b23e76707ff79de66000b16be71 | [
"MIT"
] | null | null | null | #pragma once
#include "nanovg/nanovg.h"
#include "nanovg/deko3d/dk_renderer.hpp"
#include <switch.h>
#include <cstdint>
#include <vector>
#include <string>
#include <future>
#include <mutex>
#include <optional>
#include <functional>
namespace tj {
using AppID = std::uint64_t;
enum class MenuMode { LIST, CONFIRM, PR... | 23.673333 | 69 | 0.669952 | ITotalJustice |
157f4ffda5abfd9ec17ec1b3af5f4cbcb1f9a4ad | 237 | hpp | C++ | server/api/include/irods/rsRegColl.hpp | aghsmith/irods | 31d48a47a4942df688da94b30aa8a5b5210261bb | [
"BSD-3-Clause"
] | 1 | 2022-03-08T13:00:56.000Z | 2022-03-08T13:00:56.000Z | server/api/include/irods/rsRegColl.hpp | selroc/irods | d232c7f3e0154cacc3a115aa50e366a98617b126 | [
"BSD-3-Clause"
] | null | null | null | server/api/include/irods/rsRegColl.hpp | selroc/irods | d232c7f3e0154cacc3a115aa50e366a98617b126 | [
"BSD-3-Clause"
] | null | null | null | #ifndef RS_REG_COLL_HPP
#define RS_REG_COLL_HPP
#include "irods/rcConnect.h"
#include "irods/dataObjInpOut.h"
int rsRegColl( rsComm_t *rsComm, collInp_t *regCollInp );
int _rsRegColl( rsComm_t *rsComm, collInp_t *regCollInp );
#endif
| 21.545455 | 58 | 0.78481 | aghsmith |
158048dd9132dc81d9f1e3399c80205f0f0a0aed | 16,785 | cpp | C++ | gdal/frmts/pcidsk/sdk/blockdir/blockdir.cpp | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | 18 | 2021-01-27T00:07:35.000Z | 2022-03-25T22:20:13.000Z | gdal/frmts/pcidsk/sdk/blockdir/blockdir.cpp | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | null | null | null | gdal/frmts/pcidsk/sdk/blockdir/blockdir.cpp | jpapadakis/gdal | f07aa15fd65af36b04291303cc6834c87f662814 | [
"MIT"
] | null | null | null | /******************************************************************************
*
* Purpose: Block directory API.
*
******************************************************************************
* Copyright (c) 2011
* PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada.
*
* Permission is hereby grante... | 29.090121 | 102 | 0.476854 | jpapadakis |
15813d024190ed209c448087869968168e95854e | 2,599 | cpp | C++ | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | 2 | 2016-04-01T21:10:33.000Z | 2018-02-26T19:36:56.000Z | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | 1 | 2017-04-05T01:33:08.000Z | 2017-04-05T01:33:08.000Z | Engine_Core/source/Window.cpp | subr3v/s-engine | d77b9ccd0fff3982a303f14ce809691a570f61a3 | [
"MIT"
] | null | null | null | #include "Window.h"
#include "Input.h"
#include <algorithm>
static LRESULT CALLBACK MyWindowProc(_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
{
if (uMsg == WM_QUIT || uMsg == WM_CLOSE)
{
PostQuitMessage(0);
}
return DefWindowProc(hwnd, uMsg, wParam, lParam);
}
FWindow::FWindow(HI... | 21.130081 | 117 | 0.722201 | subr3v |
158226c04206e99f39e4a181a1e8308f0b5768de | 476 | hpp | C++ | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | 2 | 2021-01-14T11:19:02.000Z | 2021-03-07T03:08:08.000Z | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | include/operations/system.hpp | rationalis-petra/hydra | a1c14e560f5f1c64983468e5fd0be7b32824971d | [
"MIT"
] | null | null | null | #ifndef __MODULUS_OPERATIONS_SYSTEM_HPP
#define __MODULUS_OPERATIONS_SYSTEM_HPP
#include "boost/filesystem/operations.hpp"
#include "boost/filesystem/path.hpp"
#include <string>
#include "expressions.hpp"
namespace op {
void initialize_system();
extern expr::Operator* get_dir;
extern expr::Operator* set_dir;... | 19.04 | 42 | 0.768908 | rationalis-petra |
158236ab77f8d4bef12585ad3aca710f036b08de | 3,693 | cc | C++ | src/sdk/dslink/subscribe_merger.cc | iot-dsa-v2/sdk-dslink-cpp | d7734fba02237bd11bc887058f4d9573aac598d8 | [
"Apache-2.0"
] | 1 | 2018-02-09T21:20:31.000Z | 2018-02-09T21:20:31.000Z | src/sdk/dslink/subscribe_merger.cc | iot-dsa-v2/sdk-dslink-cpp | d7734fba02237bd11bc887058f4d9573aac598d8 | [
"Apache-2.0"
] | 7 | 2017-11-20T22:22:12.000Z | 2018-03-21T13:00:06.000Z | src/sdk/dslink/subscribe_merger.cc | iot-dsa-v2/sdk-dslink-cpp | d7734fba02237bd11bc887058f4d9573aac598d8 | [
"Apache-2.0"
] | null | null | null | #include "dsa_common.h"
#include "subscribe_merger.h"
#include "core/client.h"
#include "link.h"
#include "module/logger.h"
#include "stream/requester/incoming_subscribe_stream.h"
#include "message/response/subscribe_response_message.h"
namespace dsa {
IncomingSubscribeCache::IncomingSubscribeCache(){};
IncomingSubs... | 27.559701 | 80 | 0.679393 | iot-dsa-v2 |
1584d88255951973aa8a81c2c6d1f541f1668eef | 11,591 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 28.133495 | 133 | 0.680442 | kevinlq |
15865ad7436e927b97a9785032a5aced22cb68fb | 1,254 | cpp | C++ | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 3 | 2017-08-13T14:47:57.000Z | 2020-03-02T06:48:29.000Z | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:14:54.000Z | 2018-09-26T22:35:03.000Z | rssavers-0.2/src/Implicit/impSphere.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:13:55.000Z | 2018-09-19T14:13:55.000Z | /*
* Copyright (C) 2001-2010 Terence M. Welsh
*
* This file is part of Implicit.
*
* Implicit is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your op... | 35.828571 | 76 | 0.730463 | NickPepper |
158774882ee46c4b3893765ae1921c01dab98682 | 3,523 | cpp | C++ | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | pinpoint_common/trace_data_sender.cpp | wy1238/pinpoint-c-agent | c762804c58fa75755680f52174647b0f208839a1 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright 2018 NAVER Corp.
//
// 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... | 29.855932 | 102 | 0.516321 | wy1238 |
158f472dae3250b461b6e559d505a9218120ba83 | 1,065 | cc | C++ | uva/chapter_3/574.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | 1 | 2019-05-12T23:41:00.000Z | 2019-05-12T23:41:00.000Z | uva/chapter_3/574.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | uva/chapter_3/574.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | #include <iostream>
#include <utility>
using namespace std;
const int MAX = 1100;
int c[MAX], s[MAX];
bool backtrack(int up, int left) {
if (left == 0) {
bool f = true;
for (int i = MAX - 1; i > 0; i--) {
for (int j = 0; j < s[i]; j++) {
if (!f) printf("+");
... | 20.882353 | 49 | 0.371831 | metaflow |
1592a0ee02eeca8c71a3027a1dac478fcbc7f092 | 536 | hpp | C++ | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-11T14:53:38.000Z | 2020-07-11T14:53:38.000Z | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-04T16:45:49.000Z | 2020-07-04T16:45:49.000Z | include/core/i_token.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | null | null | null | #ifndef RHIZOME_CORE_I_TOKEN
#define RHIZOME_CORE_I_TOKEN
#include <string>
using std::string;
namespace rhizome {
namespace core {
class IToken {
public:
virtual void set( string const &tvalue, string const &tname, size_t line_no, size_t col) = 0;
virtual size_t line() c... | 19.851852 | 105 | 0.574627 | nathanmullenax83 |
1592c20bc5e43827ebc67ceab4b66bf191a85f2c | 3,752 | hpp | C++ | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Diagnostics/Tracing/EventManifestOptions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:54 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: System.Enum
#include "System/Enum.hpp"
#include "utils/il2cpp-utils.hpp"
// Completed in... | 65.824561 | 129 | 0.784915 | Futuremappermydud |
15953631a5d2d4b574af1f3a6153bdadf255b2f5 | 15,158 | hpp | C++ | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | 1 | 2020-06-22T04:15:16.000Z | 2020-06-22T04:15:16.000Z | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | null | null | null | include/GaussianMixture.hpp | szma/RFS-SLAM | def8f1e8cc788bbe4347cd57f79061f70b0b41dd | [
"Unlicense"
] | null | null | null | /*
* Software License Agreement (New BSD License)
*
* Copyright (c) 2013, Keith Leung, Felipe Inostroza
* 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 c... | 30.255489 | 116 | 0.68162 | szma |
1598549d05d06faa7337a37ea28978e5f03f4c8b | 13,161 | cpp | C++ | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | 1 | 2020-04-19T20:34:15.000Z | 2020-04-19T20:34:15.000Z | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_fea/ChBeamSection.cpp | LongJohnCoder/chrono | eb7ab2f650c14de65bfff1209c9d56f2f202c428 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 43.57947 | 158 | 0.649723 | LongJohnCoder |
159875b6b5c85376f5b923d32e423bfc9c594dc3 | 140,498 | cpp | C++ | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 496 | 2016-06-10T04:16:47.000Z | 2022-01-24T19:37:03.000Z | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 91 | 2016-07-26T13:18:48.000Z | 2021-08-10T08:54:18.000Z | src/backend/gpu/initmod.intrinsics.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | 63 | 2016-07-22T17:15:46.000Z | 2021-08-20T03:18:42.000Z | extern "C" {
unsigned char simit_gpu_intrinsics[] = {
59, 32, 73, 110, 116, 101, 110, 116, 105, 111, 110, 97, 108, 108, 121, 32, 98, 108, 97, 110, 107, 46, 32, 87, 101, 32, 99, 97, 110, 32, 105, 110, 99, 108, 117, 100, 101, 32, 76, 76, 32, 65, 83, 77, 32, 71, 80, 85, 32, 105, 110, 116, 114, 105, 110, 115, 105, 99, 32, ... | 23,416.333333 | 140,400 | 0.552435 | huangjd |
159bd0a283a65730be8195d921ba0766b618c20e | 441 | hpp | C++ | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | include/wire/encoding/buffers_fwd.hpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* buffers_fwd.hpp
*
* Created on: Feb 3, 2016
* Author: zmij
*/
#ifndef WIRE_ENCODING_BUFFERS_FWD_HPP_
#define WIRE_ENCODING_BUFFERS_FWD_HPP_
#include <memory>
namespace wire {
namespace encoding {
class outgoing;
typedef std::shared_ptr< outgoing > outgoing_ptr;
class incoming;
typedef std::shared_p... | 16.961538 | 49 | 0.741497 | zmij |
159dec75e8ed94395b369b35892c254e2e5d6fdc | 2,385 | cpp | C++ | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | 3 | 2019-05-20T10:06:37.000Z | 2021-08-08T02:30:23.000Z | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | null | null | null | example-bus/src/ofApp.cpp | nariakiiwatani/ofxNNG | 443827c4d4d6bd47c66682fdbd50ae9abf3ef7ee | [
"MIT"
] | null | null | null | #include "ofApp.h"
using namespace ofxNNG;
//--------------------------------------------------------------
void ofApp::setup(){
// 4 buses making all-to-all mesh connection
bus_.resize(4);
for(int i = 0; i < bus_.size(); ++i) {
auto &b = bus_[i];
b = std::make_shared<Bus>();
b->setup();
b->setCallback<st... | 25.923913 | 82 | 0.398323 | nariakiiwatani |
159e96bdaf5be73811866b2fe6e53659e6dec646 | 1,057 | hh | C++ | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/drp/TimingDef.hh | slac-lcls/pdsdata2 | 6e2ad4f830cadfe29764dbd280fa57f8f9edc451 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/NamesLookup.hh"
#include <stdint.h>
namespace XtcData {
class Xtc;
class NamesId;
};
namespace Drp {
class TimingDef : public XtcData::VarDef
{
public:
enum index {
pulseId,
timeStamp,
fixedRates,
... | 27.102564 | 144 | 0.579943 | slac-lcls |
15ad04e847d7d35124bbd4a2f748de637d1ff1c4 | 3,921 | cpp | C++ | YorozuyaGSLib/source/std__bad_allocDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/std__bad_allocDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/std__bad_allocDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <common/ATFCore.hpp>
#include <std__bad_allocDetail.hpp>
START_ATF_NAMESPACE
namespace std
{
namespace Detail
{
Info::std__bad_allocctor_bad_alloc5_ptr std__bad_allocctor_bad_alloc5_next(nullptr);
Info::std__bad_allocctor_bad_alloc5_clbk std__bad_a... | 48.407407 | 131 | 0.61974 | lemkova |
15ae7e40fa3cf309f1ddce6eb06d7b2ee6d40d03 | 7,860 | hpp | C++ | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 10 | 2018-06-28T00:21:46.000Z | 2022-03-30T03:31:32.000Z | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 35 | 2019-03-19T21:54:46.000Z | 2022-03-17T02:20:42.000Z | include/path-finding/molecular_path.hpp | bigginlab/chap | 17de36442e2e80cb01432e84050c4dfce31fc3a2 | [
"MIT"
] | 8 | 2018-10-27T19:35:13.000Z | 2022-01-06T01:10:39.000Z | // CHAP - The Channel Annotation Package
//
// Copyright (c) 2016 - 2018 Gianni Klesse, Shanlin Rao, Mark S. P. Sansom, and
// Stephen J. Tucker
//
// 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 th... | 35.890411 | 87 | 0.640712 | bigginlab |
15aef5da8ac2751f9c8b2c5fbe1d14faf1e8002c | 2,249 | cpp | C++ | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 108 | 2018-10-08T17:03:32.000Z | 2022-03-21T00:52:26.000Z | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 287 | 2018-09-18T14:59:12.000Z | 2022-01-13T12:28:23.000Z | src/OpcUaStackServer/ServiceSet/SessionConfig.cpp | gianricardo/OpcUaStack | ccdef574175ffe8b7e82b886abc5e5403968b280 | [
"Apache-2.0"
] | 32 | 2018-10-19T14:35:03.000Z | 2021-11-12T09:36:46.000Z | /*
Copyright 2015 Kai Huebl (kai@huebl-sgh.de)
Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser
Datei nur in Übereinstimmung mit der Lizenz erlaubt.
Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0.
Sofern nicht gemäß geltendem Recht vorgeschri... | 34.075758 | 131 | 0.629169 | gianricardo |
15af21755f70c2a97ce04b14c03e0425f34d82f3 | 1,571 | cpp | C++ | C++/199. BinaryTreeRightSideView.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 263 | 2020-10-05T18:47:29.000Z | 2022-03-31T19:44:46.000Z | C++/199. BinaryTreeRightSideView.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 1,264 | 2020-10-05T18:13:05.000Z | 2022-03-31T23:16:35.000Z | C++/199. BinaryTreeRightSideView.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 760 | 2020-10-05T18:22:51.000Z | 2022-03-29T06:06:20.000Z | // Problem - 199. Binary Tree Right Side View
/*
First we need to know what is the depth of the tree.
Once we know the depth of the tree, we can initialize a vector of that size.
Then we recursively add the rightmost element in every tree to that vector.
Note that it will always change the value in eve... | 31.42 | 89 | 0.562062 | nizD |
15b3463de06815d624443b011b41b3d274d4b536 | 2,076 | cpp | C++ | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | test/fiber/test_fiber_unexpected_event_callback_add.cpp | nanolith/rcpr | d8464e83fa09603802ba8c0c4f2b5ae3dcf69158 | [
"0BSD"
] | null | null | null | /**
* \file test/fiber/test_fiber_unexpected_event_callback_add.cpp
*
* \brief Unit tests for fiber_unexpected_event_callback_add.
*/
#include <minunit/minunit.h>
#include <rcpr/allocator.h>
#include <rcpr/fiber.h>
#include "../../src/fiber/common/fiber_internal.h"
RCPR_IMPORT_allocator;
RCPR_IMPORT_fiber;
RCPR_... | 28.833333 | 78 | 0.701349 | nanolith |
15b47767428693545d768f5df21c9075bca008eb | 2,214 | cpp | C++ | poincare/src/hyperbolic_sine.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,442 | 2017-08-28T19:39:45.000Z | 2022-03-30T00:56:14.000Z | poincare/src/hyperbolic_sine.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,321 | 2017-08-28T23:03:10.000Z | 2022-03-31T19:32:17.000Z | poincare/src/hyperbolic_sine.cpp | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 421 | 2017-08-28T22:02:39.000Z | 2022-03-28T20:52:21.000Z | #include <poincare/hyperbolic_sine.h>
#include <poincare/derivative.h>
#include <poincare/hyperbolic_cosine.h>
#include <poincare/layout_helper.h>
#include <poincare/serialization_helper.h>
namespace Poincare {
constexpr Expression::FunctionHelper HyperbolicSine::s_functionHelper;
Layout HyperbolicSineNode::createLa... | 49.2 | 168 | 0.83243 | VersiraSec |
15b548f34a49c6f82e6d20932bb477202172ff4d | 3,001 | cpp | C++ | Source/shader.cpp | Hopson97/3D-Alien-Cubes | cd5141793df326586f6104a6aee454b91775f179 | [
"MIT"
] | 3 | 2016-12-11T01:38:21.000Z | 2021-03-06T10:41:35.000Z | Source/shader.cpp | Hopson97/3D-Alien-Cubes | cd5141793df326586f6104a6aee454b91775f179 | [
"MIT"
] | null | null | null | Source/shader.cpp | Hopson97/3D-Alien-Cubes | cd5141793df326586f6104a6aee454b91775f179 | [
"MIT"
] | null | null | null | #include "shader.h"
#include <fstream>
#include <sstream>
#include <iostream>
Shader::Shader(const std::string& vertexFilePath, const std::string& fragmentFilePath)
: programId (0)
, vertexShaderId (0)
, fragmentShaderId(0)
{
setUpShader(vertexFilePath, fragmentFilePath);
}
Shader::Shader()
: prog... | 24.201613 | 126 | 0.697434 | Hopson97 |
15b826106c1e596c31cab7b3fc8dbfbe6479e838 | 1,712 | cpp | C++ | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | LevelSwitch.cpp | programistagd/Simple-SFML-game-engine | 212e347145e88c14722a9d61ffb0aa7dcf9ec931 | [
"CC-BY-3.0"
] | null | null | null | /*
* File: LevelSwitch.cpp
* Author: radek
*
* Created on 7 kwiecień 2014, 17:35
*/
#include "LevelSwitch.hpp"
LevelSwitch::LevelSwitch() : Obstacle(){
jumpable = false;
}
LevelSwitch::~LevelSwitch() {
}
GameObject* LevelSwitch::create(GameWorld& world, ResourceManager* rm, std::stringstream& in){
... | 28.065574 | 124 | 0.574182 | programistagd |
15b9a534bf79f5db22d4f878c7eba87a7113e24b | 350 | hpp | C++ | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | 2 | 2019-09-09T06:08:26.000Z | 2020-10-14T12:01:26.000Z | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | null | null | null | src/godotmation_converter.hpp | kakoeimon/GodotMationCpp | d05b157b420688e1ffae9a49de80b26da21ab41f | [
"MIT"
] | 1 | 2021-08-16T07:28:19.000Z | 2021-08-16T07:28:19.000Z | #ifndef GODOTMATION_CONVERTER_H
#define GODOTMATION_CONVERTER_H
#include "godotmation_pool.hpp"
class GodotMation_Resource;
class GodotMation_State;
class GodotMation_Converter : public GodotMation_Pool{
public:
GodotMation_Converter();
~GodotMation_Converter();
virtual bool trigger();
virtual int c... | 19.444444 | 54 | 0.788571 | kakoeimon |