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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cdaae9172d1e7f2facb0f8ab5ccef107d97a9b96 | 19,710 | cpp | C++ | src/ext/transport/ROSTransport/ROSSerializer.cpp | n-kawauchi/pipeline-test | aa29d84f177c7d8cefc81adab29abc06fccd61cb | [
"RSA-MD"
] | 15 | 2019-01-08T15:34:04.000Z | 2022-03-01T08:36:17.000Z | src/ext/transport/ROSTransport/ROSSerializer.cpp | n-kawauchi/pipeline-test | aa29d84f177c7d8cefc81adab29abc06fccd61cb | [
"RSA-MD"
] | 448 | 2018-12-27T03:13:56.000Z | 2022-03-24T09:57:03.000Z | src/ext/transport/ROSTransport/ROSSerializer.cpp | n-kawauchi/pipeline-test | aa29d84f177c7d8cefc81adab29abc06fccd61cb | [
"RSA-MD"
] | 31 | 2018-12-26T04:34:22.000Z | 2021-11-25T04:39:51.000Z | // -*- C++ -*-
/*!
* @file ROSSerializer.cpp
* @brief ROSSerializer class
* @date $Date: 2019-01-31 03:08:03 $
* @author Nobuhiko Miyamoto <n-miyamoto@aist.go.jp>
*
* Copyright (C) 2019
* Nobuhiko Miyamoto
* Robot Innovation Research Center,
* National Institute of
* Advanced Industrial... | 21.564551 | 135 | 0.593151 | n-kawauchi |
cdabba03021e13549f8ce65c1bd137c4b47e5b09 | 1,086 | hpp | C++ | cpp/lspipe/lspipe.hpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | 1 | 2022-01-07T13:18:51.000Z | 2022-01-07T13:18:51.000Z | cpp/lspipe/lspipe.hpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | null | null | null | cpp/lspipe/lspipe.hpp | gregzakh/sketches | acbc573b9e67228dac21a94b597d89e2ea5cd755 | [
"MIT"
] | 4 | 2020-02-11T01:00:11.000Z | 2022-01-07T14:24:38.000Z | #ifndef _LSPIPE
#define _LSPIPE
#pragma once
#ifndef UNICODE
#define UNICODE
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <ntapi.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <memory>
#include <vector>
#include <regex>
#pragma comme... | 20.490566 | 69 | 0.633517 | gregzakh |
cdac0dec2bd230694085fb327e989a16812106ea | 959 | cpp | C++ | 0021_Merge2Lists.cpp | zsyc/LeetAlgo | 70793a26900824e308f69ec2b2299e04eb9c7646 | [
"MIT"
] | null | null | null | 0021_Merge2Lists.cpp | zsyc/LeetAlgo | 70793a26900824e308f69ec2b2299e04eb9c7646 | [
"MIT"
] | null | null | null | 0021_Merge2Lists.cpp | zsyc/LeetAlgo | 70793a26900824e308f69ec2b2299e04eb9c7646 | [
"MIT"
] | null | null | null | // 借鉴网友的答案,思路就是用一个新的list,每次比较一个,然后连接小的node
// 注意在c + +实现中,返回函数内部生成的指针可能因函数的销毁才失效。
/**
* Definition for singly - linked list.
* struct ListNode {
* int val
* ListNode * next
* ListNode(int x): val(x), next(NULL) {}
*}
*/
class Solution {
public:
ListNode * mergeTwoLists(ListNode * l1, ListNode... | 23.390244 | 60 | 0.472367 | zsyc |
cdb087833194d034cbc7300f5f9c412bced3d22e | 9,247 | cpp | C++ | api/c/indigo/src/option_manager.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | api/c/indigo/src/option_manager.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | api/c/indigo/src/option_manager.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* Copyright (C) from 2009 to Present EPAM Systems.
*
* This file is part of Indigo toolkit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 27.602985 | 116 | 0.614686 | f1nzer |
cdb29fcccafe27b51410a25c331d596814204391 | 900 | hpp | C++ | CPP_rtype_2019/src/engine/ecs/components/DamageComponent.hpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | CPP_rtype_2019/src/engine/ecs/components/DamageComponent.hpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | CPP_rtype_2019/src/engine/ecs/components/DamageComponent.hpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | 1 | 2021-01-07T17:41:14.000Z | 2021-01-07T17:41:14.000Z | /*
** EPITECH PROJECT, 2019
** CPP_rtype_2019
** File description:
** Component interface
*/
/// \file DamageComponent.hpp
/// \author Lucas T.
/// \brief DamageComponent class declaration
#pragma once
#include <cstdint>
#include "IComponent.hpp"
/// \namespace ECS
/// \brief Used for the all entity component syst... | 21.95122 | 64 | 0.591111 | ltabis |
cdb2b732fd19adef0f3459f0dea6dc376e933559 | 275 | cpp | C++ | tests/engine/physic/test_collision_info.cpp | LorenzoDiStefano/Frogger | 372782b3d9e7cb9c77b4b9524940aa169a1d2f3c | [
"MIT"
] | null | null | null | tests/engine/physic/test_collision_info.cpp | LorenzoDiStefano/Frogger | 372782b3d9e7cb9c77b4b9524940aa169a1d2f3c | [
"MIT"
] | null | null | null | tests/engine/physic/test_collision_info.cpp | LorenzoDiStefano/Frogger | 372782b3d9e7cb9c77b4b9524940aa169a1d2f3c | [
"MIT"
] | null | null | null | #include "../../pch.h"
TEST(collision_info_test, init)
{
collision_info_t collision_info;
collision_info_init(&collision_info);
EXPECT_TRUE(
collision_info.collider == NULL &&
collision_info.delta.x == 0 &&
collision_info.delta.y == 0
);
}
| 21.153846 | 42 | 0.654545 | LorenzoDiStefano |
cdb66ab7841543220a89ced48e72bdcc187db613 | 1,601 | ipp | C++ | implement/oglplus/enums/reset_notif_strategy_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | implement/oglplus/enums/reset_notif_strategy_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | implement/oglplus/enums/reset_notif_strategy_def.ipp | jnbrq/oglplus | 2e072e91292643e0871565ae5147584403846290 | [
"BSL-1.0"
] | null | null | null | // File implement/oglplus/enums/reset_notif_strategy_def.ipp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/reset_notif_strategy.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2017 Matus Chochlik.
// Distributed under the Boost... | 30.788462 | 74 | 0.818863 | jnbrq |
cdb70998f4c21f0676d05505c8c2fd29e84e2a28 | 6,605 | cpp | C++ | td/telegram/ThemeManager.cpp | d351d3r/td | ab4736df2897c452af18528840d343cb476045c2 | [
"BSL-1.0"
] | null | null | null | td/telegram/ThemeManager.cpp | d351d3r/td | ab4736df2897c452af18528840d343cb476045c2 | [
"BSL-1.0"
] | null | null | null | td/telegram/ThemeManager.cpp | d351d3r/td | ab4736df2897c452af18528840d343cb476045c2 | [
"BSL-1.0"
] | null | null | null | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-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 "td/telegram/ThemeManager.h"
#include "td/telegram/... | 37.106742 | 120 | 0.725208 | d351d3r |
cdb8058891e2023870a48616522c85725cdd7065 | 11,808 | cpp | C++ | Neko98/AlwaysOnTopPet.cpp | leiqunni/Neko98 | 4e1a1d0888c4edb620c806a532657da30c68894f | [
"BSD-Source-Code"
] | 16 | 2019-09-02T19:47:49.000Z | 2022-03-03T01:40:13.000Z | Neko98/AlwaysOnTopPet.cpp | leiqunni/Neko98 | 4e1a1d0888c4edb620c806a532657da30c68894f | [
"BSD-Source-Code"
] | 2 | 2018-04-07T17:44:23.000Z | 2021-09-11T20:25:11.000Z | Neko98/AlwaysOnTopPet.cpp | leiqunni/Neko98 | 4e1a1d0888c4edb620c806a532657da30c68894f | [
"BSD-Source-Code"
] | 5 | 2019-09-04T18:10:16.000Z | 2021-07-10T19:31:51.000Z | // AlwaysOnTopPet.cpp: implementation of the CAlwaysOnTopPet class.
//
//////////////////////////////////////////////////////////////////////
#include "AlwaysOnTopPet.h"
//class name constant
static const char* g_szOnTopClassName = "NekoOnTop_Wnd";
//forward declaration
LRESULT CALLBACK WndProc_OnTop(HWND hWnd, UINT... | 30.122449 | 196 | 0.672849 | leiqunni |
cdb87c36b130e099fed5c7f5863d8449ae70c0bc | 3,781 | cpp | C++ | users-archive/attachments/20130529/afd792d4/attachment-0003.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2020-10-28T06:11:30.000Z | 2020-10-28T06:11:30.000Z | users-archive/attachments/20130529/afd792d4/attachment-0003.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 1 | 2019-05-05T11:10:31.000Z | 2019-05-05T11:10:31.000Z | users-archive/attachments/20130529/afd792d4/attachment-0003.cpp | zayenz/gecode.github.io | e759c2c1940d9a018373bcc6c316d9cb04efa5a0 | [
"MIT-feh"
] | 4 | 2019-05-03T18:43:19.000Z | 2020-12-17T04:06:59.000Z | // Square Packing.cpp : Defines the entry point for the console application.
//
#include <gecode/int.hh>
#include <gecode/search.hh>
#include <gecode/gist.hh>
#include <gecode/driver.hh>
#include <gecode/minimodel.hh>
#include <type_traits>
#include <array>
#include <cmath>
void nooverlap(Gecode::Home h... | 31.247934 | 118 | 0.658556 | zayenz |
cdbe1f7e5f3b7beaa3385a4c237528bc60c519df | 29,653 | cpp | C++ | TLD5542-1LED_DRV_V1.03/BitBang_I2C.cpp | Infineon/arduino-examples-usb-c-litix-power-flex-shield | 71fd1d410c099cf6a426d7b3d0682f4464ababfc | [
"BSD-3-Clause"
] | 2 | 2021-05-27T13:19:01.000Z | 2021-10-31T06:15:30.000Z | TLD5542-1LED_DRV_V1.03/BitBang_I2C.cpp | Infineon/arduino-examples-usb-c-litix-power-flex-shield | 71fd1d410c099cf6a426d7b3d0682f4464ababfc | [
"BSD-3-Clause"
] | null | null | null | TLD5542-1LED_DRV_V1.03/BitBang_I2C.cpp | Infineon/arduino-examples-usb-c-litix-power-flex-shield | 71fd1d410c099cf6a426d7b3d0682f4464ababfc | [
"BSD-3-Clause"
] | null | null | null | //
// Bit Bang I2C library
// Copyright (c) 2018-2019 BitBank Software, Inc.
// Written by Larry Bank (bitbank@pobox.com)
// Project started 10/12/2018
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software ... | 26.738503 | 121 | 0.613091 | Infineon |
cdbf2aff7a8887464b0de7911e195e3397ee7f7e | 1,188 | cpp | C++ | test/Splines/Tangent.cpp | kurocha/splines | 00ba452d378f71b26bddbfe787f68dea6e6160ad | [
"MIT",
"Unlicense"
] | null | null | null | test/Splines/Tangent.cpp | kurocha/splines | 00ba452d378f71b26bddbfe787f68dea6e6160ad | [
"MIT",
"Unlicense"
] | null | null | null | test/Splines/Tangent.cpp | kurocha/splines | 00ba452d378f71b26bddbfe787f68dea6e6160ad | [
"MIT",
"Unlicense"
] | null | null | null | //
// Tangent.cpp
// This file is part of the "Splines" project and released under the MIT License.
//
// Created by Samuel Williams on 9/6/2020.
// Copyright, 2020, by Samuel Williams. All rights reserved.
//
#include <UnitTest/UnitTest.hpp>
#include <Splines/Polyline.hpp>
#include <Splines/Spline.hpp>
#include ... | 23.76 | 82 | 0.63468 | kurocha |
cdc151f2d677259fc0e4d64aab91fd9ff7a35092 | 4,139 | cpp | C++ | src/chrono_thirdparty/HACDv2/dgSmallDeterminant.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono_thirdparty/HACDv2/dgSmallDeterminant.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono_thirdparty/HACDv2/dgSmallDeterminant.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | /* Copyright (c) <2003-2011> <Julio Jerez, 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 purpo... | 26.876623 | 85 | 0.619715 | Benatti1991 |
02cc53c73971a07c61e6d069df192913b347eefe | 3,229 | cpp | C++ | src/zisa/model/all_variables.cpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | null | null | null | src/zisa/model/all_variables.cpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | null | null | null | src/zisa/model/all_variables.cpp | 1uc/ZisaFVM | 75fcedb3bece66499e011228a39d8a364b50fd74 | [
"MIT"
] | 1 | 2021-08-24T11:52:51.000Z | 2021-08-24T11:52:51.000Z | // SPDX-License-Identifier: MIT
// Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval
#include <zisa/model/all_variables.hpp>
namespace zisa {
bool operator==(const AllVariablesDimensions &a,
const AllVariablesDimensions &b) {
return (a.n_cells == b.n_cells) && (a.n_cvars == b.n_cvars)
&& ... | 27.836207 | 80 | 0.673893 | 1uc |
02cd1d0b71f7c6c1101eec4a1390694c434e06eb | 7,211 | cpp | C++ | Server.cpp | Whompithian/css432-project1 | f16a166fa4317d6320cba418c756a1659c2675e6 | [
"MIT"
] | null | null | null | Server.cpp | Whompithian/css432-project1 | f16a166fa4317d6320cba418c756a1659c2675e6 | [
"MIT"
] | null | null | null | Server.cpp | Whompithian/css432-project1 | f16a166fa4317d6320cba418c756a1659c2675e6 | [
"MIT"
] | null | null | null | /*
* @file Server.cpp
* Adapted from examples in uw1-320-lab.uwb.edu:~css432/examples/, by
* Joe McCarthy
* @brief This program sets up a server that expects a connection from one
* client. The
* @author Brendan Sweeney, SID 1161836
* @date October 9, 2012
*/
#include <... | 40.061111 | 79 | 0.61323 | Whompithian |
02d13bc0cd9f702c6482eab0542a1207f80ca09e | 7,357 | cpp | C++ | serial/dataanalysis.cpp | dreamtravel/Sensor_PC | 7fa7b4acd217fd97ada5c19a7127d0332b1e6256 | [
"MIT"
] | null | null | null | serial/dataanalysis.cpp | dreamtravel/Sensor_PC | 7fa7b4acd217fd97ada5c19a7127d0332b1e6256 | [
"MIT"
] | null | null | null | serial/dataanalysis.cpp | dreamtravel/Sensor_PC | 7fa7b4acd217fd97ada5c19a7127d0332b1e6256 | [
"MIT"
] | null | null | null | /*****************************************************************************
**
**Copyright (C) 2014 UP-TECH Corporation and/or its subsidiary(-ies).
**All rights reserved.
**Contact: UP-TECH Corporation (anld@up-tech.com)
**
**This file is part of the Sensor Data Analysis Thread.
**
********************************... | 31.042194 | 79 | 0.488922 | dreamtravel |
02d1ad7743661964343baa4cdfefc1a656b7f90a | 11,202 | cpp | C++ | Framework/Source/C++11/LWCore/LWCrypto.cpp | slicer4ever/Lightwaver | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | 3 | 2017-10-24T08:04:49.000Z | 2018-08-28T10:08:08.000Z | Framework/Source/C++11/LWCore/LWCrypto.cpp | slicer4ever/Lightwave | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | null | null | null | Framework/Source/C++11/LWCore/LWCrypto.cpp | slicer4ever/Lightwave | 1f444e42eab9988632f541ab3c8f491d557c7de7 | [
"MIT"
] | null | null | null | #include "LWCore/LWCrypto.h"
#include "LWCore/LWByteBuffer.h"
#include <cstring>
#include <iostream>
uint32_t LWCrypto::HashMD5(const char *InBuffer, uint32_t InBufferLen, char *OutBuffer){
char Buffer[64];
uint32_t Table[] = { 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, 0xa8304613, ... | 47.668085 | 118 | 0.644885 | slicer4ever |
02d6e373cefbd749961602cdcfc23a053c0d8c07 | 882 | cpp | C++ | algorithms/cpp/609.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | 3 | 2016-10-01T10:15:09.000Z | 2017-07-09T02:53:36.000Z | algorithms/cpp/609.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | algorithms/cpp/609.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <vector>
#include <unordered_map>
using namespace std;
class Solution {
public:
vector<vector<string>> findDuplicate(vector<string> &paths) {
vector<vector<string>> result;
unordered_map<string, vector<string>> files;
for (auto path: paths) {
... | 25.941176 | 77 | 0.513605 | viing937 |
02d73d0103383a1d6bbc883a23a2426a9f770aac | 700 | cpp | C++ | src/particle.cpp | robdan7/Impact | 75dfce522b569bbd2f4dfb549aa78d2196c8e793 | [
"MIT"
] | null | null | null | src/particle.cpp | robdan7/Impact | 75dfce522b569bbd2f4dfb549aa78d2196c8e793 | [
"MIT"
] | null | null | null | src/particle.cpp | robdan7/Impact | 75dfce522b569bbd2f4dfb549aa78d2196c8e793 | [
"MIT"
] | null | null | null | //
// Created by Robin on 2021-06-22.
//
#include "particle.h"
namespace Impact {
Same_arena_allocator<1,uint16_t,particle> particle::s_allocator;
private_ptr<particle>
particle::Create(const vec3 &position, const vec3 &velocity, scalar inverse_mass, const vec3 &acceleration) {
auto ID = (ptr_prim... | 35 | 113 | 0.718571 | robdan7 |
02d74315f5be49263ec8ebe3d6e405305898d227 | 507 | hpp | C++ | include/yall/timer.hpp | Bajron/yall | b1d191b884c94a8a6e55271837f9c778d101784f | [
"MIT"
] | null | null | null | include/yall/timer.hpp | Bajron/yall | b1d191b884c94a8a6e55271837f9c778d101784f | [
"MIT"
] | null | null | null | include/yall/timer.hpp | Bajron/yall | b1d191b884c94a8a6e55271837f9c778d101784f | [
"MIT"
] | null | null | null | #pragma once
#include "yall/logger.hpp"
#include <chrono>
namespace yall {
template <class T = std::chrono::steady_clock>
struct Timer {
Logger logger;
typename T::time_point last;
Timer(Logger logger): logger(logger), last(T::now()) {
logger("Timer starts");
}
void operator()(const std::string& mess... | 19.5 | 92 | 0.615385 | Bajron |
02dad15413d8f093655f32e1ae7647226174a299 | 2,271 | inl | C++ | BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl | Norbyte/bg3se | 209275d5c99d92c65f47c07906f4e9bdcf28a073 | [
"MIT"
] | 3 | 2021-11-08T22:29:01.000Z | 2022-01-23T03:19:56.000Z | BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl | Norbyte/bg3se | 209275d5c99d92c65f47c07906f4e9bdcf28a073 | [
"MIT"
] | 2 | 2021-09-14T22:37:46.000Z | 2021-12-26T17:08:47.000Z | BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl | Norbyte/bg3se | 209275d5c99d92c65f47c07906f4e9bdcf28a073 | [
"MIT"
] | null | null | null | BEGIN_CLS(esv::SurfaceAction)
P(StoryActionID)
P_REF(Originator)
P_RO(Handle)
END_CLS()
BEGIN_CLS(esv::CreateSurfaceActionBase)
INHERIT(esv::SurfaceAction)
P(Owner)
P(Duration)
P(IsControlledByConcentration)
P(Position)
P(SurfaceType)
END_CLS()
BEGIN_CLS(esv::CreateSurfaceAction)
INHERIT(esv::CreateSurfaceActionBas... | 16.221429 | 47 | 0.810216 | Norbyte |
02e030a012a432beec829074eeb8ab806fed386a | 1,351 | hpp | C++ | platforms/magnum/include/tangram/platform_magnum.hpp | mathisloge/tangram-es | 36899751d86f8899d864414784b8c88e4ce42349 | [
"MIT"
] | null | null | null | platforms/magnum/include/tangram/platform_magnum.hpp | mathisloge/tangram-es | 36899751d86f8899d864414784b8c88e4ce42349 | [
"MIT"
] | null | null | null | platforms/magnum/include/tangram/platform_magnum.hpp | mathisloge/tangram-es | 36899751d86f8899d864414784b8c88e4ce42349 | [
"MIT"
] | null | null | null | #pragma once
#include "map.h"
#include "platform.h"
#include <Magnum/GL/Texture.h>
#include <memory>
#include <tangram_export.h>
#include <utility>
namespace Tangram {
void TANGRAM_EXPORT setContext(Magnum::GL::Context& ctx);
class TANGRAM_EXPORT MagnumTexture {
public:
explicit MagnumTexture(const int width, co... | 30.022222 | 107 | 0.680237 | mathisloge |
02e0d488d4e07100514132006b5fa144c467f2e2 | 1,574 | cpp | C++ | Engine/System/Locale.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 47 | 2018-04-27T02:16:26.000Z | 2022-02-28T05:21:24.000Z | Engine/System/Locale.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 2 | 2018-11-13T18:46:41.000Z | 2022-03-12T00:04:44.000Z | Engine/System/Locale.cpp | vitei/Usa | c44f893d5b3d8080529ecf0e227f983fddb829d4 | [
"MIT"
] | 6 | 2019-08-10T21:56:23.000Z | 2020-10-21T11:18:29.000Z | /****************************************************************************
// Usagi Engine, Copyright © Vitei, Inc. 2013
****************************************************************************/
#include "Engine/Common/Common.h"
#include "Engine/Core/File/File.h"
#include "Engine/System/Locale.h"
#include "Engin... | 21.561644 | 81 | 0.634689 | vitei |
02e106bd1900ae0096edf58176d7765d2c78a1f0 | 2,143 | cpp | C++ | maximumAreaOfRectangleFormed.cpp | msinvent/awesome_algos_and_ds | 38831e59675f7960ce0994d84ad09550a27154df | [
"MIT"
] | 1 | 2021-07-20T02:07:49.000Z | 2021-07-20T02:07:49.000Z | maximumAreaOfRectangleFormed.cpp | msinvent/awesome_algos_and_ds | 38831e59675f7960ce0994d84ad09550a27154df | [
"MIT"
] | null | null | null | maximumAreaOfRectangleFormed.cpp | msinvent/awesome_algos_and_ds | 38831e59675f7960ce0994d84ad09550a27154df | [
"MIT"
] | null | null | null | //============================================================================
// Name : maximumAreaOfRectangleFormed.cpp
// Author : Manish Sharma
// Version :
// Copyright : Your copyright notice
// Description : Find the area of maximum rectangle(aligned with x and y) that can be formed by given se... | 27.126582 | 127 | 0.550163 | msinvent |
02e2649d890fa2c0b0438de3d478fc1254d1dc99 | 3,646 | cpp | C++ | src/Dynamics/ParticleSystem/ParticleSystem.cpp | regnore/peridyno | 4cc45d8436cc4406edd9f044307cf92ecd7f1244 | [
"Apache-2.0"
] | 2 | 2022-01-29T08:51:50.000Z | 2022-02-22T12:07:09.000Z | src/Dynamics/ParticleSystem/ParticleSystem.cpp | regnore/peridyno | 4cc45d8436cc4406edd9f044307cf92ecd7f1244 | [
"Apache-2.0"
] | null | null | null | src/Dynamics/ParticleSystem/ParticleSystem.cpp | regnore/peridyno | 4cc45d8436cc4406edd9f044307cf92ecd7f1244 | [
"Apache-2.0"
] | null | null | null | #include "ParticleSystem.h"
#include "Topology/PointSet.h"
namespace dyno
{
IMPLEMENT_TCLASS(ParticleSystem, TDataType)
template<typename TDataType>
ParticleSystem<TDataType>::ParticleSystem(std::string name)
: Node(name)
{
auto ptSet = std::make_shared<PointSet<TDataType>>();
this->stateTopology()->setData... | 23.986842 | 89 | 0.655513 | regnore |
02e62bdd77b56323811501590f0a0feb86fa30ab | 14,000 | cpp | C++ | es-app/src/guis/GuiRomsManager.cpp | digitalLumberjack/EmulationStation | 15ce9ce0c40faee69611c69ffcb1cf57d0182330 | [
"MIT"
] | 51 | 2015-11-15T12:17:15.000Z | 2020-12-30T18:36:06.000Z | es-app/src/guis/GuiRomsManager.cpp | digitalLumberjack/EmulationStation | 15ce9ce0c40faee69611c69ffcb1cf57d0182330 | [
"MIT"
] | 78 | 2015-11-18T11:56:30.000Z | 2018-03-29T17:45:51.000Z | es-app/src/guis/GuiRomsManager.cpp | digitalLumberjack/EmulationStation | 15ce9ce0c40faee69611c69ffcb1cf57d0182330 | [
"MIT"
] | 81 | 2015-12-27T11:09:20.000Z | 2021-06-04T09:42:47.000Z | /*
* Copyright (c) 2015 Filipe Azevedo <pasnox@gmail.com>
*
* 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, ... | 33.898305 | 157 | 0.729643 | digitalLumberjack |
02e98e0f5ea830f0041955cd1ec50a4232b1ad7f | 12,917 | cc | C++ | camera/gpu/tests/image_processor_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | camera/gpu/tests/image_processor_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | camera/gpu/tests/image_processor_test.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 <string>
#include <vector>
#include <base/at_exit.h>
#include <base/command_line.h>
#include <base/files/file_util.h>
#include <base/s... | 35.196185 | 80 | 0.696524 | Toromino |
02e9d3fe2e6161eea8ec8aa49e781617ebc1819c | 1,134 | cpp | C++ | Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 3 | 2018-04-09T13:01:07.000Z | 2021-03-18T12:28:48.000Z | Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | null | null | null | Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp | RodrigoHolztrattner/Wonderland | ffb71d47c1725e7cd537e2d1380962b5dfdc3d75 | [
"MIT"
] | 1 | 2021-03-18T12:28:50.000Z | 2021-03-18T12:28:50.000Z | ////////////////////////////////////////////////////////////////////////////////
// Filename: ShaderBase.cpp
////////////////////////////////////////////////////////////////////////////////
#include "ShaderBase.h"
/*
ShaderBase::ShaderBase()
{
}
ShaderBase::ShaderBase(const ShaderBase& other)
{
}
ShaderBase::~Shade... | 20.25 | 100 | 0.620811 | RodrigoHolztrattner |
02ea66375f730b7ce666e6b6878c17178e74c9fe | 935 | cpp | C++ | matrix.cpp | ikamei15/ikamei | 53f979f431b257a11baa2b280b280936c9182156 | [
"MIT"
] | null | null | null | matrix.cpp | ikamei15/ikamei | 53f979f431b257a11baa2b280b280936c9182156 | [
"MIT"
] | null | null | null | matrix.cpp | ikamei15/ikamei | 53f979f431b257a11baa2b280b280936c9182156 | [
"MIT"
] | null | null | null | #include<conio.h>
#include<iostream.h>
main()
{
int a,b;
int matrix1[2][2];
int matrix2[2][2];
int matrix3[2][2];
clrscr();
cout<<"\t**Tugas Logika Algoritma**\n\n";
for(a=0;a<=1;a++)
{
for(b=0;b<=1;b++)
{
cout<<"Masukkan nilai ke - "<<a<<" "<<b<<" ";cin>>matrix1[a][b];
}
}
cout<<"\nmatrix1\n... | 15.080645 | 69 | 0.435294 | ikamei15 |
02ea87712dba1d29dc861eabd34f62627bd04b98 | 1,792 | cpp | C++ | src/beanmachine/graph/rejection.cpp | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 177 | 2021-12-12T14:19:05.000Z | 2022-03-24T05:48:10.000Z | src/beanmachine/graph/rejection.cpp | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 171 | 2021-12-11T06:12:05.000Z | 2022-03-31T20:26:29.000Z | src/beanmachine/graph/rejection.cpp | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 31 | 2021-12-11T06:27:19.000Z | 2022-03-25T13:31:56.000Z | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "beanmachine/graph/graph.h"
namespace beanmachine {
namespace graph {
void Graph::rejection(uint num_samples, uint see... | 30.372881 | 78 | 0.622768 | horizon-blue |
02ec33937add196a83c05f4683ea983582634812 | 614 | cpp | C++ | ChorusOGL/Chorus/core/Transform.cpp | Logomorph/Chorus-OGL | 7068b5d145c1ab60133892bbcbb7c90a93b0ecab | [
"Apache-2.0"
] | 1 | 2017-12-11T13:23:56.000Z | 2017-12-11T13:23:56.000Z | ChorusOGL/Chorus/core/Transform.cpp | Logomorph/Chorus-OGL | 7068b5d145c1ab60133892bbcbb7c90a93b0ecab | [
"Apache-2.0"
] | null | null | null | ChorusOGL/Chorus/core/Transform.cpp | Logomorph/Chorus-OGL | 7068b5d145c1ab60133892bbcbb7c90a93b0ecab | [
"Apache-2.0"
] | null | null | null | #include "Transform.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
namespace Chorus
{
Transform::Transform()
: position(Vec2D(0,0)), rotation(0.0f), scale(Vec2D(1,1))
{
}
Transform::Transform(const Transform &transform)
: position(transform.position), rotation(transform.rotation), scale(transform.scale)
{
... | 21.928571 | 86 | 0.70684 | Logomorph |
02ed89884a3cda0aec7a5d1455a1b7e142769d0f | 1,413 | cpp | C++ | Source/PyramidMath/SupplyContainer.cpp | andriuchap/summer-ue4jam-2019 | 125a67cffe6b98d5d6a04b762a07e2c75256d86b | [
"Apache-2.0"
] | null | null | null | Source/PyramidMath/SupplyContainer.cpp | andriuchap/summer-ue4jam-2019 | 125a67cffe6b98d5d6a04b762a07e2c75256d86b | [
"Apache-2.0"
] | null | null | null | Source/PyramidMath/SupplyContainer.cpp | andriuchap/summer-ue4jam-2019 | 125a67cffe6b98d5d6a04b762a07e2c75256d86b | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "SupplyContainer.h"
#include "PyramidMathCharacter.h"
#include "Components/StaticMeshComponent.h"
#include "Components/BoxComponent.h"
ASupplyContainer::ASupplyContainer(const FObjectInitializer& ObjInitializer)
{
bIsLooted = fal... | 26.166667 | 91 | 0.801132 | andriuchap |
02f0a4cb8b9c54b99df844cb8231e3c485341e14 | 351 | hpp | C++ | src/graphics/graphics.hpp | otgaard/zap | d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215 | [
"MIT"
] | 8 | 2016-04-24T21:02:59.000Z | 2021-11-14T20:37:17.000Z | src/graphics/graphics.hpp | otgaard/zap | d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215 | [
"MIT"
] | null | null | null | src/graphics/graphics.hpp | otgaard/zap | d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215 | [
"MIT"
] | 1 | 2018-06-09T19:51:38.000Z | 2018-06-09T19:51:38.000Z | //
// Created by otgaard on 2018/02/11.
//
#ifndef ZAP_GRAPHICS_HPP
#define ZAP_GRAPHICS_HPP
#if defined(_WIN32)
#if !defined(GRAPHICS_EXPORT)
#if defined(ZAP_STATIC)
#include "graphics_exports_s.h"
#else
#include "graphics_exports.h"
#endif
#else
#include GRAPHICS_EXPORT
#endif
#else
#define ZAPGRAPHICS_EXPORT
#en... | 14.04 | 36 | 0.774929 | otgaard |
02f0fa631971d7b5818170c63dd0b50cbc168518 | 4,277 | cpp | C++ | acmicpc.net/source/17822.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/17822.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/17822.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 17822. 원판 돌리기
// 2020.10.21
// 시뮬레이션, 구현, BFS
#include<iostream>
#include<algorithm>
#include<vector>
#include<queue>
using namespace std;
int disk[51][51];
int tmp[51];
int n, m, t;
int visit[51][51];
int dx[4] = { 0,0,1,-1 };
int dy[4] = { 1,-1,0,0 };
// 원판을 체크하며 인접한 같은 수를 제거하는 함수
void check()
{
for (int i ... | 22.39267 | 66 | 0.261398 | tdm1223 |
02f5254cf6f71a05d3b3d24f8df09ae7257af5d6 | 1,259 | cpp | C++ | test/data-tests/testcases/test-101.cpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 4,526 | 2015-01-01T15:31:00.000Z | 2022-03-31T17:33:49.000Z | test/data-tests/testcases/test-101.cpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 4,497 | 2015-01-01T15:29:12.000Z | 2022-03-31T19:19:35.000Z | test/data-tests/testcases/test-101.cpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 3,023 | 2015-01-01T18:40:53.000Z | 2022-03-30T13:30:46.000Z |
#include <stdexcept>
#include "common.hpp"
class TestHandler101 : public osmium::handler::Handler {
public:
TestHandler101() :
osmium::handler::Handler() {
}
void node(const osmium::Node& node) const {
constexpr const double epsilon = 0.00000001;
if (node.id() == 101000) {
... | 29.27907 | 81 | 0.597299 | zhaitianduo |
02f9c4f478daad89c72884bc2f7242d64bc43436 | 2,638 | cpp | C++ | addons/cirkit-addon-reversible/src/reversible/truth_table.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | addons/cirkit-addon-reversible/src/reversible/truth_table.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | addons/cirkit-addon-reversible/src/reversible/truth_table.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* 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, in... | 29.311111 | 90 | 0.644049 | eletesta |
02fa59699466b1edc0b01eaa013012d0141b6164 | 12,994 | cpp | C++ | Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp | samsmu/MITK | c93dce6dc38d8f4c961de4440e4dd113b9841c8c | [
"BSD-3-Clause"
] | 5 | 2015-02-05T10:58:41.000Z | 2019-04-17T15:04:07.000Z | Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 141 | 2015-03-03T06:52:01.000Z | 2020-12-10T07:28:14.000Z | Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp | kometa-dev/MITK | 984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d | [
"BSD-3-Clause"
] | 4 | 2015-02-19T06:48:13.000Z | 2020-06-19T16:20:25.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 39.615854 | 232 | 0.667693 | samsmu |
02fc0bb1c3985caa2abc873795acae251811786d | 22,561 | cpp | C++ | TouchGFX/target/HW_Init.cpp | argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph | 0375fad81b314bd1b9ec8f9101b51ac077d5ea81 | [
"MIT"
] | 3 | 2019-12-30T21:16:50.000Z | 2021-05-11T05:28:25.000Z | TouchGFX/target/HW_Init.cpp | argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph | 0375fad81b314bd1b9ec8f9101b51ac077d5ea81 | [
"MIT"
] | null | null | null | TouchGFX/target/HW_Init.cpp | argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph | 0375fad81b314bd1b9ec8f9101b51ac077d5ea81 | [
"MIT"
] | 1 | 2020-03-15T14:35:46.000Z | 2020-03-15T14:35:46.000Z | /**
******************************************************************************
* @file HW_Init.cpp
* @author MCD Application Team
* @version V1.0.0RC1
* @date 19-June-2017
* @brief This file implements the hardware configuration for the GUI library
********************************************... | 33.723468 | 89 | 0.621027 | argandas |
02fc95e3cea8a231e4a671dc436ae739305c3b60 | 20,264 | cc | C++ | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | 2 | 2016-02-29T07:31:13.000Z | 2017-02-23T19:02:46.000Z | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | null | null | null | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | null | null | null | /*** written by Thomas Schoenemann as a private person, since March 2013 ****/
#include "hmm_forward_backward.hh"
void calculate_scaled_hmm_forward(const Storage1D<uint>& source, const Storage1D<uint>& target, const SingleLookupTable& slookup,
const SingleWordDictionary& dict, const ... | 29.976331 | 159 | 0.590999 | Thomas1205 |
02ff663b098321fc06355609c1069ba2de486854 | 1,125 | cpp | C++ | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | 1 | 2022-01-04T11:38:15.000Z | 2022-01-04T11:38:15.000Z | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | null | null | null | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | null | null | null | #include "EventLoop.h"
#include "../channel__/channel.h"
#include "../poller/Poller.h"
__thread EventLoop *t_loopInThisThread = 0;
EventLoop::EventLoop() : looping_(false),
threadId_(Thread::getCurrentThread()) {
if (t_loopInThisThread) {
std::cerr << "another EventLoop has bind o... | 22.058824 | 97 | 0.625778 | CharmsGraker |
f3007e6b1c891d7e2f546a1830c5ad6128e2a0dc | 359 | cpp | C++ | solutions/71A.cpp | clapmyhands/condeforces | 0a030629601c8e55eeccf9d0a0f1b3c163b65485 | [
"MIT"
] | null | null | null | solutions/71A.cpp | clapmyhands/condeforces | 0a030629601c8e55eeccf9d0a0f1b3c163b65485 | [
"MIT"
] | null | null | null | solutions/71A.cpp | clapmyhands/condeforces | 0a030629601c8e55eeccf9d0a0f1b3c163b65485 | [
"MIT"
] | null | null | null | #include <iostream>
int main() {
std::string word;
int n;
int len = 0;
std::cin >> n;
while(n--){
std::cin >> word;
len = word.length();
if(len<=10){
std::cout << word << std::endl;
} else {
std::cout << word[0] << len-2 << word[len-1] << std... | 19.944444 | 71 | 0.415042 | clapmyhands |
f301ca850abd47ec3a6a4c2383e951bf99e3a5e5 | 6,483 | cpp | C++ | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/customer-profiles/model/MarketoConnectorOperator.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using n... | 38.360947 | 104 | 0.636434 | perfectrecall |
f3022244771c7d4dccf80f527bdbd98efef6dd7a | 9,878 | cpp | C++ | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2021 Domara Shlimon
*
* 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, m... | 31.660256 | 165 | 0.678882 | ARAMODODRAGON |
f302a6aafea02d0089174288725e0b764bd11841 | 24,294 | cpp | C++ | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | null | null | null | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | 1 | 2020-06-29T00:33:54.000Z | 2020-06-29T00:33:54.000Z | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | 1 | 2022-03-26T10:03:41.000Z | 2022-03-26T10:03:41.000Z | /*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for... | 26.038585 | 243 | 0.754343 | 7erj1 |
f308b80d4cbc6c72800aaa27490c06b72296ccfe | 1,184 | cpp | C++ | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | 5 | 2020-03-12T10:24:29.000Z | 2020-07-05T09:49:16.000Z | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | null | null | null | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | 2 | 2020-09-06T15:27:29.000Z | 2020-11-01T03:58:54.000Z | #include "Utils.h"
#include "BaseSocket.h"
#include "./Server/TaskServer.h"
#include "TestThread.h"
#include "Global.h"
#include "./Logger.h"
#include "TypeDefine.h"
#define _SWITCH_FOR_TEST_ 0
HINT32 main(HINT32 argc, HCHAR* argv[])
{
#if _SWITCH_FOR_TEST_
HDSimpleMap *m_pHDSM = NULL;
string data_pat... | 27.534884 | 88 | 0.671453 | BonreeGit |
f30baf8bd158dbab1df8f49fe020c52fd3601d57 | 4,648 | cpp | C++ | output/code_objects/neurongroup_group_variable_set_conditional_codeobject_1.cpp | JohnSaliver/Reservoir-Neuromorphic-Computing | 749e9c9d4ef418b0a5e3843d3f83da90c51b4e01 | [
"MIT"
] | 1 | 2022-02-14T07:15:41.000Z | 2022-02-14T07:15:41.000Z | output/code_objects/neurongroup_group_variable_set_conditional_codeobject_1.cpp | JohnSaliver/Reservoir-Neuromorphic-Computing | 749e9c9d4ef418b0a5e3843d3f83da90c51b4e01 | [
"MIT"
] | null | null | null | output/code_objects/neurongroup_group_variable_set_conditional_codeobject_1.cpp | JohnSaliver/Reservoir-Neuromorphic-Computing | 749e9c9d4ef418b0a5e3843d3f83da90c51b4e01 | [
"MIT"
] | 1 | 2022-02-14T07:27:18.000Z | 2022-02-14T07:27:18.000Z | #include "code_objects/neurongroup_group_variable_set_conditional_codeobject_1.h"
#include "objects.h"
#include "brianlib/common_math.h"
#include "brianlib/stdint_compat.h"
#include<cmath>
#include<ctime>
#include<iostream>
#include<fstream>
#include<climits>
////// SUPPORT CODE ///////
namespace {
templa... | 38.413223 | 92 | 0.674269 | JohnSaliver |
f30cb569b8f91d2c373be80be25f3e6f000b6443 | 2,993 | cpp | C++ | examples/ClusteringModulesExamples/KMeansExample/KMeansExample.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 818 | 2015-01-03T05:21:04.000Z | 2022-03-30T00:43:09.000Z | examples/ClusteringModulesExamples/KMeansExample/KMeansExample.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 131 | 2015-01-26T08:50:57.000Z | 2022-01-12T07:51:53.000Z | examples/ClusteringModulesExamples/KMeansExample/KMeansExample.cpp | torydebra/grt | 6c3fe9e5ab470d840b1c3e613ee0356d209eef7b | [
"MIT",
"Unlicense"
] | 301 | 2015-01-15T12:36:54.000Z | 2022-03-14T20:12:10.000Z | /*
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to u... | 37.886076 | 111 | 0.731373 | torydebra |
f30d8178e255018e59bf98fcc40e148f477ed8f6 | 526 | cpp | C++ | lib/CXXFuzzingBackend/CXXProgramBuilderOptions.cpp | delcypher/jfs | d38b3685e878bf552da52b9410b53dd2adcfdfd1 | [
"MIT"
] | 192 | 2018-01-08T03:28:28.000Z | 2019-06-18T02:52:39.000Z | lib/CXXFuzzingBackend/CXXProgramBuilderOptions.cpp | mc-imperial/jfs | d38b3685e878bf552da52b9410b53dd2adcfdfd1 | [
"MIT"
] | 24 | 2019-08-28T18:15:09.000Z | 2020-12-07T03:56:45.000Z | lib/CXXFuzzingBackend/CXXProgramBuilderOptions.cpp | delcypher/jfs | d38b3685e878bf552da52b9410b53dd2adcfdfd1 | [
"MIT"
] | 14 | 2018-01-08T06:58:39.000Z | 2019-04-08T08:40:52.000Z | //===----------------------------------------------------------------------===//
//
// JFS
//
// Copyright 2017-2018 Daniel Liew
//
// This file is distributed under the MIT license.
// See LICENSE.txt for details.
//
//===-------------------------------------------------------------... | 29.222222 | 80 | 0.463878 | delcypher |
f3160740815820b87603a8eb7e71cb7625e9cbf6 | 609 | cpp | C++ | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2005-2019 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include <fost/main>
#include <fost/test>
namespace {
fostlib::setting<bool> c_verbose(
L"fost-test/test-main.cpp", L"Tests", L"D... | 21.75 | 80 | 0.635468 | KayEss |
f3162e4c46d983613450c3114fed9f906587d85e | 2,640 | cpp | C++ | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | null | null | null | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z | //===----------------------------------------------------------------------===//
//
// Peloton
//
// decentralized_epoch_manager_test.cpp
//
// Identification: test/concurrency/local_epoch_test.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===-------------------... | 26.938776 | 80 | 0.631439 | rntlqvnf |
f31694f51de2525718884e5e084c32c0942d7ab5 | 4,762 | cpp | C++ | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | #include "Game.h"
//---------------------------------------------------------------------------------------------------
//---------------------------------Inits_for_Cstr----------------------------------------------------
//-----------------------------------------------------------------------------------------------... | 27.211429 | 109 | 0.47942 | Marbax |
f3188beffbf9151f21e8f3266cd57498d1170597 | 5,087 | cc | C++ | src/games/ludii/jni_utils.cc | mtaktikos/Polygames | eb5390e57cc38e5287bf6dcfb420308a5995d194 | [
"MIT"
] | 270 | 2020-01-28T22:53:11.000Z | 2022-02-21T07:25:13.000Z | src/games/ludii/jni_utils.cc | mtaktikos/Polygames | eb5390e57cc38e5287bf6dcfb420308a5995d194 | [
"MIT"
] | 45 | 2020-01-29T09:55:23.000Z | 2021-06-11T18:05:42.000Z | src/games/ludii/jni_utils.cc | mtaktikos/Polygames | eb5390e57cc38e5287bf6dcfb420308a5995d194 | [
"MIT"
] | 50 | 2020-01-29T08:54:22.000Z | 2021-10-20T03:04:46.000Z | // inspired from
// https://gist.github.com/alexminnaar/90cf1ea3de45e79a1b14081d90d214b7
/*
Copyright (c) 2020 Alex Minnaar
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, inc... | 30.644578 | 80 | 0.732848 | mtaktikos |
f31aeca014b3ef55380061d82a06177c0b9598c9 | 9,640 | cc | C++ | src/GaIA/pkgs/nmap/nmap-6.40/nping/PacketDiff.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/nmap/nmap-6.40/nping/PacketDiff.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/nmap/nmap-6.40/nping/PacketDiff.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T15:59:26.000Z | 2021-06-08T15:59:26.000Z |
/***************************************************************************
* PacketDiff.cc -- The PacketDiff Class... *
* *
***********************IMPORTANT NMAP LICENSE TERMS************************
* ... | 65.578231 | 77 | 0.554564 | uninth |
f31c3e00d76dd99f1faaded97846f530b873b415 | 8,224 | cpp | C++ | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 38 | 2015-01-04T05:24:26.000Z | 2015-07-17T00:30:02.000Z | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 40 | 2015-01-03T22:43:00.000Z | 2015-07-17T18:52:59.000Z | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 41 | 2015-01-06T12:32:19.000Z | 2017-05-30T15:50:13.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | 30.235294 | 80 | 0.631931 | wstnturner |
f31d65db9e91aa732973e8c6b398494519f767a7 | 449 | cpp | C++ | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | #include <libiop/common/common.hpp>
namespace libiop {
using std::size_t;
long double add_soundness_error_bits(const size_t bits1, const size_t bits2)
{
return add_soundness_error_bits((long double)bits1, (long double)bits2);
}
long double add_soundness_error_bits(const long double bits1, const long double bits... | 23.631579 | 86 | 0.734967 | alexander-zw |
f3213e2bad4c92aa48177ace8afb40d6d34cacb0 | 30,226 | cpp | C++ | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | // ********************************************************************
// Copyright (c) 2019 Nathan Hanlan
//
// 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, includ... | 29.575342 | 146 | 0.629987 | NathanSaidas |
f3223150875a1288a319438590c07d64b11d4176 | 5,170 | cpp | C++ | external/webkit/Source/WebKit/android/plugins/ANPMatrixInterface.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | external/webkit/Source/WebKit/android/plugins/ANPMatrixInterface.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | external/webkit/Source/WebKit/android/plugins/ANPMatrixInterface.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright 2009, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... | 30.77381 | 79 | 0.676596 | ghsecuritylab |
f32253d2e59da9d8d848dc47bafd755ed36487c2 | 3,542 | cc | C++ | o3d/compiler/technique/technique_structures.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | o3d/compiler/technique/technique_structures.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | o3d/compiler/technique/technique_structures.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | /*
* Copyright 2009, Google 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 conditio... | 40.25 | 73 | 0.667984 | rwatson |
f3225733a984e5b5035d4360563ef3264bbb6273 | 6,521 | cc | C++ | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | 2 | 2021-08-05T07:47:41.000Z | 2021-11-18T15:34:10.000Z | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | null | null | null | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 32.605 | 80 | 0.648367 | newway |
f32358ec3f64bd2e8b6563e649b56db20d969524 | 1,345 | hpp | C++ | src/cuda/api/memory_device_impls.hpp | DeveloperPaul123/cuda-api-wrappers | 12552d18b03b94a131cf586574bf10f795a965ed | [
"BSD-3-Clause"
] | 1 | 2018-12-11T09:37:14.000Z | 2018-12-11T09:37:14.000Z | src/cuda/api/memory_device_impls.hpp | DeveloperPaul123/cuda-api-wrappers | 12552d18b03b94a131cf586574bf10f795a965ed | [
"BSD-3-Clause"
] | null | null | null | src/cuda/api/memory_device_impls.hpp | DeveloperPaul123/cuda-api-wrappers | 12552d18b03b94a131cf586574bf10f795a965ed | [
"BSD-3-Clause"
] | null | null | null | /**
* @file multi_wrapper_impls.hpp
*
* @brief Implementations of memory-related API wrapper functions or methods
* requiring the definition of the device wrapper class.
* individual proxy class files, with the other classes forward-declared.
*/
#pragma once
#ifndef MEMORY_DEVICE_IMPLS_HPP_
#define MEMORY_DEVICE... | 22.416667 | 83 | 0.733829 | DeveloperPaul123 |
f3240e84b8bb70cca7031d9e5956bb501cee81b7 | 9,404 | cpp | C++ | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 4 | 2019-07-18T15:05:09.000Z | 2020-03-14T09:50:07.000Z | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 328 | 2019-06-30T12:03:01.000Z | 2020-10-05T15:56:35.000Z | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 1 | 2019-06-08T22:47:14.000Z | 2019-06-08T22:47:14.000Z | #include "qlabelmousetracker.hpp"
#include "sme/logger.hpp"
#include <QPainter>
QLabelMouseTracker::QLabelMouseTracker(QWidget *parent) : QLabel(parent) {
setMouseTracking(true);
setAlignment(Qt::AlignmentFlag::AlignTop | Qt::AlignmentFlag::AlignLeft);
setMinimumSize(1, 1);
setWordWrap(true);
}
void QLabelMou... | 34.573529 | 80 | 0.641004 | lkeegan |
f3272515e5abbe554aa3a495718d7838a92356e7 | 4,833 | cpp | C++ | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | #include "psd_parser.h"
#include "parser/PsdParser.h"
#include "Layer.h"
#include "LayerGroup.h"
#include "register_types.h"
#ifdef __cplusplus
extern "C" {
#endif
struct psd_parser {
PsdParser * parser;
};
struct psd_document {
Document * doc;
};
struct psd_layer {
Layer * layer;
};
struct psd_layer_group {
... | 20.742489 | 99 | 0.686737 | rodolforg |
f32acb33668fac4933a67569ad0105b843dfbf6d | 1,580 | cpp | C++ | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#include <ClientLib/Systems/PostFrameCallbackSystem.hpp>
#include <CoreLib/LogSystem/Logger.hpp>
#include <CoreLib/Components/ScriptComponent.hpp>
#include <Cli... | 28.214286 | 90 | 0.751899 | ImperatorS79 |
f32cf398e2a02aa472351425a2ac9fa220aea584 | 4,209 | cpp | C++ | src/Core/Geometry/VoxelGridFactory.cpp | mkeguida/Open3D_2019-02-13 | 264a9bf79615d7a2143c0afed68cc83cf586e1cb | [
"MIT"
] | 20 | 2020-07-07T01:05:08.000Z | 2022-03-01T09:31:47.000Z | src/Core/Geometry/VoxelGridFactory.cpp | mkeguida/Open3D_2019-02-13 | 264a9bf79615d7a2143c0afed68cc83cf586e1cb | [
"MIT"
] | 1 | 2022-03-01T00:43:21.000Z | 2022-03-04T17:53:02.000Z | src/Core/Geometry/VoxelGridFactory.cpp | mkeguida/Open3D_2019-02-13 | 264a9bf79615d7a2143c0afed68cc83cf586e1cb | [
"MIT"
] | 5 | 2020-07-07T02:14:15.000Z | 2021-12-09T10:09:10.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 37.918919 | 80 | 0.632929 | mkeguida |
f32dfb8ff012a3b9308981bc20ae7821f2b55948 | 366 | cpp | C++ | src/rviz/TSRMarker.cpp | personalrobotics/aikido | c0a8b7eff286640374631a2c6bddb571b829a73e | [
"BSD-3-Clause"
] | 181 | 2016-04-22T15:11:23.000Z | 2022-03-26T12:51:08.000Z | src/rviz/TSRMarker.cpp | personalrobotics/aikido | c0a8b7eff286640374631a2c6bddb571b829a73e | [
"BSD-3-Clause"
] | 514 | 2016-04-20T04:29:51.000Z | 2022-02-10T19:46:21.000Z | src/rviz/TSRMarker.cpp | icaros-usc/aikido | 8d9391a9ca998da8f7c6a9966d126e26ce8e69d9 | [
"BSD-3-Clause"
] | 31 | 2017-03-17T09:53:02.000Z | 2022-03-23T10:35:05.000Z | #include "aikido/rviz/TSRMarker.hpp"
using dart::dynamics::SimpleFrame;
namespace aikido {
namespace rviz {
//==============================================================================
TSRMarker::TSRMarker(std::vector<std::unique_ptr<SimpleFrame>> tsrFrames)
: mTsrFrames(std::move(tsrFrames))
{
// Do nothing... | 21.529412 | 80 | 0.568306 | personalrobotics |
f3367d2faddf54175e6f7afa89f3bdbd4194d5fb | 11,355 | cc | C++ | chrome/browser/ui/views/dropdown_bar_host.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/ui/views/dropdown_bar_host.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/dropdown_bar_host.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | // Copyright (c) 2010 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 "chrome/browser/views/dropdown_bar_host.h"
#include "app/keyboard_codes.h"
#include "app/slide_animation.h"
#include "base/scoped_handle.h"
... | 36.866883 | 80 | 0.678556 | Gitman1989 |
f336af3dad317950019ef61e41d5357fe3c36efb | 2,853 | hpp | C++ | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | #ifndef WORD2VEC_HPP_
#define WORD2VEC_HPP_
#include "common.hpp"
#include "corpus.hpp"
typedef float real;
class Parameters
{
public:
long long d; // dimensionality of word vectors
long long V; // the number of words
int wn; // window size
real lr; // initial learning rate
int sg; ... | 25.247788 | 118 | 0.629863 | JinseokNam |
f3384b203ffdc19ab2a57ac6bae0950c45544b06 | 231 | cpp | C++ | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
int n,sum=0;
cout<<"how many number you want to add";
cin>>n;
for (int i = 0; i < n; i++)
{
int m;
cin>>m;
sum=sum+m;
}
cout<<"sum is"<<"\n"<<sum;
} | 13.588235 | 41 | 0.515152 | mishrajiharsh219 |
f33986732e32ffe57bcb3ff90ccedcf850199504 | 1,098 | cpp | C++ | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 28.894737 | 93 | 0.54918 | shoryaconsul |
f33f193971861f97abc5feec424da51a6a2d1d6c | 2,460 | cpp | C++ | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#include "Pomdog/Audio/AudioClip.hpp"
#if defined(POMDOG_PLATFORM_MACOSX) || defined(POMDOG_PLATFORM_APPLE_IOS)
#include "../SoundSystem.OpenAL/AudioClipAL.hpp"
#elif defined(POMDOG_PLATFORM_LINUX)
#include "../SoundSystem.OpenAL/AudioClipAL.hpp"... | 26.73913 | 96 | 0.734959 | ValtoForks |
f3437a094bfaacf3e5968011f32669ed91956345 | 1,344 | hpp | C++ | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOO... | 22.779661 | 80 | 0.619792 | Netis |
f3445791fba289c4b052e56447b033d2c5cf950c | 3,532 | hpp | C++ | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #pragma once
#include "Runtime/World/CPhysicsActor.hpp"
#include "Runtime/World/CDamageInfo.hpp"
#include "Runtime/Particle/CElementGen.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
#include <zeus/CTransform.hpp>
namespace metaforce::MP1 {
struct SGrenadeVelocityInfo {
private:
float x... | 38.391304 | 117 | 0.760759 | Jcw87 |
f349a49335a6692c7172ab2163a054daf8bb30ac | 2,670 | cpp | C++ | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | 1 | 2021-04-17T06:47:34.000Z | 2021-04-17T06:47:34.000Z | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | null | null | null | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | null | null | null | /******************************************************************************************
* Files Name: transposition.cpp
*
* Honbey, honbey@honbey.com
* Created On 2019-10-11
* Copyright (c) 2019. All rights reserved.
*
* Date: 2019-10-11
*
* Description: For experiment 3.
* Simple Transposition encrypt... | 31.785714 | 117 | 0.61161 | honbey |
f34c819b58fae19523cd7652873126515ff11d64 | 8,343 | cpp | C++ | lists/dllist.cpp | triffon/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | 2 | 2017-10-18T14:24:38.000Z | 2019-06-30T14:03:07.000Z | lists/dllist.cpp | tancheto/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | null | null | null | lists/dllist.cpp | tancheto/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | 2 | 2017-11-29T09:12:38.000Z | 2018-11-08T12:15:51.000Z | #ifndef __DLLIST_CPP
#define __DLLIST_CPP
#include <iostream>
template <typename T>
struct DoubleLinkedListElement {
DoubleLinkedListElement(T const& _data,
DoubleLinkedListElement* _next = nullptr,
DoubleLinkedListElement* _prev = nullptr) :
data(_data), nex... | 21.726563 | 79 | 0.57725 | triffon |
f34d978f424e7d4742bf7b13087b2687d8dc3c02 | 2,416 | cpp | C++ | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | 5 | 2020-11-14T19:49:26.000Z | 2021-03-23T14:57:39.000Z | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | null | null | null | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | 2 | 2020-11-14T18:38:41.000Z | 2020-12-03T11:43:30.000Z | /******************************************************************************
* kway_graph_refinement_commons.cpp
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#include <omp.h>
#include "data_structure/parallel/spin... | 30.2 | 166 | 0.571606 | DanielSeemaier |
f34ec080b2edbe098a941dc79f1bf8edfb8771cc | 158 | hpp | C++ | libs/EXTERNAL/libtatum/libtatum/tatum/TimingConstraintsFwd.hpp | brycejh/vtr-verilog-to-routing | f61da5eb2d4e008728a01def827d55a0e9f285d0 | [
"MIT"
] | 682 | 2015-07-10T00:39:26.000Z | 2022-03-30T05:24:53.000Z | libs/EXTERNAL/libtatum/libtatum/tatum/TimingConstraintsFwd.hpp | a-canela/OpenFPGA | 063c58b6cbe2e01aa5520ec43ec80ff064d7f228 | [
"MIT"
] | 1,399 | 2015-07-24T22:09:09.000Z | 2022-03-29T06:22:48.000Z | libs/EXTERNAL/libtatum/libtatum/tatum/TimingConstraintsFwd.hpp | a-canela/OpenFPGA | 063c58b6cbe2e01aa5520ec43ec80ff064d7f228 | [
"MIT"
] | 311 | 2015-07-09T13:59:48.000Z | 2022-03-28T00:15:20.000Z | #pragma once
namespace tatum {
//Forward delcaration
struct DomainPair;
struct NodeDomainPair;
struct IoConstraint;
class TimingConstraints;
} //namepsace
| 13.166667 | 24 | 0.803797 | brycejh |
f34fd3ca1f0f05f122b5a68fedfc86a5d0749ae1 | 3,323 | cpp | C++ | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include "Client.hpp"
#include "Rents.hpp"
#include "ClientType.hpp"
#include "Ball.hpp"
#include "Abibas.hpp"
#include "Mike.hpp"
#include "RegularClient.hpp"
#include "NewClient.hpp"
#include "NormalClient.hpp"
#include "Respository.hpp"
#include "ClientRespository.hpp"
#include "... | 31.647619 | 70 | 0.682215 | KacperRybak2 |
f350d9aaf60fcbe609489cd0273b4793eef7189c | 1,841 | cpp | C++ | filecode/app_i/indbuff.cpp | Snowapril/file_structure | 3698cb06039200c7163a33efe9b59ac60ee0c45c | [
"MIT"
] | null | null | null | filecode/app_i/indbuff.cpp | Snowapril/file_structure | 3698cb06039200c7163a33efe9b59ac60ee0c45c | [
"MIT"
] | null | null | null | filecode/app_i/indbuff.cpp | Snowapril/file_structure | 3698cb06039200c7163a33efe9b59ac60ee0c45c | [
"MIT"
] | null | null | null | // indbuff.cpp
#ifndef INDBUFF_TC
#define INDBUFF_TC
#include "indbuff.h"
template <class keyType>
IndexBuffer<keyType>::IndexBuffer (int maxKeys, int keySize)
: FixedFieldBuffer (1+2*maxKeys,
sizeof(int)+maxKeys*keySize+maxKeys*sizeof(int))
// buffer fields consist of
// numKeys, actual number of keys
// ... | 27.477612 | 74 | 0.683324 | Snowapril |
f354b816d2a7bc32ea7452c10e45d2b5ef1a8ed3 | 800 | cpp | C++ | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | #include <iostream>
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forr(i, n) for (int i = int(n - 1); i >= 0; i--)
#define fora(i, a, b) for (int i = int(a); i <= int(b); i++)
#define forb(i, a, b) for (int i = int(a); i >= int(b); i--)
using namespace std;
// wtf[] = {'a', 'b', 'c', 'd', 'e', '... | 23.529412 | 143 | 0.3825 | s9v |
f3554a5af6d77d5f6c7eae64d8896fcf3f152fb9 | 6,913 | hpp | C++ | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 739 | 2017-03-17T15:02:08.000Z | 2022-03-29T03:25:32.000Z | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 41 | 2017-03-09T07:04:13.000Z | 2021-05-27T20:05:24.000Z | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 43 | 2017-04-08T07:23:33.000Z | 2021-08-20T14:20:49.000Z | // Copyright Louis Dionne 2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#ifndef ANY_ITERATOR_HPP
#define ANY_ITERATOR_HPP
#include <dyno.hpp>
#include <cassert>
#include <iterator>
#include <type_traits>
#include <... | 33.721951 | 98 | 0.727036 | ricejasonf |
f3565cd96c51517dbdf4370faeaf452ae0d80c9a | 12,073 | cpp | C++ | C/services/common/threshold_rule.cpp | foglamp/foglamp-service-notification | c5f1e5b14fb5dcb5ad15d1ba50a2afbd4fd5649f | [
"Apache-2.0"
] | null | null | null | C/services/common/threshold_rule.cpp | foglamp/foglamp-service-notification | c5f1e5b14fb5dcb5ad15d1ba50a2afbd4fd5649f | [
"Apache-2.0"
] | 12 | 2019-01-11T09:34:40.000Z | 2020-01-30T10:29:45.000Z | C/services/common/threshold_rule.cpp | foglamp/foglamp-service-notification | c5f1e5b14fb5dcb5ad15d1ba50a2afbd4fd5649f | [
"Apache-2.0"
] | null | null | null | /**
* FogLAMP Threshold builtin notification rule
*
* Copyright (c) 2018 Dianomic Systems
*
* Released under the Apache 2.0 Licence
*
* Author: Massimiliano Pinto
*/
#include <threshold_rule.h>
#define RULE_NAME "Threshold"
#define DEFAULT_TIME_INTERVAL "30"
/**
* Rule specific default configuration
*/
sta... | 23.442718 | 129 | 0.637207 | foglamp |
f35b06b0ffa9c5fadcf6e71424c76c624650e3b4 | 5,155 | cpp | C++ | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright 2007-2008, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Lotz <mmlr@mlotz.ch>
*/
#include <USBKit.h>
#include <usb_raw.h>
#include <unistd.h>
#include <kits/support/String.h>
BUSBEndpoint::BUSBEndpoint(BUSBInterface *interface, uint32 i... | 22.510917 | 78 | 0.772648 | stasinek |
f35b6225dc0c0f51af4b7c02c5d5f760aee13946 | 3,405 | cc | C++ | CommonTools/RecoAlgos/plugins/ME0MuonTrackCollProducer.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | null | null | null | CommonTools/RecoAlgos/plugins/ME0MuonTrackCollProducer.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | null | null | null | CommonTools/RecoAlgos/plugins/ME0MuonTrackCollProducer.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | null | null | null |
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "DataFormats/MuonDetId/interface/Muo... | 38.693182 | 108 | 0.774156 | SWuchterl |
f35c745193f8a5d74faa40ad870196ccc43565ed | 1,600 | cpp | C++ | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | // line.cpp
//
// Copyright (C) 2004 Keith Davies
//
// 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; either version 2.1 of the License, or (at
// your option) any later version.
//
// ... | 23.880597 | 78 | 0.631875 | zjhlogo |
f35e6d08c6f510d2b60a5e196ec84b571c110f11 | 736,148 | cpp | C++ | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | /** This file is generated. Do not edit. */
#include "GlobalMatrices.h"
namespace GlobalMatrices {
#if !defined(CONVERGENCE_ORDER)
#error CONVERGENCE_ORDER must be set.
#elif CONVERGENCE_ORDER == 2
double const Fxm0[] = { 1.,0.,-3.,0.,1.,0.,-1.,0.,3. };
double const Fxm1[] = { 1.,0.,3.,0.,1.,0.,1.,0.,3. };
double... | 4,544.123457 | 18,882 | 0.338829 | uphoffc |
f35f76d9c3642be337974f3e68066b92648af95c | 120 | cpp | C++ | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | #include "shapes/straight_vertex.hpp"
using namespace rive;
void StraightVertex::radiusChanged() { markPathDirty(); }
| 20 | 57 | 0.775 | hermet |
f3601128ca0c0f2036bbbe0bf9d9e79e893b96d1 | 17,788 | cc | C++ | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | /* -*- c-basic-offset:4; indent-tabs-mode:nil -*- vi: set sw=4 et: */
/*
// Copyright (c) 2021, Earl Chew
// 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 cod... | 43.598039 | 80 | 0.695244 | earlchew |
f361d0cb7a8a87c87d00513ee0a892e4d8505706 | 6,137 | cpp | C++ | plugins/OSPRay_plugin/src/OSPRayNHSphereGeometry.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/src/OSPRayNHSphereGeometry.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/src/OSPRayNHSphereGeometry.cpp | bkmgit/megamol | 1b70b47fa35691625f1aab2e0fe03d000077811c | [
"BSD-3-Clause"
] | null | null | null | /*
* OSPRayNHSphereGeometry.cpp
* Copyright (C) 2009-2017 by MegaMol Team
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "OSPRayNHSphereGeometry.h"
#include "vislib/forceinline.h"
#include "mmcore/moldyn/MultiParticleDataCall.h"
#include "mmcore/param/FloatParam.h"
#include "mmcore/param/IntParam.h"
#inclu... | 36.96988 | 140 | 0.709956 | bkmgit |
f36546827c46711c4267fa17bdc2d7db930763ca | 1,952 | hpp | C++ | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | /**
* @file visionSystem.gpp
* @brief VisionSystem Class implementation
* @details Definition of the VisionSystem class to determine suggested actions based on images and depth measurements
* @author Patrick Nolan (patnolan33)
* @copyright MIT License.
*/
#include <camera.hpp>
#include <laserRangeFinder.hpp>
#includ... | 26.026667 | 117 | 0.733607 | patnolan33 |
f366b7f66cd1860afb9de81a26b8e8aebd857c18 | 2,092 | cpp | C++ | vectos-iterators-stl/mainDriver.cpp | acarlstein/code-archive-c-plus-plus | 7cf52086bc834f5c4f392a51d8aa6ff6e598d1e3 | [
"ECL-2.0"
] | null | null | null | vectos-iterators-stl/mainDriver.cpp | acarlstein/code-archive-c-plus-plus | 7cf52086bc834f5c4f392a51d8aa6ff6e598d1e3 | [
"ECL-2.0"
] | null | null | null | vectos-iterators-stl/mainDriver.cpp | acarlstein/code-archive-c-plus-plus | 7cf52086bc834f5c4f392a51d8aa6ff6e598d1e3 | [
"ECL-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
#include <time.h>
using namespace std;
template <typename T>
void display(const T& c);
template <typename Iterator, typename T>
void display(Iterator first, Iterator last, const T& c);
/**
* The purpose of this step is to isolate any problems with
* sim... | 26.820513 | 74 | 0.666826 | acarlstein |
f367ded955c6f5754deafa53ac577c2927e4e57d | 1,142 | cpp | C++ | OSX/Stubs/Core/UnCorObj.cpp | MaddTheSane/surreal | 05c3f0f0ea5aa7d86b143d5a2a1e503c5744d1ed | [
"Artistic-1.0"
] | 4 | 2016-12-22T01:42:44.000Z | 2018-09-21T22:13:23.000Z | OSX/Stubs/Core/UnCorObj.cpp | MaddTheSane/surreal | 05c3f0f0ea5aa7d86b143d5a2a1e503c5744d1ed | [
"Artistic-1.0"
] | null | null | null | OSX/Stubs/Core/UnCorObj.cpp | MaddTheSane/surreal | 05c3f0f0ea5aa7d86b143d5a2a1e503c5744d1ed | [
"Artistic-1.0"
] | null | null | null | //
// UnCorObj.cpp
// Surreal
//
// Created by C.W. Betts on 7/6/14.
// Copyright (c) 2014 C.W. Betts. All rights reserved.
//
// This is a stub implementation of the Core library of Surreal.
//
#include <stdio.h>
#include <stdlib.h>
#include "Core.h"
IMPLEMENT_CLASS(UPackage)
UPackage::UPackage()
{
}
// UObje... | 12.27957 | 70 | 0.697023 | MaddTheSane |
f3685a899c1560506f8efe945e01286e818cd6bd | 603 | cpp | C++ | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
string encr, key, decry = "";
int shifted, pos;
cin >> encr >> key;
for(int i = 0; i < encr.size(); i++) {
if(i % 2 == 1) {
shifted = key.at(i) - 'A';
pos = encr.at(i) - 'A';
pos += shifted;
p... | 22.333333 | 42 | 0.378109 | BrynjarGeir |
f36d042664e253064c5d2d85e421cc5d4187b209 | 3,595 | cpp | C++ | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | #include <silia/operations/operations.h>
#include <silia/types/factories.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <type_traits>
namespace silia
{
namespace
{
using namespace testing;
TEST(Norm, SquaredNorm_WhenVector)
{
auto v = MakeVector({2, 3, 1});
auto norm = SquaredNorm(v);
s... | 23.966667 | 89 | 0.665647 | cpanhuber |
f36dc4c57b84117cd6c422a3f3a18612bc23851f | 9,043 | cpp | C++ | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | //-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#include "orbittreeview.h"
#include "orbitglwidget.h"
#include <QHeaderView>
#include <QMenu>
#include <QSignalMapper>
#include <QPainter>
#include <QScrollBar>
#include <QFontDatabase>
#include <set>
#in... | 31.075601 | 115 | 0.499281 | ehei1 |
f36ec2a1cac7ded8bd1fc6c30061ce001bdeda1c | 1,404 | cc | C++ | paddle/infrt/host_context/kernel_registry_test.cc | HydrogenSulfate/Paddle | 42cfd15e672e1ed7ad0242c1ae9e492f197599d6 | [
"Apache-2.0"
] | 2 | 2019-05-16T03:09:06.000Z | 2022-01-14T07:06:37.000Z | paddle/infrt/host_context/kernel_registry_test.cc | HydrogenSulfate/Paddle | 42cfd15e672e1ed7ad0242c1ae9e492f197599d6 | [
"Apache-2.0"
] | 1 | 2021-11-01T06:28:16.000Z | 2021-11-01T06:28:16.000Z | paddle/infrt/host_context/kernel_registry_test.cc | HydrogenSulfate/Paddle | 42cfd15e672e1ed7ad0242c1ae9e492f197599d6 | [
"Apache-2.0"
] | 5 | 2021-12-10T11:20:06.000Z | 2022-02-18T05:18:12.000Z | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 29.25 | 75 | 0.732194 | HydrogenSulfate |
f371e48ae7802f66f8635991f4eec08057b787cf | 37,996 | cpp | C++ | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 3 | 2018-10-09T02:08:57.000Z | 2020-08-12T20:26:29.000Z | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 1 | 2018-09-30T02:42:39.000Z | 2018-09-30T02:42:39.000Z | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | null | null | null | #include "test/engine/TestUtility.h"
#include <cstring>
#include <type_traits>
#include "engine/utility/Bitset.h"
#include "engine/utility/Blob.h"
#include "engine/utility/containers/DumbVariant.h"
#include "engine/utility/containers/External.h"
#include "engine/utility/containers/Optional.h"
#include "engine/utility... | 25.330667 | 80 | 0.508554 | dodgelafnitz |
f3722e8bd205bafaa94cb34ad31b6b36400a8601 | 5,984 | cc | C++ | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | 3 | 2021-05-19T14:33:59.000Z | 2022-03-14T02:12:47.000Z | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | null | null | null | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | 1 | 2020-01-24T15:10:34.000Z | 2020-01-24T15:10:34.000Z | /**
* \file ma57_wrapper.cc
* Implementation of the class CPPMA57.
*
* \author A. Huber and E.Bertolazzi
* \since 13.11.2018
*/
#include "ma57_wrapper.hh"
#include <iostream>
namespace lapack_wrapper {
/*\
:|: ___ _ _ _ __ __ _
:|: | _ \_ _| |__| (_)__ | \/ |___ _ __ | |__ ... | 28.908213 | 186 | 0.540608 | ceccocats |
f3728a200170dafed64dc066c588941f7cafb66d | 163 | cpp | C++ | ex_1b/bcd_decoder.cpp | maanjum95/SystemC_Lab | c9ff8e8c45adbf9283c979b41f92a05fbe37eb99 | [
"MIT"
] | 1 | 2022-01-11T14:09:11.000Z | 2022-01-11T14:09:11.000Z | ex_1b/bcd_decoder.cpp | maanjum95/SystemC_Lab | c9ff8e8c45adbf9283c979b41f92a05fbe37eb99 | [
"MIT"
] | null | null | null | ex_1b/bcd_decoder.cpp | maanjum95/SystemC_Lab | c9ff8e8c45adbf9283c979b41f92a05fbe37eb99 | [
"MIT"
] | null | null | null | #include "bcd_decoder.h"
void bcd_decoder::decode() {
unsigned int val_int;
val_int = val.read();
lo.write(val_int % 10);
hi.write((val_int / 10) % 10);
}
| 13.583333 | 31 | 0.650307 | maanjum95 |
f372c31709f18de4f38166523cad5c4a642d0615 | 4,133 | hpp | C++ | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | #ifndef CORE_EVENT_PROCESSOR_HPP
#define CORE_EVENT_PROCESSOR_HPP
#include "lua.hpp"
#include "Templates.hpp"
#include "LuaEventFilter.hpp"
namespace core {
class LuaListener {
};
struct EventTopicBase : public equal_comparable<EventTopicBase> {
std::type_index eventType = typeid(this);
};
template<ty... | 20.160976 | 120 | 0.720784 | skryabiin |
f373684547054be3fc460716c5b91ac47e6622dd | 5,971 | cc | C++ | src/net/disk_cache/simple/simple_index_unittest.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | net/disk_cache/simple/simple_index_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/disk_cache/simple/simple_index_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright (c) 2013 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 "base/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/hash.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.... | 36.631902 | 80 | 0.732206 | jxjnjjn |