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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
624de8babfee2cc812e04c24303992ce42b54f46 | 2,861 | cpp | C++ | src/cl_glitcher/cmd_execution/execute_cmd.cpp | bridgerrholt/cl_glitcher | 48fc2a81dc7724698b462efe18e60d8feb1d3b36 | [
"MIT"
] | null | null | null | src/cl_glitcher/cmd_execution/execute_cmd.cpp | bridgerrholt/cl_glitcher | 48fc2a81dc7724698b462efe18e60d8feb1d3b36 | [
"MIT"
] | null | null | null | src/cl_glitcher/cmd_execution/execute_cmd.cpp | bridgerrholt/cl_glitcher | 48fc2a81dc7724698b462efe18e60d8feb1d3b36 | [
"MIT"
] | null | null | null | //
// Created by bridg on 3/12/2021.
//
#include <filesystem>
#include <gpu_util/build_program.h>
#include <cmd_execution/execute_cmd.h>
#include <image_util/load_image.h>
#include <gpu_util/init.h>
#include <gpu_util/buffer_wrapper.h>
#include <fstream>
namespace clglitch {
namespace {
JsonObjType const & tryGetC... | 22.527559 | 73 | 0.678784 | bridgerrholt |
6253a9e2743fc74e37b6814935199d1a09e23d38 | 2,008 | cc | C++ | mains/pool_identity_testing_main.cc | guilhermemtr/semistandard-tableaux | bdc25df3c091bb457055579455bb05d4d7f2f5b5 | [
"MIT"
] | null | null | null | mains/pool_identity_testing_main.cc | guilhermemtr/semistandard-tableaux | bdc25df3c091bb457055579455bb05d4d7f2f5b5 | [
"MIT"
] | null | null | null | mains/pool_identity_testing_main.cc | guilhermemtr/semistandard-tableaux | bdc25df3c091bb457055579455bb05d4d7f2f5b5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <boost/program_options.hpp>
#include <cstdio>
#include "placid.hpp"
namespace po = boost::program_options;
namespace p = __placid;
int
main (int argc, char **argv)
{
p::free_monoid::element aaa;
p::tropical_elements::number bbb;
po::options_description desc ("Options");
... | 22.561798 | 80 | 0.571713 | guilhermemtr |
625584b9c6553ba26611179070c2a817d20fa1f9 | 1,626 | cpp | C++ | leetcode/leetcode_1170_easy_compare_strings_by_frequency_of_the_smallest_character/main.v01.cpp | friskit-china/leetcode-cn-repo | 5f428e77f9d3f79da3e670a38b86d85bd58c81b2 | [
"MIT"
] | null | null | null | leetcode/leetcode_1170_easy_compare_strings_by_frequency_of_the_smallest_character/main.v01.cpp | friskit-china/leetcode-cn-repo | 5f428e77f9d3f79da3e670a38b86d85bd58c81b2 | [
"MIT"
] | null | null | null | leetcode/leetcode_1170_easy_compare_strings_by_frequency_of_the_smallest_character/main.v01.cpp | friskit-china/leetcode-cn-repo | 5f428e77f9d3f79da3e670a38b86d85bd58c81b2 | [
"MIT"
] | null | null | null | // https://leetcode-cn.com/problems/compare-strings-by-frequency-of-the-smallest-character/
#include <iostream>
#include <vector>
#include <cstring>
using namespace std;
// submit start
class Solution {
public:
vector<int> numSmallerByFrequency(vector<string>& queries, vector<string>& words) {
vector<int> ... | 26.225806 | 91 | 0.48893 | friskit-china |
625610649e940f4c7beef65f33bc9fcef38980d2 | 5,402 | cpp | C++ | ajaapps/crossplatform/demoapps/ntv2fieldburn/main.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | ajaapps/crossplatform/demoapps/ntv2fieldburn/main.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | ajaapps/crossplatform/demoapps/ntv2fieldburn/main.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: MIT */
/**
@file ntv2fieldburn/main.cpp
@brief Demonstration application to capture frames from the SDI input as two distinct fields
in separate, non-contiguous memory locations, "burn" a timecode window into each field,
and recombine the modified fields for SDI playout.
@c... | 41.236641 | 144 | 0.666235 | ibstewart |
6259cba42f6fc4ed7d503b6174f2f50ca56e30f2 | 5,700 | cpp | C++ | latte-dock/app/view/helpers/screenedgeghostwindow.cpp | VaughnValle/lush-pop | cdfe9d7b6a7ebb89ba036ab9a4f07d8db6817355 | [
"MIT"
] | 64 | 2020-07-08T18:49:29.000Z | 2022-03-23T22:58:49.000Z | latte-dock/app/view/helpers/screenedgeghostwindow.cpp | VaughnValle/kanji-pop | 0153059f0c62a8aeb809545c040225da5d249bb8 | [
"MIT"
] | 1 | 2021-04-02T04:39:45.000Z | 2021-09-25T11:53:18.000Z | latte-dock/app/view/helpers/screenedgeghostwindow.cpp | VaughnValle/kanji-pop | 0153059f0c62a8aeb809545c040225da5d249bb8 | [
"MIT"
] | 11 | 2020-12-04T18:19:11.000Z | 2022-01-10T08:50:08.000Z | /*
* Copyright 2018 Michail Vourlakos <mvourlakos@gmail.com>
*
* This file is part of Latte-Dock
*
* Latte-Dock is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at y... | 31.318681 | 155 | 0.663509 | VaughnValle |
6259f0bb6732e7ef6f0a7a5425ee9c9d74a6ef8c | 12,123 | cc | C++ | native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/c... | 33.863128 | 80 | 0.700569 | pozdnyakov |
625beffe0f541f450e071f72a9482b6f8578d8e6 | 2,844 | hpp | C++ | include/elemental/blas-like/level1/Transpose.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level1/Transpose.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level1/Transpose.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef BLAS_TRAPEZOID_HPP
#define BLAS_TR... | 27.61165 | 79 | 0.503165 | ahmadia |
625d63222246bb80853d5f45b5dfeab90bafd6ad | 28,213 | cpp | C++ | src/CSSParser/CSSLex.cpp | luojilab/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 15 | 2018-08-31T06:54:27.000Z | 2022-01-06T07:01:29.000Z | src/CSSParser/CSSLex.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | null | null | null | src/CSSParser/CSSLex.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 6 | 2018-08-31T06:54:36.000Z | 2021-10-09T07:10:36.000Z | //
// CSSLex.cpp
// DDCSSParser
//
// Created by 1m0nster on 2018/8/7.
// Copyright © 2018 1m0nster. All rights reserved.
//
#include "CSSLex.hpp"
#include <string.h>
#include "ContainerUtil.hpp"
#define NextChar(buffer) m_forwardPos >= m_bufferSize ? 0 : *(buffer + m_forwardPos++)
#define ErrorInLoop STATUS = Le... | 34.156174 | 125 | 0.306171 | luojilab |
625ef4959e4ed675f6b571aed964e6b44d9bd680 | 3,045 | cpp | C++ | src/pong_game/Ball.cpp | jjerome/Niski | 58bcc1303cdb6676c051d55e9d7a248dfea65cde | [
"MIT"
] | 1 | 2017-09-19T16:33:06.000Z | 2017-09-19T16:33:06.000Z | src/pong_game/Ball.cpp | jjerome/Niski | 58bcc1303cdb6676c051d55e9d7a248dfea65cde | [
"MIT"
] | null | null | null | src/pong_game/Ball.cpp | jjerome/Niski | 58bcc1303cdb6676c051d55e9d7a248dfea65cde | [
"MIT"
] | null | null | null | #include "pong_game/Ball.h"
#include "pong_game/Paddle.h"
#include "engine/ConVar.h"
#include "renderer/VertexBuffer2D.h"
#include "math/Math.h"
#include "utils/Log.h"
using namespace Niski::Pong_Game;
Niski::Engine::ConVar addPaddleVelocity("PongGame::Ball::AddPaddleVelocity", 0, "If enabled, when the ball collides ... | 25.588235 | 183 | 0.685714 | jjerome |
6262dc3851bc1588e2de148a3880a10536ff37b1 | 638 | cpp | C++ | Leetcode/0808. Soup Servings/0808.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0808. Soup Servings/0808.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/0808. Soup Servings/0808.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution {
public:
double soupServings(int N) {
return N >= 4800 ? 1.0 : dfs((N + 24) / 25, (N + 24) / 25);
}
private:
vector<vector<double>> memo =
vector<vector<double>>(4800 / 25, vector<double>(4800 / 25));
double dfs(int a, int b) {
if (a <= 0 && b <= 0)
return 0.5;
if (a ... | 24.538462 | 67 | 0.401254 | Next-Gen-UI |
626695984253639e951f90b2e70651d7ca5877a2 | 14,973 | cc | C++ | libs/gather/test-gather.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | libs/gather/test-gather.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | libs/gather/test-gather.cc | sandtreader/obtools | 2382e2d90bb62c9665433d6d01bbd31b8ad66641 | [
"MIT"
] | null | null | null | //==========================================================================
// ObTools::Gather: test-buffer.cc
//
// Test harness for gather buffer library
//
// Copyright (c) 2010 Paul Clark. All rights reserved
// This code comes with NO WARRANTY and is subject to licence agreement
//===============================... | 32.980176 | 84 | 0.646631 | sandtreader |
6269092d278ad6e28176e79aea034cf363d74e23 | 151 | cc | C++ | src/foo/foo.cc | da2ce7/meson-sample-project | 225a2006d8ba207b044fd70a0ac7f4429a4fd27d | [
"MIT"
] | 86 | 2018-05-27T22:05:29.000Z | 2022-03-28T09:21:42.000Z | src/foo/foo.cc | seanwallawalla-forks/meson-sample-project | 0e09d1d1a08f9f19f7e7615e3ed21f548ac56b13 | [
"MIT"
] | 2 | 2019-08-14T09:06:29.000Z | 2019-08-16T14:20:01.000Z | src/foo/foo.cc | seanwallawalla-forks/meson-sample-project | 0e09d1d1a08f9f19f7e7615e3ed21f548ac56b13 | [
"MIT"
] | 24 | 2018-08-07T17:32:11.000Z | 2021-12-21T07:30:32.000Z | #include "foo/foo.h"
#include <config.h>
#include <iostream>
/*!
Description of implementation of foo
*/
int foo(int param) { return param + 1; }
| 16.777778 | 40 | 0.668874 | da2ce7 |
626b077564a109690a18d2404087d11dbef9bb0f | 2,319 | hpp | C++ | include/commands/Label.hpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | include/commands/Label.hpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | include/commands/Label.hpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | /*
MIT No Attribution
Copyright 2021-2022 Mr. Hands
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,... | 23.663265 | 77 | 0.688228 | MrHands |
626cb1c5b7738cb9a823b86b9176292a870feaa5 | 5,747 | cc | C++ | ns-3-dev/src/lte/examples/lte-phy-uplink.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 11 | 2015-11-24T11:07:28.000Z | 2021-12-23T04:10:29.000Z | ns-3-dev/src/lte/examples/lte-phy-uplink.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | null | null | null | ns-3-dev/src/lte/examples/lte-phy-uplink.cc | maxvonhippel/snake | 0805773dc34e1480dffaae40174aa1f82d1c6ce8 | [
"BSD-3-Clause"
] | 6 | 2016-03-01T06:32:21.000Z | 2022-03-24T19:31:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundatio... | 33.608187 | 98 | 0.515051 | maxvonhippel |
626d8b588ed8c82861226897531f5254cedbada8 | 2,577 | cpp | C++ | TG/bookcodes/ch4/la4728.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | TG/bookcodes/ch4/la4728.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | TG/bookcodes/ch4/la4728.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // LA4728/UVa1453 Square
// Rujia Liu
#include<cstdio>
#include<vector>
#include<cmath>
#include<algorithm>
using namespace std;
struct Point {
int x, y;
Point(int x=0, int y=0):x(x),y(y) { }
};
typedef Point Vector;
Vector operator - (const Point& A, const Point& B) {
return Vector(A.x-B.x, A.y-B.y);
}
int C... | 23.216216 | 82 | 0.503298 | Anyrainel |
627067211edef4a9f95182e1b7a389c3569596cb | 5,872 | cpp | C++ | src/tests/possumwood/subnetwork_from_file.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 1 | 2020-10-06T08:40:10.000Z | 2020-10-06T08:40:10.000Z | src/tests/possumwood/subnetwork_from_file.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | null | null | null | src/tests/possumwood/subnetwork_from_file.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | null | null | null | #include <actions/actions.h>
#include <actions/filesystem_mock.h>
#include <dependency_graph/graph.h>
#include <dependency_graph/metadata_register.h>
#include <dependency_graph/rtti.h>
#include <possumwood_sdk/app.h>
#include <boost/test/unit_test.hpp>
#include <dependency_graph/node_base.inl>
#include <dependency_gra... | 39.945578 | 113 | 0.626703 | LIUJUN-liujun |
6273a616ec80b4bf68bd6f7e18c4744366a5f8c8 | 5,425 | cpp | C++ | Game/OGRE/Tests/PlayPen/src/WindowEmbedding.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/OGRE/Tests/PlayPen/src/WindowEmbedding.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/OGRE/Tests/PlayPen/src/WindowEmbedding.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2005 The OGRE Team
Also see acknowledgements in Readme.html
This program is free software; yo... | 26.207729 | 87 | 0.655668 | hackerlank |
6273b00dc18f9cfc0eee6ce19d9e77d89b8eead3 | 3,415 | cpp | C++ | compute/tensor/src/cpu/general/dequantize.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 722 | 2019-12-02T13:07:19.000Z | 2022-03-24T08:55:38.000Z | compute/tensor/src/cpu/general/dequantize.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 89 | 2019-12-04T13:46:25.000Z | 2022-03-28T02:52:27.000Z | compute/tensor/src/cpu/general/dequantize.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 137 | 2019-12-03T08:41:58.000Z | 2022-03-18T19:54:59.000Z | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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,... | 34.846939 | 149 | 0.62694 | ishine |
627492e773dce21dc549ac82c039f07e89be3fe7 | 1,690 | cc | C++ | tictoc/txc3.cc | deezombiedude612/masters-omnetpp | 949e5af7235114ca8de2ba9140c6422907bae50d | [
"MIT"
] | null | null | null | tictoc/txc3.cc | deezombiedude612/masters-omnetpp | 949e5af7235114ca8de2ba9140c6422907bae50d | [
"MIT"
] | null | null | null | tictoc/txc3.cc | deezombiedude612/masters-omnetpp | 949e5af7235114ca8de2ba9140c6422907bae50d | [
"MIT"
] | null | null | null | /*
* txc3.cc
*
* Created on: May 12, 2021
* Author: deezombiedude612
*/
#include <stdio.h>
#include <string.h>
#include <omnetpp.h>
using namespace omnetpp;
/**
* In this class we add a counter, and delete the message after ten exchanges.
*/
class Txc3 : public cSimpleModule {
private:
int counter; ... | 25.606061 | 85 | 0.606509 | deezombiedude612 |
6274e3ee141928fbc234ab435016898c4d640773 | 11,781 | cpp | C++ | platform/emscripten/Rtt_EmscriptenJSPluginLoader.cpp | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 1,968 | 2018-12-30T21:14:22.000Z | 2022-03-31T23:48:16.000Z | platform/emscripten/Rtt_EmscriptenJSPluginLoader.cpp | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 303 | 2019-01-02T19:36:43.000Z | 2022-03-31T23:52:45.000Z | platform/emscripten/Rtt_EmscriptenJSPluginLoader.cpp | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 254 | 2019-01-02T19:05:52.000Z | 2022-03-30T06:32:28.000Z | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | 25.065957 | 111 | 0.644173 | joehinkle11 |
6276f653074c7a3b38e2d082f15873a3e623b514 | 2,706 | hpp | C++ | navigation_layer/fovis/libfovis/libfovis/libfovis/stereo_calibration.hpp | kartavya2000/Anahita | 9afbf6c238658188df7d0d97b2fec3bd48028c03 | [
"BSD-3-Clause"
] | 5 | 2018-10-22T20:04:24.000Z | 2022-01-04T09:24:46.000Z | navigation_layer/fovis/libfovis/libfovis/libfovis/stereo_calibration.hpp | kartavya2000/Anahita | 9afbf6c238658188df7d0d97b2fec3bd48028c03 | [
"BSD-3-Clause"
] | 19 | 2018-10-03T12:14:35.000Z | 2019-07-07T09:33:14.000Z | navigation_layer/fovis/libfovis/libfovis/libfovis/stereo_calibration.hpp | kartavya2000/Anahita | 9afbf6c238658188df7d0d97b2fec3bd48028c03 | [
"BSD-3-Clause"
] | 15 | 2018-09-09T12:35:15.000Z | 2020-01-03T09:28:19.000Z | #ifndef __fovis_stereo_calibration_hpp__
#define __fovis_stereo_calibration_hpp__
#include <inttypes.h>
#include "camera_intrinsics.hpp"
#include "rectification.hpp"
namespace fovis
{
/**
* \ingroup DepthSources
* \brief Calibration data structure for stereo cameras.
*/
struct StereoCalibrationParameters
{
/**... | 23.530435 | 79 | 0.646711 | kartavya2000 |
62779338af81a8f087be2035267ce0bd8032074e | 1,283 | cxx | C++ | test/telea1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | test/telea1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | test/telea1.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#include <stdio.h>
class A {
public:... | 16.881579 | 74 | 0.359314 | paulwratt |
62782608446126bae4ed17dfdebe4a4923d55144 | 240 | cpp | C++ | src/mwave/mwave_modules/src/mwave_modules/logic_component.cpp | mwaverecycling/ros2-packages | 6ae566d86dc5f724ee69255df3319f6692db6db5 | [
"MIT"
] | null | null | null | src/mwave/mwave_modules/src/mwave_modules/logic_component.cpp | mwaverecycling/ros2-packages | 6ae566d86dc5f724ee69255df3319f6692db6db5 | [
"MIT"
] | null | null | null | src/mwave/mwave_modules/src/mwave_modules/logic_component.cpp | mwaverecycling/ros2-packages | 6ae566d86dc5f724ee69255df3319f6692db6db5 | [
"MIT"
] | null | null | null | // TODO
#include "mwave_modules/logic_component.hpp"
namespace mwave_modules
{
LogicComponent::LogicComponent(const std::string & node_name, const std::string & namespace_)
: mwave_util::BroadcastNode(node_name, namespace_)
{
}
} | 20 | 94 | 0.754167 | mwaverecycling |
627a8d7ebd1e255e5da4c19be872be1eda90f71a | 11,297 | cpp | C++ | util.cpp | Cirras/eomap-classic | 7ba4f5208ce49aeacb17bc4ad016b278388485b8 | [
"Zlib"
] | 2 | 2020-11-02T08:23:11.000Z | 2020-11-03T18:14:51.000Z | util.cpp | Cirras/eomap-classic | 7ba4f5208ce49aeacb17bc4ad016b278388485b8 | [
"Zlib"
] | 4 | 2020-12-09T14:34:56.000Z | 2020-12-14T11:29:59.000Z | util.cpp | Cirras/eomap-classic | 7ba4f5208ce49aeacb17bc4ad016b278388485b8 | [
"Zlib"
] | 2 | 2020-12-09T12:40:10.000Z | 2020-12-14T20:52:10.000Z |
/* $Id: util.cpp 169 2009-10-23 20:17:53Z sausage $
* EOSERV is released under the zlib license.
* See LICENSE.txt for more info.
*/
#include "util.hpp"
#include <algorithm>
#include <ctime>
#include <limits>
#if defined(WIN32) || defined(WIN64)
#include <windows.h>
#endif // defined(WIN32) || defined(WIN64)
na... | 17.624025 | 144 | 0.589449 | Cirras |
627ab0df8852c76820a999e1c7b39467afbec5c5 | 59,582 | cpp | C++ | src/Sparrow/Sparrow/Resources/Pm6/STO-6G.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 45 | 2019-06-12T20:04:00.000Z | 2022-02-28T21:43:54.000Z | src/Sparrow/Sparrow/Resources/Pm6/STO-6G.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 12 | 2019-06-12T23:53:57.000Z | 2022-03-28T18:35:57.000Z | src/Sparrow/Sparrow/Resources/Pm6/STO-6G.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 11 | 2019-06-22T22:52:51.000Z | 2022-03-11T16:59:59.000Z | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*
* @note This file was generated by the Embed binary from runtime values.
* Prefer improving the gener... | 556.841121 | 988 | 0.729717 | qcscine |
627b5d30a69101c87233a69fde12f17eee36e414 | 180 | cpp | C++ | plasma_lambda/test2.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | plasma_lambda/test2.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | plasma_lambda/test2.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | #include"test.hpp"
#if TEST_CODE == 2
#include<iostream>
void test()
{
using namespace plasma::lambda;
auto func = _<1>();
std::cout << func(1, 2, 3) << std::endl;
}
#endif | 12 | 41 | 0.616667 | plasma-effect |
627e9e077e239b744c2577b3a674ac3d1113e855 | 11,551 | cpp | C++ | src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSCJSValue.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSCJSValue.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSCJSValue.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2003, 2007, 2008, 2012 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
* ... | 35.324159 | 129 | 0.634317 | viewdy |
62833a86648c6b50eafb78f2dcb1f5c7c34d5803 | 278 | cpp | C++ | Challenges - Fundamentals/Print Series.cpp | helewrer3/CB_Launchpad | cda17f62a25e15cb914982d1cc24f7ba0e2f7a67 | [
"Unlicense"
] | 3 | 2019-10-04T13:24:16.000Z | 2020-01-22T05:07:02.000Z | Challenges - Fundamentals/Print Series.cpp | helewrer3/CB_Launchpad | cda17f62a25e15cb914982d1cc24f7ba0e2f7a67 | [
"Unlicense"
] | null | null | null | Challenges - Fundamentals/Print Series.cpp | helewrer3/CB_Launchpad | cda17f62a25e15cb914982d1cc24f7ba0e2f7a67 | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
//Variables
int N1, N2, n = 1, val;
//Input
cin >> N1 >> N2;
// Process
while(n <= N1)
{
val = 3*n+2;
if(val%N2 != 0)
printf("%d\n", val);
else
N1++;
n++;
}
return 0;
} | 11.12 | 24 | 0.456835 | helewrer3 |
628cb8829a20f7becc2f52bd0a7c1d992a26d812 | 16,159 | hh | C++ | core/iostream.hh | ducthangho/imdb | 144be294949682cc1abb247dc56c2dfe0e4fafba | [
"Apache-2.0"
] | null | null | null | core/iostream.hh | ducthangho/imdb | 144be294949682cc1abb247dc56c2dfe0e4fafba | [
"Apache-2.0"
] | null | null | null | core/iostream.hh | ducthangho/imdb | 144be294949682cc1abb247dc56c2dfe0e4fafba | [
"Apache-2.0"
] | null | null | null | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 36.230942 | 144 | 0.622811 | ducthangho |
628d2c09b4a99861261f68edf0a120f5761d6f3f | 4,717 | cpp | C++ | font.cpp | m-ll/ncha | 847f249df178bc43e97fb3df5ba4745ee375f951 | [
"MIT"
] | null | null | null | font.cpp | m-ll/ncha | 847f249df178bc43e97fb3df5ba4745ee375f951 | [
"MIT"
] | null | null | null | font.cpp | m-ll/ncha | 847f249df178bc43e97fb3df5ba4745ee375f951 | [
"MIT"
] | null | null | null | ///
/// Copyright (c) 2002-19 m-ll. All Rights Reserved.
///
/// Licensed under the MIT License.
/// See LICENSE file in the project root for full license information.
///
/// 2b13c8312f53d4b9202b6c8c0f0e790d10044f9a00d8bab3edf3cd287457c979
/// 29c355784a3921aa290371da87bce9c1617b8584ca6ac6fb17fb37ba4a07d191
///
#incl... | 17.8 | 76 | 0.571974 | m-ll |
6292a4835c424a9b242c5283f6c9f4bf5f3f2ad5 | 479 | cpp | C++ | test/ssc_test/cmod_geothermal_costs_test.cpp | gjsoto/ssc | 70ef4fdafb9afe0418a9c552485a7116a1b3a743 | [
"BSD-3-Clause"
] | 1 | 2019-08-12T07:05:44.000Z | 2019-08-12T07:05:44.000Z | test/ssc_test/cmod_geothermal_costs_test.cpp | gjsoto/ssc | 70ef4fdafb9afe0418a9c552485a7116a1b3a743 | [
"BSD-3-Clause"
] | 10 | 2018-06-11T16:52:24.000Z | 2021-04-12T16:01:17.000Z | test/ssc_test/cmod_geothermal_costs_test.cpp | gjsoto/ssc | 70ef4fdafb9afe0418a9c552485a7116a1b3a743 | [
"BSD-3-Clause"
] | 4 | 2019-01-09T19:33:03.000Z | 2022-02-02T09:17:05.000Z | #include <gtest/gtest.h>
#include "cmod_geothermal_costs_test.h"
//Fixture is currently testing binary plant (Conversion type = 0)
TEST_F(CMGeothermalCosts, CostModuleTest_cmod_geothermal_costs)
{
//Check whether module runs with any errors:
int geothermal_errors = run_module(data, "geothermal_costs");
ASSERT_EQ(... | 28.176471 | 65 | 0.791232 | gjsoto |
62949e8bd8513e581a54f3f25af9e3391f1cb932 | 12,728 | cpp | C++ | headers/linker.cpp | Laxen/object_identification_localization | 658aad68c6e93386a6c49a810bd8620215a54440 | [
"Unlicense"
] | 6 | 2018-01-29T10:20:20.000Z | 2021-06-13T05:35:32.000Z | headers/linker.cpp | Laxen/object_identification_localization | 658aad68c6e93386a6c49a810bd8620215a54440 | [
"Unlicense"
] | null | null | null | headers/linker.cpp | Laxen/object_identification_localization | 658aad68c6e93386a6c49a810bd8620215a54440 | [
"Unlicense"
] | 2 | 2019-04-03T12:10:54.000Z | 2019-05-13T09:44:01.000Z | #include "linker.h"
bool
Linker::poses_comparator(const Pose_Data& pose1, const Pose_Data& pose2) {
return pose1.inlier_fraction > pose2.inlier_fraction;
}
bool
Linker::id_comparator(const ID_Data& id1, const ID_Data& id2) {
return id1.scores[0] < id2.scores[0];
}
/**
Links pose data from the merged cloud called... | 45.620072 | 179 | 0.719045 | Laxen |
629b01a233b488961c494186634b021eb67869db | 2,622 | cpp | C++ | native/tools/simulator/libsimulator/lib/PlayerTaskServiceProtocol.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/tools/simulator/libsimulator/lib/PlayerTaskServiceProtocol.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/tools/simulator/libsimulator/lib/PlayerTaskServiceProtocol.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
wo... | 27.893617 | 81 | 0.663616 | SteveLau-GameDeveloper |
629c616781ef32f74e0a856d18828aee01fb6be6 | 3,958 | cpp | C++ | libNCUI/transfer/ShellTransfer.cpp | realmark1r8h/tomoyadeng | aceab8fe403070bc12f9d49fdb7add0feb20424d | [
"BSD-2-Clause"
] | 24 | 2018-11-20T14:45:57.000Z | 2021-12-30T13:38:42.000Z | libNCUI/transfer/ShellTransfer.cpp | realmark1r8h/tomoyadeng | aceab8fe403070bc12f9d49fdb7add0feb20424d | [
"BSD-2-Clause"
] | null | null | null | libNCUI/transfer/ShellTransfer.cpp | realmark1r8h/tomoyadeng | aceab8fe403070bc12f9d49fdb7add0feb20424d | [
"BSD-2-Clause"
] | 11 | 2018-11-29T00:09:14.000Z | 2021-11-23T08:13:17.000Z | #include "stdafx.h"
#include "transfer/ShellTransfer.h"
#include <shellapi.h>
#include <amo/path.hpp>
namespace amo {
ShellTransfer::ShellTransfer()
: ClassTransfer("shell") {
}
Any ShellTransfer::exec(IPCMessage::SmartType msg) {
std::shared_ptr<AnyArgsList> args = msg->getArgumen... | 36.990654 | 70 | 0.482314 | realmark1r8h |
629ec384b53658bedad7c16f9db65fd20f75abfe | 4,237 | cpp | C++ | libs/qtmpris/src/mprisrootinterface.cpp | wdehoog/hutspot-ut | f2d1e119d7628ebb0528d28bd57912ff4d1129ad | [
"MIT"
] | 2 | 2019-12-17T14:32:55.000Z | 2019-12-19T12:24:32.000Z | libs/qtmpris/src/mprisrootinterface.cpp | wdehoog/hutspot-ubports | f2d1e119d7628ebb0528d28bd57912ff4d1129ad | [
"MIT"
] | null | null | null | libs/qtmpris/src/mprisrootinterface.cpp | wdehoog/hutspot-ubports | f2d1e119d7628ebb0528d28bd57912ff4d1129ad | [
"MIT"
] | null | null | null | // -*- c++ -*-
/*!
*
* Copyright (C) 2015 Jolla Ltd.
*
* Contact: Valerio Valerio <valerio.valerio@jolla.com>
* Author: Andres Gomez <andres.gomez@jolla.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by... | 37.495575 | 135 | 0.667217 | wdehoog |
62a2691247bc3e7481468ed36136d70a3ac99a2e | 480 | cpp | C++ | atcoder/abc168/b.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | atcoder/abc168/b.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | atcoder/abc168/b.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | // https://atcoder.jp/contests/abc168/tasks/abc168_b
#include <bits/stdc++.h>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int K;
string S;
cin >> K >> S... | 17.777778 | 52 | 0.55 | xirc |
62a993753ae18d905faa64ac35935d3a7cfd92ec | 3,720 | cpp | C++ | Day25/Day25.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | 1 | 2018-12-05T18:32:50.000Z | 2018-12-05T18:32:50.000Z | Day25/Day25.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | null | null | null | Day25/Day25.cpp | ATRI17Z/adventofcode18 | 5d743d7d277b416e3b5a287b0df598c4d5d67c6f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <list>
#include <array>
#include <regex>
#include <vector>
typedef int ll;
ll getManhattenDist4D(std::array<ll, 4>, std::array<ll, 4>);
std::list<std::string> getInputPerLines(std::string);
int main() {
std::array<ll, 4> point;
std::vector<std::ar... | 25.655172 | 99 | 0.560753 | ATRI17Z |
62ab40755157d2e700c4399719c09d5a7e757660 | 1,704 | cpp | C++ | test/unit/math/opencl/indexing_rev_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | test/unit/math/opencl/indexing_rev_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | test/unit/math/opencl/indexing_rev_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | null | null | null | #ifdef STAN_OPENCL
#ifndef STAN_TEST_SKIP_REQUIRING_OPENCL_INT64_BASE_ATOMIC
#include <stan/math/opencl/indexing_rev.hpp>
#include <stan/math/opencl/copy.hpp>
#include <test/unit/util.hpp>
#include <test/unit/math/expect_near_rel.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(indexing_rev, indexing_rev_small)... | 32.769231 | 77 | 0.661385 | LaudateCorpus1 |
62ade6f1df319792c79f00f6e4b4194a8d8b2d7c | 1,015 | cpp | C++ | acm.hdu.edu.cn/2005/main.cpp | hunterMG/Algorithm | 9435cec56ecf39c1e48725dc9fe06d8d6eacdb09 | [
"Apache-2.0"
] | null | null | null | acm.hdu.edu.cn/2005/main.cpp | hunterMG/Algorithm | 9435cec56ecf39c1e48725dc9fe06d8d6eacdb09 | [
"Apache-2.0"
] | null | null | null | acm.hdu.edu.cn/2005/main.cpp | hunterMG/Algorithm | 9435cec56ecf39c1e48725dc9fe06d8d6eacdb09 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
using namespace std;
int main()
{
int m[13] = {0,31,28,31,30,31,30,31,31,30,31,30,31};
int y,mon,d;
char date[10];// 1985/1/20
while(~scanf("%s", date)){
getchar();
m[2] = 28;
y = (date[0]-'0')*1000+(date[... | 25.375 | 78 | 0.375369 | hunterMG |
62aeed594fe92bef8551993c5dc8aa8ecbee66a4 | 1,025 | cpp | C++ | chapter7/class2.cpp | kingmax/cpp | b0c3abcfc77094421d906695a4ac167463a43b92 | [
"Apache-2.0"
] | null | null | null | chapter7/class2.cpp | kingmax/cpp | b0c3abcfc77094421d906695a4ac167463a43b92 | [
"Apache-2.0"
] | null | null | null | chapter7/class2.cpp | kingmax/cpp | b0c3abcfc77094421d906695a4ac167463a43b92 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Screen
{
public:
typedef std::string::size_type pos;
//Constructor
Screen() = default;
Screen(pos ht, pos wd, char c) : height(ht), width(wd),
contents(ht * wd, c) {}
//Methods
char get() const
{
return cont... | 15.769231 | 58 | 0.632195 | kingmax |
62b355299e738802da25d86381eeab9604199668 | 1,680 | cpp | C++ | baremetal/Darwin/DarwinSerial.cpp | cmarrin/placid | deb5a5301de98011a3c2b312b068b325b5191c17 | [
"MIT"
] | 5 | 2018-10-07T11:13:18.000Z | 2021-11-18T13:57:27.000Z | baremetal/Darwin/DarwinSerial.cpp | cmarrin/placid | deb5a5301de98011a3c2b312b068b325b5191c17 | [
"MIT"
] | null | null | null | baremetal/Darwin/DarwinSerial.cpp | cmarrin/placid | deb5a5301de98011a3c2b312b068b325b5191c17 | [
"MIT"
] | 1 | 2018-12-07T18:20:17.000Z | 2018-12-07T18:20:17.000Z | /*-------------------------------------------------------------------------
This source file is a part of Placid
For the latest info, see http:www.marrin.org/
Copyright (c) 2018-2019, Chris Marrin
All rights reserved.
Use of this source code is governed by the MIT license that can be
found in... | 18.26087 | 75 | 0.574405 | cmarrin |
62b445c9a6c11810df1ff6cde9a5f65e11b3515a | 2,106 | cc | C++ | src/shapes/quad.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | 20 | 2020-06-28T03:55:40.000Z | 2022-03-08T06:00:31.000Z | src/shapes/quad.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | null | null | null | src/shapes/quad.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | 1 | 2020-06-29T08:47:21.000Z | 2020-06-29T08:47:21.000Z | //
// Created by panda on 2021/2/28.
//
#include "quad.h"
using namespace DR;
Quad::Quad(observer_ptr<Transform> LocalToWorld,
observer_ptr<Transform> WorldToObject, Point3f a, Point3f b,
Point3f c, bool reverse)
: Shape(LocalToWorld, WorldToObject, reverse)
// clang-format off
/*
* ... | 34.52459 | 78 | 0.581671 | BlurryLight |
62bb221b2319ebc04c68b74a53c08295f08adc42 | 1,358 | cpp | C++ | halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 25 | 2019-05-20T08:07:39.000Z | 2021-08-17T11:25:02.000Z | halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | null | null | null | halfnetwork/HalfNetwork/HalfNetwork/Src/ReactorPool.cpp | cjwcjswo/com2us_cppNetStudy_work | 3aab26cfd2e9bf1544fa41a0f2694d81167b2584 | [
"MIT"
] | 17 | 2019-07-07T12:20:16.000Z | 2022-01-11T08:27:44.000Z | #include <string>
#include <ace/Singleton.h>
#include "HalfNetworkType.h"
#include "ReactorPool.h"
namespace HalfNetwork
{
/////////////////////////////////////////
// ReactorTask
/////////////////////////////////////////
ReactorTask::ReactorTask()
{
this->reactor(ACE_Reactor::instance());
}
R... | 20.268657 | 71 | 0.576583 | cjwcjswo |
62bb84d5245fc5ce5e44203f63e6a63308b2f546 | 3,324 | cc | C++ | HeterogeneousCore/SonicTriton/test/TritonImageProducer.cc | tklijnsma/cmssw | d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43 | [
"Apache-2.0"
] | 1 | 2018-03-14T16:25:31.000Z | 2018-03-14T16:25:31.000Z | HeterogeneousCore/SonicTriton/test/TritonImageProducer.cc | tklijnsma/cmssw | d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43 | [
"Apache-2.0"
] | 3 | 2020-02-19T08:33:16.000Z | 2020-03-13T10:02:19.000Z | HeterogeneousCore/SonicTriton/test/TritonImageProducer.cc | tklijnsma/cmssw | d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43 | [
"Apache-2.0"
] | 1 | 2018-09-12T13:30:34.000Z | 2018-09-12T13:30:34.000Z | #include "HeterogeneousCore/SonicCore/interface/SonicEDProducer.h"
#include "HeterogeneousCore/SonicTriton/interface/TritonClient.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Framework/interface/MakerMacros.h... | 36.933333 | 99 | 0.702467 | tklijnsma |
62bdaeffef0d5c0a033cefe99c63556843f15e5e | 3,249 | cc | C++ | server/dal/group_dao_impl.cc | nebula-im/imengine | c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459 | [
"Apache-2.0"
] | 12 | 2016-12-01T02:49:35.000Z | 2020-11-23T14:32:24.000Z | server/dal/group_dao_impl.cc | nebula-im/imengine | c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459 | [
"Apache-2.0"
] | null | null | null | server/dal/group_dao_impl.cc | nebula-im/imengine | c3e0867ecfa7c7bd9f42cb37754ed54c08e8b459 | [
"Apache-2.0"
] | 6 | 2018-01-25T03:42:07.000Z | 2020-11-03T04:19:21.000Z | /*
* Copyright (c) 2016, https://github.com/nebula-im/imengine
* 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.... | 45.125 | 148 | 0.480148 | nebula-im |
62bdb0d602368a1aba7f31194b7bf570985447e3 | 459 | hpp | C++ | src/keyhook.hpp | agrippa1994/node-win32-keyhook | 3b3892c2f20c5821878d7d720f1dc671e7c0cbc3 | [
"MIT"
] | 3 | 2015-08-19T19:29:28.000Z | 2016-11-15T07:41:06.000Z | src/keyhook.hpp | agrippa1994/node-win32-keyhook | 3b3892c2f20c5821878d7d720f1dc671e7c0cbc3 | [
"MIT"
] | null | null | null | src/keyhook.hpp | agrippa1994/node-win32-keyhook | 3b3892c2f20c5821878d7d720f1dc671e7c0cbc3 | [
"MIT"
] | null | null | null | #ifndef KEYHOOK_HPP
#define KEYHOOK_HPP
#include <string>
#include <functional>
typedef std::function<bool()> KeyPressedCallback;
bool isKeyRegistered(const std::string& key);
bool registerKey(const std::string& key, KeyPressedCallback callback);
bool unregisterKey(const std::string& key);
bool initializeKeyhook(... | 20.863636 | 70 | 0.79085 | agrippa1994 |
4983f3da929285e5e562d39b82dab15d29ca6a1b | 4,966 | cpp | C++ | third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getteximage.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getteximage.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getteximage.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "chromium.h"
#include "cr_error.h"
#include "cr_mem.h"
#include "cr_pixeldata.h"
#include "server_dispatch.h"
#include "server.h"
void SERVER_DISPATCH_APIENTR... | 31.630573 | 118 | 0.649013 | Fimbure |
498b2cb79f7cb8217759663ca39f872e44498c66 | 477 | cpp | C++ | cpps/02/types.cpp | ch1huizong/lang | 904d18b9364033af07933d38fd3f2e136a3cba2c | [
"MIT"
] | null | null | null | cpps/02/types.cpp | ch1huizong/lang | 904d18b9364033af07933d38fd3f2e136a3cba2c | [
"MIT"
] | null | null | null | cpps/02/types.cpp | ch1huizong/lang | 904d18b9364033af07933d38fd3f2e136a3cba2c | [
"MIT"
] | null | null | null | #include <iostream>
// T: 类型定义语法
typedef int int_32;
typedef unsigned int un_32;
using machine_32 = int;
using machine_64 = long;
int main() {
int_32 a = 10;
un_32 b = 65;
printf("a = %d\n", a);
printf("b = %d\n", b);
printf("sizeof(machine_32) = %d\n", sizeof(machine_32));
printf("sizeof(machine_64) =... | 17.035714 | 58 | 0.584906 | ch1huizong |
498b77b42868a1c0ed27bca3ae3f5c81e461a29a | 1,133 | cpp | C++ | platforms/leetcode/0116_rotate_list.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0116_rotate_list.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0116_rotate_list.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include "../../template.hpp"
using i32 = std::int32_t;
using i64 = std::int64_t;
//const i32 INF = 1000000000 + 7;
const i32 fastio_ = ([](){std::ios_base::sync_with_stdio(0); std::cin.tie(0);return 0;})();
i32 getLength(ListNode* head) {
if (not head) return 0;
return 1 + getLength(head->next);
}
ListNode*... | 24.630435 | 91 | 0.580759 | idfumg |
498ba48a20f7569d7ea878890b12a5fba546d518 | 787 | cpp | C++ | NAMESPACES in C++/namespace.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | NAMESPACES in C++/namespace.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | NAMESPACES in C++/namespace.cpp | anjali9811/Programming-in-Cpp | 02e80e045a7fb20f8970fcdae68c08bdf27f95b8 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
/*program to explain the concept of namespaces
namespaces consists of a set of identifiers which are local to that particular name space.Also namespaces are like the lastname of a 2 persons having different names.
Like we can differentiate 2persons with smae first names using t... | 26.233333 | 166 | 0.76493 | anjali9811 |
498d73819a96ddf8ea1759cbfd7076d67af9f7cd | 3,150 | hh | C++ | src/Zynga/Framework/StorableObject/V1/Base.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 19 | 2018-04-23T09:30:48.000Z | 2022-03-06T21:35:18.000Z | src/Zynga/Framework/StorableObject/V1/Base.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 22 | 2017-11-27T23:39:25.000Z | 2019-08-09T08:56:57.000Z | src/Zynga/Framework/StorableObject/V1/Base.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 28 | 2017-11-16T20:53:56.000Z | 2021-01-04T11:13:17.000Z | <?hh // strict
namespace Zynga\Framework\StorableObject\V1;
use JsonSerializable;
use Zynga\Framework\StorableObject\V1\Interfaces\StorableObjectInterface;
use
Zynga\Framework\StorableObject\V1\Exceptions\MissingKeyFromImportDataException
;
use Zynga\Framework\StorableObject\V1\Exceptions\UnsupportedTypeException;... | 26.25 | 89 | 0.713333 | chintan-j-patel |
499065902e136fd401a2fcbc4826c7116b0293b3 | 828 | cpp | C++ | lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp | tofergregg/cs106X-website-spring-2017 | 1c1f4bab672248a77bdb881e818dee49b48c0070 | [
"MIT"
] | null | null | null | lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp | tofergregg/cs106X-website-spring-2017 | 1c1f4bab672248a77bdb881e818dee49b48c0070 | [
"MIT"
] | null | null | null | lectures/7-IntroToRecursion/code/towersHanoi/src/towers.cpp | tofergregg/cs106X-website-spring-2017 | 1c1f4bab672248a77bdb881e818dee49b48c0070 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <iomanip>
#include "console.h"
#include "timer.h"
#include "hashset.h"
#include "lexicon.h"
#include "queue.h"
#include "set.h"
#include "vector.h"
#include "grid.h"
#include "filelib.h"
#include "gwindow.h"
#include "gobjects.h"
#include "simpio.h"
#include "ghanoi.h"
u... | 19.714286 | 62 | 0.628019 | tofergregg |
4991dc9486f61adbf45deba82b13fd0f99c3d4f9 | 321 | cpp | C++ | Source Code/SIMFECompiler.cpp | kaiky25/SIMFECompiler | 8088113a7d555f9c334c166e3a4629b9e5078f49 | [
"MIT"
] | null | null | null | Source Code/SIMFECompiler.cpp | kaiky25/SIMFECompiler | 8088113a7d555f9c334c166e3a4629b9e5078f49 | [
"MIT"
] | null | null | null | Source Code/SIMFECompiler.cpp | kaiky25/SIMFECompiler | 8088113a7d555f9c334c166e3a4629b9e5078f49 | [
"MIT"
] | null | null | null | // SIMFECompiler.cpp
// SIMFECompiler
// Created by Kaê Angeli Coutinho
// MIT license
// Included dependencies
#include "SIMFECompilerFunctions.h"
// Compiler lifecycle
int main(int argumentsCount, char ** arguments)
{
// Compiles the given SIM source code
return compileSIMSourceCode(argumentsCount,arguments);
}... | 18.882353 | 55 | 0.76947 | kaiky25 |
49927a325be1a2e72019019e98d47a8d4244f018 | 7,116 | cpp | C++ | libraries/shared/src/LogHandler.cpp | mnafees/hifi | d8f0cfa89a1fdf7339bac6af984e940df6265006 | [
"Apache-2.0"
] | null | null | null | libraries/shared/src/LogHandler.cpp | mnafees/hifi | d8f0cfa89a1fdf7339bac6af984e940df6265006 | [
"Apache-2.0"
] | null | null | null | libraries/shared/src/LogHandler.cpp | mnafees/hifi | d8f0cfa89a1fdf7339bac6af984e940df6265006 | [
"Apache-2.0"
] | null | null | null | //
// LogHandler.cpp
// libraries/shared/src
//
// Created by Stephen Birarda on 2014-10-28.
// Migrated from Logging.cpp created on 6/11/13
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENS... | 32.345455 | 115 | 0.657392 | mnafees |
49943a09d854cd6ab0ddb0b87fc8edf1c5ba6e6e | 767 | cpp | C++ | Sorting/Optimised_BubbleSort.cpp | VanshMaheshwari30/DS-Algo | d47710387d78ed418a229b3a021ce37c9fcd949a | [
"MIT"
] | 1 | 2020-10-21T07:53:54.000Z | 2020-10-21T07:53:54.000Z | Sorting/Optimised_BubbleSort.cpp | VanshMaheshwari30/DS-Algo | d47710387d78ed418a229b3a021ce37c9fcd949a | [
"MIT"
] | null | null | null | Sorting/Optimised_BubbleSort.cpp | VanshMaheshwari30/DS-Algo | d47710387d78ed418a229b3a021ce37c9fcd949a | [
"MIT"
] | 1 | 2020-10-20T09:11:34.000Z | 2020-10-20T09:11:34.000Z | #include <bits/stdc++.h>
using namespace std;
void bubblesort(int a[],int n)
{
for (int i=0; i<n-1; i++)
{
bool swapped = false;
for (int j=0; j<n-i-1; j++)
{
if (a[j]>a[j+1])
{
swap(a[j],a[j+1]);
swapped = true;
}
... | 20.72973 | 51 | 0.411995 | VanshMaheshwari30 |
49956ef1a27cdf020ddfc3932a92ea4d081df966 | 1,611 | cpp | C++ | oneEngine/oneGame/source/after/after-common.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/after/after-common.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/after/after-common.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z |
#include "physical/liscensing.cxx" // Include liscense info
#include "engine/utils/CDeveloperConsole.h"
#include "engine-common/lua/LuaSys.h"
#include "engine-common/lua/Lua_Console.h"
#include "engine-common/engine-common.h"
#include "engine-common/engine-common-scenes.h"
#include "after-common.h"
#include "after/s... | 36.613636 | 100 | 0.581006 | jonting |
499884591bc69d37dac296592b1491123427b87d | 12,848 | cpp | C++ | Gui/albaGUICrossSplitter.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Gui/albaGUICrossSplitter.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Gui/albaGUICrossSplitter.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaGUICrossSplitter
Authors: Silvano Imboden
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is distributed WITHOUT ANY WARRANTY; without ev... | 28.052402 | 94 | 0.511753 | IOR-BIC |
499a092274a9ba88a44457476a8d309f521ab901 | 10,748 | cpp | C++ | ADCore/ADApp/pluginSrc/NDPluginGather.cpp | jerryjiahaha/areaDetector | a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231 | [
"MIT"
] | null | null | null | ADCore/ADApp/pluginSrc/NDPluginGather.cpp | jerryjiahaha/areaDetector | a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231 | [
"MIT"
] | 11 | 2015-12-04T14:48:19.000Z | 2020-04-03T10:05:30.000Z | ADCore/ADApp/pluginSrc/NDPluginGather.cpp | jerryjiahaha/areaDetector | a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231 | [
"MIT"
] | 4 | 2015-11-11T10:49:39.000Z | 2017-03-14T09:50:04.000Z | /*
* NDPluginGather.cpp
*
* A plugin that subscribes to callbacks from multiple ports, not just a single port
* Author: Mark Rivers
*
* February 27. 2017.
*/
#include <stdlib.h>
#include <stdio.h>
#include <epicsTypes.h>
#include <epicsMessageQueue.h>
#include <epicsThread.h>
#include <epicsTime.h>
#include <... | 45.159664 | 128 | 0.66217 | jerryjiahaha |
49a1b7ec4fa673672e81db01df7232b8ebfd7996 | 586 | cc | C++ | userFiles/ctrl/body/articulations/specific_art/Yaw_Torso_Art.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/body/articulations/specific_art/Yaw_Torso_Art.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/ctrl/body/articulations/specific_art/Yaw_Torso_Art.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null |
#include "Yaw_Torso_Art.hh"
/*! \brief constructor
*
* \param[in] inputs controller inputs
* \param[in] ctrl_index indexes of the controller
*/
Yaw_Torso_Art::Yaw_Torso_Art(CtrlInputs *inputs, MotorCtrlIndex *ctrl_index): Articulation(inputs, ctrl_index, YAW_TORSO_ART, TORSO_BODY)
{
joint_id = ctrl_index->get_i... | 18.903226 | 137 | 0.726962 | mharding01 |
49a26ebd0efe4aae8ed9bfd592c74ef0d25b2d7c | 12,041 | cxx | C++ | panda/src/physx/physxJoint.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/physx/physxJoint.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/physx/physxJoint.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: physxJoint.cxx
// Created by: enn0x (02Oct09)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should... | 34.501433 | 91 | 0.526867 | kestred |
49a453d03a599b1ca3ddfa363aeaafcebe546ad4 | 366 | cc | C++ | tcpp/minion2/minion/system/minlib/tests/test_reader_1.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | tcpp/minion2/minion/system/minlib/tests/test_reader_1.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | tcpp/minion2/minion/system/minlib/tests/test_reader_1.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | #include "minlib/LettingReader/inputfile_parse.h"
int main(void) {
SimpleMap<std::string, MultiDimCon<int, int>> lets;
readLettingStatements(lets, std::string("lettings1.txt"));
assert(lets.get(std::string("L")).arity() == 0);
assert(lets.get(std::string("L")).get(make_vec<int>()) == 1);
assert(lets.get(std... | 36.6 | 65 | 0.669399 | Behrouz-Babaki |
49a646f40e7e32094d7ee8470a1d9b27ee9537f2 | 6,940 | cpp | C++ | Source/Tools/alive_api/alive_api_test.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | 1 | 2021-04-11T23:44:43.000Z | 2021-04-11T23:44:43.000Z | Source/Tools/alive_api/alive_api_test.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | Source/Tools/alive_api/alive_api_test.cpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | #include "../AliveLibCommon/stdafx_common.h"
#include "alive_api.hpp"
#include "SDL.h"
#include "logger.hpp"
#include "AOTlvs.hpp"
#include <gmock/gmock.h>
#include "../AliveLibAE/DebugHelpers.hpp"
const std::string kAEDir = "C:\\GOG Games\\Abes Exoddus\\";
const std::string kAODir = "C:\\GOG Games\\Abes Oddysee\\";
c... | 27.109375 | 102 | 0.606916 | THEONLYDarkShadow |
49a8388d6bb64f90c4eed1c6618d095dab18b3da | 20,600 | cc | C++ | libhwsec-foundation/crypto/aes.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libhwsec-foundation/crypto/aes.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libhwsec-foundation/crypto/aes.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 The Chromium OS 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 "libhwsec-foundation/crypto/aes.h"
#include <limits>
#include <optional>
#include "libhwsec-foundation/crypto/secure_blob_util.h"
#include ... | 35.826087 | 80 | 0.637621 | Toromino |
49a89792602e67ef169ad5931e18c36d24956944 | 9,971 | cpp | C++ | components/modules/ds3231/ds3231.cpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | 2 | 2021-07-19T12:03:39.000Z | 2021-07-22T18:37:45.000Z | components/modules/ds3231/ds3231.cpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | null | null | null | components/modules/ds3231/ds3231.cpp | thmalmeida/agro_mesh | fbce39d2e08d02495ecd3b55b2e826449b9dc3b7 | [
"MIT"
] | 1 | 2021-07-08T09:07:10.000Z | 2021-07-08T09:07:10.000Z | #include "ds3231.hpp"
//Registers
#define REG_SEC 0x00
#define REG_MIN 0x01
#define REG_HOUR 0x02
#define REG_DOW 0x03
#define REG_DATE 0x04
#define REG_MON 0x05
#define REG_YEAR 0x06
#define REG_CON 0x0e
#define REG_STATUS 0x0f
#define REG_AGING 0x10
#define REG_TEMPM 0x11
#define REG_TEMPL 0x12
... | 23.627962 | 90 | 0.664627 | thmalmeida |
49aaf4ac7f6b7fb8effddf07d0272531622de3f5 | 6,437 | cpp | C++ | AGNES.cpp | Quanhaoli2641/MachineLearningVoter | 244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7 | [
"MIT"
] | 4 | 2016-12-16T16:42:41.000Z | 2017-01-27T23:49:33.000Z | AGNES.cpp | Quanhaoli2641/MachineLearningVoter | 244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7 | [
"MIT"
] | null | null | null | AGNES.cpp | Quanhaoli2641/MachineLearningVoter | 244ed7dd18d0c497a903e3ada5fe3f9aa4ec18c7 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <math.h>
#include "AGNES.h"
#include <iostream>
#include "Silhouette.h"
using namespace std;
using namespace Silhouette;
namespace AGNES {
UnsupervisedNode* UnsupervisedNode::getChild1 (){return child1;}
UnsupervisedNode* UnsupervisedNode::getChild2 (){return child2;}
void... | 41.262821 | 106 | 0.5762 | Quanhaoli2641 |
49ae7cf017d7df0da7d85bfc9677fe387b4dd2d2 | 550 | cpp | C++ | src/limit.cpp | henrikt-ma/cadical | 58331fd078cb5f76bae52e25de0e34c6a7dd4c1d | [
"MIT"
] | null | null | null | src/limit.cpp | henrikt-ma/cadical | 58331fd078cb5f76bae52e25de0e34c6a7dd4c1d | [
"MIT"
] | null | null | null | src/limit.cpp | henrikt-ma/cadical | 58331fd078cb5f76bae52e25de0e34c6a7dd4c1d | [
"MIT"
] | null | null | null | #include "internal.hpp"
namespace CaDiCaL {
Limit::Limit () { memset (this, 0, sizeof *this); }
bool Internal::terminating () {
if (termination) {
LOG ("termination forced");
return true;
}
if (lim.conflict >= 0 && stats.conflicts >= lim.conflict) {
LOG ("conflict limit %ld reached", lim.conflict);... | 21.153846 | 61 | 0.616364 | henrikt-ma |
49b21525f89fdb60466b3d2d7515bfc68fda09a4 | 4,985 | cpp | C++ | src/WinTrek/Slideshow.cpp | nikodemak/Allegiance | 9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc | [
"MIT"
] | 1 | 2017-10-28T07:39:29.000Z | 2017-10-28T07:39:29.000Z | src/WinTrek/Slideshow.cpp | nikodemak/Allegiance | 9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc | [
"MIT"
] | null | null | null | src/WinTrek/Slideshow.cpp | nikodemak/Allegiance | 9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc | [
"MIT"
] | null | null | null | #include "pch.h"
#include "slideshow.h"
//////////////////////////////////////////////////////////////////////////////
//
// Training Screen
//
//////////////////////////////////////////////////////////////////////////////
void Slideshow::CleanUpTimers (void)
{
if (m_bInTimer)
{
// if a timer even... | 26.801075 | 131 | 0.604614 | nikodemak |
49bdc478f03d5b57259e07de05882e47c3e581e7 | 3,224 | hpp | C++ | logger/logger.hpp | mlohry/maDGiCart-CH | 36723e992449fce670d17279b606f54d4b5b5545 | [
"MIT"
] | 3 | 2022-01-25T19:31:17.000Z | 2022-01-25T21:10:39.000Z | logger/logger.hpp | mlohry/maDGiCart-CH | 36723e992449fce670d17279b606f54d4b5b5545 | [
"MIT"
] | 20 | 2021-12-17T14:58:00.000Z | 2022-02-05T21:25:35.000Z | logger/logger.hpp | mlohry/maDGiCart-CH | 36723e992449fce670d17279b606f54d4b5b5545 | [
"MIT"
] | null | null | null | #pragma once
#include <chrono>
#include <fstream>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <boost/log/sinks/sync_frontend.hpp>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/log/sinks/text_ostream_backend.hpp>
#include "typedefs.hpp"
enum cl... | 31.607843 | 115 | 0.675248 | mlohry |
49bf32d72e49ffdf422e633e13f056b21921b048 | 28,035 | cpp | C++ | multimedia/dshow/filterus/dexter/tldb/tldbobj.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/dshow/filterus/dexter/tldb/tldbobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/dshow/filterus/dexter/tldb/tldbobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //@@@@AUTOBLOCK+============================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
... | 25.673077 | 99 | 0.442911 | npocmaka |
49c295ebfb66665055fce5546a6c9de1b1185948 | 9,696 | hpp | C++ | include/tao/algorithm/selection/min_max_element.hpp | tao-cpp/algorithm | 156655aed1c522a3386cb82fb4aa2b3a302ee7e8 | [
"MIT"
] | 2 | 2017-01-13T09:20:58.000Z | 2019-06-28T15:27:13.000Z | include/tao/algorithm/selection/min_max_element.hpp | tao-cpp/algorithm | 156655aed1c522a3386cb82fb4aa2b3a302ee7e8 | [
"MIT"
] | null | null | null | include/tao/algorithm/selection/min_max_element.hpp | tao-cpp/algorithm | 156655aed1c522a3386cb82fb4aa2b3a302ee7e8 | [
"MIT"
] | 2 | 2017-05-31T12:05:26.000Z | 2019-10-13T22:36:32.000Z | //! \file tao/algorithm/selection/min_max_element.hpp
// Tao.Algorithm
//
// Copyright (c) 2016-2021 Fernando Pelliccioni.
//
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TAO_ALGORITHM_SELECTION_MIN_MAX_ELEMENT_HPP_
#... | 31.076923 | 105 | 0.60066 | tao-cpp |
49c3f1b17fe1f3975a0f1b60e8cd4b01fe5a00f1 | 10,582 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/network/access/qnetworkcachemetadata/tst_qnetworkcachemetadata.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/network/access/qnetworkcachemetadata/tst_qnetworkcachemetadata.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/auto/network/access/qnetworkcachemetadata/tst_qnetworkcachemetadata.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid comm... | 31.777778 | 88 | 0.702797 | GrinCash |
49c46305a00bba9ecb9ecd673e6d0cdb50a7ab77 | 5,680 | cpp | C++ | webkit/port/platform/chromium/DragDataChromium.cpp | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T15:35:17.000Z | 2016-05-08T15:35:17.000Z | webkit/port/platform/chromium/DragDataChromium.cpp | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | webkit/port/platform/chromium/DragDataChromium.cpp | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007 Apple 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 ... | 30.374332 | 102 | 0.71162 | bluebellzhy |
49c47e8ccc1f031844436950f924c1d2ac308f50 | 3,550 | cpp | C++ | src/executors/groupby.cpp | dhruvarya/simple-ra | 2cb3930d5fe75a96c335a55d788d697016d282d4 | [
"MIT"
] | null | null | null | src/executors/groupby.cpp | dhruvarya/simple-ra | 2cb3930d5fe75a96c335a55d788d697016d282d4 | [
"MIT"
] | null | null | null | src/executors/groupby.cpp | dhruvarya/simple-ra | 2cb3930d5fe75a96c335a55d788d697016d282d4 | [
"MIT"
] | null | null | null | #include "global.h"
/**
* @brief
* SYNTAX: R <- GROUP BY <attr> FROM relation_name RETURN MIN|MAX|SUM|AVG(attr)
*/
bool syntacticParseGROUP()
{
logger.log("syntacticParseGROUP");
if (tokenizedQuery.size() != 9 || tokenizedQuery[3] != "BY" || tokenizedQuery[7] != "RETURN" || tokenizedQuery[5] != "FROM")
... | 34.803922 | 161 | 0.63493 | dhruvarya |
49c4c1d39143ea3b3aea9024c7036f3e08ee1f53 | 4,289 | cpp | C++ | UVa 10511 - Councilling/sample/10511 - Councilling.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 10511 - Councilling/sample/10511 - Councilling.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 10511 - Councilling/sample/10511 - Councilling.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <string.h>
#include <queue>
#include <map>
#include <iostream>
#include <sstream>
using namespace std;
struct Node {
int x, y, v;// x->y, v
int next;
} edge[500005];
int e, head[5000], dis[5000], prev[5000], record[5000];
void addEdge(int x, int y, int v) {
edge[e].x = x, edge[e]... | 28.403974 | 95 | 0.358592 | tadvi |
49cc3d5ab65230e5f951f35388e76e4101d80aae | 5,121 | cpp | C++ | src/blocks/falling.cpp | BonemealPioneer/Mineserver | 0d0d9af02c3a76aab057798511683fed85e76463 | [
"BSD-3-Clause"
] | 93 | 2015-01-11T03:10:17.000Z | 2022-01-27T15:53:35.000Z | src/blocks/falling.cpp | BonemealPioneer/Mineserver | 0d0d9af02c3a76aab057798511683fed85e76463 | [
"BSD-3-Clause"
] | 6 | 2016-01-10T11:11:50.000Z | 2019-10-31T05:23:58.000Z | src/blocks/falling.cpp | BonemealPioneer/Mineserver | 0d0d9af02c3a76aab057798511683fed85e76463 | [
"BSD-3-Clause"
] | 35 | 2015-01-11T04:08:30.000Z | 2022-02-11T10:17:20.000Z | /*
Copyright (c) 2011, The Mineserver Project
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 condition... | 28.608939 | 117 | 0.68717 | BonemealPioneer |
49ccef0babe7b01c7fd08cefd81424f3f13cd36f | 17,808 | cpp | C++ | src/demos/irrlicht/demo_IRR_decomposition.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_decomposition.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | null | null | null | src/demos/irrlicht/demo_IRR_decomposition.cpp | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"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... | 42.299287 | 120 | 0.574629 | lucasw |
49d0ad93f2733814bcdc3a2c80701f0e72f223dc | 2,033 | cpp | C++ | basic-window/main.cpp | coltonhurst/learning-sdl | e629a24b851a6b409266e2514f1b94bc162f85d3 | [
"MIT"
] | null | null | null | basic-window/main.cpp | coltonhurst/learning-sdl | e629a24b851a6b409266e2514f1b94bc162f85d3 | [
"MIT"
] | null | null | null | basic-window/main.cpp | coltonhurst/learning-sdl | e629a24b851a6b409266e2514f1b94bc162f85d3 | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#include <iostream>
const int WINDOW_HEIGHT = 640;
const int WINDOW_WIDTH = 480;
// Starting point.
int main(int argc, const char * argv[])
{
// Create the window & screen surface.
// We render to the window & the surface is "contained" by the window.
SDL_Window* window = nullptr;
... | 29.042857 | 102 | 0.487949 | coltonhurst |
49d1f5e89dd6a3655548bc676cfc8ac33df047a3 | 3,185 | cpp | C++ | Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp | EpsilonsQc/Programmation-I | 34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986 | [
"MIT"
] | null | null | null | Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp | EpsilonsQc/Programmation-I | 34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986 | [
"MIT"
] | null | null | null | Programmation-II/src/Project 013 (The Tortoise and the Hare)/Main.cpp | EpsilonsQc/Programmation-I | 34ec0cd60f3c51faf1ea5ba03b7b95e1c9d96986 | [
"MIT"
] | null | null | null | // The Tortoise and the Hare
// Main.cpp (Main function | Program execution begins and ends there)
/*
EXERCICE 8.12 PSEUDOCODE
- utilisation de nombre aléatoire pour recréation de la simulation
- créer un array de 70 cases
- chacune des 70 cases représente une position le long du parcours de course
- ... | 49.765625 | 216 | 0.6854 | EpsilonsQc |
49d7145725729878d437d073cf0594dbd68d839c | 4,490 | hh | C++ | include/hcore/exception.hh | ecrc/hcorepp | 5192f7334518e3b7fbffa8e2f56301f77c777c55 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T17:06:34.000Z | 2021-09-13T17:06:34.000Z | include/hcore/exception.hh | ecrc/hcorepp | 5192f7334518e3b7fbffa8e2f56301f77c777c55 | [
"BSD-3-Clause"
] | null | null | null | include/hcore/exception.hh | ecrc/hcorepp | 5192f7334518e3b7fbffa8e2f56301f77c777c55 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017-2021, King Abdullah University of Science and Technology
// (KAUST). All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause. See the accompanying LICENSE file.
#ifndef HCORE_EXCEPTION_HH
#define HCORE_EXCEPTION_HH
#include <string>
#include <cstdio>
#include <cstdarg>
#include <exception>... | 32.536232 | 80 | 0.647216 | ecrc |
49d7d85fa62b54de41eae6e91cb4a45db28dba88 | 3,180 | cpp | C++ | tr-game-server/src/main.cpp | SolidLeon/Overheat | 62074b613d4f692bc36e44930b677c5dc1205f88 | [
"OpenSSL"
] | 3 | 2017-09-11T09:06:57.000Z | 2019-11-12T03:06:37.000Z | tr-game-server/src/main.cpp | SolidLeon/Overheat | 62074b613d4f692bc36e44930b677c5dc1205f88 | [
"OpenSSL"
] | null | null | null | tr-game-server/src/main.cpp | SolidLeon/Overheat | 62074b613d4f692bc36e44930b677c5dc1205f88 | [
"OpenSSL"
] | null | null | null | //FIXME: If you get a compiler error that the type uintX_t is not defined, include the "types.h" in the corresoponding header file.
#include <iostream>
#include <string>
#include "server.h"
//#include "crypto.h"
#include "DBMgr.h"
#include "ThreadUtils.h"
#include <pthread.h>
using namespace std;
pthread_mutex_t gM... | 29.174312 | 163 | 0.536792 | SolidLeon |
49d7d8f2724c252c81e0e4ffadee4979028d3186 | 198 | cpp | C++ | target/classes/top.chenqwwq/acwing/content/_56/C.cpp | CheNbXxx/_leetcode | d49786b376d7cf17e099af7dcda1a47866f7e194 | [
"Apache-2.0"
] | null | null | null | target/classes/top.chenqwwq/acwing/content/_56/C.cpp | CheNbXxx/_leetcode | d49786b376d7cf17e099af7dcda1a47866f7e194 | [
"Apache-2.0"
] | null | null | null | target/classes/top.chenqwwq/acwing/content/_56/C.cpp | CheNbXxx/_leetcode | d49786b376d7cf17e099af7dcda1a47866f7e194 | [
"Apache-2.0"
] | null | null | null | //
// Created by chenqwwq on 2022/6/18.
//
#include "stdc++.h"
#include "common.h"
#include "iostream"
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
} | 12.375 | 36 | 0.641414 | CheNbXxx |
49da17727538a27dae3335702b0ad6fd299602d8 | 40 | cpp | C++ | cpp/src/main/models/GlobalRankingScoreIterator.cpp | rpalovics/Alpenglow | 63472ce667d517d6c7f47c9d0559861392fca3f9 | [
"Apache-2.0"
] | 28 | 2017-07-23T22:47:44.000Z | 2022-03-12T15:11:13.000Z | cpp/src/main/models/GlobalRankingScoreIterator.cpp | proto-n/Alpenglow | 7a15d5c57b511787379f095e7310e67423159fa0 | [
"Apache-2.0"
] | 4 | 2017-05-10T10:23:17.000Z | 2019-05-23T14:07:09.000Z | cpp/src/main/models/GlobalRankingScoreIterator.cpp | proto-n/Alpenglow | 7a15d5c57b511787379f095e7310e67423159fa0 | [
"Apache-2.0"
] | 9 | 2017-05-04T09:20:58.000Z | 2021-12-14T08:19:01.000Z | #include "GlobalRankingScoreIterator.h"
| 20 | 39 | 0.85 | rpalovics |
49e74d6552b220e5d1b1fcfdb1bc0f6b4c4c8843 | 1,715 | hh | C++ | StRoot/StDbLib/StDbTableFactory.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StDbLib/StDbTableFactory.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StDbLib/StDbTableFactory.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | /***************************************************************************
*
* $Id: StDbTableFactory.hh,v 1.1 2001/01/22 18:38:01 porter Exp $
*
* Author: R. Jeff Porter
***************************************************************************
*
* Description: Simple place holder for creating DB tables;
* ... | 36.489362 | 89 | 0.587172 | xiaohaijin |
49e8bb7742522cd602eb35a5fabf30f00d3f530d | 479 | cpp | C++ | TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp | APBerg/TotalInsanity | 35950d2dd8ea196b5a76f968033a63990aa50bd8 | [
"MIT"
] | null | null | null | TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp | APBerg/TotalInsanity | 35950d2dd8ea196b5a76f968033a63990aa50bd8 | [
"MIT"
] | null | null | null | TotalInsanity/Source/TotalInsanity/Player/TIShootEffect.cpp | APBerg/TotalInsanity | 35950d2dd8ea196b5a76f968033a63990aa50bd8 | [
"MIT"
] | null | null | null | // Copyright Adam Berg 2017
#include "TIShootEffect.h"
// Sets default values
ATIShootEffect::ATIShootEffect()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawne... | 17.107143 | 115 | 0.730689 | APBerg |
49e9501641183e601d40851df1fc9954e5359dd4 | 2,206 | cpp | C++ | source/component/Ray.cpp | xzrunner/editopgraph | 1201c71285b417f8e4cbf2146f3acbd5b50aff61 | [
"MIT"
] | null | null | null | source/component/Ray.cpp | xzrunner/editopgraph | 1201c71285b417f8e4cbf2146f3acbd5b50aff61 | [
"MIT"
] | null | null | null | source/component/Ray.cpp | xzrunner/editopgraph | 1201c71285b417f8e4cbf2146f3acbd5b50aff61 | [
"MIT"
] | null | null | null | #include "editopgraph/component/Ray.h"
#include "editopgraph/CompHelper.h"
#include "editopgraph/ParamImpl.h"
#include "editopgraph/Context.h"
#include <painting3/PerspCam.h>
#include <painting3/Viewport.h>
namespace editopgraph
{
namespace comp
{
void Ray::Execute(const std::shared_ptr<dag::Context>& ctx)
{
m_v... | 28.649351 | 96 | 0.549864 | xzrunner |
49ea73bb180ed7b921c79412bc93739f35930059 | 3,887 | cpp | C++ | setbench/setbench/macrobench/concurrency_control/vll.cpp | cmuparlay/flock | afdcfe55cdd7507c2a19a6e0b30f3115e183cd58 | [
"MIT"
] | 19 | 2022-01-29T02:44:30.000Z | 2022-03-29T15:52:51.000Z | setbench/setbench/macrobench/concurrency_control/vll.cpp | cmuparlay/flock | afdcfe55cdd7507c2a19a6e0b30f3115e183cd58 | [
"MIT"
] | null | null | null | setbench/setbench/macrobench/concurrency_control/vll.cpp | cmuparlay/flock | afdcfe55cdd7507c2a19a6e0b30f3115e183cd58 | [
"MIT"
] | 1 | 2022-02-22T05:58:11.000Z | 2022-02-22T05:58:11.000Z | #include "vll.h"
#include "txn.h"
#include "table.h"
#include "row.h"
#include "row_vll.h"
#include "ycsb_query.h"
#include "ycsb.h"
#include "wl.h"
#include "catalog.h"
#include "mem_alloc.h"
#if CC_ALG == VLL
void
VLLMan::init() {
_txn_queue_size = 0;
_txn_queue = NULL;
_txn_queue_tail = NULL;
}
void
VLLMan::vl... | 25.077419 | 77 | 0.651145 | cmuparlay |
49ea851c70299bbff10f905532cb0e031348f97d | 14,636 | cpp | C++ | src/geometry/surface.cpp | dillonhuff/scg | 21d004ce37c0e0e3650e373726d7e8bac51fffa4 | [
"MIT"
] | 14 | 2018-05-10T16:40:38.000Z | 2020-01-09T06:36:09.000Z | src/geometry/surface.cpp | dillonhuff/scg | 21d004ce37c0e0e3650e373726d7e8bac51fffa4 | [
"MIT"
] | 1 | 2019-10-26T13:08:56.000Z | 2019-10-26T13:08:56.000Z | src/geometry/surface.cpp | dillonhuff/scg | 21d004ce37c0e0e3650e373726d7e8bac51fffa4 | [
"MIT"
] | 2 | 2020-11-28T17:36:45.000Z | 2021-05-30T14:32:05.000Z | #include "geometry/surface.h"
#include "geometry/triangular_mesh_utils.h"
#include "geometry/vtk_debug.h"
namespace gca {
bool surfaces_share_edge(const surface& l,
const surface& r) {
auto ind1 = l.index_list();
auto ind2 = r.index_list();
return share_edge(ind1, ind2, l.get_parent_mesh());
}
... | 31.140426 | 147 | 0.651544 | dillonhuff |
49ecb46ee50dbfe0409ac4c3e236191c2c1bb7cd | 3,734 | cpp | C++ | Codes/CodeForces/B/1436B.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | Codes/CodeForces/B/1436B.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | Codes/CodeForces/B/1436B.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | /*************************************************************************
SPDX-License-Identifier: MIT
Copyright (c) 2020 Qazi Fahim Farhan (@fahimfarhan)
May the CodeForces be with you!
************************************************************************/
/**
// ⢀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⣠⣤⣶⣶ ⠄⠄⠄⠄⠄⠄⢴⡶⣶⣶⣶⡒... | 23.192547 | 74 | 0.369041 | fahimfarhan |
49ee10a0eaea9ab4add5e5303cb60379b4cde470 | 10,973 | cc | C++ | tests/visqol_api_test.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | tests/visqol_api_test.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | tests/visqol_api_test.cc | bartvanerp/visqol | 9115ad9dbc29ae5f9cc5a55d2bb07befce2153cb | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC, Andrew Hines
//
// 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... | 37.707904 | 80 | 0.760868 | bartvanerp |
49ef9412b35915c185181db579fbfde345c49114 | 4,891 | cpp | C++ | ARPREC/arprec-2.2.13/src/div.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/src/div.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/src/div.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | /*
* src/mpreal.cc
*
* This work was supported by the Director, Office of Science, Division
* of Mathematical, Information, and Computational Sciences of the
* U.S. Department of Energy under contract number DE-AC03-76SF00098.
*
* Copyright (c) 2002
*
*/
#include <arprec/mp_real.h>
#include "small_inline.h"
u... | 26.015957 | 83 | 0.491924 | paveloom-p |
49f4cbdf6382fce666081e78703ca70c4dd019a7 | 784 | cc | C++ | code/render/physics/physx/physxhinge.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/physics/physx/physxhinge.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/physics/physx/physxhinge.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// physics/physx/physxhinge.cc
// (C) 2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "physics/physx/physxhinge.h"
#include "ext... | 21.189189 | 80 | 0.423469 | gscept |
49f60a5116002e89286182579b4e0810935303c2 | 1,228 | cpp | C++ | gym/101992/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/101992/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/101992/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#ifdef DGC
#include "debug.h"
#else
#define debug(...) 9715;
#endif
typedef long long ll;
typedef long double ld;
typedef complex<double> point;
#define F first
#define S second
const int mod = 1e9+7;
int dp[205][205][205];
void add(int &x, int y)
{
x += y;
if (x >= m... | 15.948052 | 43 | 0.491042 | albexl |
49f60d43e9221a504275798879416b7184455f33 | 1,496 | cpp | C++ | Codes/other-ojs/CoderByte/Min Window Substring.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | Codes/other-ojs/CoderByte/Min Window Substring.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | Codes/other-ojs/CoderByte/Min Window Substring.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | #include <bits/stdc++.h>
using namespace std;
string MinWindowSubstring(string strArr[]) {
// code goes here
string s1 = strArr[0];
string s2 = strArr[1];
int n = s1.size();
int k = s2.size();
bool mark[n];
for(int i=0; i<n; i++){ mark[i] = false; }
for(int i=0; i<k; i++){
for(int... | 23.375 | 82 | 0.439171 | fahimfarhan |
49fb38c602c085be86930fd73b24413649ccc5c3 | 1,010 | cpp | C++ | SPOJBR/BOMBA12.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | SPOJBR/BOMBA12.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | SPOJBR/BOMBA12.cpp | ggml1/Competitive-Programming | 1f5aa8f8d2f8addffd5a22c9ccd998f05b6faf79 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int N = 501;
const long long inf = 1e18;
int n, e, s, m;
vector<int> adj[3 * N];
long long dist[3 * N];
void bfs(int e){
queue<int> trr;
dist[e] = 0;
trr.push(e);
while(!trr.empty()){
int u = trr.front();
trr.pop();
for(auto k : adj[u]){
if(dist[k... | 15.30303 | 102 | 0.50198 | ggml1 |
b701a409556873b9c54a13de7d60f9f99952ce99 | 996 | cpp | C++ | src/HTGTweetViewWindow.cpp | HaikuArchives/HaikuTwitter | 61688f53de02820e801dd4126ff3c18b07fdd82f | [
"MIT"
] | 4 | 2018-09-09T13:40:01.000Z | 2022-03-27T10:00:24.000Z | src/HTGTweetViewWindow.cpp | HaikuArchives/HaikuTwitter | 61688f53de02820e801dd4126ff3c18b07fdd82f | [
"MIT"
] | 3 | 2016-04-02T05:59:43.000Z | 2020-06-27T11:30:40.000Z | src/HTGTweetViewWindow.cpp | HaikuArchives/HaikuTwitter | 61688f53de02820e801dd4126ff3c18b07fdd82f | [
"MIT"
] | 6 | 2017-04-05T20:00:48.000Z | 2020-10-26T08:35:11.000Z | /*
* Copyright 2010 Martin Hebnes Pedersen, martinhpedersen @ "google mail"
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "HTGTweetViewWindow.h"
HTGTweetViewWindow::HTGTweetViewWindow(BWindow *parent, BList *tweets)
: BWindow(BRect(300, 300, 615, 840), "Tweet Viewer", B_TITL... | 20.75 | 89 | 0.75 | HaikuArchives |
8e6616d984cafa0516321ef863e20b641c07371e | 489 | hpp | C++ | src/strong-types.hpp | tilnewman/castle-crawl | d9ce84eb0c29b640a1d78cca09ae2f267ba2a777 | [
"CC0-1.0"
] | null | null | null | src/strong-types.hpp | tilnewman/castle-crawl | d9ce84eb0c29b640a1d78cca09ae2f267ba2a777 | [
"CC0-1.0"
] | null | null | null | src/strong-types.hpp | tilnewman/castle-crawl | d9ce84eb0c29b640a1d78cca09ae2f267ba2a777 | [
"CC0-1.0"
] | null | null | null | #ifndef CASTLECRAWL_STRONG_TYPES_HPP_INCLUDED
#define CASTLECRAWL_STRONG_TYPES_HPP_INCLUDED
//
// strong-types.hpp
//
#include "strong-type.hpp"
namespace castlecrawl
{
// phantom tags
struct ArmorTag;
// strong types
using Armor_t = util::StrongType<int, ArmorTag>;
// user defined literals
... | 21.26087 | 95 | 0.744376 | tilnewman |
8e68677527d44e93def4cc676de51ef99ce59be9 | 2,098 | cpp | C++ | Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp | Deklyn-Palmer/Kross-Engine-Game | 6ea927a4ef2407334ac3bcb5f80bf82bfe5648be | [
"Apache-2.0"
] | null | null | null | Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp | Deklyn-Palmer/Kross-Engine-Game | 6ea927a4ef2407334ac3bcb5f80bf82bfe5648be | [
"Apache-2.0"
] | null | null | null | Project/Kross-Engine/Source/Core/Manager/ShaderManager.cpp | Deklyn-Palmer/Kross-Engine-Game | 6ea927a4ef2407334ac3bcb5f80bf82bfe5648be | [
"Apache-2.0"
] | null | null | null | /*
* Author: Deklyn Palmer.
* Editors:
* - Deklyn Palmer.
*/
#include "ShaderManager.h"
namespace Kross
{
ShaderManager* ShaderManager::m_Instance = nullptr;
ShaderManager::~ShaderManager()
{
/* Destroy all the Shaders. */
for (int i = 0; i < m_Instance->m_Shaders.size(); i++)
{
Shader::OnDe... | 20.772277 | 89 | 0.639657 | Deklyn-Palmer |
8e6c6fc56ab7225c02517e1a296bdceb1057876e | 15,399 | cpp | C++ | Glop/net/NetworkManager_test.cpp | zorbathut/glop | 762d4f1e070ce9c7180a161b521b05c45bde4a63 | [
"BSD-3-Clause"
] | 1 | 2016-06-28T18:19:30.000Z | 2016-06-28T18:19:30.000Z | Glop/net/NetworkManager_test.cpp | zorbathut/glop | 762d4f1e070ce9c7180a161b521b05c45bde4a63 | [
"BSD-3-Clause"
] | null | null | null | Glop/net/NetworkManager_test.cpp | zorbathut/glop | 762d4f1e070ce9c7180a161b521b05c45bde4a63 | [
"BSD-3-Clause"
] | null | null | null | #include <stdio.h>
#include <gtest/gtest.h>
#include "third_party/raknet/RakPeerInterface.h"
#include "third_party/raknet/RakNetworkFactory.h"
#include "NetworkManager.h"
#include "../System.h"
#include "../Thread.h"
#include <set>
using namespace std;
class GlopEnvironment : public testing::Environment {
public:
... | 31.426531 | 100 | 0.643224 | zorbathut |
8e6ebf8886aec3a947ea44f3712847b1de5c43f1 | 1,436 | cc | C++ | compiler_gym/util/RunfilesPath.cc | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | 562 | 2020-12-21T14:10:20.000Z | 2022-03-31T21:23:55.000Z | compiler_gym/util/RunfilesPath.cc | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | 433 | 2020-12-22T03:40:41.000Z | 2022-03-31T18:16:17.000Z | compiler_gym/util/RunfilesPath.cc | mostafaelhoushi/CompilerGym | cf11c58333d263b3ebc5ece2110a429e9af499c1 | [
"MIT"
] | 88 | 2020-12-22T08:22:00.000Z | 2022-03-20T19:00:40.000Z | // Copyright (c) Facebook, Inc. and its affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "boost/filesystem.hpp"
namespace fs = boost::filesystem;
namespace compiler_gym::util {
// When running under bazel, the workin... | 31.911111 | 77 | 0.704039 | mostafaelhoushi |
8e77c8b65e1a115502a7925c072aad85516edc19 | 1,212 | hpp | C++ | src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2021-06-03T15:56:32.000Z | 2021-06-03T15:56:32.000Z | src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | 1 | 2015-08-05T05:51:49.000Z | 2015-08-05T05:51:49.000Z | src/sip-0x/parser/tokens/messageheaders/TokenSIPMessageHeader_Accept_Encoding.hpp | zanfire/sip-0x | de38b3ff782d2a63b69d7f785e2bd9ce7674abd5 | [
"Apache-2.0"
] | null | null | null | #if !defined(SIP0X_PARSER_TOKENSIPMESSAGEHEADER_ACCEPT_ENCODING_HPP__)
#define SIP0X_PARSER_TOKENSIPMESSAGEHEADER_ACCEPT_ENCODING_HPP__
#include "parser/tokens/TokenAbstract.hpp"
#include "parser/tokens/Operators.hpp"
#include "parser/tokens/TokenRegex.hpp"
#include "parser/tokens/TokenSIPMethod.hpp"
#include "pars... | 26.933333 | 134 | 0.685644 | zanfire |