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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0835c0274bfc544a1f0bcb3953c322fc1bba3b9d | 2,362 | cpp | C++ | Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/icd2/mmio/mmio.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 1,414 | 2015-06-28T09:57:51.000Z | 2021-10-14T03:51:10.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/icd2/mmio/mmio.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 2,369 | 2015-06-25T01:45:44.000Z | 2021-10-16T08:44:18.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/icd2/mmio/mmio.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 430 | 2015-06-29T04:28:58.000Z | 2021-10-05T18:24:17.000Z | #ifdef ICD2_CPP
//convert linear pixel data { 0x00, 0x55, 0xaa, 0xff } to 2bpp planar tiledata
void ICD2::render(const uint16 *source) {
memset(lcd.output, 0x00, 320 * sizeof(uint16));
for(unsigned y = 0; y < 8; y++) {
for(unsigned x = 0; x < 160; x++) {
unsigned pixel = *source++;
unsigned addr =... | 24.350515 | 92 | 0.546571 | redscientistlabs |
0838510a006e06108c5319dd79c131f2c16bf7b3 | 1,031 | cpp | C++ | example/basic/d3d_renderer.cpp | area55git/dynamix | c800209c6f467c19065235e87cbfe60171e75d68 | [
"MIT"
] | null | null | null | example/basic/d3d_renderer.cpp | area55git/dynamix | c800209c6f467c19065235e87cbfe60171e75d68 | [
"MIT"
] | null | null | null | example/basic/d3d_renderer.cpp | area55git/dynamix | c800209c6f467c19065235e87cbfe60171e75d68 | [
"MIT"
] | null | null | null | // DynaMix
// Copyright (c) 2013-2016 Borislav Stanimirov, Zahary Karadjov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// https://opensource.org/licenses/MIT
//
#include "basic.hpp"
#include "d3d_renderer.hpp"
#include "rendering_messages.hpp"
#include "transform_mes... | 26.435897 | 80 | 0.690592 | area55git |
083f05a3f9243aa0df1528f44d7ca3d4e6d82808 | 1,281 | cpp | C++ | src/guiCamera.cpp | moxor/remoteX-1 | 49e8cf3f4025425edcf6e4e4e8f7505b83570652 | [
"MIT"
] | 2 | 2015-09-23T23:35:33.000Z | 2015-11-04T21:50:45.000Z | src/guiCamera.cpp | nanu-c/remoteX-1 | 49e8cf3f4025425edcf6e4e4e8f7505b83570652 | [
"MIT"
] | null | null | null | src/guiCamera.cpp | nanu-c/remoteX-1 | 49e8cf3f4025425edcf6e4e4e8f7505b83570652 | [
"MIT"
] | 1 | 2015-09-05T15:07:04.000Z | 2015-09-05T15:07:04.000Z | #include "guiCamera.h"
void GuiCamera::setup(){
cameraParameters.add(gCtoggleOnOff.set("Camera On/Off",false));
//cameraParameters.add(gCtoggleShowImage.set("Camera show image",false));
//cameraParameters.add(gCtoggleGrayscale.set("Camera grayscale",false));
//cameraParameters.add(gCtoggleMask.set("Cam... | 44.172414 | 113 | 0.735363 | moxor |
0840f62ec3147029925c2304cbb066c160be164f | 949 | cpp | C++ | android-31/android/renderscript/Script_FieldBase.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/renderscript/Script_FieldBase.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/renderscript/Script_FieldBase.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "./Allocation.hpp"
#include "./Element.hpp"
#include "./RenderScript.hpp"
#include "./Type.hpp"
#include "./Script_FieldBase.hpp"
namespace android::renderscript
{
// Fields
// QJniObject forward
Script_FieldBase::Script_FieldBase(QJniObject obj) : JObject(obj) {}
// Constructors
// Methods
androi... | 20.191489 | 74 | 0.708114 | YJBeetle |
08418e8cfd403298cc6b5247455469aa83411b8c | 586 | hpp | C++ | detail/dynamic_loading.hpp | isadchenko/brig | 3e65a44fa4b8690cdfa8bdaca08d560591afcc38 | [
"MIT"
] | null | null | null | detail/dynamic_loading.hpp | isadchenko/brig | 3e65a44fa4b8690cdfa8bdaca08d560591afcc38 | [
"MIT"
] | null | null | null | detail/dynamic_loading.hpp | isadchenko/brig | 3e65a44fa4b8690cdfa8bdaca08d560591afcc38 | [
"MIT"
] | null | null | null | // Andrew Naplavkov
#ifndef BRIG_DETAIL_DYNAMIC_LOADING_HPP
#define BRIG_DETAIL_DYNAMIC_LOADING_HPP
#include <brig/detail/stringify.hpp>
#ifdef _WIN32
#include <windows.h>
#define BRIG_DL_LIBRARY(win, lin) LoadLibraryA(win)
#define BRIG_DL_FUNCTION(lib, fun) (decltype(fun)*)GetProcAddress(lib, BRIG_S... | 27.904762 | 94 | 0.754266 | isadchenko |
0846ad49573f690806d542070818bce698a9dd07 | 12,579 | cpp | C++ | Lib/Tools/FilterTool.cpp | vfdev-5/GeoImageViewer | 31e8d6c9340a742c0ffad4c159338da2c15564d7 | [
"Apache-2.0"
] | 3 | 2016-08-27T10:46:43.000Z | 2022-03-11T11:39:37.000Z | Lib/Tools/FilterTool.cpp | vfdev-5/GeoImageViewer | 31e8d6c9340a742c0ffad4c159338da2c15564d7 | [
"Apache-2.0"
] | null | null | null | Lib/Tools/FilterTool.cpp | vfdev-5/GeoImageViewer | 31e8d6c9340a742c0ffad4c159338da2c15564d7 | [
"Apache-2.0"
] | 2 | 2016-08-27T10:46:45.000Z | 2018-06-06T01:50:54.000Z |
// Qt
#include <QPainter>
#include <QAction>
#include <QGraphicsItem>
#include <QGraphicsPixmapItem>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QGraphicsSceneMouseEvent>
#include <QWheelEvent>
#include <QPoint>
#include <qmath.h>
// Opencv
#include <opencv2/imgproc/imgproc.hpp>
// P... | 32.672727 | 126 | 0.479688 | vfdev-5 |
36b02faad043d5086efea43c41e3631cc5b93616 | 1,005 | cpp | C++ | MTD/Player.cpp | Hapaxia/MyPracticeBeginnerGames | 2289c05677c9630a78fa9188c9c81c33846e2860 | [
"MIT"
] | 7 | 2015-08-28T06:57:14.000Z | 2019-07-24T18:18:21.000Z | MTD/Player.cpp | Hapaxia/MyPracticeBeginnerGames | 2289c05677c9630a78fa9188c9c81c33846e2860 | [
"MIT"
] | 1 | 2016-02-12T17:07:32.000Z | 2016-02-19T19:22:09.000Z | MTD/Player.cpp | Hapaxia/MyPracticeBeginnerGames | 2289c05677c9630a78fa9188c9c81c33846e2860 | [
"MIT"
] | 1 | 2019-10-13T03:54:41.000Z | 2019-10-13T03:54:41.000Z | #include "Player.hpp"
#include <Plinth/Sfml/Generic.hpp>
namespace
{
const pl::Vector2d playerSize{ 64.0, 32.0 };
constexpr double initialSpeed{ 300.0 };
const double minimumPosition{ 0.0 + playerSize.x / 2.0 };
}
Player::Player(const sf::RenderWindow& window, const double dt, const Graphics& graphics)
: m_dt(dt)
... | 18.272727 | 89 | 0.711443 | Hapaxia |
36b0f5b84cceeaeb398f514b32f30eac377e812d | 6,323 | cpp | C++ | sky/engine/bindings/core/v8/custom/V8InjectedScriptManager.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | sky/engine/bindings/core/v8/custom/V8InjectedScriptManager.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | null | null | null | sky/engine/bindings/core/v8/custom/V8InjectedScriptManager.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.000Z | /*
* Copyright (C) 2012 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... | 53.134454 | 207 | 0.779061 | viettrungluu-cr |
36b48f5cf7e7cd1fc16c9ab380c51c84f0857e67 | 2,693 | cpp | C++ | services/diffpatch/diffpatch.cpp | openharmony-gitee-mirror/update_updater | 72393623a6aa9d08346da98433bb3bdbe5f07120 | [
"Apache-2.0"
] | null | null | null | services/diffpatch/diffpatch.cpp | openharmony-gitee-mirror/update_updater | 72393623a6aa9d08346da98433bb3bdbe5f07120 | [
"Apache-2.0"
] | null | null | null | services/diffpatch/diffpatch.cpp | openharmony-gitee-mirror/update_updater | 72393623a6aa9d08346da98433bb3bdbe5f07120 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:07:24.000Z | 2021-09-13T12:07:24.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 35.906667 | 104 | 0.67137 | openharmony-gitee-mirror |
36b7c352f9c44a8b4fb1fd8d260eddc313d4a4e7 | 22,899 | cpp | C++ | perception/object_segmentation/src/object_segmentation.cpp | probabilistic-anchoring/probanch | cfba24fd431ed7e7109b715018e344d7989f565d | [
"Apache-2.0"
] | 1 | 2020-02-27T14:00:27.000Z | 2020-02-27T14:00:27.000Z | perception/object_segmentation/src/object_segmentation.cpp | probabilistic-anchoring/probanch | cfba24fd431ed7e7109b715018e344d7989f565d | [
"Apache-2.0"
] | null | null | null | perception/object_segmentation/src/object_segmentation.cpp | probabilistic-anchoring/probanch | cfba24fd431ed7e7109b715018e344d7989f565d | [
"Apache-2.0"
] | null | null | null |
#include <opencv2/highgui/highgui.hpp>
#include <algorithm>
#include <ros/ros.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl_ros/transforms.h>
#include <pcl/io/pcd_io.h>
#include <opencv2/opencv.hpp>
#include <cv_bridge/cv_bridge.h>
#include <image_geometry/pinhole_camera_model.h>
#include <sensor_ms... | 34.907012 | 181 | 0.649373 | probabilistic-anchoring |
36b81c19aeda7c00fbd9db5ed053f3783b4ca23b | 26,872 | cpp | C++ | src/components/SuperContainer.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | src/components/SuperContainer.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | src/components/SuperContainer.cpp | hhyyrylainen/DualViewPP | 1fb4a1db85a8509342e16d68c75d4ec7721ced9e | [
"MIT"
] | null | null | null | // ------------------------------------ //
#include "SuperContainer.h"
#include "Common.h"
#include "DualView.h"
using namespace DV;
// ------------------------------------ //
//#define SUPERCONTAINER_RESIZE_REFLOW_CHECK_ONLY_FIRST_ROW
SuperContainer::SuperContainer() :
Gtk::ScrolledWindow(), View(get_hadjustme... | 24.384755 | 95 | 0.578818 | hhyyrylainen |
36babb2c262f98e60e259cada00e847ab0b90a80 | 6,585 | cpp | C++ | src/xr_3da/xrGame/WeaponKnife.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | src/xr_3da/xrGame/WeaponKnife.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | null | null | null | src/xr_3da/xrGame/WeaponKnife.cpp | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | #include "stdafx.h"
#include "WeaponKnife.h"
#include "WeaponHUD.h"
#include "Entity.h"
#include "Actor.h"
#include "level.h"
#include "xr_level_controller.h"
#include "game_cl_base.h"
#include "../skeletonanimated.h"
#include "gamemtllib.h"
#include "level_bullet_manager.h"
#include "ai_sounds.h"
#defi... | 24.209559 | 102 | 0.646773 | ixray-team |
36bcb60be3238f2450f2728f16905b857754c02b | 31,539 | cpp | C++ | examples/Chapter-16/Chapter-16.cpp | kamarianakis/glGA-edu | 17f0b33c3ea8efcfa8be01d41343862ea4e6fae0 | [
"BSD-4-Clause-UC"
] | 4 | 2018-08-22T03:43:30.000Z | 2021-03-11T18:20:27.000Z | examples/Chapter-16/Chapter-16.cpp | kamarianakis/glGA-edu | 17f0b33c3ea8efcfa8be01d41343862ea4e6fae0 | [
"BSD-4-Clause-UC"
] | 7 | 2020-10-06T16:34:12.000Z | 2020-12-06T17:29:22.000Z | examples/Chapter-16/Chapter-16.cpp | kamarianakis/glGA-edu | 17f0b33c3ea8efcfa8be01d41343862ea4e6fae0 | [
"BSD-4-Clause-UC"
] | 71 | 2015-03-26T10:28:04.000Z | 2021-11-07T10:09:12.000Z | // basic STL streams
#include <iostream>
#include <sstream>
// GLEW lib
// http://glew.sourceforge.net/basic.html
#include <GL/glew.h>
// Update 05/08/16
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <ImGUI/imgui.h>
#include <ImGUI/imgui_impl_sdl.h>
#include <ImGUI/imgui_impl_opengl3.h>
// Here we deci... | 28.724044 | 208 | 0.658645 | kamarianakis |
36bcb83a85750fe14f9e9c24b01732fb4e79ed37 | 488 | cpp | C++ | framework/platform/bpl/uci/cfg/bpl_cfg_extra.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | framework/platform/bpl/uci/cfg/bpl_cfg_extra.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | framework/platform/bpl/uci/cfg/bpl_cfg_extra.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | 1 | 2022-02-01T20:52:12.000Z | 2022-02-01T20:52:12.000Z | /* SPDX-License-Identifier: BSD-2-Clause-Patent
*
* Copyright (c) 2016-2019 Intel Corporation
*
* This code is subject to the terms of the BSD+Patent license.
* See LICENSE file for more details.
*/
#include "../../common/utils/utils.h"
#include <bpl/bpl_cfg.h>
#include "bpl_cfg_helper.h"
#include "bpl_cfg_uci.... | 20.333333 | 63 | 0.715164 | ydx-coder |
36bccc26957afceea2334910837427fffb054d04 | 18 | hpp | C++ | src/color/LabCH/trait/index/index.hpp | 3l0w/color | e42d0933b6b88564807bcd5f49e9c7f66e24990a | [
"Apache-2.0"
] | 120 | 2015-12-31T22:30:14.000Z | 2022-03-29T15:08:01.000Z | src/color/LabCH/trait/index/index.hpp | 3l0w/color | e42d0933b6b88564807bcd5f49e9c7f66e24990a | [
"Apache-2.0"
] | 6 | 2016-08-22T02:14:56.000Z | 2021-11-06T22:39:52.000Z | src/color/LabCH/trait/index/index.hpp | 3l0w/color | e42d0933b6b88564807bcd5f49e9c7f66e24990a | [
"Apache-2.0"
] | 23 | 2016-02-03T01:56:26.000Z | 2021-09-28T16:36:27.000Z | // Use default !!! | 18 | 18 | 0.555556 | 3l0w |
36bf61d242ffb5ca97f4578297884555bdbdf857 | 1,827 | cpp | C++ | sound/SoundLoader.cpp | mathall/nanaka | 0304f444702318a83d221645d4e5f3622082c456 | [
"BSD-2-Clause"
] | 2 | 2017-03-31T19:01:22.000Z | 2017-05-18T08:14:37.000Z | sound/SoundLoader.cpp | mathall/nanaka | 0304f444702318a83d221645d4e5f3622082c456 | [
"BSD-2-Clause"
] | null | null | null | sound/SoundLoader.cpp | mathall/nanaka | 0304f444702318a83d221645d4e5f3622082c456 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2013, Mathias Hällman. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condi... | 39.717391 | 79 | 0.763547 | mathall |
36c00318268ef72413a57bb5d1a43004c2df9ed9 | 1,166 | cpp | C++ | dynamic_programming/longest_common_subsequence.cpp | ShiyuSky/Algorithms | a2255ae55e0efb248d40ed02f86517252d66b6a3 | [
"MIT"
] | null | null | null | dynamic_programming/longest_common_subsequence.cpp | ShiyuSky/Algorithms | a2255ae55e0efb248d40ed02f86517252d66b6a3 | [
"MIT"
] | null | null | null | dynamic_programming/longest_common_subsequence.cpp | ShiyuSky/Algorithms | a2255ae55e0efb248d40ed02f86517252d66b6a3 | [
"MIT"
] | null | null | null | /* A DP solution for solving LCS problem */
#include "stdafx.h"
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
void printArray(vector<vector<int>> arr) {
for (int i = 0; i < arr.size(); i++) {
for (int j = 0; j < arr[i].size(); j++) {
cout <<... | 22.862745 | 56 | 0.418525 | ShiyuSky |
36c6594f3268cf5af00e9a1138aa720568ed77d4 | 1,149 | hpp | C++ | include/flexlib/reflect/ReflectAST.hpp | blockspacer/flexlib | 92c957d4cf8f172769c204962733dafbdfc71bd9 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-03-25T16:32:53.000Z | 2021-03-25T16:32:53.000Z | include/flexlib/reflect/ReflectAST.hpp | blockspacer/flexlib | 92c957d4cf8f172769c204962733dafbdfc71bd9 | [
"Apache-2.0",
"MIT"
] | null | null | null | include/flexlib/reflect/ReflectAST.hpp | blockspacer/flexlib | 92c957d4cf8f172769c204962733dafbdfc71bd9 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-05-19T01:00:50.000Z | 2020-05-19T01:00:50.000Z | #pragma once
#include "flexlib/reflect/ReflTypes.hpp"
/// \todo improve based on p1240r1
/// http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2019/p1240r1.pdf
namespace reflection
{
using namespace clang;
class AstReflector
{
public:
explicit AstReflector(const clang::ASTContext* context)
: m_astCont... | 31.054054 | 123 | 0.763272 | blockspacer |
36c66a485241128197440c641fe991ff3f27d266 | 921 | cpp | C++ | QRDemo/src/AppResourceId.cpp | NetBUG/qrbus-tizen | 56e34a4dc5e36b538a184fea3494ed3f1d9e4fe3 | [
"MIT"
] | 1 | 2015-02-28T20:48:32.000Z | 2015-02-28T20:48:32.000Z | QRDemo/src/AppResourceId.cpp | NetBUG/qrbus-tizen | 56e34a4dc5e36b538a184fea3494ed3f1d9e4fe3 | [
"MIT"
] | null | null | null | QRDemo/src/AppResourceId.cpp | NetBUG/qrbus-tizen | 56e34a4dc5e36b538a184fea3494ed3f1d9e4fe3 | [
"MIT"
] | null | null | null | //
// Tizen C++ SDK
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://floralicense.org/license
//
// Unless required by app... | 34.111111 | 75 | 0.7481 | NetBUG |
36c8dbd0d882712a284c6fa1bab1cf9471a95ed3 | 11,573 | hh | C++ | harfbuzz/src/hb-ot-shape-complex.hh | ebraminio/rustybuzz | 07d9419d04d956d3f588b547dcd2b36576504c6e | [
"MIT"
] | null | null | null | harfbuzz/src/hb-ot-shape-complex.hh | ebraminio/rustybuzz | 07d9419d04d956d3f588b547dcd2b36576504c6e | [
"MIT"
] | null | null | null | harfbuzz/src/hb-ot-shape-complex.hh | ebraminio/rustybuzz | 07d9419d04d956d3f588b547dcd2b36576504c6e | [
"MIT"
] | null | null | null | /*
* Copyright © 2010,2011,2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* ... | 36.739683 | 117 | 0.674847 | ebraminio |
36c98c01f0c20fba89bc0feaf240e9a76625de58 | 625 | hpp | C++ | math/float-binomial.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 69 | 2020-11-06T05:21:42.000Z | 2022-03-29T03:38:35.000Z | math/float-binomial.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 21 | 2020-07-25T04:47:12.000Z | 2022-02-01T14:39:29.000Z | math/float-binomial.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 9 | 2020-11-06T11:55:10.000Z | 2022-03-20T04:45:31.000Z | #pragma once
struct FloatBinomial {
vector<long double> f;
static constexpr long double LOGZERO = -1e10;
FloatBinomial(int MAX) {
f.resize(MAX + 1, 0.0);
f[0] = 0.0;
for (int i = 1; i <= MAX; i++) {
f[i] = f[i - 1] + logl(i);
}
}
long double logfac(int n) const { return f[n]; }
l... | 20.833333 | 52 | 0.5248 | NachiaVivias |
36cbdaa2b0d941a4c7ea550331381399cb1cd38b | 809 | hpp | C++ | libmuscle/cpp/src/libmuscle/tests/mocks/mock_post_office.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 11 | 2018-03-12T10:43:46.000Z | 2020-06-01T10:58:56.000Z | libmuscle/cpp/src/libmuscle/tests/mocks/mock_post_office.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 85 | 2018-03-03T15:10:56.000Z | 2022-03-18T14:05:14.000Z | libmuscle/cpp/src/libmuscle/tests/mocks/mock_post_office.hpp | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 6 | 2018-03-12T10:47:11.000Z | 2022-02-03T13:44:07.000Z | #pragma once
#include <ymmsl/ymmsl.hpp>
#include <libmuscle/data.hpp>
#include <libmuscle/mcp/message.hpp>
#include <libmuscle/outbox.hpp>
namespace libmuscle { namespace impl {
class MockPostOffice {
public:
MockPostOffice() = default;
bool has_message(ymmsl::Reference const & receiver);
... | 20.74359 | 60 | 0.647713 | DongweiYe |
36ccd20b1e19181f9dbd163524824989c7a25fa6 | 4,640 | cc | C++ | scripts/MPM/extractTaylor.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 3 | 2020-06-10T08:21:31.000Z | 2020-06-23T18:33:16.000Z | scripts/MPM/extractTaylor.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | null | null | null | scripts/MPM/extractTaylor.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 2 | 2019-12-30T05:48:30.000Z | 2020-02-12T16:24:16.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2019 The University of Utah
*
* 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
* right... | 32.907801 | 79 | 0.581466 | QuocAnh90 |
36cf1e47419932fcf550e9faa181b2c3cebdc745 | 2,865 | cpp | C++ | p16_3Sum_Closest/p16.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | p16_3Sum_Closest/p16.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | p16_3Sum_Closest/p16.cpp | Song1996/Leetcode | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
using namespace std;
class VectorTools{
public:
void sorted(vector<int>::iterator first, vector<int>::iterator last) {
if (first == last || first + 1 == last) return;
vector<int>::iterator pivot = first;
int temp;
for (vector<int>... | 31.483516 | 99 | 0.456545 | Song1996 |
36d0ab4c2efd30629b6ebebe34477a232522789d | 1,675 | hh | C++ | example/TerrainTestPlugin.hh | osrf/swarm | 1a2e4040b12b686ed7a13e32301d538b1c7d0b1d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-04-20T20:03:18.000Z | 2021-04-20T20:03:18.000Z | example/TerrainTestPlugin.hh | osrf/swarm | 1a2e4040b12b686ed7a13e32301d538b1c7d0b1d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | example/TerrainTestPlugin.hh | osrf/swarm | 1a2e4040b12b686ed7a13e32301d538b1c7d0b1d | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-03-16T14:38:38.000Z | 2021-03-16T14:38:38.000Z | /*
*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 34.183673 | 76 | 0.740896 | osrf |
36d1cff0cf64b80c3b49d8d78a787821d90d250d | 4,635 | cpp | C++ | dev/src/BicycleFrontPanel/model/cwheelitemmodel.cpp | CountrySideEngineer/BicycleFrontPanel | de13a984f726d282f1703f9096dd61ef287806e9 | [
"MIT"
] | null | null | null | dev/src/BicycleFrontPanel/model/cwheelitemmodel.cpp | CountrySideEngineer/BicycleFrontPanel | de13a984f726d282f1703f9096dd61ef287806e9 | [
"MIT"
] | null | null | null | dev/src/BicycleFrontPanel/model/cwheelitemmodel.cpp | CountrySideEngineer/BicycleFrontPanel | de13a984f726d282f1703f9096dd61ef287806e9 | [
"MIT"
] | null | null | null | #include <QString>
#include "cwheelitemmodel.h"
/**
* @brief CWheelItemModel::VelocityValueConverter::Value2String Convert velocity value
* in uint32_t data type into QString.
* The ... | 38.625 | 117 | 0.683927 | CountrySideEngineer |
36d4d03b69b7060acc9e7e8f7f471f686cd66552 | 9,866 | cc | C++ | src/media/vnext/lib/stream_sink/stream_queue_unittests.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/media/vnext/lib/stream_sink/stream_queue_unittests.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2021-09-19T21:55:09.000Z | 2021-12-19T03:34:53.000Z | src/media/vnext/lib/stream_sink/stream_queue_unittests.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia 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 <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/async/cpp/executor.h>
#include <lib/async/cpp/task.h>
#include <gte... | 28.188571 | 99 | 0.673018 | allansrc |
36d5c9692803b4dfe7ba391eb9d26a999f31bd75 | 5,141 | cc | C++ | Source/BladeDevice/source/graphics/RenderTarget.cc | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/BladeDevice/source/graphics/RenderTarget.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/BladeDevice/source/graphics/RenderTarget.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /********************************************************************
created: 2010/04/10
filename: RenderTarget.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include <graphics/RenderTarget.h>
#include <interface/public/graphics/IRender... | 28.72067 | 164 | 0.458277 | OscarGame |
36d6aac80fcc8785b501d16a86751f3957c96025 | 14,101 | cpp | C++ | moments/PointCloudIO.cpp | mlangbe/moments | 167ab1e77e4e9732396418f38dfec0bad75724ac | [
"MTLL"
] | null | null | null | moments/PointCloudIO.cpp | mlangbe/moments | 167ab1e77e4e9732396418f38dfec0bad75724ac | [
"MTLL"
] | null | null | null | moments/PointCloudIO.cpp | mlangbe/moments | 167ab1e77e4e9732396418f38dfec0bad75724ac | [
"MTLL"
] | null | null | null | /*
I/O of pointclouds to/from different formats
This file is part of the source code used for the calculation of the moment invariants
as described in the dissertation of Max Langbein
https://nbn-resolving.org/urn:nbn:de:hbz:386-kluedo-38558
Copyright (C) 2020 TU Kaiserslautern, Prof.Dr. Hans Hagen (AG Computerg... | 18.101412 | 108 | 0.593575 | mlangbe |
36d7aaf76585cc36ae40b39321d159d3c9ea741f | 1,410 | cpp | C++ | src/icebox/icebox/symbols/map.cpp | IMULMUL/icebox | 60586590472d7816645fa1f087b45c1ed08d794b | [
"MIT"
] | null | null | null | src/icebox/icebox/symbols/map.cpp | IMULMUL/icebox | 60586590472d7816645fa1f087b45c1ed08d794b | [
"MIT"
] | null | null | null | src/icebox/icebox/symbols/map.cpp | IMULMUL/icebox | 60586590472d7816645fa1f087b45c1ed08d794b | [
"MIT"
] | null | null | null | #include "symbols.hpp"
#define FDP_MODULE "map"
#include "indexer.hpp"
#include "interfaces/if_symbols.hpp"
#include "log.hpp"
#include <fstream>
#include <sstream>
namespace
{
bool setup(symbols::Indexer& indexer, const fs::path& filename)
{
auto filestream = std::ifstream(filename);
if(!fil... | 27.115385 | 120 | 0.595745 | IMULMUL |
36d8b3c3a14b9dd41c049f40863c11dad7d88bdf | 5,195 | cc | C++ | slib_physics/source/physx/handler/physx_character_handler.cc | KarlJansson/ecs_game_engine | c76b7379d8ff913cd7773d0a9f55535996abdf35 | [
"MIT"
] | 1 | 2018-05-18T10:42:35.000Z | 2018-05-18T10:42:35.000Z | slib_physics/source/physx/handler/physx_character_handler.cc | KarlJansson/ecs_game_engine | c76b7379d8ff913cd7773d0a9f55535996abdf35 | [
"MIT"
] | null | null | null | slib_physics/source/physx/handler/physx_character_handler.cc | KarlJansson/ecs_game_engine | c76b7379d8ff913cd7773d0a9f55535996abdf35 | [
"MIT"
] | null | null | null | #include "physx_character_handler.h"
#include "actor.h"
#include "camera.h"
#include "character.h"
#include "entity_manager.h"
#include "gui_text.h"
#include "transform.h"
namespace lib_physics {
PhysxCharacterHandler::PhysxCharacterHandler(physx::PxPhysics* phys,
physx::Px... | 34.865772 | 80 | 0.673147 | KarlJansson |
36d90a9d2f205f7dd6d81a633cf19adc4a370e0f | 3,217 | cpp | C++ | inst/tmbTCSAM/src/tmbTCSAM.cpp | wStockhausen/tmbTCSAM02 | 258a3e28f4a8e26acde34e6bf4c68ccae71a541d | [
"MIT"
] | 1 | 2020-09-12T17:48:09.000Z | 2020-09-12T17:48:09.000Z | inst/tmbTCSAM/src/tmbTCSAM.cpp | wStockhausen/tmbTCSAM02 | 258a3e28f4a8e26acde34e6bf4c68ccae71a541d | [
"MIT"
] | null | null | null | inst/tmbTCSAM/src/tmbTCSAM.cpp | wStockhausen/tmbTCSAM02 | 258a3e28f4a8e26acde34e6bf4c68ccae71a541d | [
"MIT"
] | null | null | null | #include <TMB.hpp>
#include <string>
const int DEBUG = 0;
#include "../include/tmbTCSAM.hpp"
template<class Type>
Type objective_function<Type>::operator() () {
//get data objects
DATA_INTEGER(debug); //flag to print debugging info
wtsPRINTSTR_DEBUG("Printing debugging information")
DATA_STRUCT(stMC... | 36.146067 | 90 | 0.625427 | wStockhausen |
36da1e360ce0da410eb20da9549f2a2066be0d6d | 1,095 | cpp | C++ | archive/3/metody_nauczania_50.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | 2 | 2019-05-04T09:37:09.000Z | 2019-05-22T18:07:28.000Z | archive/3/metody_nauczania_50.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | null | null | null | archive/3/metody_nauczania_50.cpp | Aleshkev/algoritmika | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef intmax_t I;
typedef pair<I, I> II;
int main()
{
cout.sync_with_stdio(false);
cin.tie(0);
I n, k;
cin >> n >> k;
vector<I> t(n);
for(I i = 0; i < n; ++i) {
t[i] = i * 2;
//cin >> t[i];
}
sort(t.begin(), t.end());
... | 18.87931 | 71 | 0.32968 | Aleshkev |
36de9c6f31259b37b89d8aecb81b0d5fffcd87c3 | 1,646 | cc | C++ | doc/examples/point_index.cc | ClickHouse/s2geometry | 471fe9dc931a4bb560333545186e9b5da168ac83 | [
"Apache-2.0"
] | null | null | null | doc/examples/point_index.cc | ClickHouse/s2geometry | 471fe9dc931a4bb560333545186e9b5da168ac83 | [
"Apache-2.0"
] | null | null | null | doc/examples/point_index.cc | ClickHouse/s2geometry | 471fe9dc931a4bb560333545186e9b5da168ac83 | [
"Apache-2.0"
] | 2 | 2021-08-30T02:45:09.000Z | 2022-01-10T11:19:01.000Z | // Copyright 2017 Google Inc. All Rights Reserved.
// Author: ericv@google.com (Eric Veach)
//
// This example shows how to build and query an in-memory index of points
// using S2PointIndex.
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include "s2/base/commandlineflags.h"
#include "s2/s2earth.h"
#inclu... | 35.021277 | 77 | 0.723572 | ClickHouse |
36dfdd8a5da413cff936a6d8378abeee3c0d05bc | 40,347 | cpp | C++ | lib/src/payload_adapter_db.cpp | dmarkh/cdbnpp | 9f008e348851e7aa3f2a9b53bd4b0e620006909f | [
"MIT"
] | null | null | null | lib/src/payload_adapter_db.cpp | dmarkh/cdbnpp | 9f008e348851e7aa3f2a9b53bd4b0e620006909f | [
"MIT"
] | null | null | null | lib/src/payload_adapter_db.cpp | dmarkh/cdbnpp | 9f008e348851e7aa3f2a9b53bd4b0e620006909f | [
"MIT"
] | null | null | null |
#include "npp/cdb/payload_adapter_db.h"
#include <mutex>
#include "npp/util/base64.h"
#include "npp/util/json_schema.h"
#include "npp/util/log.h"
#include "npp/util/rng.h"
#include "npp/util/util.h"
#include "npp/util/uuid.h"
#include "npp/cdb/http_client.h"
namespace NPP {
namespace CDB {
using namespace soci;
... | 29.493421 | 192 | 0.607678 | dmarkh |
36e01df1d46b2bddb7d044aa15d81da88b418584 | 20,216 | cpp | C++ | test/performance-regression/full-apps/graph500-2.1.4/mpi-tuned-2d/mpi/main.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 55 | 2015-07-28T01:32:58.000Z | 2022-02-27T16:27:46.000Z | test/performance-regression/full-apps/graph500-2.1.4/mpi-tuned-2d/mpi/main.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 66 | 2015-06-15T20:38:19.000Z | 2020-08-26T00:11:43.000Z | test/performance-regression/full-apps/graph500-2.1.4/mpi-tuned-2d/mpi/main.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | /* Copyright (C) 2010-2013 The Trustees of Indiana University. */
/* */
/* Use, modification and distribution is subject to the Boost Software */
/* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at */
/* http:... | 41.596708 | 284 | 0.608281 | JKChenFZ |
36e06e4f6d47893031c9ff684f6b947afa6c7565 | 6,808 | cc | C++ | CalibTracker/SiStripCommon/plugins/ShallowSimhitClustersProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 2 | 2020-05-09T16:03:43.000Z | 2020-05-09T16:03:50.000Z | CalibTracker/SiStripCommon/plugins/ShallowSimhitClustersProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | CalibTracker/SiStripCommon/plugins/ShallowSimhitClustersProducer.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2019-03-09T13:06:43.000Z | 2020-07-03T00:47:30.000Z | #include "CalibTracker/SiStripCommon/interface/ShallowSimhitClustersProducer.h"
#include "CalibTracker/SiStripCommon/interface/ShallowTools.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "MagneticField/Records/interface/IdealMagne... | 50.058824 | 119 | 0.706522 | NTrevisani |
36e620388180ad0ab7afe89498544e17c16012a9 | 24,455 | cc | C++ | src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc | mcr/kea | 7fbbfde2a0742a3d579d51ec94fc9b91687fb901 | [
"Apache-2.0"
] | 1 | 2019-08-10T21:52:58.000Z | 2019-08-10T21:52:58.000Z | src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc | jxiaobin/kea | 1987a50a458921f9e5ac84cb612782c07f3b601d | [
"Apache-2.0"
] | null | null | null | src/hooks/dhcp/high_availability/tests/query_filter_unittest.cc | jxiaobin/kea | 1987a50a458921f9e5ac84cb612782c07f3b601d | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <ha_test.h>
#include <ha_config.h>
#inclu... | 38.0919 | 80 | 0.702678 | mcr |
36e8b5bf3ef22888bb6e6902762aa3c7ca325007 | 651 | cpp | C++ | tests/src/test_FeatureKey.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | null | null | null | tests/src/test_FeatureKey.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | 2 | 2019-04-23T17:24:04.000Z | 2019-04-23T17:28:46.000Z | tests/src/test_FeatureKey.cpp | paddy74/lowletorfeats | 9305554d6af1bf156fccae1f383b83f32445275b | [
"MIT"
] | null | null | null | #include <lowletorfeats/base/FeatureKey.hpp>
int main()
{
// Test constructors
lowletorfeats::base::FeatureKey fKey;
fKey = lowletorfeats::base::FeatureKey(fKey);
fKey = lowletorfeats::base::FeatureKey("invalid.invalid.invalid");
fKey = lowletorfeats::base::FeatureKey("invalid", "invalid", "invalid... | 25.038462 | 76 | 0.652842 | paddy74 |
36ec61a33a3fde0b7b74289192ccf13c8e08b6cb | 507 | hpp | C++ | src/base/LogHandler.hpp | coderkd10/EternalTerminal | d15bb726d987bd147480125d694de44a2ea6ce83 | [
"Apache-2.0"
] | 3 | 2019-08-09T10:44:51.000Z | 2019-11-06T00:21:23.000Z | src/base/LogHandler.hpp | coderkd10/EternalTerminal | d15bb726d987bd147480125d694de44a2ea6ce83 | [
"Apache-2.0"
] | null | null | null | src/base/LogHandler.hpp | coderkd10/EternalTerminal | d15bb726d987bd147480125d694de44a2ea6ce83 | [
"Apache-2.0"
] | 2 | 2019-09-22T12:58:00.000Z | 2019-10-02T13:25:01.000Z | #ifndef __ET_LOG_HANDLER__
#define __ET_LOG_HANDLER__
#include "Headers.hpp"
namespace et {
class LogHandler {
public:
static el::Configurations setupLogHandler(int *argc, char ***argv);
static void setupLogFile(el::Configurations *defaultConf, string filename,
string maxlogsize = "209... | 29.823529 | 76 | 0.727811 | coderkd10 |
36ecb1a36b187e2f45679edef94a3cec564c5769 | 2,929 | cpp | C++ | src/llvmir2hll/graphs/cfg/cfg_traversals/var_use_cfg_traversal.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | src/llvmir2hll/graphs/cfg/cfg_traversals/var_use_cfg_traversal.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | src/llvmir2hll/graphs/cfg/cfg_traversals/var_use_cfg_traversal.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file src/llvmir2hll/graphs/cfg/cfg_traversals/var_use_cfg_traversal.cpp
* @brief Implementation of VarUseCFGTraversal.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "retdec/llvmir2hll/analysis/value_analysis.h"
#include "retdec/llvmir2hll/graphs/cfg/cfg_traversals/var_use_cfg_... | 30.831579 | 80 | 0.742916 | mehrdad-shokri |
36edc45801b2a8d45231f91a54027d633c065ded | 1,686 | cpp | C++ | Mystring.cpp | hahafeijidawang/MyString | 9a519e6f13f96d0a7f6dac962e465f9fc7f833d9 | [
"MIT"
] | null | null | null | Mystring.cpp | hahafeijidawang/MyString | 9a519e6f13f96d0a7f6dac962e465f9fc7f833d9 | [
"MIT"
] | null | null | null | Mystring.cpp | hahafeijidawang/MyString | 9a519e6f13f96d0a7f6dac962e465f9fc7f833d9 | [
"MIT"
] | null | null | null | #include<iostream>
#include<Mystring.h>
#include<string.h>
#include<stdio.h>
using namespace std;
MyString::MyString(){
//无参构成一个空串
m_len=0;
m_p=new char[m_len+1];
strcpy(m_p,"");
}
MyString::MyString(const char *p){
if(p==NULL){
m_len=0;
m_p=new char[m_len+1];... | 11.315436 | 51 | 0.488731 | hahafeijidawang |
36eed8568f8ce1627f33bdda4a73d34ac068ec98 | 11,454 | hpp | C++ | stapl_release/stapl/views/filter_view.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/views/filter_view.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/views/filter_view.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 37.309446 | 80 | 0.535359 | parasol-ppl |
36ef7a08ca71c7c28ceef8b7c12e8fecad20c317 | 8,008 | cpp | C++ | KDIS/DataTypes/GED_EnhancedGroundCombatSoldier.cpp | TangramFlex/KDIS_Fork | 698d81a2de8b6df3fc99bb31b9d31eaa5368fda4 | [
"BSD-2-Clause"
] | null | null | null | KDIS/DataTypes/GED_EnhancedGroundCombatSoldier.cpp | TangramFlex/KDIS_Fork | 698d81a2de8b6df3fc99bb31b9d31eaa5368fda4 | [
"BSD-2-Clause"
] | null | null | null | KDIS/DataTypes/GED_EnhancedGroundCombatSoldier.cpp | TangramFlex/KDIS_Fork | 698d81a2de8b6df3fc99bb31b9d31eaa5368fda4 | [
"BSD-2-Clause"
] | null | null | null | /*********************************************************************
Copyright 2013 Karl Jones
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above c... | 34.222222 | 154 | 0.567932 | TangramFlex |
36ef9e7917fb0a0d32dacf6edecf22c33551d246 | 13,358 | cpp | C++ | Cappuccino/src/Cappuccino/Mesh.cpp | Promethaes/CappuccinoEngine | e0e2dacaf14c8176d4fbc0d85645783e364a06a4 | [
"MIT"
] | 5 | 2019-10-25T11:51:08.000Z | 2020-01-09T00:56:24.000Z | Cappuccino/src/Cappuccino/Mesh.cpp | Promethaes/CappuccinoEngine | e0e2dacaf14c8176d4fbc0d85645783e364a06a4 | [
"MIT"
] | 145 | 2019-09-10T18:33:49.000Z | 2020-02-02T09:59:23.000Z | Cappuccino/src/Cappuccino/Mesh.cpp | Promethaes/CappuccinoEngine | e0e2dacaf14c8176d4fbc0d85645783e364a06a4 | [
"MIT"
] | null | null | null | #include "Cappuccino/Mesh.h"
#include "Cappuccino/CappMacros.h"
#include "Cappuccino/ResourceManager.h"
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <sstream>
using string = std::string;
namespace Cappuccino {
struct FaceData {
... | 32.501217 | 166 | 0.647477 | Promethaes |
36f12182c28662271f907f14b30cbef66baaeefe | 1,586 | hh | C++ | util/id-types.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 10 | 2016-12-28T22:06:31.000Z | 2021-05-24T13:42:30.000Z | util/id-types.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 4 | 2015-10-09T23:55:10.000Z | 2020-04-04T08:09:22.000Z | util/id-types.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | null | null | null | // -*- coding: us-ascii-unix -*-
// Copyright 2013 Lukas Kemmer
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You
// may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 22.027778 | 70 | 0.69483 | lukas-ke |
36f5f1cfe35ad2bc9d0cfbf58e334d7983ec3147 | 4,801 | cc | C++ | src/theia/sfm/view_graph/view_graph_test.cc | LEON-MING/TheiaSfM_Leon | 8ac187b80100ad7f52fe9af49fa4a0db6db226b9 | [
"BSD-3-Clause"
] | 3 | 2019-01-17T17:37:37.000Z | 2021-03-26T09:21:38.000Z | src/theia/sfm/view_graph/view_graph_test.cc | LEON-MING/TheiaSfM_Leon | 8ac187b80100ad7f52fe9af49fa4a0db6db226b9 | [
"BSD-3-Clause"
] | null | null | null | src/theia/sfm/view_graph/view_graph_test.cc | LEON-MING/TheiaSfM_Leon | 8ac187b80100ad7f52fe9af49fa4a0db6db226b9 | [
"BSD-3-Clause"
] | 3 | 2019-09-09T03:34:20.000Z | 2020-05-21T06:00:50.000Z | // Copyright (C) 2014 The Regents of the University of California (Regents).
// 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... | 32.659864 | 78 | 0.725057 | LEON-MING |
36f6067521e6947e4595e9989ec5213cd4420d67 | 10,370 | cpp | C++ | Mary/Game/StyleSwitcher.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | Mary/Game/StyleSwitcher.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | Mary/Game/StyleSwitcher.cpp | wangxh1007/ddmk | a6ff276d96b663e71b3ccadabc2d92c50c18ebac | [
"Zlib"
] | null | null | null | #include "StyleSwitcher.h"
uint64 Game_StyleSwitcher_counter = 0;
PrivateStart;
byte8 * StyleControllerProxy = 0;
byte8 * GunslingerGetStyleLevel = 0;
byte8 * VergilDynamicStyle = 0;
void UpdateStyle(byte8 * baseAddr, uint32 index)
{
auto actor = System_Actor_GetActorId(baseAddr);
auto & character = *(u... | 29.047619 | 174 | 0.643684 | wangxh1007 |
36f6f960413fd520167a2834a398d3f7fc80fb31 | 2,451 | cpp | C++ | testrunner/main.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 39 | 2018-08-26T05:53:19.000Z | 2021-12-11T07:47:24.000Z | testrunner/main.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 1 | 2018-06-21T00:40:41.000Z | 2018-06-21T00:40:46.000Z | testrunner/main.cpp | ducaddepar/ProgrammingContest | 4c47cada50ed23bd841cfea06a377a4129d4d88f | [
"MIT"
] | 8 | 2018-08-27T00:34:23.000Z | 2020-09-27T12:51:22.000Z | #include "/Users/duc/github/ContestNeko/CodeForces/TaskD.cpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <cctype>
#include <ctime>
namespace jhelper {
struct Test {
std::string input;
std::string output;
bool active;
bool has_output;
};
bool check(... | 31.025316 | 189 | 0.518972 | ducaddepar |
36f82dba5adb44908ab284b453ade94d0325c5af | 25,405 | cpp | C++ | tmc3/TMC3.cpp | jokerld/TMC13v5-Cluster | aa8d8d8be31f1723f8909abe73673fc160d2f837 | [
"BSD-3-Clause"
] | null | null | null | tmc3/TMC3.cpp | jokerld/TMC13v5-Cluster | aa8d8d8be31f1723f8909abe73673fc160d2f837 | [
"BSD-3-Clause"
] | null | null | null | tmc3/TMC3.cpp | jokerld/TMC13v5-Cluster | aa8d8d8be31f1723f8909abe73673fc160d2f837 | [
"BSD-3-Clause"
] | null | null | null | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 31.83584 | 80 | 0.678331 | jokerld |
36fb2647450aa8082f242d7f72b1c37d058c5fae | 15,885 | cc | C++ | components/autofill/core/browser/ui/label_formatter_utils.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill/core/browser/ui/label_formatter_utils.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill/core/browser/ui/label_formatter_utils.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2019 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 "components/autofill/core/browser/ui/label_formatter_utils.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include "base/bind.h"... | 38.002392 | 90 | 0.678691 | Ron423c |
36fc1c809ad5a96ab02b25419f5d245897616720 | 241 | cpp | C++ | c02/2_8.cpp | brynhayder/accelerated-cpp | e26796486ba410db566c0f8acc392f32f20330a9 | [
"MIT"
] | null | null | null | c02/2_8.cpp | brynhayder/accelerated-cpp | e26796486ba410db566c0f8acc392f32f20330a9 | [
"MIT"
] | null | null | null | c02/2_8.cpp | brynhayder/accelerated-cpp | e26796486ba410db566c0f8acc392f32f20330a9 | [
"MIT"
] | null | null | null | // Compute product of numbers in [1, 10)
#include <iostream>
int main(){
int sup = 10;
int start = 1;
int j = start;
for (int i = 1; i != sup; i++){
j *= i;
}
std::cout << j << std::endl;
return 0;
} | 17.214286 | 40 | 0.46888 | brynhayder |
36fcb56badb878b9545909bde5a5f58231e658df | 1,004 | cpp | C++ | prime.cpp | Ki-Seki/codes-algorithm | 8bb2204a700e489927276cec3506cd748cf8867f | [
"MIT"
] | null | null | null | prime.cpp | Ki-Seki/codes-algorithm | 8bb2204a700e489927276cec3506cd748cf8867f | [
"MIT"
] | null | null | null | prime.cpp | Ki-Seki/codes-algorithm | 8bb2204a700e489927276cec3506cd748cf8867f | [
"MIT"
] | null | null | null | /*
* hint:
* 素数相关的算法,包括:
* 使用 sqrt 来优化的素数判断函数
* 使用平方技巧来优化的素数判断函数
* 求素数表:埃氏筛法,Eratosthenes 筛法
*/
#include <iostream>
#include <cmath>
// 使用 sqrt 来优化的素数判断函数
// 需要 <cmath>
bool is_prime(int n)
{
for (int i = 2; i <= (int) sqrt(n * 1.0); i++)
if (n % i == 0)
return false;
return true;
}
/... | 18.943396 | 50 | 0.506972 | Ki-Seki |
36fdd20bb432b6609c99f6890af33f354a7f1bc4 | 30,332 | cpp | C++ | mainwindow.cpp | LaudateCorpus1/testcad | fd3fd325070d1e29732625b1e5b791f696a8dcd7 | [
"MIT"
] | 2 | 2018-11-15T12:51:38.000Z | 2021-03-18T09:38:10.000Z | mainwindow.cpp | LaudateCorpus1/testcad | fd3fd325070d1e29732625b1e5b791f696a8dcd7 | [
"MIT"
] | null | null | null | mainwindow.cpp | LaudateCorpus1/testcad | fd3fd325070d1e29732625b1e5b791f696a8dcd7 | [
"MIT"
] | 3 | 2021-03-18T09:38:30.000Z | 2022-03-25T10:38:24.000Z | #include <QtWidgets>
#include <QScreen>
#include "mainwindow.h"
MainWindow::MainWindow()
{
this->setWindowIcon(QIcon(":/icons/testCADIcon.png"));
QStringList labels;
labels << tr(STRING_COMPONENTS) << " ≠" << tr(STRING_COMMENTS);
treeWidget = new QTreeWidget;
treeWidget->setHeaderLabels(labels);... | 33.553097 | 129 | 0.603356 | LaudateCorpus1 |
3c03e17ef65317f049b8248ef42a63996158f3fd | 2,903 | hpp | C++ | src/ucx/endpoint.hpp | biddisco/oomph | df6d2251b9ce49da9394bb8c06de65bbb034cdff | [
"BSD-3-Clause"
] | null | null | null | src/ucx/endpoint.hpp | biddisco/oomph | df6d2251b9ce49da9394bb8c06de65bbb034cdff | [
"BSD-3-Clause"
] | null | null | null | src/ucx/endpoint.hpp | biddisco/oomph | df6d2251b9ce49da9394bb8c06de65bbb034cdff | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2021, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#pragma once
#include <oomph/communicator.hpp>
#include <oomph/util/moved_bit.hpp>
#include "./address.hpp"
#include <chrono>
... | 28.460784 | 100 | 0.605236 | biddisco |
3c04b9ae8784aaee3a69e010701e3c2c96eb94a6 | 379 | cpp | C++ | cpp_analysis/bin/example.cpp | shahrukhqasim/HGCalML | 2808564b31c89d9b7eb882734f6aebc6f35e94f3 | [
"BSD-3-Clause"
] | null | null | null | cpp_analysis/bin/example.cpp | shahrukhqasim/HGCalML | 2808564b31c89d9b7eb882734f6aebc6f35e94f3 | [
"BSD-3-Clause"
] | null | null | null | cpp_analysis/bin/example.cpp | shahrukhqasim/HGCalML | 2808564b31c89d9b7eb882734f6aebc6f35e94f3 | [
"BSD-3-Clause"
] | null | null | null |
#include "TString.h"
#include "friendTreeInjector.h"
#include <iostream>
int main(int argc, char* argv[]){
if(argc<2) return -1;
TString infile = argv[1];
friendTreeInjector intree;
intree.addFromFile(infile);
intree.setSourceTreeName("tree");
intree.createChain();
auto c = intree.get... | 16.478261 | 45 | 0.646438 | shahrukhqasim |
3c05633c545f47b9d3e23b1d3bc6f5a6bc1702e6 | 1,318 | cpp | C++ | src/cpp/DP/dp_minimus_path_sum.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | null | null | null | src/cpp/DP/dp_minimus_path_sum.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | 1 | 2018-10-24T05:48:27.000Z | 2018-10-24T05:52:14.000Z | src/cpp/DP/dp_minimus_path_sum.cpp | spurscoder/forTest | 2ab069d6740f9d7636c6988a5a0bd3825518335d | [
"MIT"
] | null | null | null | /*
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at any point in time.
Example:
Input:
[
[1,3,1],
[1,5,1],
[4,2,1]
]
Output: 7
Explanation: Because the path 1→3→1... | 23.535714 | 149 | 0.492413 | spurscoder |
3c077ea42a66e002809b23be1a8b2645f6657c2b | 2,980 | cpp | C++ | SierraChart2/Time.cpp | AndrewAMD/SierraChartZorroPlugin | 43d3645e17a8349fb6d3dffa541c91d0a51222d7 | [
"MIT"
] | 26 | 2018-11-09T07:43:49.000Z | 2021-09-10T06:15:47.000Z | SierraChart2/Time.cpp | AndrewAMD/SierraChartZorroPlugin | 43d3645e17a8349fb6d3dffa541c91d0a51222d7 | [
"MIT"
] | 1 | 2021-02-02T11:50:42.000Z | 2021-02-02T13:58:08.000Z | SierraChart2/Time.cpp | AndrewAMD/SierraChartZorroPlugin | 43d3645e17a8349fb6d3dffa541c91d0a51222d7 | [
"MIT"
] | 10 | 2019-01-03T08:38:30.000Z | 2022-03-30T02:26:57.000Z | #include "pch.h"
#include "framework.h"
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "Time.h"
#include "StrBufs.h"
#include "client.h"
#include "banned.h" //must include last
int g_RequestRateLimit_ms = 100;
namespace cro = std::chrono;
... | 25.042017 | 119 | 0.632215 | AndrewAMD |
3c0b3cd97beaebbf482b79a10e1560101192cf5f | 423 | cpp | C++ | src/libs/router_db/Constants.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/router_db/Constants.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/router_db/Constants.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "keto/router_db/Constants.hpp"
namespace keto {
namespace router_db {
const char* Constants::ROUTER_INDEX = "routes"... | 16.92 | 79 | 0.699764 | burntjam |
3c0cd3ea765a310ea68a85662f4612d06c3e8a03 | 117 | cpp | C++ | tests/Issue182.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 1,853 | 2018-05-13T21:49:17.000Z | 2022-03-30T10:34:45.000Z | tests/Issue182.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 398 | 2018-05-15T14:48:51.000Z | 2022-03-24T12:14:33.000Z | tests/Issue182.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 104 | 2018-05-15T04:00:59.000Z | 2022-03-17T02:04:15.000Z | typedef int my_cb(int dst, int len, int dat);
int f(my_cb cb, void *dat);
int f(my_cb cb, void *dat)
{
return 0;
}
| 14.625 | 45 | 0.649573 | galorojo |
3c0d3bbd4140c391ef55f48e7426fd4b2ea3e05c | 6,289 | cpp | C++ | lib/CIndexStoreDB/CIndexStoreDB.cpp | gmittert/indexstore-db | 31ff487bd8d10531a9af761e4ecc1c929ccee2ff | [
"Apache-2.0"
] | 1 | 2021-07-07T15:38:50.000Z | 2021-07-07T15:38:50.000Z | lib/CIndexStoreDB/CIndexStoreDB.cpp | DalavanCloud/indexstore-db | b1258a6827e988a4d9988e5fddf4d4e95cbd59bb | [
"Apache-2.0"
] | null | null | null | lib/CIndexStoreDB/CIndexStoreDB.cpp | DalavanCloud/indexstore-db | b1258a6827e988a4d9988e5fddf4d4e95cbd59bb | [
"Apache-2.0"
] | null | null | null | //===--- CIndexStoreDB.cpp ------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 29.805687 | 86 | 0.732231 | gmittert |
3c0ddf64227cf33b25892c86a24f34c8c134766c | 219,191 | cpp | C++ | multimedia/directx/dsound/dsound/dsbuf.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/directx/dsound/dsound/dsbuf.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/directx/dsound/dsound/dsbuf.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /***************************************************************************
*
* Copyright (C) 1995-2001 Microsoft Corporation. All Rights Reserved.
*
* File: dsbuf.cpp
* Content: DirectSound Buffer object
* History:
* Date By Reason
* ==== == ======
* 12/27/96... | 27.787906 | 213 | 0.542276 | npocmaka |
3c0f3a82dccea0a7b94e19dc5d8f525af56dc64c | 5,882 | hpp | C++ | src/lib/nas/storage.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 16 | 2020-04-16T02:07:37.000Z | 2020-07-23T10:48:27.000Z | src/lib/nas/storage.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 8 | 2020-07-13T17:11:35.000Z | 2020-08-03T16:46:31.000Z | src/lib/nas/storage.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 9 | 2020-03-04T15:05:08.000Z | 2020-07-30T06:18:18.000Z | //
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#include <array>
#include <functional>
#include <optional>
#include <type_traits>
#i... | 20.858156 | 118 | 0.579735 | aligungr |
3c0f7ba66ef17898cc749620c5aade0186243f97 | 2,048 | hpp | C++ | ux/uxsysvipc.hpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | ux/uxsysvipc.hpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | ux/uxsysvipc.hpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | /*
Copyright 2003 by Marc J. Rochkind. All rights reserved.
May be copied only for purposes and under conditions described
on the Web page www.basepath.com/aup/copyright.htm.
The Example Files are provided "as is," without any warranty;
without even the implied warranty of merchantability or fitness
for a partic... | 23.011236 | 76 | 0.713867 | bachue |
3c10e19edcf66eac67ca39fb40ce1ee7359ac99c | 3,550 | cpp | C++ | DigitalPlayprint/lib/common/src/DPPType/DppScalarArray.cpp | magic-lantern-studio/mle-core-dpp | ec901206b718c57163d8ac62afab7a1e1d6371d9 | [
"MIT"
] | null | null | null | DigitalPlayprint/lib/common/src/DPPType/DppScalarArray.cpp | magic-lantern-studio/mle-core-dpp | ec901206b718c57163d8ac62afab7a1e1d6371d9 | [
"MIT"
] | null | null | null | DigitalPlayprint/lib/common/src/DPPType/DppScalarArray.cpp | magic-lantern-studio/mle-core-dpp | ec901206b718c57163d8ac62afab7a1e1d6371d9 | [
"MIT"
] | null | null | null | /** @defgroup MleDPPType Magic Lantern Digital Playprint Library API - Type */
/**
* @file DppScalarArray.h
* @ingroup MleDPPType
*
* This file implements the scalar array data type used by the Magic Lantern Digital
* Playprint Library API.
*
* @author Mark S. Millard
* @created February 6, 2004
*/
// COPYRI... | 27.51938 | 84 | 0.738592 | magic-lantern-studio |
3c10fb00d9bc967b0e278f171ba3e607debedeeb | 7,330 | cpp | C++ | src/V8Snapshot.cpp | pengwei1024/V8Study.x86 | 7d82da573b57f8d1d00b85778e2a3853d21c28e9 | [
"Apache-2.0"
] | 2 | 2021-05-26T08:12:17.000Z | 2022-01-22T07:07:04.000Z | src/V8Snapshot.cpp | pengwei1024/V8Study.x86 | 7d82da573b57f8d1d00b85778e2a3853d21c28e9 | [
"Apache-2.0"
] | null | null | null | src/V8Snapshot.cpp | pengwei1024/V8Study.x86 | 7d82da573b57f8d1d00b85778e2a3853d21c28e9 | [
"Apache-2.0"
] | null | null | null | //
// Created by Peng,Wei(BAMRD) on 2021/4/2.
// https://github.com/tosone/bundleNode/blob/aaf04fd200a56f3f5b60c1c691877c192c6448af/deps/v8/src/startup-data-util.cc
//
#include <v8.h>
#include "V8Snapshot.h"
#include "V8Engine.h"
#include "GlobalObject.h"
#include "Utils.hpp"
#ifdef WIN32
#include <io.h>
#include <di... | 38.783069 | 210 | 0.619645 | pengwei1024 |
3c11133c5185b8e7beeab83e5b639d2086a62ca1 | 154 | cpp | C++ | lib/AsciiArtParsers/LinesParser/LinesParser.cpp | dodikk/AsciiBresenheim | e107d1e8773826868edb83e0f56a8052ce73a264 | [
"BSD-4-Clause"
] | 1 | 2022-03-13T00:42:02.000Z | 2022-03-13T00:42:02.000Z | lib/AsciiArtParsers/LinesParser/LinesParser.cpp | dodikk/AsciiBresenheim | e107d1e8773826868edb83e0f56a8052ce73a264 | [
"BSD-4-Clause"
] | null | null | null | lib/AsciiArtParsers/LinesParser/LinesParser.cpp | dodikk/AsciiBresenheim | e107d1e8773826868edb83e0f56a8052ce73a264 | [
"BSD-4-Clause"
] | null | null | null | #include "StdAfx.h"
#include "LinesParser.h"
using namespace AsciiArt::Parser;
LinesParser::LinesParser(void)
{
}
LinesParser::~LinesParser(void)
{
}
| 11 | 33 | 0.733766 | dodikk |
3c12e06c7798ed0b2fa2dd80f7b1ff2bbf2c6118 | 4,037 | cpp | C++ | 05-Map/src/Sokoban.cpp | eXpl0it3r/SFML-Workshop | 0a42acc8a4aa48d44f3191b7472ea1f666381dee | [
"Unlicense"
] | 9 | 2019-06-11T16:55:25.000Z | 2020-05-06T14:59:28.000Z | 05-Map/src/Sokoban.cpp | eXpl0it3r/SFML-Workshop | 0a42acc8a4aa48d44f3191b7472ea1f666381dee | [
"Unlicense"
] | null | null | null | 05-Map/src/Sokoban.cpp | eXpl0it3r/SFML-Workshop | 0a42acc8a4aa48d44f3191b7472ea1f666381dee | [
"Unlicense"
] | null | null | null | #include "Sokoban.hpp"
Sokoban::Sokoban() :
m_window_size{ 640u, 640u },
m_distance{ 64.f },
m_tile_size{ m_distance, m_distance },
m_window{ sf::VideoMode{ m_window_size.x, m_window_size.y }, "05 - Map - SFML Workshop" }
{
m_window.setFramerateLimit(60);
m_texture_holder.load("tilesheet", "as... | 28.230769 | 99 | 0.55462 | eXpl0it3r |
3c18d01176bba72ebd3e73829eec458c78ec502c | 1,762 | hpp | C++ | src/jngl/shapes.hpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 61 | 2015-09-30T14:42:38.000Z | 2022-03-30T13:56:54.000Z | src/jngl/shapes.hpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 57 | 2016-08-10T19:28:36.000Z | 2022-03-15T07:18:00.000Z | src/jngl/shapes.hpp | jhasse/jngl | 1aab1bb5b9712eca50786418d44e9559373441a8 | [
"Zlib"
] | 3 | 2021-12-14T18:08:56.000Z | 2022-02-23T08:29:19.000Z | // Copyright 2012-2020 Jan Niklas Hasse <jhasse@bixense.com>
// For conditions of distribution and use, see copyright notice in LICENSE.txt
/// Functions for drawing shapes
/// @file
#pragma once
#include "Color.hpp"
#include "Vec2.hpp"
namespace jngl {
/// Sets the color which should be used to draw primitives
///
... | 28.885246 | 100 | 0.747446 | jhasse |
3c1a076c7a89670cc4eab31bc9a78b6a04661ccf | 91 | cc | C++ | kythe/cxx/indexer/cxx/testdata/basic/inline_namespace.cc | bowlofstew/kythe | 23a3524de3924901ffaba4b8bcab8abe96de6f3a | [
"Apache-2.0"
] | 1 | 2021-04-24T08:18:15.000Z | 2021-04-24T08:18:15.000Z | kythe/cxx/indexer/cxx/testdata/basic/inline_namespace.cc | bowlofstew/kythe | 23a3524de3924901ffaba4b8bcab8abe96de6f3a | [
"Apache-2.0"
] | 3 | 2020-12-31T09:08:34.000Z | 2021-09-28T05:42:02.000Z | kythe/cxx/indexer/cxx/testdata/basic/inline_namespace.cc | moul/kythe | 2e198cc818981fc6cffa14d8263fda3a33da6429 | [
"Apache-2.0"
] | null | null | null | // We index inline namespaces.
//- @ns defines/binding NamespaceNS
inline namespace ns {
}
| 18.2 | 35 | 0.736264 | bowlofstew |
3c1a841992e6b972b684dae30d628b652f4f73b6 | 3,101 | cpp | C++ | src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/formula/function/FunctionMetadata.java
#include <org/apache/poi/ss/formula/function/FunctionMetadata.hpp>
#include <java/lang/Class.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/String.hpp>
#include <java/lang/StringBuffer.hpp>
#include <Array.hpp>... | 29.817308 | 204 | 0.722348 | pebble2015 |
3c1d5e34e805702a010f50bccd41ab7061c3b41e | 4,952 | cc | C++ | tests/unit/features/StreamingHashedDocDotFeatures_unittest.cc | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | 2 | 2021-08-12T18:11:06.000Z | 2021-11-17T10:56:49.000Z | tests/unit/features/StreamingHashedDocDotFeatures_unittest.cc | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | null | null | null | tests/unit/features/StreamingHashedDocDotFeatures_unittest.cc | cloner1984/shogun | 901c04b2c6550918acf0594ef8afeb5dcd840a7d | [
"BSD-3-Clause"
] | null | null | null | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Evangelos Anagnostopoulos, Soeren Sonnenburg, Bjoern Esser
*/
#include <gtest/gtest.h>
#include <shogun/features/streaming/StreamingHashedDocDotFeatures.h>
#include <shogun/lib/SGString.h>
#include <shogun/lib/SGStringLis... | 31.541401 | 109 | 0.715468 | cloner1984 |
3c1d63800364e0bf556edb34acb28747baf5219b | 1,336 | cpp | C++ | src/DiscreteDynamicsWorldMultiThreaded.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 245 | 2015-01-02T14:11:26.000Z | 2022-03-18T08:56:36.000Z | src/DiscreteDynamicsWorldMultiThreaded.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 50 | 2015-01-04T22:32:21.000Z | 2021-06-08T20:26:24.000Z | src/DiscreteDynamicsWorldMultiThreaded.cpp | AndresTraks/BulletSharp | c277666667f91c58191f4cfa97f117053de679ef | [
"MIT"
] | 69 | 2015-04-03T15:38:44.000Z | 2022-01-20T14:27:30.000Z | #include "StdAfx.h"
#ifndef DISABLE_UNCOMMON
#include "BroadphaseInterface.h"
#include "CollisionConfiguration.h"
#include "DiscreteDynamicsWorldMultiThreaded.h"
#include "Dispatcher.h"
#include "SequentialImpulseConstraintSolver.h"
ConstraintSolverPoolMultiThreaded::ConstraintSolverPoolMultiThreaded(int ... | 30.363636 | 111 | 0.802395 | AndresTraks |
3c212a879e77cb386fd32337d492e15ca6ab8a88 | 5,170 | cpp | C++ | include/shacl/optional/Type/test/value_or.test.cpp | shacl/optional | 02dc7ed2b923e3afb223817c47c239e2fab45c8f | [
"BSD-3-Clause"
] | null | null | null | include/shacl/optional/Type/test/value_or.test.cpp | shacl/optional | 02dc7ed2b923e3afb223817c47c239e2fab45c8f | [
"BSD-3-Clause"
] | null | null | null | include/shacl/optional/Type/test/value_or.test.cpp | shacl/optional | 02dc7ed2b923e3afb223817c47c239e2fab45c8f | [
"BSD-3-Clause"
] | null | null | null | #include "shacl/optional.hpp"
#include "catch2/catch.hpp"
SCENARIO("value_or"){
struct U {
mutable bool copiedFrom = false;
mutable bool movedFrom = false;
};
struct T {
mutable bool copiedFrom = false;
mutable bool movedFrom = false;
T() = default;
T(T&& that) { that.movedFrom = true; ... | 27.945946 | 70 | 0.543327 | shacl |
3c240845a9bb3630bf9d4c90d20c950b8293124f | 2,283 | cpp | C++ | lib/duden/LdFile.cpp | nonwill/lsd2dsl | 00e2a9832666dff03667b07815d73fab3fa8378e | [
"MIT"
] | 66 | 2015-01-17T16:57:38.000Z | 2022-02-06T15:29:54.000Z | lib/duden/LdFile.cpp | nonwill/lsd2dsl | 00e2a9832666dff03667b07815d73fab3fa8378e | [
"MIT"
] | 19 | 2015-02-08T15:35:12.000Z | 2022-01-26T10:46:11.000Z | lib/duden/LdFile.cpp | nongeneric/lsd2dsl | 4bf92b42b1ae47eee8e0b71bc04224dc037bd549 | [
"MIT"
] | 18 | 2015-03-23T07:06:07.000Z | 2022-01-15T21:03:04.000Z | #include "LdFile.h"
#include "Duden.h"
#include <boost/regex.hpp>
#include <boost/algorithm/string.hpp>
namespace duden {
LdFile parseLdFile(dictlsd::IRandomAccessStream* stream) {
LdFile ld;
ld.references.push_back({"WEB", "Web", "W"});
std::string line;
while (readLine(stream, line)) {
boo... | 30.851351 | 87 | 0.536575 | nonwill |
3c2597efb9131b6c7f0c3995ad59971d945792c9 | 12,202 | cpp | C++ | Sources/Tools/EPI/Document/Properties/PtySky.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | Sources/Tools/EPI/Document/Properties/PtySky.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | Sources/Tools/EPI/Document/Properties/PtySky.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | 46.572519 | 128 | 0.612523 | benkaraban |
3c27f69dfe490a67babef9a7a7bac0cf785a8b47 | 7,263 | cpp | C++ | GameItself/game.cpp | hcim38/PROJECT | 7e4b4e2d8d2783b0c452463ccae00ff35d3594d5 | [
"MIT"
] | null | null | null | GameItself/game.cpp | hcim38/PROJECT | 7e4b4e2d8d2783b0c452463ccae00ff35d3594d5 | [
"MIT"
] | null | null | null | GameItself/game.cpp | hcim38/PROJECT | 7e4b4e2d8d2783b0c452463ccae00ff35d3594d5 | [
"MIT"
] | null | null | null | #include "game.h"
Game::Game()
{
qrTexturePtr = new QResource(":/Textures/Resources/hex-tex.png");
qrFontPtr = new QResource(":/Fonts/Resources/Lato-Regular.ttf");
texture.loadFromMemory(qrTexturePtr->data(), qrTexturePtr->size()); //lading resources
font.loadFromMemory(qrFontPtr->data(), qrFontPtr->s... | 31.578261 | 100 | 0.480793 | hcim38 |
3c286fa71809c84a909ccf9dd6e4c6cc960d524a | 1,086 | cpp | C++ | Online Judges/SPOJ/RPLN - Negative Score/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/SPOJ/RPLN - Negative Score/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/SPOJ/RPLN - Negative Score/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
using namespace std;
int v[100001], st[512345];
inline int goleft(int n) {return n << 1;}
inline int goright(int n) {return (n << 1) + 1;}
void build(int n, int s, int e) {
if (s == e) {
st[n] = v[s];
} else {
int m = (s + e) >> 1;
build(goleft(n), s, m);
... | 20.111111 | 61 | 0.402394 | AnneLivia |
3c293f244f4de113c85546bfd196752d3c6e8249 | 533 | cpp | C++ | Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | null | null | null | Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | null | null | null | Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp | Yunxiang-Li/Cpp_Primer | b5c857e3f6be993b2ff8fc03f634141ae24925fc | [
"MIT"
] | 1 | 2021-09-30T14:08:03.000Z | 2021-09-30T14:08:03.000Z | #include <iostream>
using std::cin;
using std::cout;
using std::iterator;
using std::begin;
using std::end;
/**
* Using pointers, write a program to set the elements in an array to zero.
*/
int main()
{
//Initialize a 10-length array.
int arr[10];
//Use pointer to assign each value to zero.
for (au... | 13.666667 | 75 | 0.577861 | Yunxiang-Li |
3c2b5e9d1e60c07c19c55545055d7daa9f6fd4dd | 9,042 | cpp | C++ | NOLF/ClientShellDLL/LightningFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 38 | 2019-09-16T14:46:42.000Z | 2022-03-10T20:28:10.000Z | NOLF/ClientShellDLL/LightningFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 39 | 2019-08-12T01:35:33.000Z | 2022-02-28T16:48:16.000Z | NOLF/ClientShellDLL/LightningFX.cpp | haekb/nolf1-modernizer | 25bac3d43c40a83b8e90201a70a14ef63b4240e7 | [
"Unlicense"
] | 6 | 2019-09-17T12:49:18.000Z | 2022-03-10T20:28:12.000Z | // ----------------------------------------------------------------------- //
//
// MODULE : LightningFX.cpp
//
// PURPOSE : Lightning special FX - Implementation
//
// CREATED : 4/15/99
//
// (c) 1999 Monolith Productions, Inc. All Rights Reserved
//
// ---------------------------------------------------------------... | 25.908309 | 90 | 0.603185 | haekb |
3c32c44ec2ae71806881e0bed2134d4330619d30 | 9,670 | hpp | C++ | security/L1/include/xf_security/msgpack.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | 1 | 2021-09-11T01:05:01.000Z | 2021-09-11T01:05:01.000Z | security/L1/include/xf_security/msgpack.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | null | null | null | security/L1/include/xf_security/msgpack.hpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 31.396104 | 120 | 0.543744 | vmayoral |
3c332ee44712746f8ef25ff3dee54d2f18cec212 | 7,589 | cpp | C++ | .sandbox/hybrid-daes/dae-drumboiler/src/laws.cpp | vacary/siconos-tutorials | 93c0158321077a313692ed52fed69ff3c256ae32 | [
"Apache-2.0"
] | 6 | 2017-01-12T23:09:28.000Z | 2021-03-20T17:03:58.000Z | .sandbox/hybrid-daes/dae-drumboiler/src/laws.cpp | vacary/siconos-tutorials | 93c0158321077a313692ed52fed69ff3c256ae32 | [
"Apache-2.0"
] | 3 | 2019-01-14T13:44:51.000Z | 2021-05-17T13:57:27.000Z | .sandbox/hybrid-daes/dae-drumboiler/src/laws.cpp | vacary/siconos-tutorials | 93c0158321077a313692ed52fed69ff3c256ae32 | [
"Apache-2.0"
] | 2 | 2019-10-22T13:30:39.000Z | 2020-10-06T10:19:57.000Z | #include "laws_cst.hpp"
#include "laws.hpp"
double rhov(const double &P_, const double &T_)
{
return P_/(R*T_);
}
double rhovdP(const double &P_, const double &T_)
{
return 1/(R*T_);
}
double rhovdT(const double &P_, const double &T_)
{
return -P_/(R*pow(T_,2.0));
}
/* Volumic mass of water -- */
doub... | 29.877953 | 89 | 0.572012 | vacary |
3c33bdec27a201db0f4d26fab96d506c6bb9ea87 | 1,254 | hpp | C++ | libTupl/src/tupl/LargeKeyError.hpp | cojen/TuplNative | 4a8fa2b90825fdfe8f563e910fa188f1ed851404 | [
"Apache-2.0"
] | 1 | 2016-07-15T14:50:58.000Z | 2016-07-15T14:50:58.000Z | libTupl/src/tupl/LargeKeyError.hpp | cojen/TuplNative | 4a8fa2b90825fdfe8f563e910fa188f1ed851404 | [
"Apache-2.0"
] | null | null | null | libTupl/src/tupl/LargeKeyError.hpp | cojen/TuplNative | 4a8fa2b90825fdfe8f563e910fa188f1ed851404 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2014 Brian S O'Neill
* Copyright (C) 2014 Vishal Parakh
*
* 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... | 28.5 | 78 | 0.699362 | cojen |
3c344f5483b92d3d53a547e37442984aaa53c74f | 611 | cpp | C++ | UUT/Video/Image.cpp | kolyden/uut-engine | aa8e5a42c350aceecee668941e06ac626aac6c52 | [
"MIT"
] | null | null | null | UUT/Video/Image.cpp | kolyden/uut-engine | aa8e5a42c350aceecee668941e06ac626aac6c52 | [
"MIT"
] | null | null | null | UUT/Video/Image.cpp | kolyden/uut-engine | aa8e5a42c350aceecee668941e06ac626aac6c52 | [
"MIT"
] | null | null | null | #include "Image.h"
namespace uut
{
UUT_OBJECT_IMPLEMENT(Image)
{}
Image::Image()
: _data(nullptr)
{
}
Image::~Image()
{
Destroy();
}
bool Image::Create(const Vector2i& size)
{
if (_size == size)
return true;
Destroy();
_data = SDL_CreateRGBSurface(0,
_size.x, _size.y, 32, 0, 0, 0, 0);
r... | 13 | 44 | 0.631751 | kolyden |
3c35a958121c6917278c070b6a48f025cdc27e77 | 1,559 | cpp | C++ | kernel/drivers/pic8042contr.cpp | CarboSauce/Gloxor | fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856 | [
"MIT"
] | 4 | 2021-07-14T20:24:24.000Z | 2021-07-16T06:49:48.000Z | kernel/drivers/pic8042contr.cpp | CarboSauce/Gloxor | fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856 | [
"MIT"
] | null | null | null | kernel/drivers/pic8042contr.cpp | CarboSauce/Gloxor | fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856 | [
"MIT"
] | null | null | null | #include "pic8042contr.hpp"
#include "asm/asmstubs.hpp"
#include "gloxor/modules.hpp"
#include "system/logging.hpp"
// everything is masked on startup
static glox::picContext picCtx{0xFF, 0xFF};
namespace glox::pic
{
void sendEoiSlave()
{
outb(PIC2_COMMAND, PIC_EOI);
}
void sendEoiMaster()
{
outb(PIC1_COMMAND... | 22.926471 | 100 | 0.6966 | CarboSauce |
3c3693c493f420216094c6039949a40685fac446 | 7,418 | cpp | C++ | src/effect/explosion.cpp | FreeAllegiance/AllegianceDX7 | 3955756dffea8e7e31d3a55fcf6184232b792195 | [
"MIT"
] | 76 | 2015-08-18T19:18:40.000Z | 2022-01-08T12:47:22.000Z | src/effect/explosion.cpp | StudentAlleg/Allegiance | e91660a471eb4e57e9cea4c743ad43a82f8c7b18 | [
"MIT"
] | 37 | 2015-08-14T22:44:12.000Z | 2020-01-21T01:03:06.000Z | src/effect/explosion.cpp | StudentAlleg/Allegiance | e91660a471eb4e57e9cea4c743ad43a82f8c7b18 | [
"MIT"
] | 42 | 2015-08-13T23:31:35.000Z | 2022-03-17T02:20:26.000Z | #include "explosion.h"
//////////////////////////////////////////////////////////////////////////////
//
// ExplosionGeo
//
//////////////////////////////////////////////////////////////////////////////
class ExplosionGeoImpl :
public ExplosionGeo
{
private:
///////////////////////////////////////////////////... | 29.553785 | 90 | 0.384201 | FreeAllegiance |
3c38182a5e9abea64fa191de9bb0c7e1b42dadfd | 3,813 | cc | C++ | mediapipe/framework/deps/file_helpers.cc | dwayne45/mediapipe | 731d2b95363d58f12acb29a6f8435ec33fe548d9 | [
"Apache-2.0"
] | 14 | 2020-01-23T15:21:28.000Z | 2022-01-15T16:22:40.000Z | mediapipe/framework/deps/file_helpers.cc | dwayne45/mediapipe | 731d2b95363d58f12acb29a6f8435ec33fe548d9 | [
"Apache-2.0"
] | 3 | 2020-06-04T13:17:46.000Z | 2021-09-14T15:28:23.000Z | mediapipe/framework/deps/file_helpers.cc | dwayne45/mediapipe | 731d2b95363d58f12acb29a6f8435ec33fe548d9 | [
"Apache-2.0"
] | 6 | 2019-11-21T02:16:23.000Z | 2020-04-05T16:19:59.000Z | // Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 31 | 78 | 0.643588 | dwayne45 |
3c391e37b3ccae6920d4150b7551e4a237718801 | 1,664 | hpp | C++ | typed_python/PyPythonSubclassInstance.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 7 | 2018-08-07T15:41:54.000Z | 2019-02-19T12:47:57.000Z | typed_python/PyPythonSubclassInstance.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 38 | 2018-10-17T13:37:46.000Z | 2019-04-11T20:50:14.000Z | typed_python/PyPythonSubclassInstance.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 4 | 2019-02-11T17:44:55.000Z | 2019-03-20T07:38:18.000Z | #pragma once
#include "PyInstance.hpp"
class PyPythonSubclassInstance : public PyInstance {
public:
typedef PythonSubclass modeled_type;
static void copyConstructFromPythonInstanceConcrete(PythonSubclass* eltType, instance_ptr tgt, PyObject* pyRepresentation, bool isExplicit) {
Type* argType = extrac... | 34.666667 | 145 | 0.680889 | braxtonmckee |
3c392fead2c793a0203aaeda00408eef499e15ab | 1,623 | cpp | C++ | decoders/cpp/usage_inherited_types.cpp | lpsandaruwan/schema | 1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c | [
"MIT"
] | 79 | 2019-02-19T10:16:04.000Z | 2022-03-29T00:37:13.000Z | decoders/cpp/usage_inherited_types.cpp | lpsandaruwan/schema | 1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c | [
"MIT"
] | 104 | 2019-03-31T20:01:02.000Z | 2022-03-18T06:28:05.000Z | decoders/cpp/usage_inherited_types.cpp | lpsandaruwan/schema | 1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c | [
"MIT"
] | 39 | 2019-04-01T02:24:59.000Z | 2022-03-23T02:40:06.000Z | #include <iostream>
#include "schema.h"
#include "InheritedTypes.hpp"
int main()
{
// const unsigned char encodedState[] = { 0, 0, 205, 244, 1, 1, 205, 32, 3, 193, 1, 0, 204, 200, 1, 205, 44, 1, 2, 166, 80, 108, 97, 121, 101, 114, 193, 2, 0, 100, 1, 204, 150, 2, 163, 66, 111, 116, 3, 204, 200, 193, 3, 213, 2, 3, 1... | 46.371429 | 246 | 0.510783 | lpsandaruwan |
3c3973b1261e81f56c154ba2a5ce46a351f7103b | 8,561 | cpp | C++ | exa_test/test/buffered_stream_test.cpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | exa_test/test/buffered_stream_test.cpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | exa_test/test/buffered_stream_test.cpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | #include <pch.h>
#include <exa/buffered_stream.hpp>
#include <exa/memory_stream.hpp>
#include <exa/concepts.hpp>
using namespace exa;
using namespace testing;
using namespace std::chrono_literals;
namespace
{
auto create_stream(std::shared_ptr<stream> s = std::make_shared<memory_stream>(), std::streamsize bs = 40... | 25.479167 | 112 | 0.546665 | chronos38 |
3c3a1262bdaffaba4318e26b3970727e030dc12e | 22,108 | cpp | C++ | samples/utils/CommandLineUtils.cpp | awslabs/aws-iot-device-sdk-cpp-v2 | b90ff7d9d324508f789bbce855e12787aec3ff6b | [
"Apache-2.0"
] | 11 | 2019-03-14T06:20:44.000Z | 2019-10-14T21:55:17.000Z | samples/utils/CommandLineUtils.cpp | awslabs/aws-iot-device-sdk-cpp-v2 | b90ff7d9d324508f789bbce855e12787aec3ff6b | [
"Apache-2.0"
] | 50 | 2019-02-22T08:34:49.000Z | 2019-11-21T03:44:11.000Z | samples/utils/CommandLineUtils.cpp | awslabs/aws-iot-device-sdk-cpp-v2 | b90ff7d9d324508f789bbce855e12787aec3ff6b | [
"Apache-2.0"
] | 7 | 2019-02-28T17:32:18.000Z | 2019-09-27T18:02:46.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include "CommandLineUtils.h"
#include <aws/crt/Api.h>
#include <aws/crt/Types.h>
#include <aws/crt/auth/Credentials.h>
#include <aws/crt/io/Pkcs11.h>
#include <iostream>
namespace Utils
{
CommandL... | 37.407783 | 119 | 0.621766 | awslabs |
3c3ea285eee4612a46df66a02a478785d4f434aa | 6,721 | cpp | C++ | ccore/tst/utest-pam_build.cpp | JosephChataignon/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 1,013 | 2015-01-26T19:50:14.000Z | 2022-03-31T07:38:48.000Z | ccore/tst/utest-pam_build.cpp | peterlau0626/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 542 | 2015-01-20T16:44:32.000Z | 2022-01-29T14:57:20.000Z | ccore/tst/utest-pam_build.cpp | peterlau0626/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 262 | 2015-03-19T07:28:12.000Z | 2022-03-30T07:28:24.000Z | /*!
@authors Andrei Novikov (pyclustering@yandex.ru)
@date 2014-2020
@copyright BSD-3-Clause
*/
#include <gtest/gtest.h>
#include "answer.hpp"
#include "samples.hpp"
#include <pyclustering/cluster/pam_build.hpp>
#include <pyclustering/utils/metric.hpp>
using namespace pyclustering;
using na... | 51.305344 | 193 | 0.759262 | JosephChataignon |
3c3f2dde1f8342c3664ec27b6acfdc460b0eb57d | 379 | cpp | C++ | library/Methods/Geometry/distance_ss.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 127 | 2019-07-22T03:52:01.000Z | 2022-03-11T07:20:21.000Z | library/Methods/Geometry/distance_ss.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 39 | 2019-09-16T12:04:53.000Z | 2022-03-29T15:43:35.000Z | library/Methods/Geometry/distance_ss.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 29 | 2019-08-10T11:27:06.000Z | 2022-03-11T07:02:43.000Z | #include "segment.cpp"
#include "is_intersect_ss.cpp"
#include "distance_sp.cpp"
namespace geometry {
// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=CGL_2_D
Real distance_ss(const Segment &a, const Segment &b) {
if(is_intersect_ss(a, b)) return 0;
return min({distance_sp(a, b.a), distance_sp(a... | 29.153846 | 101 | 0.69657 | sarafanshul |
3c3f48f5f69d21fe79384a6f66533aee53ece3f7 | 1,725 | inl | C++ | AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl | DexianZhao/PhantomGameEngine | cf8e341d21e3973856d9f23ad0b1af9db831bac7 | [
"MIT"
] | 4 | 2019-11-08T00:15:13.000Z | 2021-03-26T13:34:50.000Z | AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl | DexianZhao/PhantomGameEngine | cf8e341d21e3973856d9f23ad0b1af9db831bac7 | [
"MIT"
] | 4 | 2021-03-13T10:26:09.000Z | 2021-03-13T10:45:35.000Z | AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl | DexianZhao/PhantomGameEngine | cf8e341d21e3973856d9f23ad0b1af9db831bac7 | [
"MIT"
] | 3 | 2020-06-01T01:53:05.000Z | 2021-03-21T03:51:33.000Z | /*[DirectX9]*/
matrix MVP;
int filterMin = 2;
int filterMag = 2;
int filterMip = 2;
texture texture1;
float4 textChannel;
sampler sampler1 = sampler_state
{
Texture = <texture1>;
MinFilter = POINT;
MagFilter = POINT;
MipFilter = POINT;
};
struct VInput{
float4 Pos : POSITION;
float3 Normal : Normal;
float4... | 19.827586 | 66 | 0.70087 | DexianZhao |
3c40b4a1cf4875babafc9fe982bfa08186acd959 | 806 | cpp | C++ | q10082v2.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | 1 | 2018-03-19T05:18:49.000Z | 2018-03-19T05:18:49.000Z | q10082v2.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | q10082v2.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | //q10082v2.cpp - 2011/09/09
//10082 - WERTYU
//accepted at
//run time = 0.012
#include <stdio.h>
#include <string.h>
using namespace std;
int main(){
char ch[]={'`','1','2','3','4','5','6','7','8','9','0','-','=',
'Q','W','E','R','T','Y','U','I','O','P','[',']','\\',
'A','S... | 23.028571 | 70 | 0.398263 | abraxaslee |
3c4215beae3902cf23ca9156ad3823a7fb9aec69 | 12,800 | cpp | C++ | src/goto-symex/build_goto_trace.cpp | dan-blank/yogar-cbmc | 05b4f056b585b65828acf39546c866379dca6549 | [
"MIT"
] | 1 | 2017-07-25T02:44:56.000Z | 2017-07-25T02:44:56.000Z | src/goto-symex/build_goto_trace.cpp | dan-blank/yogar-cbmc | 05b4f056b585b65828acf39546c866379dca6549 | [
"MIT"
] | 1 | 2017-02-22T14:35:19.000Z | 2017-02-27T08:49:58.000Z | src/goto-symex/build_goto_trace.cpp | dan-blank/yogar-cbmc | 05b4f056b585b65828acf39546c866379dca6549 | [
"MIT"
] | 4 | 2019-01-19T03:32:21.000Z | 2021-12-20T14:25:19.000Z | /*******************************************************************\
Module: Traces of GOTO Programs
Author: Daniel Kroening
Date: July 2005
\*******************************************************************/
#include <cassert>
#include <util/threeval.h>
#include <util/simplify_expr.h>
#include <util/arith_t... | 27.408994 | 86 | 0.634375 | dan-blank |
3c4480d863b0b441fb0db26e4947dc5bb762da51 | 7,647 | cc | C++ | services/prediction/proximity_info_factory.cc | zbowling/mojo | 4d2ed40dc2390ca98a6fea0580e840535878f11c | [
"BSD-3-Clause"
] | 1 | 2020-04-28T14:35:10.000Z | 2020-04-28T14:35:10.000Z | services/prediction/proximity_info_factory.cc | zbowling/mojo | 4d2ed40dc2390ca98a6fea0580e840535878f11c | [
"BSD-3-Clause"
] | null | null | null | services/prediction/proximity_info_factory.cc | zbowling/mojo | 4d2ed40dc2390ca98a6fea0580e840535878f11c | [
"BSD-3-Clause"
] | 1 | 2020-04-28T14:35:11.000Z | 2020-04-28T14:35:11.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include <cmath>
#include <new>
#include <vector>
#include "services/prediction/proximity_info_factory.h"
#include "services/predict... | 40.036649 | 80 | 0.707859 | zbowling |
3c45ec5e49f274755a9e7fb21062c0d7e807763d | 2,808 | cpp | C++ | ch5_openCV_PCL/PCL-jointMap/jointMap.cpp | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch5_openCV_PCL/PCL-jointMap/jointMap.cpp | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch5_openCV_PCL/PCL-jointMap/jointMap.cpp | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | //
// Created by chen-tian on 17-7-19.
//
#include <iostream>
#include <fstream>
using namespace std;
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <Eigen/Geometry>
#include <boost/format.hpp>
//字符串格式化
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualiz... | 29.25 | 113 | 0.549858 | ClovisChen |
3c4a455f6d75898195fe66e4ad6918840f131cb6 | 2,356 | cpp | C++ | src/register/SegmentRegister.cpp | openx86/emulator | 829454a2dbc99ffa3ccdf81f7473e69f8b8ce896 | [
"Apache-2.0"
] | 1 | 2022-01-16T18:24:32.000Z | 2022-01-16T18:24:32.000Z | src/register/SegmentRegister.cpp | openx86/emulator | 829454a2dbc99ffa3ccdf81f7473e69f8b8ce896 | [
"Apache-2.0"
] | null | null | null | src/register/SegmentRegister.cpp | openx86/emulator | 829454a2dbc99ffa3ccdf81f7473e69f8b8ce896 | [
"Apache-2.0"
] | null | null | null | //
// Created by 86759 on 2022-01-14.
//
#include "SegmentRegister.h"
#include "SystemAddressRegister.h"
segment_descriptor_t load_descriptor(uint32_t value) {
uint32_t descriptor_index = value >> 3;
uint32_t offset = descriptor_index * 64/8;
const auto address = SystemAddressRegister::GDT + off... | 44.45283 | 99 | 0.712224 | openx86 |
3c4cef2edac1f22cb082cf3001941ea236bb1a3c | 796 | cpp | C++ | Sources/Folders/ExtraCodes/FishCodes.cpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | 52 | 2020-01-17T08:12:04.000Z | 2022-03-19T20:02:57.000Z | Sources/Folders/ExtraCodes/FishCodes.cpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | 67 | 2020-05-06T04:47:27.000Z | 2022-03-31T16:25:19.000Z | Sources/Folders/ExtraCodes/FishCodes.cpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | 7 | 2021-01-20T17:42:25.000Z | 2022-03-08T09:29:42.000Z | #include "cheats.hpp"
#include "Helpers/Address.hpp"
namespace CTRPluginFramework {
//Fish Byte Always
void FishAlwaysBiteRightAway(MenuEntry *entry) {
static const Address fishbite(0x1EA844, 0x1EA288, 0x1EA864, 0x1EA864, 0x1EA7A0, 0x1EA7A0, 0x1EA76C, 0x1EA76C);
if(entry->WasJustActivated())
Process::... | 36.181818 | 114 | 0.729899 | MirayXS |