hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60ab95d6779d45a71afb9d0bbdb72af86bf556fe | 2,599 | cpp | C++ | server/server.cpp | cemoktra/restpp | 36d18725d4e5ebf65dc06fd67e3ff7fee81d7610 | [
"MIT"
] | 1 | 2021-07-16T14:04:23.000Z | 2021-07-16T14:04:23.000Z | server/server.cpp | cemoktra/restpp | 36d18725d4e5ebf65dc06fd67e3ff7fee81d7610 | [
"MIT"
] | null | null | null | server/server.cpp | cemoktra/restpp | 36d18725d4e5ebf65dc06fd67e3ff7fee81d7610 | [
"MIT"
] | 1 | 2021-07-16T14:04:25.000Z | 2021-07-16T14:04:25.000Z | #include "server.hpp"
#include "request.hpp"
#include "response.hpp"
#include "exceptions.hpp"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <thread>
#include <iostream>
#include <stack>
#include <sstream>
#include <sys/ioctl.h>
#include <unistd.h>
#include <exception>
namespace restpp
{
void server::... | 25.480392 | 101 | 0.644863 | cemoktra |
60acd1eab8d4525f76f6d4f2757ea6eab75d7fb0 | 2,460 | cpp | C++ | src/OpenGL/entrypoints/GL2.0/gl_vertex_attrib_2s.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 114 | 2018-08-05T16:26:53.000Z | 2021-12-30T07:28:35.000Z | src/OpenGL/entrypoints/GL2.0/gl_vertex_attrib_2s.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 5 | 2018-08-18T21:16:58.000Z | 2018-11-22T21:50:48.000Z | src/OpenGL/entrypoints/GL2.0/gl_vertex_attrib_2s.cpp | kbiElude/VKGL | fffabf412723a3612ba1c5bfeafe1da38062bd18 | [
"MIT"
] | 6 | 2018-08-05T22:32:28.000Z | 2021-10-04T15:39:53.000Z | /* VKGL (c) 2018 Dominik Witczak
*
* This code is licensed under MIT license (see LICENSE.txt for details)
*/
#include "OpenGL/entrypoints/GL2.0/gl_vertex_attrib_2s.h"
#include "OpenGL/context.h"
#include "OpenGL/globals.h"
static bool validate(OpenGL::Context* in_context_ptr,
const GLuint& ... | 33.243243 | 80 | 0.436179 | kbiElude |
60ad80460f5da94185dca8345f344bf0bc8789b0 | 4,692 | hpp | C++ | zen/quix/behaviour/quix_behaviour_file_read.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | 1 | 2016-12-10T07:21:17.000Z | 2016-12-10T07:21:17.000Z | zen/quix/behaviour/quix_behaviour_file_read.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | null | null | null | zen/quix/behaviour/quix_behaviour_file_read.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | null | null | null | #ifndef __ZEN__QUIX_BEHAVIOUR_FILE_READ__HPP
#define __ZEN__QUIX_BEHAVIOUR_FILE_READ__HPP
///
///////////////////////////////////////////////////////////////////////////////////////////////////
///
#include <zen/quix/quix_behaviour.h>
#include <zen/quix/structure/quix_structure_event.hpp>
#include <zen/quix/structure/q... | 25.922652 | 99 | 0.486147 | shauncroton |
60aea0082f7939acfe4f3c97cd4265f148c864c0 | 1,612 | cpp | C++ | http/http_method.cpp | guidoreina/gweb-plusplus | 359b6cb05a3e9285e1ec80ebaba03f669a8987d3 | [
"BSD-2-Clause"
] | 1 | 2016-05-24T13:11:02.000Z | 2016-05-24T13:11:02.000Z | http/http_method.cpp | guidoreina/gweb-plusplus | 359b6cb05a3e9285e1ec80ebaba03f669a8987d3 | [
"BSD-2-Clause"
] | 1 | 2016-05-24T13:10:46.000Z | 2016-05-29T15:28:41.000Z | http/http_method.cpp | guidoreina/gweb-plusplus | 359b6cb05a3e9285e1ec80ebaba03f669a8987d3 | [
"BSD-2-Clause"
] | null | null | null | #include <stdlib.h>
#include <string.h>
#include "http_method.h"
#include "macros/macros.h"
const unsigned char http_method::CONNECT = 0;
const unsigned char http_method::COPY = 1;
const unsigned char http_method::DELETE = 2;
const unsigned char http_method::GET = 3;
const unsigned char http_method::HEAD = 4;
const un... | 24.424242 | 69 | 0.647643 | guidoreina |
60aeca4304e093913f4bf428aa2eb708eb0dcac9 | 1,243 | cpp | C++ | main.cpp | kenkenjlab/CvMouseUI | a6952a59b39c952a22273bf7f14eda15fbb899f1 | [
"MIT"
] | null | null | null | main.cpp | kenkenjlab/CvMouseUI | a6952a59b39c952a22273bf7f14eda15fbb899f1 | [
"MIT"
] | null | null | null | main.cpp | kenkenjlab/CvMouseUI | a6952a59b39c952a22273bf7f14eda15fbb899f1 | [
"MIT"
] | null | null | null | #include "cv_mouse_ui.hpp"
#include <random>
#include <ctime>
#include <opencv2/highgui.hpp>
#include <iostream>
CvMouseUI _cv_mouse_ui;
void onMouse(int e, int x, int y, int flag, void* param) { _cv_mouse_ui.onMouse(e, x, y, flag, param); }
int main(int argc, char** argv) {
std::srand(std::time(NULL));
cv::Size si... | 25.895833 | 104 | 0.62671 | kenkenjlab |
60b2b84704e413820564057415f6d4ac959e1d0e | 1,399 | cc | C++ | tests/libtests/bc/data/NeumannData.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | tests/libtests/bc/data/NeumannData.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | tests/libtests/bc/data/NeumannData.cc | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | null | null | null | // -*- C++ -*-
//
// ======================================================================
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | 23.711864 | 73 | 0.536812 | Grant-Block |
60b3eb1385c2dd8c102004757a2e67f2153f960b | 805 | hpp | C++ | include/sprout/type_traits/has_inc_dec_operator.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | 4 | 2021-12-29T22:17:40.000Z | 2022-03-23T11:53:44.000Z | dsp/lib/sprout/sprout/type_traits/has_inc_dec_operator.hpp | TheSlowGrowth/TapeLooper | ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264 | [
"MIT"
] | 16 | 2021-10-31T21:41:09.000Z | 2022-01-22T10:51:34.000Z | include/sprout/type_traits/has_inc_dec_operator.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==... | 44.722222 | 79 | 0.665839 | thinkoid |
60b6936ea5010dea71270fe93dd8d5c6ff1f058f | 2,344 | hh | C++ | cc/avidity-adjusts.hh | acorg/acmacs-chart-2 | 0e95cf11ee71d9c383a0ef5cc619edc8afbeda76 | [
"MIT"
] | null | null | null | cc/avidity-adjusts.hh | acorg/acmacs-chart-2 | 0e95cf11ee71d9c383a0ef5cc619edc8afbeda76 | [
"MIT"
] | null | null | null | cc/avidity-adjusts.hh | acorg/acmacs-chart-2 | 0e95cf11ee71d9c383a0ef5cc619edc8afbeda76 | [
"MIT"
] | null | null | null | #pragma once
#include "acmacs-base/named-type.hh"
#include "acmacs-base/float.hh"
// ----------------------------------------------------------------------
namespace acmacs::chart
{
class AvidityAdjusts : public acmacs::named_vector_t<double, struct chart_AvidityAdjusts_tag_t>
{
public:
using a... | 39.728814 | 186 | 0.566553 | acorg |
60b8bc281fa711f34f4b82817f16413c393f2bf0 | 1,687 | hpp | C++ | tests/mghfuns/penalty1.hpp | ptillet/umintl | 605da5703d36c2150fd1c2b979ff6e631b4cad47 | [
"MIT"
] | null | null | null | tests/mghfuns/penalty1.hpp | ptillet/umintl | 605da5703d36c2150fd1c2b979ff6e631b4cad47 | [
"MIT"
] | null | null | null | tests/mghfuns/penalty1.hpp | ptillet/umintl | 605da5703d36c2150fd1c2b979ff6e631b4cad47 | [
"MIT"
] | null | null | null | /* ===========================
Copyright (c) 2013 Philippe Tillet
UMinTL - Unconstrained Minimization Template Library
License : MIT X11 - See the LICENSE file in the root folder
* ===========================*/
#ifndef UMINTL_PENALTY1_HPP_
#define UMINTL_PENALTY1_HPP_
#include <cmath>
#include <vector>
#inclu... | 26.777778 | 67 | 0.567279 | ptillet |
60ba90d2d8695470bdd26c94ef405199605eacea | 43,598 | cpp | C++ | examples/RacingGame/RacingGame.cpp | Peixinho/Pyros3D | d6857ce99f3731a851ca5e7d67afbb13aafd18e0 | [
"MIT"
] | 20 | 2016-02-15T23:22:06.000Z | 2021-12-07T00:13:49.000Z | examples/RacingGame/RacingGame.cpp | Peixinho/Pyros3D | d6857ce99f3731a851ca5e7d67afbb13aafd18e0 | [
"MIT"
] | 1 | 2017-09-04T00:28:19.000Z | 2017-09-05T11:00:12.000Z | examples/RacingGame/RacingGame.cpp | Peixinho/Pyros3D | d6857ce99f3731a851ca5e7d67afbb13aafd18e0 | [
"MIT"
] | 3 | 2016-08-10T02:44:08.000Z | 2021-05-28T23:03:10.000Z | //============================================================================
// Name : RacingGame.cpp
// Author : Duarte Peixinho
// Version :
// Copyright : ;)
// Description : RacingGame Example
//============================================================================
#include "RacingGame.h"... | 33.204874 | 217 | 0.673563 | Peixinho |
60bc811625567cf1e4f1adb5230bf6184c9353b3 | 4,465 | cpp | C++ | Camel Engine/Source/Transform.cpp | polcamacho/Camel-engine | e5f6102961774a5cc46801ca1a0e31c77031593d | [
"MIT"
] | 3 | 2020-11-01T11:17:06.000Z | 2020-11-25T19:42:39.000Z | Camel Engine/Source/Transform.cpp | polcamacho/Camel-engine | e5f6102961774a5cc46801ca1a0e31c77031593d | [
"MIT"
] | null | null | null | Camel Engine/Source/Transform.cpp | polcamacho/Camel-engine | e5f6102961774a5cc46801ca1a0e31c77031593d | [
"MIT"
] | null | null | null | #include "Transform.h"
#include "ImGui/imgui.h"
#include "Globals.h"
#include "GameObject.h"
Transform::Transform() : Component()
{
type = ComponentType::TRANSFORM;
position.x = position.y = position.z = 0.0f;
rotation = Quat::identity;
eulerRotation = float3::zero;
scale.x = scale.y = scale.z = 1.0f;
localTra... | 20.767442 | 88 | 0.71131 | polcamacho |
60bcea7c0d8fd584314100d654be2e31bdc14e3e | 34,800 | cpp | C++ | MMVII/src/Utils/uti_set_sel.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | MMVII/src/Utils/uti_set_sel.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | MMVII/src/Utils/uti_set_sel.cpp | rumenmitrev/micmac | 065de918bb963a1c0f472504862c3060e180d48b | [
"CECILL-B"
] | null | null | null | #include "include/MMVII_all.h"
#include "include/MMVII_2Include_Serial_Tpl.h"
#include <regex>
#include <unordered_set>
#include <unordered_map>
/** \file uti_set_sel.cpp
\brief Implementation of selector & sets
This file contains implementation of a set of class that allow to
construct selectors, elemenata... | 29.342327 | 139 | 0.56931 | rumenmitrev |
60be7d889f1dc6c7784f1524eecfdca9c634badb | 1,443 | cpp | C++ | hw5_2.cpp | nicky189/cs477 | 78ef2c344cd8646c53ab6b04ec2ea593e2ab8442 | [
"MIT"
] | null | null | null | hw5_2.cpp | nicky189/cs477 | 78ef2c344cd8646c53ab6b04ec2ea593e2ab8442 | [
"MIT"
] | null | null | null | hw5_2.cpp | nicky189/cs477 | 78ef2c344cd8646c53ab6b04ec2ea593e2ab8442 | [
"MIT"
] | null | null | null | //Compiled using https://www.onlinegdb.com/online_c++_compiler
//Nick Alvarez, CS477, F2020
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
void printHeap(int heap[], int x)
{
for (int i=0; i<x; i++)
cout << heap[i] << " ";
cout << endl;
}
void heapify(int heap[], int x, int i... | 21.220588 | 111 | 0.550936 | nicky189 |
60be822d7ea529fbaf9b5651b0e13eb7a2783b8c | 964 | cpp | C++ | geeksforgeeks/bit_manipulation/rotate-bits.cpp | aditya2000/coding-practice | 9b425704dd2ccadeb89b51051d0ef7f0642ea334 | [
"MIT"
] | null | null | null | geeksforgeeks/bit_manipulation/rotate-bits.cpp | aditya2000/coding-practice | 9b425704dd2ccadeb89b51051d0ef7f0642ea334 | [
"MIT"
] | null | null | null | geeksforgeeks/bit_manipulation/rotate-bits.cpp | aditya2000/coding-practice | 9b425704dd2ccadeb89b51051d0ef7f0642ea334 | [
"MIT"
] | 1 | 2018-10-02T14:27:59.000Z | 2018-10-02T14:27:59.000Z | /*
* Author : Jatin Rohilla
* Date : 5/12/17
*
* Editor : Dev c++ 5.11
* Compiler : g++ 5.1.0
* flags : -std=c++11
*
* resource - https://blog.regehr.org/archives/1063
*
* Objective : rotating bits in a number
*/
#include<iostream>
#include<cmath>
using namespace std;
uint32_t rotl32b (uint32_t x... | 15.548387 | 51 | 0.574689 | aditya2000 |
60c1b86d46d27f4c3bc0c2be46d81b5edecc127b | 5,837 | cpp | C++ | src/casinocoin/beast/core/core.unity.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 1 | 2020-03-17T21:31:14.000Z | 2020-03-17T21:31:14.000Z | src/casinocoin/beast/core/core.unity.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 1 | 2018-09-29T17:35:07.000Z | 2018-09-29T17:35:07.000Z | src/casinocoin/beast/core/core.unity.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 3 | 2018-07-12T11:34:45.000Z | 2021-09-13T18:08:25.000Z | //------------------------------------------------------------------------------
/*
This file is part of Beast: https://github.com/vinniefalco/Beast
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
Portions of this file are from JUCE.
Copyright (c) 2013 - Raw Material Software Ltd.
Please visi... | 27.275701 | 106 | 0.709268 | MassICTBV |
60c685e142b35a69c373a4028552889e4e31f1de | 8,110 | cpp | C++ | src/coreclr/jit/eeinterface.cpp | berkansasmaz/runtime | 7626c5d8be527d6735eddcdc7c97423211d8f9e9 | [
"MIT"
] | 12 | 2021-11-08T21:12:31.000Z | 2022-01-11T03:43:34.000Z | src/coreclr/jit/eeinterface.cpp | ProTraApp/runtime | 82239a2a0def33c00159c0372226427099cfa355 | [
"MIT"
] | 27 | 2021-11-29T21:02:00.000Z | 2022-03-29T11:05:52.000Z | src/coreclr/jit/eeinterface.cpp | ProTraApp/runtime | 82239a2a0def33c00159c0372226427099cfa355 | [
"MIT"
] | 3 | 2021-11-17T05:46:01.000Z | 2022-02-19T06:17:34.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX ... | 32.570281 | 117 | 0.505795 | berkansasmaz |
60c74aaad0a1cbb7da5c7940abe7fc5b8bad322d | 1,464 | cpp | C++ | src/play.cpp | Timangar/Slow-Loris | fc2391380d4444648c68ce13f707142b5a826550 | [
"Apache-2.0"
] | null | null | null | src/play.cpp | Timangar/Slow-Loris | fc2391380d4444648c68ce13f707142b5a826550 | [
"Apache-2.0"
] | null | null | null | src/play.cpp | Timangar/Slow-Loris | fc2391380d4444648c68ce13f707142b5a826550 | [
"Apache-2.0"
] | null | null | null | #include "chess_environment.h"
#include "agent.h"
#include "tools.h"
#include <chrono>
#include "play.h"
void input(chess_environment* env, agent& loris)
{
static int turn = WHITE;
static int color = WHITE;
turn = env->get_state().turn;
if (turn == color)
env->player_input();
//env->ag... | 24 | 70 | 0.493852 | Timangar |
60caf983f5a4ef8dadf740bee1ee7160914ac0da | 2,908 | hpp | C++ | libcaf_core/caf/scoped_actor.hpp | dcode/actor-framework | 47ebe211f07d31725a3910ed966db1c31192d984 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | libcaf_core/caf/scoped_actor.hpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-11-26T13:14:47.000Z | 2021-11-26T16:29:58.000Z | libcaf_core/caf/scoped_actor.hpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2020-05-21T20:54:58.000Z | 2020-06-17T13:44:13.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 32.674157 | 80 | 0.508597 | dcode |
60cc06641012a697d90b8c982d57cd60887e823b | 8,710 | cpp | C++ | src/tools/nnfusion/training/example/image_tests/image_test.cpp | lynex/nnfusion | 6332697c71b6614ca6f04c0dac8614636882630d | [
"MIT"
] | 639 | 2020-09-05T10:00:59.000Z | 2022-03-30T08:42:39.000Z | src/tools/nnfusion/training/example/image_tests/image_test.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 252 | 2020-09-09T05:35:36.000Z | 2022-03-29T04:58:41.000Z | src/tools/nnfusion/training/example/image_tests/image_test.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 104 | 2020-09-05T10:01:08.000Z | 2022-03-23T10:59:13.000Z | // Example: IMAGES=/opt/images/train/ ./image_test
#include <stdio.h>
#define __IMAGE_TESTS__
#include <assert.h>
#include <dirent.h>
#include <jpeglib.h>
#include <setjmp.h>
#include <stdint.h>
#include <string.h>
#include <functional>
#include <map>
#include <stdexcept>
#include <string>
#include <vector>
#includ... | 33.891051 | 99 | 0.535706 | lynex |
f59e4f6a388bfa1de5441888970fc4b20be380d2 | 735 | cpp | C++ | src/parser_nodes/smaller_parser_node.cpp | lowlander/nederrock | aa23f79de3adf0510419208938bf4dcdbe786c9f | [
"MIT"
] | null | null | null | src/parser_nodes/smaller_parser_node.cpp | lowlander/nederrock | aa23f79de3adf0510419208938bf4dcdbe786c9f | [
"MIT"
] | null | null | null | src/parser_nodes/smaller_parser_node.cpp | lowlander/nederrock | aa23f79de3adf0510419208938bf4dcdbe786c9f | [
"MIT"
] | null | null | null | //
// Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com>
//
// SPDX-License-Identifier: MIT
//
#include "smaller_parser_node.hpp"
#include "parser_node.hpp"
#include <memory>
#include <istream>
#include <string>
Smaller_Parser_Node::Smaller_Parser_Node(std::wstring&& keyword)
: m_keyword(keyword)
{
}
Smaller_Pars... | 19.342105 | 87 | 0.714286 | lowlander |
f5a094044ce773c8ecd093f7f49cf3aa9478de42 | 3,800 | cpp | C++ | src/gamemonitor/ReadThread.cpp | PyroIgnus/ECE1747-A1-SimMud | 74c241c918a5b5ebfb40c88274e67ba6c5d85d7a | [
"MIT"
] | null | null | null | src/gamemonitor/ReadThread.cpp | PyroIgnus/ECE1747-A1-SimMud | 74c241c918a5b5ebfb40c88274e67ba6c5d85d7a | [
"MIT"
] | null | null | null | src/gamemonitor/ReadThread.cpp | PyroIgnus/ECE1747-A1-SimMud | 74c241c918a5b5ebfb40c88274e67ba6c5d85d7a | [
"MIT"
] | null | null | null |
/***************************************************************************************************
*
* SUBJECT:
* A monitoring application for the Massive Multiplayer Online Game benchmark
*
* AUTHOR:
* Mihai Paslariu
* Politehnica University of Bucharest, Bucharest, Romania
* mihplaesu@yahoo.com
*
* TIM... | 28.148148 | 100 | 0.48 | PyroIgnus |
f5a0b509a30ff2c3e8c3c92bf434ebf9dd247ed9 | 960 | cpp | C++ | Source/10.0.18362.0/ucrt/internal/GetModuleFileNameA.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | Source/10.0.18362.0/ucrt/internal/GetModuleFileNameA.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | Source/10.0.18362.0/ucrt/internal/GetModuleFileNameA.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | //
// GetModuleFileNameA.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Definition of __acrt_GetModuleFileNameA.
//
#include <corecrt_internal_win32_buffer.h>
DWORD __cdecl __acrt_GetModuleFileNameA(
HMODULE const hModule,
char * const lpFilename,
DWORD const nSize
)... | 23.414634 | 94 | 0.686458 | 825126369 |
f5a38d47a2e95bda425b27998b42973a3b74ff42 | 24,882 | cpp | C++ | dev/Generated/NumberBox.properties.cpp | Felix-Dev/microsoft-ui-xaml | edfa2459145f45d4db211e8892f59bbe86f0020f | [
"MIT"
] | null | null | null | dev/Generated/NumberBox.properties.cpp | Felix-Dev/microsoft-ui-xaml | edfa2459145f45d4db211e8892f59bbe86f0020f | [
"MIT"
] | null | null | null | dev/Generated/NumberBox.properties.cpp | Felix-Dev/microsoft-ui-xaml | edfa2459145f45d4db211e8892f59bbe86f0020f | [
"MIT"
] | 1 | 2020-09-10T00:14:07.000Z | 2020-09-10T00:14:07.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen
#include "pch.h"
#include "common.h"
#include "NumberBox.h"
namespace winrt... | 37.7 | 162 | 0.683345 | Felix-Dev |
f5a5bb58b72cbcb9e160e3b6386d68ac4d8c19d9 | 5,020 | cpp | C++ | dbms/src/Storages/System/StorageSystemNumbers.cpp | victorcojocaru/ClickHouse | 6691302e4fcb96bbf6ae794c0fdae63154b0f4f3 | [
"Apache-2.0"
] | 1 | 2020-02-28T04:08:55.000Z | 2020-02-28T04:08:55.000Z | dbms/src/Storages/System/StorageSystemNumbers.cpp | victorcojocaru/ClickHouse | 6691302e4fcb96bbf6ae794c0fdae63154b0f4f3 | [
"Apache-2.0"
] | null | null | null | dbms/src/Storages/System/StorageSystemNumbers.cpp | victorcojocaru/ClickHouse | 6691302e4fcb96bbf6ae794c0fdae63154b0f4f3 | [
"Apache-2.0"
] | null | null | null | #include <Common/Exception.h>
#include <Columns/ColumnsNumber.h>
#include <DataTypes/DataTypesNumber.h>
#include <DataStreams/IBlockInputStream.h>
#include <DataStreams/LimitBlockInputStream.h>
#include <Storages/System/StorageSystemNumbers.h>
#include <Processors/Sources/SourceWithProgress.h>
#include <Processors/Pip... | 28.202247 | 161 | 0.654382 | victorcojocaru |
f5a753b3a30ab2800ca6b0a4d8603a0da2f7e32f | 6,921 | cpp | C++ | src/qt/qtbase/src/testlib/qtestxunitstreamer.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/src/testlib/qtestxunitstreamer.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/testlib/qtestxunitstreamer.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtTest module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commer... | 31.60274 | 144 | 0.651206 | power-electro |
f5a9a77a63bdec3a6b435dd54770984f7740c8a6 | 8,464 | cpp | C++ | 2 course/EVM/lab_1/testcase.cpp | SgAkErRu/labs | 9cf71e131513beb3c54ad3599f2a1e085bff6947 | [
"BSD-3-Clause"
] | null | null | null | 2 course/EVM/lab_1/testcase.cpp | SgAkErRu/labs | 9cf71e131513beb3c54ad3599f2a1e085bff6947 | [
"BSD-3-Clause"
] | null | null | null | 2 course/EVM/lab_1/testcase.cpp | SgAkErRu/labs | 9cf71e131513beb3c54ad3599f2a1e085bff6947 | [
"BSD-3-Clause"
] | null | null | null | #include "doctest.h"
#include "big_int.h"
// -- непосредственно тесты -
TEST_CASE("Тесты длинной арифметики в doctest")
{
SUBCASE("Тест функции tostring")
{
big_int a = {sign::minus, 3, 5, 7};
CHECK(toString(a) == "- 357");
a = {sign::plus, 1, 3, 5, 1, 7, 9};
CHECK(toString(a) ... | 26.532915 | 99 | 0.417651 | SgAkErRu |
f5adc9bbf36e4f21150bfc1db6fbce79155fc0e7 | 3,108 | cpp | C++ | src/optimizers/optim_adam.cpp | antodo/eddl | d97875b3161d3e7a9199d35079d57a7d4ce3c6fa | [
"MIT"
] | null | null | null | src/optimizers/optim_adam.cpp | antodo/eddl | d97875b3161d3e7a9199d35079d57a7d4ce3c6fa | [
"MIT"
] | null | null | null | src/optimizers/optim_adam.cpp | antodo/eddl | d97875b3161d3e7a9199d35079d57a7d4ce3c6fa | [
"MIT"
] | null | null | null | /*
* EDDL Library - European Distributed Deep Learning Library.
* Version: 0.8
* copyright (c) 2020, Universidad Politécnica de Valencia (UPV), PRHLT Research Centre
* Date: November 2020
* Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es)
* All rights reserved
*/
#include <cstdio>
#inclu... | 28.777778 | 113 | 0.572072 | antodo |
f5ae424b561d77d351b210dd34508dbaa86fd0b9 | 9,980 | cpp | C++ | modules/basis_universal/register_types.cpp | coderm4ster/godot | c7faf2e16b684f3dd0246dbdb662b1826dd24571 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/basis_universal/register_types.cpp | coderm4ster/godot | c7faf2e16b684f3dd0246dbdb662b1826dd24571 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | modules/basis_universal/register_types.cpp | coderm4ster/godot | c7faf2e16b684f3dd0246dbdb662b1826dd24571 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-09-07T23:45:28.000Z | 2020-09-07T23:45:28.000Z | /*************************************************************************/
/* register_types.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 34.061433 | 123 | 0.657615 | coderm4ster |
f5ae9f6bac2cda949f192c3cb548adf17f4fb05a | 14,399 | cpp | C++ | newton-4.00/sdk/dCore/dCRC.cpp | tombish/newton-dynamics | 02175af78f9e789ff2e0559139664090a25a3b88 | [
"Zlib"
] | null | null | null | newton-4.00/sdk/dCore/dCRC.cpp | tombish/newton-dynamics | 02175af78f9e789ff2e0559139664090a25a3b88 | [
"Zlib"
] | null | null | null | newton-4.00/sdk/dCore/dCRC.cpp | tombish/newton-dynamics | 02175af78f9e789ff2e0559139664090a25a3b88 | [
"Zlib"
] | null | null | null | /* Copyright (c) <2003-2019> <Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* includi... | 109.083333 | 207 | 0.8461 | tombish |
f5af85ee1155ff386b42aa70f018bd3bfe0e2112 | 3,622 | hpp | C++ | ndn-cxx/security/v2/validator-config/filter.hpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | 1 | 2019-09-24T13:17:44.000Z | 2019-09-24T13:17:44.000Z | ndn-cxx/security/v2/validator-config/filter.hpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | null | null | null | ndn-cxx/security/v2/validator-config/filter.hpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | 1 | 2021-07-08T09:29:39.000Z | 2021-07-08T09:29:39.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2018 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 25.328671 | 90 | 0.723357 | KITE-2018 |
f5cbf74aa18d5f3c60f154afcf63f53293a1dde0 | 3,360 | cpp | C++ | 84. Largest Rectangle in Histogram.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | 1 | 2020-10-11T08:10:53.000Z | 2020-10-11T08:10:53.000Z | 84. Largest Rectangle in Histogram.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | null | null | null | 84. Largest Rectangle in Histogram.cpp | yuyangh/LeetCode | 5d81cbd975c0c1f2bbca0cb25cefe361a169e460 | [
"MIT"
] | null | null | null | #include "LeetCodeLib.h"
/*
* @lc app=leetcode id=84 lang=cpp
*
* [84] Largest Rectangle in Histogram
*
* https://leetcode.com/problems/largest-rectangle-in-histogram/description/
*
* algorithms
* Hard (31.25%)
* Testcase Example: '[2,1,5,6,2,3]'
*
* Given n non-negative integers representing the histogram... | 25.846154 | 79 | 0.643452 | yuyangh |
f5d09453525c3c35709254e5dbfab9b60fda6250 | 739 | hpp | C++ | minilexer/MiniLex.hpp | Yuandong-Chen/tjs2cpp | 1e4e5a366a0aa26fa16919d026a0a4b61b1bfc7f | [
"MIT"
] | 2 | 2019-05-12T17:41:13.000Z | 2019-10-13T01:16:19.000Z | minilexer/MiniLex.hpp | Yuandong-Chen/js2cpp | 1e4e5a366a0aa26fa16919d026a0a4b61b1bfc7f | [
"MIT"
] | null | null | null | minilexer/MiniLex.hpp | Yuandong-Chen/js2cpp | 1e4e5a366a0aa26fa16919d026a0a4b61b1bfc7f | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include "RegularExp.hpp"
#define YYTEXTBUFF 100
namespace minilex {
extern std::string yytext;
extern std::string pyytext[YYTEXTBUFF];
extern std::string::size_type yyleng;
extern std::istream& yyin;
extern std::ostream& yyout;
extern int yyline;
extern std::map<std::string, i... | 23.83871 | 81 | 0.721245 | Yuandong-Chen |
f5d13c1a1cce1d0a5c18cb24fde7e72ebc9e207e | 14,715 | cpp | C++ | Core/Color/RayColor.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | 101 | 2018-11-11T23:58:14.000Z | 2022-03-20T01:09:18.000Z | Core/Color/RayColor.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | null | null | null | Core/Color/RayColor.cpp | Witek902/Raytracer | 3e38a82a5ea28e64793e98efc5b8e2643ceb8e9d | [
"MIT"
] | 7 | 2018-12-31T09:42:00.000Z | 2021-04-26T14:55:23.000Z | #include "PCH.h"
#include "RayColor.h"
#include "Spectrum.h"
#include "../Math/VectorInt8.h"
#include "../Math/Vector3x8.h"
#include "../Math/Constants.h"
#ifdef _MSC_VER
#pragma warning(disable: 4305) // truncation from 'double' to 'const float'
#endif
namespace rt {
using namespace math;
static_assert(sizeof(RayC... | 49.545455 | 132 | 0.682297 | Witek902 |
f5d2db25dfcb50fa3a07664676807dc58bbc87e1 | 577 | cpp | C++ | 0384-Longest Substring Without Repeating Characters/0384-Longest Substring Without Repeating Characters.cpp | lightwindy/LintCode-1 | 316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6 | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 0301-0400/0384-Longest Substring Without Repeating Characters/0384-Longest Substring Without Repeating Characters.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 0301-0400/0384-Longest Substring Without Repeating Characters/0384-Longest Substring Without Repeating Characters.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution {
public:
/**
* @param s: a string
* @return: an integer
*/
int lengthOfLongestSubstring(string s) {
// write your code here
int maxLen = 0;
int n = s.size();
int j = 0;
vector<int> table(256);
for (int i = 0; i < n; ++i)
{
... | 20.607143 | 45 | 0.362218 | lightwindy |
f5d34350552811d4b2bce04013153ca4f51bf0f6 | 3,148 | cpp | C++ | test/new_epoch_based_test.cpp | mpoeter/emr | 390ee0c3b92b8ad0adb897177202e1dd2c53a1b7 | [
"MIT"
] | 43 | 2017-12-07T13:28:02.000Z | 2022-03-23T13:51:11.000Z | test/new_epoch_based_test.cpp | mpoeter/emr | 390ee0c3b92b8ad0adb897177202e1dd2c53a1b7 | [
"MIT"
] | 1 | 2019-07-22T17:08:17.000Z | 2019-07-24T04:58:09.000Z | test/new_epoch_based_test.cpp | mpoeter/emr | 390ee0c3b92b8ad0adb897177202e1dd2c53a1b7 | [
"MIT"
] | 2 | 2019-02-26T08:26:53.000Z | 2019-10-17T04:06:16.000Z | #include <emr/new_epoch_based.hpp>
#include <gtest/gtest.h>
namespace {
using Reclaimer = emr::new_epoch_based<0>;
struct Foo : Reclaimer::enable_concurrent_ptr<Foo, 2>
{
Foo** instance;
Foo(Foo** instance) : instance(instance) {}
virtual ~Foo() { if (instance) *instance = nullptr; }
};
templa... | 25.593496 | 110 | 0.715693 | mpoeter |
f5e2d5b252fa3618427517a8c66f1a0ba0f59f40 | 7,726 | cxx | C++ | STEER/STEER/AliSymBDMatrix.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | STEER/STEER/AliSymBDMatrix.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | STEER/STEER/AliSymBDMatrix.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z |
/*********************************************************************************/
/* Symmetric Band Diagonal matrix with half band width W (+1 for diagonal) */
/* Only lower triangle is stored in the "profile" format */
/* ... | 28.509225 | 95 | 0.598369 | AllaMaevskaya |
f5e352961a6fb54894119bd8ecc020b96048ffb6 | 5,263 | cpp | C++ | Light/src/rendering/renderer.cpp | R-Bread/Light | 151308c0159c4fe0d795b3c16f205e4af68710d7 | [
"MIT"
] | null | null | null | Light/src/rendering/renderer.cpp | R-Bread/Light | 151308c0159c4fe0d795b3c16f205e4af68710d7 | [
"MIT"
] | null | null | null | Light/src/rendering/renderer.cpp | R-Bread/Light | 151308c0159c4fe0d795b3c16f205e4af68710d7 | [
"MIT"
] | null | null | null | #include "light/rendering/renderer.hpp"
#include "light/rendering/rendercommand.hpp"
namespace Light
{
Renderer::SceneData* Renderer::s_sceneData = new Renderer::SceneData;
void Renderer::init()
{
RenderCommand::init();
}
void Renderer::onWindowResize(uint32_t width, uint32_t height)
{
RenderCommand::setVi... | 36.804196 | 148 | 0.68307 | R-Bread |
f5e56b530ae2c9a670c217554b33ed8318e78322 | 4,176 | cpp | C++ | ReferenceTests/src/tests/Catch_Testset03/UT_Tests02.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | 91 | 2018-06-28T13:38:11.000Z | 2022-03-21T11:37:18.000Z | ReferenceTests/src/tests/Catch_Testset03/UT_Tests02.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | 55 | 2018-07-13T18:05:05.000Z | 2022-02-26T11:07:09.000Z | ReferenceTests/src/tests/Catch_Testset03/UT_Tests02.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | 26 | 2018-07-24T06:55:22.000Z | 2022-02-02T03:08:48.000Z | /** Basic Info **
Copyright: 2018 Johnny Hendriks
Author : Johnny Hendriks
Year : 2018
Project: VSTestAdapter for Catch2
Licence: MIT
Notes: None
** Basic Info **/
/************
* Includes *
************/
// Catch2
#include <catch.hpp>
/**************
* Start code *
**************/
namespace CatchTestse... | 20.370732 | 78 | 0.430556 | dmkozh |
f5e608dad76575c39679087b9b4cba74bb945ffa | 5,075 | hpp | C++ | include/sdsl/rank_support_v5.hpp | qPCR4vir/sdsl-lite | 3ae7ac30c3837553cf20243cc3df8ee658b9f00f | [
"BSD-3-Clause"
] | null | null | null | include/sdsl/rank_support_v5.hpp | qPCR4vir/sdsl-lite | 3ae7ac30c3837553cf20243cc3df8ee658b9f00f | [
"BSD-3-Clause"
] | null | null | null | include/sdsl/rank_support_v5.hpp | qPCR4vir/sdsl-lite | 3ae7ac30c3837553cf20243cc3df8ee658b9f00f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016, the SDSL Project Authors. All rights reserved.
// Please see the AUTHORS file for details. Use of this source code is governed
// by a BSD license that can be found in the LICENSE file.
/*! \file rank_support_v5.hpp
\brief rank_support_v5.hpp contains rank_support_v5.5
\author Simon Gog... | 33.609272 | 93 | 0.667783 | qPCR4vir |
f5ecedf337a4a1ecd8406c4f0269bc322e4e200b | 1,783 | cpp | C++ | Renderer/TiledRenderer.cpp | JayFoxRox/rayaccel | 1b26c0bc59e78d471e72349f1e77f5f76ccb6388 | [
"MIT"
] | 50 | 2017-03-23T09:17:52.000Z | 2021-05-07T18:56:57.000Z | Renderer/TiledRenderer.cpp | stoeckley/rayaccel | 1b26c0bc59e78d471e72349f1e77f5f76ccb6388 | [
"MIT"
] | 1 | 2017-02-18T05:32:11.000Z | 2017-02-18T05:32:11.000Z | Renderer/TiledRenderer.cpp | stoeckley/rayaccel | 1b26c0bc59e78d471e72349f1e77f5f76ccb6388 | [
"MIT"
] | 6 | 2017-03-23T14:45:24.000Z | 2019-12-23T07:17:56.000Z | //
// TiledRenderer.cpp
// Renderer
//
// Created by Rasmus Barringer on 2016-03-24.
// Copyright (c) 2016 Rasmus Barringer. All rights reserved.
//
#include "TiledRenderer.h"
TiledRenderer::TiledRenderer(racc::Context* context, unsigned width, unsigned height) {
racc::ContextInfo info = racc::info(context);
... | 22.858974 | 87 | 0.692092 | JayFoxRox |
f5ee501138c1d97c42b5127c72377f6cc81ab072 | 3,080 | cpp | C++ | monitor/src/v20180724/model/AlarmPolicyFilter.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | monitor/src/v20180724/model/AlarmPolicyFilter.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | monitor/src/v20180724/model/AlarmPolicyFilter.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 27.5 | 140 | 0.7 | sinjoywong |
f5fc031c10ed446c480fd3a303493805e0d3f8d1 | 591 | cpp | C++ | examenes/2122/parcial/solucion_ejer1/main.cpp | Nebrija-Programacion-I-II/Programacion-I | 73bf34d6268b26ca3068c23a8d5d70579ebca25e | [
"MIT"
] | 4 | 2018-10-09T15:14:51.000Z | 2018-12-10T11:01:29.000Z | examenes/2122/parcial/solucion_ejer1/main.cpp | Nebrija-Programacion-I-II/Programacion-I | 73bf34d6268b26ca3068c23a8d5d70579ebca25e | [
"MIT"
] | 65 | 2018-09-10T11:46:18.000Z | 2018-11-12T10:12:51.000Z | examenes/2122/parcial/solucion_ejer1/main.cpp | Nebrija-Programacion-I-II/Programacion-I | 73bf34d6268b26ca3068c23a8d5d70579ebca25e | [
"MIT"
] | 93 | 2018-09-10T11:35:46.000Z | 2019-01-11T14:07:25.000Z | #include <iostream>
#include <set>
#include <vector>
using namespace std;
int main()
{
std::cout << "Introduce 10 palabras: \n";
std::set<std::string> palabras;
while(palabras.size() < 10){
string aux; std::cin >> aux;
palabras.insert(aux);
}
std::vector<std::string> palabras_orden... | 21.107143 | 69 | 0.57868 | Nebrija-Programacion-I-II |
f5fc2f83779b8bf53c840b322258dd1c659d2050 | 23,319 | hpp | C++ | hpx/runtime/trigger_lco.hpp | bremerm31/hpx | a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa | [
"BSL-1.0"
] | 1 | 2019-04-29T08:34:59.000Z | 2019-04-29T08:34:59.000Z | hpx/runtime/trigger_lco.hpp | bremerm31/hpx | a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa | [
"BSL-1.0"
] | 1 | 2017-07-24T07:16:26.000Z | 2017-07-24T08:03:33.000Z | hpx/runtime/trigger_lco.hpp | biddisco/hpx | 2d244e1e27c6e014189a6cd59c474643b31fad4b | [
"BSL-1.0"
] | 1 | 2019-03-13T04:53:43.000Z | 2019-03-13T04:53:43.000Z | // Copyright (c) 2007-2017 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
/// \file hpx/runtime/trigger_lco.hpp
#if !defined(HPX_RUNTIME_TRIGGER_LCO_JUN_22_2015_0618PM)
#define HPX_RUNTIME_TR... | 43.505597 | 86 | 0.575496 | bremerm31 |
f5fddb39ff2d04335cf123fef8b62b1dd651399e | 21,185 | cpp | C++ | src/condor_starter.V6.1/job_info_communicator.cpp | Gullumluvl/htcondor | 89d6c673496d61a4215cc51554de3d666bd93e97 | [
"Apache-2.0"
] | null | null | null | src/condor_starter.V6.1/job_info_communicator.cpp | Gullumluvl/htcondor | 89d6c673496d61a4215cc51554de3d666bd93e97 | [
"Apache-2.0"
] | null | null | null | src/condor_starter.V6.1/job_info_communicator.cpp | Gullumluvl/htcondor | 89d6c673496d61a4215cc51554de3d666bd93e97 | [
"Apache-2.0"
] | null | null | null | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | 22.323498 | 89 | 0.695398 | Gullumluvl |
eb0077664ba94d8f020f802d767ce98a7fe06c74 | 6,445 | cpp | C++ | lib/linux_uring_queue.cpp | toomuchsalt/cppcoro | 552e67e7381166747fe8ec5dc3f71637daf765b8 | [
"MIT"
] | 13 | 2020-09-30T17:03:18.000Z | 2022-02-21T11:42:12.000Z | lib/linux_uring_queue.cpp | arthurzam/cppcoro | a736b873c599175f551b7bbdedc8365eacdd1334 | [
"MIT"
] | null | null | null | lib/linux_uring_queue.cpp | arthurzam/cppcoro | a736b873c599175f551b7bbdedc8365eacdd1334 | [
"MIT"
] | 5 | 2020-10-10T14:22:58.000Z | 2021-02-10T01:58:40.000Z | #include <cppcoro/detail/linux_uring_queue.hpp>
namespace cppcoro::detail::lnx {
io_transaction::io_transaction(io_queue &queue, io_message &message) noexcept
: m_queue{queue}, m_message{message}, m_sqeLock{queue.m_sqeMux}, m_sqe{queue.get_sqe()} {
}
[[nodiscard]] bool io_transaction::commit() no... | 33.393782 | 112 | 0.578588 | toomuchsalt |
eb097ae0dec0e394d80dcf46fd6323a8a6a940b2 | 195 | cpp | C++ | src/utils/rai_timer/RAI_timer.cpp | Wistral/raicommon | f6f3623bfa3a80a9ede4e79afc37195af3fb8609 | [
"MIT"
] | null | null | null | src/utils/rai_timer/RAI_timer.cpp | Wistral/raicommon | f6f3623bfa3a80a9ede4e79afc37195af3fb8609 | [
"MIT"
] | null | null | null | src/utils/rai_timer/RAI_timer.cpp | Wistral/raicommon | f6f3623bfa3a80a9ede4e79afc37195af3fb8609 | [
"MIT"
] | 2 | 2019-05-05T20:33:11.000Z | 2021-02-14T07:47:53.000Z | //
// Created by jhwangbo on 12.11.16.
//
#include "raiCommon/utils/rai_timer/RAI_timer.hpp"
#include <memory>
namespace rai {
namespace Utils {
std::shared_ptr<Timer> timer(new Timer);
}
}
| 12.1875 | 50 | 0.702564 | Wistral |
eb0b55b287fd524a4779f8fdea7667b4236013b7 | 96,645 | cpp | C++ | lib/crunch/crnlib/crn_dxt_hc.cpp | Wizermil/unordered_map | 4d60bf16384b7ea9db1d43d8b15313f8752490ee | [
"MIT"
] | null | null | null | lib/crunch/crnlib/crn_dxt_hc.cpp | Wizermil/unordered_map | 4d60bf16384b7ea9db1d43d8b15313f8752490ee | [
"MIT"
] | null | null | null | lib/crunch/crnlib/crn_dxt_hc.cpp | Wizermil/unordered_map | 4d60bf16384b7ea9db1d43d8b15313f8752490ee | [
"MIT"
] | null | null | null | // File: crn_dxt_hc.cpp
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt_hc.h"
#include "crn_image_utils.h"
#include "crn_console.h"
#include "crn_dxt_fast.h"
#define CRNLIB_USE_FAST_DXT 1
#define CRNLIB_ENABLE_DEBUG_MESSAGES 0
namespace crnlib
{
... | 37.97446 | 247 | 0.573284 | Wizermil |
eb0f0a9eb01344f7726a2bb04541d38ef940eef0 | 591 | cpp | C++ | source/leo/private/internal/geometry/overlapcheck.cpp | fpuma/physics2dmodule | 67973520186722ae780e620dee0ea053192f297c | [
"MIT"
] | null | null | null | source/leo/private/internal/geometry/overlapcheck.cpp | fpuma/physics2dmodule | 67973520186722ae780e620dee0ea053192f297c | [
"MIT"
] | null | null | null | source/leo/private/internal/geometry/overlapcheck.cpp | fpuma/physics2dmodule | 67973520186722ae780e620dee0ea053192f297c | [
"MIT"
] | null | null | null | #include <precompiledphysics.h>
#include <physics/geometry/overlapcheck.h>
#include <utils/graphics/dimensions.h>
#include <box2d/b2_collision.h>
namespace puma::leo
{
template<>
bool areShapesOverLapping( Rectangle _rect1, Rectangle _rect2 )
{
b2AABB bb1 = { {_rect1.lowerBoundary.x, _rect1.lowe... | 29.55 | 124 | 0.700508 | fpuma |
eb0f94d93d5b20f1fc4e085818fb31b979729329 | 24,590 | cpp | C++ | Server/sdk/Encrypt/ades.cpp | jcliuworld/GameRUDP | 08b49d13604844fff15927f4ae9b374fd147bf9b | [
"BSD-3-Clause"
] | null | null | null | Server/sdk/Encrypt/ades.cpp | jcliuworld/GameRUDP | 08b49d13604844fff15927f4ae9b374fd147bf9b | [
"BSD-3-Clause"
] | null | null | null | Server/sdk/Encrypt/ades.cpp | jcliuworld/GameRUDP | 08b49d13604844fff15927f4ae9b374fd147bf9b | [
"BSD-3-Clause"
] | null | null | null | #include "ades.h"
#include <stdlib.h>
#include <string.h>
DES_LONG DES_SPtrans[8][64]={
{
/* nibble 0 */
0x02080800L, 0x00080000L, 0x02000002L, 0x02080802L,
0x02000000L, 0x00080802L, 0x00080002L, 0x02000002L,
0x00080802L, 0x02080800L, 0x02080000L, 0x00000802L,
0x02000802L, 0x02000000L, 0x00000000L, 0x00... | 38.54232 | 122 | 0.708621 | jcliuworld |
eb0fb13587bfc536e7ca69d643647196690bb436 | 1,268 | cpp | C++ | C++/palindromePartition2.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/palindromePartition2.cpp | pnandini/LeetCode | e746c3298be96dec8e160da9378940568ef631b1 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/palindromePartition2.cpp | pnandini/LeetCode | e746c3298be96dec8e160da9378940568ef631b1 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time Complexity: O(2^n)
// Space Complexity: O(n^2)
class Solution {
public:
vector<vector<string> > partition(string s) {
const int n = s.size();
vector<vector<bool> > p(n, vector<bool>(n, false));
vector<string> path;
vector<vector<string> > ans;
... | 35.222222 | 82 | 0.416404 | jaiskid |
eb13cecfc59e2f02daed240b841cb63feea5c6ea | 19,118 | cpp | C++ | modules/squarepine_audio/core/EffectProcessorChain.cpp | thinium/squarepine_core | 9d73b0820b8b44129b62a643785e8a7d4a7035b0 | [
"ISC"
] | null | null | null | modules/squarepine_audio/core/EffectProcessorChain.cpp | thinium/squarepine_core | 9d73b0820b8b44129b62a643785e8a7d4a7035b0 | [
"ISC"
] | null | null | null | modules/squarepine_audio/core/EffectProcessorChain.cpp | thinium/squarepine_core | 9d73b0820b8b44129b62a643785e8a7d4a7035b0 | [
"ISC"
] | null | null | null | //==============================================================================
EffectProcessorChain::EffectProcessorChain (std::shared_ptr<EffectProcessorFactory> epf) :
factory (epf)
{
jassert (factory != nullptr);
plugins.reserve (10);
}
//===============================================================... | 35.208103 | 160 | 0.648394 | thinium |
eb162ae34557ec5b81d0175e44579b17bffa6a38 | 6,146 | cpp | C++ | aws-cpp-sdk-ec2/source/model/ImportInstanceVolumeDetailItem.cpp | grujicbr/aws-sdk-cpp | bdd43c178042f09c6739645e3f6cd17822a7c35c | [
"Apache-2.0"
] | 1 | 2020-03-11T05:36:20.000Z | 2020-03-11T05:36:20.000Z | aws-cpp-sdk-ec2/source/model/ImportInstanceVolumeDetailItem.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/source/model/ImportInstanceVolumeDetailItem.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 31.84456 | 157 | 0.708916 | grujicbr |
eb1684fa12966c3cb3b7a9af5a10387ba424e04d | 492 | cpp | C++ | gamepad.cpp | bitscher/shiro | 4c46e2cffc9e1bcac42be66e67203100e2fcec3b | [
"Unlicense"
] | 2 | 2016-07-23T22:09:55.000Z | 2019-05-22T02:35:42.000Z | gamepad.cpp | bitscher/shiro | 4c46e2cffc9e1bcac42be66e67203100e2fcec3b | [
"Unlicense"
] | 7 | 2016-04-17T18:51:11.000Z | 2020-09-14T04:39:25.000Z | gamepad.cpp | bitscher/shiro | 4c46e2cffc9e1bcac42be66e67203100e2fcec3b | [
"Unlicense"
] | null | null | null | #include "gamepad.h"
#include "gbdefines.h"
#include "utils.h"
GamepadHandler::GamepadHandler(Memory &memory) : m_memory(memory)
{}
void GamepadHandler::buttonPressed(GamePadButton_t button)
{
uint8_t &keyMap = m_memory.getGamePadKeyMap();
keyMap &= ~static_cast<uint8_t>(button);
m_memory.requestInterrupt(Interup... | 23.428571 | 65 | 0.772358 | bitscher |
a3e2c64afaf9993f97af9a008a5de49acd5f9f1a | 5,555 | cpp | C++ | src/mongo/db/namespace_string.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | 1 | 2018-03-16T09:49:05.000Z | 2018-03-16T09:49:05.000Z | src/mongo/db/namespace_string.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | src/mongo/db/namespace_string.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | // namespace_string.cpp
/**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope th... | 44.087302 | 99 | 0.546895 | stevelyall |
a3e503868e1b4547523697a3ae30d7de6dc55e4d | 1,075 | cpp | C++ | AIC/AIC'20 - Level 2 Training/Week #5.1/O.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 3 | 2020-11-01T06:31:30.000Z | 2022-02-21T20:37:51.000Z | AIC/AIC'20 - Level 2 Training/Week #5.1/O.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | null | null | null | AIC/AIC'20 - Level 2 Training/Week #5.1/O.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 1 | 2021-05-05T18:56:31.000Z | 2021-05-05T18:56:31.000Z | //https://vjudge.net/contest/434102#problem/O
#include <bits/stdc++.h>
using namespace std;
void solve (int n, int m, vector<int> temp, vector<int>& v, set<vector<int>>& s, int i = 0, int sum = 0) {
if (i == n) {
if (sum == m) {
s.insert (temp);
}
return;
}
solve (n, m, ... | 23.369565 | 106 | 0.386047 | MaGnsio |
a3e7f087a9aa2c94091cb38caaa21c2ca0277b54 | 2,054 | cpp | C++ | tests/test_building.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | 1 | 2019-03-19T03:14:22.000Z | 2019-03-19T03:14:22.000Z | tests/test_building.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | 11 | 2015-01-27T17:35:12.000Z | 2018-08-13T07:48:35.000Z | tests/test_building.cpp | julienlopez/QCityBuilder | fe61a56bcdeda301211d49a9e358258eefafa14c | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include <resourceshandler.hpp>
#include <world/building.hpp>
#include <world/buildingtypehandler.hpp>
using World::Building;
TEST_CASE("Basic Buildings tests")
{
const auto house_bt = World::BuildingTypeHandler::instance().add(World::BuildingType{"House", {3, 3}, {}});
SECTION("Creati... | 39.5 | 119 | 0.634372 | julienlopez |
a3e9d4b0ab24a517587046980afe330812407d35 | 302 | cpp | C++ | src/classwork/01_assign/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-artgonzalezacc | 12badefda54ec45113a727c0d68acd49eb68f333 | [
"MIT"
] | 1 | 2020-12-02T19:10:37.000Z | 2020-12-02T19:10:37.000Z | src/classwork/01_assign/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-artgonzalezacc | 12badefda54ec45113a727c0d68acd49eb68f333 | [
"MIT"
] | null | null | null | src/classwork/01_assign/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-artgonzalezacc | 12badefda54ec45113a727c0d68acd49eb68f333 | [
"MIT"
] | 3 | 2020-10-20T02:22:23.000Z | 2020-11-11T05:58:08.000Z | //Write the include statement for types.h here
#include "types.h"//our user-defined
//Write include for capturing input from keyboard and displaying output to screen
#include<iostream>//C++ standard library
int main()
{
std::cout<<sum_numbers(5, 5);
return 0;//optional only in main function
}
| 21.571429 | 81 | 0.738411 | acc-cosc-1337-fall-2020 |
a3e9d83c42eefef6bdbfe7e77c0d99109d69b6b3 | 8,351 | hpp | C++ | src/prover.hpp | phillip-keldenich/circlecover-triangles | f4f0a9ebb30a6e0851410fc4b011471101886869 | [
"MIT"
] | null | null | null | src/prover.hpp | phillip-keldenich/circlecover-triangles | f4f0a9ebb30a6e0851410fc4b011471101886869 | [
"MIT"
] | null | null | null | src/prover.hpp | phillip-keldenich/circlecover-triangles | f4f0a9ebb30a6e0851410fc4b011471101886869 | [
"MIT"
] | null | null | null | /*
* Copyright 2022 Phillip Keldenich, Algorithms Department, TU Braunschweig
*
* 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 righ... | 34.795833 | 130 | 0.589031 | phillip-keldenich |
a3ea53dfe1172655e1050634587d2f2fde34fd1f | 18,340 | hh | C++ | ncrystal_core/include/NCrystal/internal/NCFactoryUtils.hh | mctools/ncrystal | 33ec51187a3bef418046c30e591ff7d8f239d54f | [
"Apache-2.0"
] | 22 | 2017-08-31T08:44:10.000Z | 2022-03-21T08:18:26.000Z | ncrystal_core/include/NCrystal/internal/NCFactoryUtils.hh | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 77 | 2018-01-23T10:19:45.000Z | 2022-03-21T07:57:32.000Z | ncrystal_core/include/NCrystal/internal/NCFactoryUtils.hh | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 11 | 2017-09-14T19:49:50.000Z | 2022-02-28T11:07:00.000Z | #ifndef NCrystal_FactoryUtils_hh
#define NCrystal_FactoryUtils_hh
////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of NCrystal (see https://mctools.github.io/ncrystal/) //
// ... | 39.525862 | 154 | 0.602781 | mctools |
a3f427e705470818284ce0ec11fa341b89736cfc | 435 | cpp | C++ | source/b1ig/B1igApp.cpp | basic-1/basic-1 | ddb253e0c98970042ba5502f745c8289bfc07398 | [
"MIT"
] | null | null | null | source/b1ig/B1igApp.cpp | basic-1/basic-1 | ddb253e0c98970042ba5502f745c8289bfc07398 | [
"MIT"
] | null | null | null | source/b1ig/B1igApp.cpp | basic-1/basic-1 | ddb253e0c98970042ba5502f745c8289bfc07398 | [
"MIT"
] | 1 | 2020-08-29T17:50:09.000Z | 2020-08-29T17:50:09.000Z | #include "B1igApp.h"
#include "B1igFrame.h"
#include <clocale>
wxIMPLEMENT_APP(B1igApp);
B1igApp::B1igApp()
{
setlocale(LC_ALL, "");
// set numeric properties from C locale for sprintf to use dot as decimal delimiter
setlocale(LC_NUMERIC, "C");
}
B1igApp::~B1igApp()
{
}
bool B1igApp::OnInit()
{
B... | 16.111111 | 87 | 0.673563 | basic-1 |
a3f6f39bb0a0444b12b4e9152780b209c446a5ac | 2,265 | cpp | C++ | afh/free_energy/chain_finite.cpp | todo-group/exact | ee76421fab9b2b1eaf77d6b01830a18e66f7180a | [
"Apache-2.0"
] | 1 | 2021-07-27T14:45:49.000Z | 2021-07-27T14:45:49.000Z | afh/free_energy/chain_finite.cpp | todo-group/exact | ee76421fab9b2b1eaf77d6b01830a18e66f7180a | [
"Apache-2.0"
] | 1 | 2018-11-30T14:48:41.000Z | 2018-11-30T14:48:41.000Z | afh/free_energy/chain_finite.cpp | todo-group/exact | ee76421fab9b2b1eaf77d6b01830a18e66f7180a | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2016-2021 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp>
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 requi... | 32.357143 | 91 | 0.607064 | todo-group |
a3fe6be22d42dfc80fbdfcc4fa6c7e5b3031c94d | 16,743 | cpp | C++ | src/executor/update_executor.cpp | phisiart/peloton | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | 1 | 2017-04-17T15:19:36.000Z | 2017-04-17T15:19:36.000Z | src/executor/update_executor.cpp | phisiart/peloton | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | 5 | 2017-04-23T17:16:14.000Z | 2017-04-25T03:14:16.000Z | src/executor/update_executor.cpp | phisiart/peloton-p3 | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Peloton
//
// update_executor.cpp
//
// Identification: src/executor/update_executor.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 40.247596 | 80 | 0.605805 | phisiart |
430217e48ae355ded6f2c1f5993a86336db40c9f | 3,177 | cpp | C++ | src/apps/ipoe/CIPOEProcess.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 5 | 2020-10-09T10:27:33.000Z | 2021-09-20T07:52:49.000Z | src/apps/ipoe/CIPOEProcess.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 2 | 2018-12-30T10:37:53.000Z | 2019-04-16T21:29:53.000Z | src/apps/ipoe/CIPOEProcess.cpp | vBRAS/OpenBRAS | cb227f48c5839ec95296c532b177a6639bfbd657 | [
"BSD-3-Clause"
] | 2 | 2020-07-22T22:46:28.000Z | 2021-12-04T11:55:39.000Z | /***********************************************************************
Copyright (c) 2017, The OpenBRAS project authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistrib... | 33.442105 | 87 | 0.680516 | vBRAS |
4305c75f0f06e91af946f5c9cdcfc00f1671fa79 | 6,550 | cpp | C++ | tech/Stream/Win32/FileStream.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Stream/Win32/FileStream.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Stream/Win32/FileStream.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | /******************************************************************************
Copyright (c) 2015 Teardrop Games
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 wit... | 23.392857 | 80 | 0.590687 | nbtdev |
43065fee9a6807205635eaea62461e1756bdb529 | 1,715 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/atomic/detail/caps_gcc_sync.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 2,728 | 2015-01-01T10:06:45.000Z | 2022-03-30T18:12:58.000Z | ReactNativeFrontend/ios/Pods/boost/boost/atomic/detail/caps_gcc_sync.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,192 | 2015-01-01T06:03:19.000Z | 2022-03-31T09:14:36.000Z | ReactNativeFrontend/ios/Pods/boost/boost/atomic/detail/caps_gcc_sync.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 334 | 2015-01-08T20:47:03.000Z | 2022-02-18T07:07:01.000Z | /*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Copyright (c) 2011 Helge Bahmann
* Copyright (c) 2013 Tim Blechmann
* Copyright (c) 2014 Andrey Semashev
*/
/*!
* \file atomic/detail/caps_gcc_sync.h... | 31.181818 | 61 | 0.81516 | Harshitha91 |
4309cd51d1ccd44099836b5f1f66b04a4479b5f0 | 1,967 | cc | C++ | src/utils/apollo_angle_test.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | 1 | 2021-01-11T14:19:51.000Z | 2021-01-11T14:19:51.000Z | src/utils/apollo_angle_test.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | src/utils/apollo_angle_test.cc | pengdu/bubblefs | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* Copyright 2017 The Apollo 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
... | 27.704225 | 79 | 0.628876 | pengdu |
430bfe8ce1699c0a739fa1a1e3d978d5ebdb14f8 | 3,175 | cpp | C++ | LinkSum/Link_Group.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | LinkSum/Link_Group.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | LinkSum/Link_Group.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Link_Group.cpp - Create a Link Group Report
//*********************************************************
#include "LinkSum.hpp"
//---------------------------------------------------------
// Link_Group
//----------------------------------------------------... | 23.518519 | 96 | 0.500787 | kravitz |
430d47d99d44ce34b0a40c66b7a3e01b877f11a3 | 629 | cpp | C++ | sources codes/tute50.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | 2 | 2021-06-17T11:05:01.000Z | 2021-11-15T11:39:46.000Z | sources codes/tute50.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | sources codes/tute50.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
// Basic Example
int a = 4;
int* ptr = &a;
*ptr = 999;
cout<<"The value of a is "<<*(ptr)<<endl;
// new operator
// int *p = new int(40);
float *p = new float(40.78);
cout << "The value at address p is " << *(p) << endl;
int ... | 21.689655 | 57 | 0.489666 | darkrabel |
4315fc8a0e42fb26f8eb68185edc5635abb2c4eb | 6,476 | cpp | C++ | ndn-cxx/meta-info.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 106 | 2015-01-06T10:08:29.000Z | 2022-02-27T13:40:16.000Z | ndn-cxx/meta-info.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 11 | 2020-12-27T23:02:56.000Z | 2021-10-18T08:00:50.000Z | ndn-cxx/meta-info.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 147 | 2015-01-15T15:07:29.000Z | 2022-02-03T13:08:43.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2019 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 25.800797 | 100 | 0.67202 | Pesa |
4316fca903136ac54625510ba9648c717269cf94 | 512 | cpp | C++ | Engine/BaseComponent.cpp | scottvermast/2DGameEngine | ee2d6ddcffcc5cb0abfdc40119526f291fd8a986 | [
"Apache-2.0"
] | null | null | null | Engine/BaseComponent.cpp | scottvermast/2DGameEngine | ee2d6ddcffcc5cb0abfdc40119526f291fd8a986 | [
"Apache-2.0"
] | null | null | null | Engine/BaseComponent.cpp | scottvermast/2DGameEngine | ee2d6ddcffcc5cb0abfdc40119526f291fd8a986 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "BaseComponent.h"
#include "GameObject.h"
#include "TransformComponent.h"
BaseComponent::BaseComponent()
: m_pGameObject{ nullptr }
, m_Initlialized(false)
{
}
void BaseComponent::CheckInitialized()
{
if (m_pGameObject->GetScene()->IsInitialized())
Initialize();
}
TransformComponent... | 17.066667 | 55 | 0.738281 | scottvermast |
431b27c5f3193ab6259bb31857cd865906493e49 | 395 | cpp | C++ | source/lib/Math/src/VectorAndMatrix.cpp | Forenzik-1989/Kyty | 0824a54af8876bd1d987a2eedafcd5c75bf4afe4 | [
"MIT"
] | 76 | 2021-11-13T13:07:59.000Z | 2022-03-22T11:35:29.000Z | source/lib/Math/src/VectorAndMatrix.cpp | Forenzik-1989/Kyty | 0824a54af8876bd1d987a2eedafcd5c75bf4afe4 | [
"MIT"
] | 7 | 2021-12-01T18:45:13.000Z | 2022-03-26T18:34:33.000Z | source/lib/Math/src/VectorAndMatrix.cpp | Forenzik-1989/Kyty | 0824a54af8876bd1d987a2eedafcd5c75bf4afe4 | [
"MIT"
] | 9 | 2021-11-24T08:38:13.000Z | 2022-03-24T13:25:04.000Z | #include "Kyty/Math/VectorAndMatrix.h"
//#include "Kyty/MathAll.h"
//#define VEC2_DECL
//#include "vec2_impl.h"
//#define VEC3_DECL
//#include "vec3_impl.h"
//#define VEC4_DECL
//#include "vec4_impl.h"
//#define MAT2_DECL
//#include "mat2_impl.h"
//#define MAT3_DECL
//#include "mat3_impl.h"
//#define MAT4_DECL
//#inc... | 19.75 | 38 | 0.703797 | Forenzik-1989 |
431b8704ffd02bd94250d92f4c2330bed7afb56a | 16,094 | cpp | C++ | test/serialize.cpp | sreeni-k/ngraph | 71ec9e18ffcc010c9818d485bf22487f7473ecfc | [
"Apache-2.0"
] | null | null | null | test/serialize.cpp | sreeni-k/ngraph | 71ec9e18ffcc010c9818d485bf22487f7473ecfc | [
"Apache-2.0"
] | null | null | null | test/serialize.cpp | sreeni-k/ngraph | 71ec9e18ffcc010c9818d485bf22487f7473ecfc | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 36.329571 | 97 | 0.638561 | sreeni-k |
431d14fa551b51711ad4082a2976dd2c02d201dc | 816 | hpp | C++ | SDK/ARKSurvivalEvolved_Gate_Large_AdobeBase_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Gate_Large_AdobeBase_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Gate_Large_AdobeBase_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Gate_Large_AdobeBase_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------------------------... | 20.4 | 110 | 0.63848 | 2bite |
431d88f092f06ff10c00d2707ab9fd522e7bd603 | 8,029 | cpp | C++ | Application.Win32/Benchmark.cpp | MartijnTerpstra/CainEngine | da52dc065e619ba5761521a024055c6f03d04c8e | [
"MIT"
] | null | null | null | Application.Win32/Benchmark.cpp | MartijnTerpstra/CainEngine | da52dc065e619ba5761521a024055c6f03d04c8e | [
"MIT"
] | null | null | null | Application.Win32/Benchmark.cpp | MartijnTerpstra/CainEngine | da52dc065e619ba5761521a024055c6f03d04c8e | [
"MIT"
] | null | null | null | #include "EntitySystem.h"
using namespace ::CainEngine::EntitySystem;
#include <random>
using CainEngine::EntitySystem::EntityID;
constexpr const int LoopCount = 100;
template<typename SceneType>
void InitScene(SceneType& scene, size_t entityCount, size_t hierarchyCount, vector<string>& row)
{
constexpr const int... | 23.272464 | 306 | 0.677918 | MartijnTerpstra |
431f432bce940b54bb5eba406008600b7c7c9b48 | 16,733 | cxx | C++ | Plugins/SciberQuestToolKit/SciberQuest/vtkSQImageGhosts.cxx | demarle/ParaView | ec9642303012a3344f9be7a0acea45cc2b329720 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2019-04-22T09:09:18.000Z | 2019-04-22T09:09:18.000Z | Plugins/SciberQuestToolKit/SciberQuest/vtkSQImageGhosts.cxx | JamesLinus/ParaView | d0dd28e0527c230044f1891db2d8ad0170a04af0 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/SciberQuestToolKit/SciberQuest/vtkSQImageGhosts.cxx | JamesLinus/ParaView | d0dd28e0527c230044f1891db2d8ad0170a04af0 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-06-23T09:05:08.000Z | 2020-06-23T09:05:08.000Z | /*
* Copyright 2012 SciberQuest Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditi... | 28.361017 | 81 | 0.601327 | demarle |
432294b9d3cd1bd2e3227de1694ca04395f0d77b | 427 | cpp | C++ | Framework/framework/base/EventKeyboard.cpp | luuthevinh/tiny3d-game-framework | a2078a8937a4ff147f5ef51aa6ba17105c59015c | [
"MIT"
] | null | null | null | Framework/framework/base/EventKeyboard.cpp | luuthevinh/tiny3d-game-framework | a2078a8937a4ff147f5ef51aa6ba17105c59015c | [
"MIT"
] | null | null | null | Framework/framework/base/EventKeyboard.cpp | luuthevinh/tiny3d-game-framework | a2078a8937a4ff147f5ef51aa6ba17105c59015c | [
"MIT"
] | null | null | null | #include "EventKeyboard.h"
USING_NS_TINY;
EventKeyboard::EventKeyboard(KeyCode keycode)
{
_keyCode = keycode;
_isPressed = false;
_type = Event::Type::KEYBOARD;
}
EventKeyboard::~EventKeyboard()
{
}
const EventKeyboard::KeyCode& EventKeyboard::getKeycode() const
{
return _keyCode;
}
bool EventKeyboard::isPress... | 14.724138 | 63 | 0.751756 | luuthevinh |
4328dca30d20478351b0f6282ac24b111dffeaf2 | 1,968 | cpp | C++ | engine/source/resources/AssimpIOStream.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | engine/source/resources/AssimpIOStream.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | engine/source/resources/AssimpIOStream.cpp | lechkulina/RealmsOfSteel | adeb53295abfa236a273c2641f3f9f4d4c6110e1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017 Lech Kulina
*
* This file is part of the Realms Of Steel.
* For conditions of distribution and use, see copyright details in the LICENSE file.
*/
#include "AssimpIOStream.h"
ros::AssimpIOStream::AssimpIOStream(RawBufferPtr buffer) {
setBuffer(buffer);
}
void ros::AssimpIOStream::setBu... | 23.428571 | 85 | 0.611789 | lechkulina |
432b3abc1fec799a425dbf81abd4d000e4a19b22 | 2,628 | cpp | C++ | SerialPrograms/Source/PokemonBDSP/Inference/PokemonBDSP_VSSeekerReaction.cpp | b0bness/Arduino-Source | c08925a034a0b6eae09f80ec73eddbf1bffe82fc | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonBDSP/Inference/PokemonBDSP_VSSeekerReaction.cpp | b0bness/Arduino-Source | c08925a034a0b6eae09f80ec73eddbf1bffe82fc | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonBDSP/Inference/PokemonBDSP_VSSeekerReaction.cpp | b0bness/Arduino-Source | c08925a034a0b6eae09f80ec73eddbf1bffe82fc | [
"MIT"
] | null | null | null | /* VS Seeker Reaction Bubble
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "CommonFramework/Globals.h"
#include "CommonFramework/ImageTools/CommonFilters.h"
#include "CommonFramework/ImageTools/FillGeometry.h"
#include "CommonFramework/ImageMatch/ImageDiff.h"
#include "PokemonBDSP_V... | 26.28 | 108 | 0.678082 | b0bness |
432b9ca6b91a0efc0702f8bcadfcd95b347aa251 | 8,273 | cpp | C++ | _studio/shared/umc/codec/vp9_dec/src/umc_vp9_va_packer.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-07-10T07:45:23.000Z | 2018-07-10T07:45:23.000Z | _studio/shared/umc/codec/vp9_dec/src/umc_vp9_va_packer.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | null | null | null | _studio/shared/umc/codec/vp9_dec/src/umc_vp9_va_packer.cpp | jwang11/MediaSDK | 08cb9405401d1db3599bd16580249c4690914be3 | [
"MIT"
] | 1 | 2018-01-04T06:53:11.000Z | 2018-01-04T06:53:11.000Z | // Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... | 39.023585 | 163 | 0.717877 | jwang11 |
432c05f030d88edd06167c353c6dab489fbcac1a | 1,394 | cpp | C++ | src/samples/readline.cpp | articuluxe/harmsway | 55cbf79c6ddf21fac79ce887c0601ca23845bc74 | [
"MIT"
] | 2 | 2019-05-20T21:18:36.000Z | 2020-01-08T19:14:11.000Z | src/samples/readline.cpp | articuluxe/harmsway | 55cbf79c6ddf21fac79ce887c0601ca23845bc74 | [
"MIT"
] | null | null | null | src/samples/readline.cpp | articuluxe/harmsway | 55cbf79c6ddf21fac79ce887c0601ca23845bc74 | [
"MIT"
] | null | null | null | // -*- Mode: c++ -*-
// readline.cpp --- Integrate readline
// Copyright (C) 2019-2020 Dan Harms (dharms)
// Author: Dan Harms <enniomore@icloud.com>
// Created: Friday, October 11, 2019
// Version: 1.0
// Modified Time-stamp: <2020-05-07 06:48:32 dharms>
// Modified by: Dan Harms
// Keywords: readline development
//... | 29.659574 | 72 | 0.677188 | articuluxe |
4331e19f10713d450d0c3e09ff459acedc40e783 | 33,309 | cc | C++ | runtime/bin/dartutils.cc | jtlapp/sdk | 0bca6aaf106b1d2752df8134d745743d52b6a78b | [
"BSD-3-Clause"
] | null | null | null | runtime/bin/dartutils.cc | jtlapp/sdk | 0bca6aaf106b1d2752df8134d745743d52b6a78b | [
"BSD-3-Clause"
] | null | null | null | runtime/bin/dartutils.cc | jtlapp/sdk | 0bca6aaf106b1d2752df8134d745743d52b6a78b | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "bin/dartutils.h"
#include "bin/crypto.h"
#include "bin/directory.h"
#include "bin/extensions... | 34.769311 | 80 | 0.687742 | jtlapp |
4335aac43b3d7e9ce250dc1a58d9a4016822986d | 9,009 | hpp | C++ | vnix/units/dim.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | null | null | null | vnix/units/dim.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | 4 | 2019-04-17T21:36:00.000Z | 2019-04-30T22:06:31.000Z | vnix/units/dim.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | null | null | null | /// @file vnix/units/dim.hpp
/// @brief Definition of vnix::units::dim.
/// @copyright 2019 Thomas E. Vaughan; all rights reserved.
/// @license BSD Three-Clause; see LICENSE.
#ifndef VNIX_UNITS_DIM_HPP
#define VNIX_UNITS_DIM_HPP
#include <array> // for array
#include <vnix/rat.hp... | 33.366667 | 79 | 0.635809 | tevaughan |
4336bbda4976766a54f05b72f65f85e5b15e708c | 4,763 | cc | C++ | download_action.cc | crawford/update_engine | bbf81caddce2009272cb4e3a6006fc85d79e505d | [
"BSD-3-Clause"
] | 1 | 2017-09-20T14:03:29.000Z | 2017-09-20T14:03:29.000Z | download_action.cc | crawford/update_engine | bbf81caddce2009272cb4e3a6006fc85d79e505d | [
"BSD-3-Clause"
] | null | null | null | download_action.cc | crawford/update_engine | bbf81caddce2009272cb4e3a6006fc85d79e505d | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 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 "update_engine/download_action.h"
#include <errno.h>
#include <algorithm>
#include <string>
#include <vector>
#include <glib.h>
#include "... | 33.307692 | 80 | 0.661558 | crawford |
433756d19aff4da0f752132685e333d17646c6ea | 15,925 | cpp | C++ | src/HBsplines/AdaptiveOctree2.cpp | chennachaos/mpap | 99d02bc9075b72b899a167d1bbc2bf73584b85bc | [
"MIT"
] | 2 | 2020-12-30T16:45:41.000Z | 2021-11-29T23:27:29.000Z | src/HBsplines/AdaptiveOctree2.cpp | chennachaos/mpap | 99d02bc9075b72b899a167d1bbc2bf73584b85bc | [
"MIT"
] | 3 | 2019-11-22T12:57:55.000Z | 2020-11-04T22:01:42.000Z | src/HBsplines/AdaptiveOctree2.cpp | chennachaos/mpap | 99d02bc9075b72b899a167d1bbc2bf73584b85bc | [
"MIT"
] | null | null | null |
#include "AdaptiveOctree.h"
#include "util.h"
/////////////////////////////////////////////////////////////////
//
// compute Quadrature points for cut cells using adaptive integration
//
// rule #1: quadrature points are computed only for those cells which either lie
// completely inside fluid domain or ar... | 29.381919 | 141 | 0.516735 | chennachaos |
433807c36dd8fb8e6ec0d63526dca5469a14eb17 | 23,617 | cpp | C++ | game.cpp | taranbis/ag-path-tracer | a2c8858e36c67f1c0114eda142e4a78bc9f5e91c | [
"MIT"
] | null | null | null | game.cpp | taranbis/ag-path-tracer | a2c8858e36c67f1c0114eda142e4a78bc9f5e91c | [
"MIT"
] | null | null | null | game.cpp | taranbis/ag-path-tracer | a2c8858e36c67f1c0114eda142e4a78bc9f5e91c | [
"MIT"
] | null | null | null | #include "precomp.h" // include (only) this in every .cpp file
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
ctpl::thread_pool plotting_pool(THREAD_NO);
vector<future<void>> plotting_results(THREAD_NO);
Pixel* buffer;
vec3 prevColours[SCRWIDTH*SCRHEIGHT];
vec3 colours[SCRWIDTH*SCRHEIGHT];
int tota... | 38.153473 | 132 | 0.631113 | taranbis |
433918382c6d3d62d8f9722599b35c5f892351ea | 16,182 | cpp | C++ | src/client/connection_client.cpp | hl4/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 166 | 2019-04-15T03:19:31.000Z | 2022-03-26T05:41:12.000Z | src/client/connection_client.cpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 9 | 2019-07-18T06:09:59.000Z | 2021-01-27T04:19:04.000Z | src/client/connection_client.cpp | YangKefan/da4qi4 | 9dfb8902427d40b392977b4fd706048ce3ee8828 | [
"Apache-2.0"
] | 43 | 2019-07-03T05:41:57.000Z | 2022-02-24T14:16:09.000Z | #include "daqi/client/connection_client.hpp"
#include "daqi/utilities/asio_utilities.hpp"
#include <iostream>
#include <condition_variable>
namespace da4qi4
{
namespace Client
{
namespace
{
std::string port_to_service(unsigned short port)
{
return std::to_string(port);
}
}
Connection::Connection(IOC& ioc, std:... | 23.727273 | 99 | 0.592696 | hl4 |
43408c067fc724424432a85b4fea43ff82b76949 | 49,548 | cpp | C++ | AutoWrapLua/PkgExporter.cpp | luada/LuaEngine | a887a151dc40b50aceb77089f37498381e11e7ff | [
"MIT"
] | 1 | 2018-11-29T14:33:45.000Z | 2018-11-29T14:33:45.000Z | AutoWrapLua/PkgExporter.cpp | luada/LuaEngine | a887a151dc40b50aceb77089f37498381e11e7ff | [
"MIT"
] | null | null | null | AutoWrapLua/PkgExporter.cpp | luada/LuaEngine | a887a151dc40b50aceb77089f37498381e11e7ff | [
"MIT"
] | null | null | null | #include "PkgExporter.h"
#include <list>
#include <shlwapi.h>
#define CommentLineFlag _T("//")
#define CommentFlagL _T("/*")
#define CommentFlagR _T("*/")
#define ExportToLuaFlag _T("//@ExportToLua")
#define BeginExportToLuaFlag _T("//@BeginExportToLua")
#define EndExportToLuaFlag _T("//@EndExportToLua")
#def... | 24.122687 | 161 | 0.676415 | luada |
4345db1f143ea56979982be8c3fcbb5d4365b380 | 7,853 | cpp | C++ | okvis_frontend/src/FrameNoncentralAbsoluteAdapter.cpp | ClassIsOver/OKVIS_Chinese_annotation | e485ff03134805191895a8bbf55346ec806424a6 | [
"BSD-3-Clause"
] | 35 | 2018-11-09T07:19:26.000Z | 2021-12-12T02:41:01.000Z | okvis_frontend/src/FrameNoncentralAbsoluteAdapter.cpp | ClassIsOver/OKVIS_Chinese_annotation | e485ff03134805191895a8bbf55346ec806424a6 | [
"BSD-3-Clause"
] | null | null | null | okvis_frontend/src/FrameNoncentralAbsoluteAdapter.cpp | ClassIsOver/OKVIS_Chinese_annotation | e485ff03134805191895a8bbf55346ec806424a6 | [
"BSD-3-Clause"
] | 17 | 2018-11-17T16:06:58.000Z | 2022-02-22T09:51:02.000Z | /*********************************************************************************
* OKVIS - Open Keyframe-based Visual-Inertial SLAM
* Copyright (c) 2015, Autonomous Systems Lab / ETH Zurich
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | 38.684729 | 124 | 0.668916 | ClassIsOver |
4346fbeb757ef0fdfa42e81a154ff3718912de1c | 12,115 | cxx | C++ | src/adplug/core/ksm.cxx | CBke/audacious-plugins | f17617a38d8412ca30750775208733dc1287e122 | [
"BSD-3-Clause"
] | null | null | null | src/adplug/core/ksm.cxx | CBke/audacious-plugins | f17617a38d8412ca30750775208733dc1287e122 | [
"BSD-3-Clause"
] | null | null | null | src/adplug/core/ksm.cxx | CBke/audacious-plugins | f17617a38d8412ca30750775208733dc1287e122 | [
"BSD-3-Clause"
] | null | null | null | /*
* Adplug - Replayer for many OPL2/OPL3 audio file formats.
* Copyright (C) 1999 - 2006 Simon Peter, <dn.tlp@gmx.net>, et al.
*
* 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 the Free Software Foundation; eit... | 28.776722 | 81 | 0.498556 | CBke |
434aa94e2e3e6a49bcd1bdbbb32a33740580c213 | 3,041 | cpp | C++ | src/Editor/GUI/SettingsWindow.cpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Editor/GUI/SettingsWindow.cpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Editor/GUI/SettingsWindow.cpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #include "SettingsWindow.hpp"
#include <imgui.h>
#include "../ImGui/Theme.hpp"
#include <Engine/Util/FileSystem.hpp>
#include "../Util/EditorSettings.hpp"
#ifdef USINGMEMTRACK
#include <MemTrackInclude.hpp>
#endif
using namespace GUI;
SettingsWindow::SettingsWindow() {
themeName[0] = '\0';
themes.push_back(... | 31.677083 | 166 | 0.550477 | Chainsawkitten |
434b43df1497ded381e02619faf88d240d97cdc5 | 18,085 | cpp | C++ | libs/context/test/test_callcc.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/context/test/test_callcc.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null | libs/context/test/test_callcc.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | null | null | null |
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <cstdint>
#include <cstdio>
#... | 27.526636 | 111 | 0.486315 | lijgame |
434c567a27329a7ada5b824839c375806bd1835f | 3,839 | cpp | C++ | src/core/host_manager.cpp | satoshe/panda-coin | da6dd10df94fc7e497eb67f6aeffc8c696eced05 | [
"MIT"
] | null | null | null | src/core/host_manager.cpp | satoshe/panda-coin | da6dd10df94fc7e497eb67f6aeffc8c696eced05 | [
"MIT"
] | null | null | null | src/core/host_manager.cpp | satoshe/panda-coin | da6dd10df94fc7e497eb67f6aeffc8c696eced05 | [
"MIT"
] | null | null | null | #include "host_manager.hpp"
#include "helpers.hpp"
#include "api.hpp"
#include "constants.hpp"
#include "logger.hpp"
#include "../external/http.hpp"
#include <iostream>
#include <thread>
#include <future>
using namespace std;
HostManager::HostManager(json config, string myName) {
this->myName = myName;
for(aut... | 32.533898 | 102 | 0.510289 | satoshe |
434d1833ce58b23024c16625a5d08e9e6b79eacb | 908 | cpp | C++ | test/math/box/distance.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | test/math/box/distance.cpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | test/math/box/distance.cpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <fcppt/catch/begin.hpp>
#include <fcppt/catch/end.hpp>
#include <fcppt/math/box/distance.h... | 31.310345 | 93 | 0.69163 | freundlich |
4355885ab41da4e3cb6f94671ff289a926dc9960 | 1,742 | cpp | C++ | nano/core_test/epochs.cpp | Sukhmai/nano-node | d4b3e5473ed85366edbd91aebc698ccc28e018fb | [
"BSD-3-Clause"
] | 1,228 | 2019-01-03T07:09:36.000Z | 2022-03-31T23:29:22.000Z | nano/core_test/epochs.cpp | Sukhmai/nano-node | d4b3e5473ed85366edbd91aebc698ccc28e018fb | [
"BSD-3-Clause"
] | 965 | 2019-01-02T22:52:13.000Z | 2022-03-31T11:05:56.000Z | nano/core_test/epochs.cpp | Sukhmai/nano-node | d4b3e5473ed85366edbd91aebc698ccc28e018fb | [
"BSD-3-Clause"
] | 393 | 2019-01-03T11:03:09.000Z | 2022-03-31T02:01:15.000Z | #include <nano/lib/epoch.hpp>
#include <nano/secure/common.hpp>
#include <gtest/gtest.h>
TEST (epochs, is_epoch_link)
{
nano::epochs epochs;
// Test epoch 1
nano::keypair key1;
auto link1 = 42;
auto link2 = 43;
ASSERT_FALSE (epochs.is_epoch_link (link1));
ASSERT_FALSE (epochs.is_epoch_link (link2));
epochs.ad... | 40.511628 | 93 | 0.731343 | Sukhmai |
43582f36f3c86381aaff97848299e6f230460d97 | 472 | cpp | C++ | Check_Heap.cpp | Parthiv-657/DSA | 0923753218d934b728f6c44da0edb8af836bd1ab | [
"MIT"
] | null | null | null | Check_Heap.cpp | Parthiv-657/DSA | 0923753218d934b728f6c44da0edb8af836bd1ab | [
"MIT"
] | null | null | null | Check_Heap.cpp | Parthiv-657/DSA | 0923753218d934b728f6c44da0edb8af836bd1ab | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
bool Check_Heap(int a[],int i,int size)
{
if(2*i+1>=size)
return true;
if(a[i]<a[2*i+1] && a[i]<a[2*i+2])
{
return true *Check_Heap(a,2*i+1,size)*Check_Heap(a,2*i+2,size);
}else return false;
}
int main()
{
freopen("input.txt","r",stdin);
int... | 18.153846 | 71 | 0.525424 | Parthiv-657 |
cb1a740ba080a705d60f3941c7824b07fb555e71 | 884 | hpp | C++ | src/board/Direction.hpp | pavveu7/twixt-pp | b2cf5320c3d4932c67a6a16f94ec8e848da3f323 | [
"MIT"
] | null | null | null | src/board/Direction.hpp | pavveu7/twixt-pp | b2cf5320c3d4932c67a6a16f94ec8e848da3f323 | [
"MIT"
] | null | null | null | src/board/Direction.hpp | pavveu7/twixt-pp | b2cf5320c3d4932c67a6a16f94ec8e848da3f323 | [
"MIT"
] | null | null | null | #pragma once
#include "Position.hpp"
#include <array>
constexpr int DIRECTIONS { 8 };
enum class Direction {
right,
sright,
up,
sup,
left,
sleft,
down,
sdown
};
constexpr std::array<Position, DIRECTIONS> directionVectors
{{ {-1, 2}, { 1, 2}, {-2,-1}, {-2, 1}, { 1,-2}, {-1,-2}, {2, 1... | 23.263158 | 114 | 0.660633 | pavveu7 |
cb1b34a7ed29462c9472772dc986673c60ae31b9 | 1,511 | cc | C++ | src/vm/context.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | 13 | 2021-06-24T17:50:20.000Z | 2022-03-13T23:00:16.000Z | src/vm/context.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | null | null | null | src/vm/context.cc | ArgonLang/Argon | 462d3d8721acd5131894bcbfa0214b0cbcffdf66 | [
"Apache-2.0"
] | 1 | 2022-03-31T22:58:42.000Z | 2022-03-31T22:58:42.000Z | // This source file is part of the Argon project.
//
// Licensed under the Apache License v2.0
#include <memory/memory.h>
#include <object/datatype/error.h>
#include "runtime.h"
#include "context.h"
using namespace argon::memory;
using namespace argon::vm;
using namespace argon::object;
Context *argon::vm::Context... | 23.246154 | 104 | 0.63865 | ArgonLang |
cb1cd142c77690f511cb0f61e5b3db27875d18f4 | 14,916 | cpp | C++ | FlipperPlugins/POutlook.cpp | nbclark/flipper | 438e261c09f6e290eb043eb8bf9a64080e043cc9 | [
"Apache-2.0"
] | null | null | null | FlipperPlugins/POutlook.cpp | nbclark/flipper | 438e261c09f6e290eb043eb8bf9a64080e043cc9 | [
"Apache-2.0"
] | null | null | null | FlipperPlugins/POutlook.cpp | nbclark/flipper | 438e261c09f6e290eb043eb8bf9a64080e043cc9 | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.h"
#include "POutlook.h"
#include <initguid.h>
#define INITGUID
#include <imaging.h>
#include <windowsx.h>
#define _ErrorLabel Error
#define CHR(hResult) \
if(FAILED(hResult)) { hr = (hResult); goto _ErrorLabel;}
#define CPR(pPointer) \
if(NULL == (pPointer)) { hr = (E_OUTOFM... | 26.122592 | 124 | 0.580853 | nbclark |
cb219fa691aed13b174e2a40b372658c2ca92b20 | 4,461 | cpp | C++ | ThirdParty/cppast/src/libclang/enum_parser.cpp | huiseliming/MetadataCpp | 913fec59d1e2ed228b1cee881da597218237795d | [
"MIT"
] | 1,284 | 2017-04-20T09:47:32.000Z | 2022-03-30T10:32:14.000Z | ThirdParty/cppast/src/libclang/enum_parser.cpp | huiseliming/MetadataCpp | 913fec59d1e2ed228b1cee881da597218237795d | [
"MIT"
] | 120 | 2017-04-20T11:15:42.000Z | 2022-03-31T18:23:24.000Z | ThirdParty/cppast/src/libclang/enum_parser.cpp | huiseliming/MetadataCpp | 913fec59d1e2ed228b1cee881da597218237795d | [
"MIT"
] | 143 | 2017-04-20T14:14:06.000Z | 2022-03-22T05:30:56.000Z | // Copyright (C) 2017-2019 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_enum.hpp>
#include "libclang_visitor.hpp"
#include "parse_functions.hpp"
using namespace cppast;
... | 39.131579 | 100 | 0.61466 | huiseliming |
cb22637b786ed4fb3123f4ae60dd5f0abcf63360 | 6,142 | cpp | C++ | src/monitor.cpp | pascscha/hydra | 5c301ec9a7a91935f90497558326333afa7b179c | [
"BSD-3-Clause"
] | null | null | null | src/monitor.cpp | pascscha/hydra | 5c301ec9a7a91935f90497558326333afa7b179c | [
"BSD-3-Clause"
] | null | null | null | src/monitor.cpp | pascscha/hydra | 5c301ec9a7a91935f90497558326333afa7b179c | [
"BSD-3-Clause"
] | null | null | null | #include "monitor.h"
#include <cstdlib>
#include <cstring>
#include <exception>
#include <stdexcept>
#include "common.h"
#include "formula.h"
#include "trie.h"
#include "util.h"
#define contains(x, f, t) ((f) <= (x) && (x) <= (t))
Monitor *NonTempMonitor::clone() {
NonTempMonitor *mon = new NonTempMonitor(fmla,... | 26.360515 | 118 | 0.561218 | pascscha |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.