hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d54821c3a21a2235f96c05a611dc5675b8d4133 | 8,859 | cpp | C++ | sources/enduro2d/utils/strings.cpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | 92 | 2018-08-07T14:45:33.000Z | 2021-11-14T20:37:23.000Z | sources/enduro2d/utils/strings.cpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | 43 | 2018-09-30T20:48:03.000Z | 2020-04-20T20:05:26.000Z | sources/enduro2d/utils/strings.cpp | NechukhrinN/enduro2d | 774f120395885a6f0f21418c4de024e7668ee436 | [
"MIT"
] | 13 | 2018-08-08T13:45:28.000Z | 2020-10-02T11:55:58.000Z | /*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com)
***************************************************... | 25.979472 | 85 | 0.531098 | NechukhrinN |
2d5b922bd699638d8abf206102207bccd7b5f96b | 614 | cpp | C++ | solutions/729.my-calendar-i.254107150.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/729.my-calendar-i.254107150.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/729.my-calendar-i.254107150.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class MyCalendar {
map<int, int> mp;
public:
MyCalendar() {}
bool book(int start, int end) {
auto it1 = mp.lower_bound(start);
if (it1 != mp.end() && it1->first == start)
return false;
if (it1 != mp.end() && it1->first < end)
return false;
if (mp.size() && it1 != mp.begin()) {
... | 17.055556 | 66 | 0.552117 | satu0king |
2d5dfac9f670a063d8e316b690b0d3ed9b9cfdfc | 2,248 | cpp | C++ | class-exercises/acc-07/wbpriarbiter.cpp | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | class-exercises/acc-07/wbpriarbiter.cpp | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | class-exercises/acc-07/wbpriarbiter.cpp | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | /* Copyright (c) 2020 The Connectal Project
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... | 35.68254 | 96 | 0.68016 | cambridgehackers |
2d5e5bdcda379693aa3abbafe188f9511eb1d3a7 | 2,434 | cpp | C++ | boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-11-02T07:15:32.000Z | 2018-12-15T19:56:59.000Z | boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-11-18T21:24:03.000Z | 2020-03-11T12:39:57.000Z | boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp | cooparation/caffe-android | cd91078d1f298c74fca4c242531989d64a32ba03 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2017-01-02T14:11:37.000Z | 2019-12-20T13:42:13.000Z | /*=============================================================================
Copyright (c) 2001-2013 Joel de Guzman
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)
=========================================... | 29.325301 | 80 | 0.468776 | cooparation |
2d5fea0264fcda9067e8fe8718213c0ec2b3b9c4 | 564 | cpp | C++ | Kuma Engine/PanelFile.cpp | GerardClotet/Kuma-Engine | 16759a8c5e18b69eb6ce50b6feeaf50d5312e957 | [
"MIT"
] | 2 | 2019-10-07T07:11:16.000Z | 2019-10-31T16:45:56.000Z | Kuma Engine/PanelFile.cpp | GerardClotet/Kuma-Engine | 16759a8c5e18b69eb6ce50b6feeaf50d5312e957 | [
"MIT"
] | null | null | null | Kuma Engine/PanelFile.cpp | GerardClotet/Kuma-Engine | 16759a8c5e18b69eb6ce50b6feeaf50d5312e957 | [
"MIT"
] | null | null | null | #include "PanelConfig.h"
#include "Globals.h"
#include "ModuleRenderer3D.h"
#include "ModuleUI.h"
#include "PanelFile.h"
PanelFile::~PanelFile()
{
}
update_status PanelFile::Draw()
{
if (App->ui->file_load_model)LoadModel();
if (App->ui->file_save_scene)DisplaySaveScene();
if (App->ui->file_load_scene)DisplayLoad... | 15.666667 | 49 | 0.714539 | GerardClotet |
062450d280164d63958326b5826ab5b370311a05 | 9,832 | cpp | C++ | src/frameworks/native/libs/nativewindow/ANativeWindow.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/libs/nativewindow/ANativeWindow.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/libs/nativewindow/ANativeWindow.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | 36.686567 | 112 | 0.690195 | dAck2cC2 |
0625c8920947fb021877fb14bcd6bf917ea7ec6b | 785 | cpp | C++ | symengine/polys/uintpoly_piranha.cpp | shifan3/symengine | d9539af520c4b121aff780d27ba22cced9983ece | [
"MIT"
] | 2 | 2020-11-06T12:45:03.000Z | 2022-03-18T18:00:15.000Z | symengine/polys/uintpoly_piranha.cpp | HQSquantumsimulations/symengine | 95d6af92dc6a759d9320d6bdadfa51d038c81218 | [
"MIT"
] | null | null | null | symengine/polys/uintpoly_piranha.cpp | HQSquantumsimulations/symengine | 95d6af92dc6a759d9320d6bdadfa51d038c81218 | [
"MIT"
] | null | null | null | #include <symengine/symbol.h>
#include <symengine/expression.h>
#include <symengine/polys/uintpoly_piranha.h>
namespace SymEngine
{
UIntPolyPiranha::UIntPolyPiranha(const RCP<const Basic> &var, pintpoly &&dict)
: UPiranhaPoly(var, std::move(dict))
{
SYMENGINE_ASSIGN_TYPEID()
}
hash_t UIntPolyPiranha::__hash_... | 21.805556 | 78 | 0.700637 | shifan3 |
0626fcd489b980fda2a16cecca3851c9755f0972 | 2,291 | cpp | C++ | Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp | ILLmew/Seagull-Engine | fb51b66812eca6b70ed0e35ecba091e9874b5bea | [
"MIT"
] | null | null | null | #include "sgpch.h"
#include "DirectX12SwapChain.h"
#include "DirectXHelper.h"
#include "Core/Application.h"
#include "DirectX12Context.h"
#include "DirectXHelper.h"
namespace SG
{
DirectX12SwapChain::DirectX12SwapChain(IDXGIFactory7* factory, const Ref<DirectX12RenderQueue>& renderQueue)
{
// Create swap chain
... | 38.830508 | 128 | 0.787866 | ILLmew |
06279bcf01a36b0127a46534bbd5fa8bb05d7642 | 593 | cpp | C++ | include/hydro/parser/__ast/BinaryOp.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/parser/__ast/BinaryOp.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/parser/__ast/BinaryOp.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 22.807692 | 99 | 0.404722 | hydraate |
062b9be2fb2ee8a36e9e25d52e2241ccba49f9a4 | 1,692 | cpp | C++ | src/ShaderProgramLinker.cpp | Killavus/Phelsuma | 734e89efa2c1b3b9c52ca3feb555e4b2acc69c80 | [
"MIT"
] | null | null | null | src/ShaderProgramLinker.cpp | Killavus/Phelsuma | 734e89efa2c1b3b9c52ca3feb555e4b2acc69c80 | [
"MIT"
] | null | null | null | src/ShaderProgramLinker.cpp | Killavus/Phelsuma | 734e89efa2c1b3b9c52ca3feb555e4b2acc69c80 | [
"MIT"
] | null | null | null | #include <string>
#include "ShaderProgramLinker.h"
#include "Shader.h"
#include "ShaderProgram.h"
bool ShaderProgramLinker::attachShader(const Shader& shader) {
if (shader.invalid()) { return false; }
auto sameTypeElement = findShaderByType(shader.type());
if (sameTypeElement != attachedShaders.end()) {
r... | 24.171429 | 82 | 0.713948 | Killavus |
062eab6bb833a1105fd1c36fa73dc3f7f6757399 | 4,956 | cpp | C++ | projects/2_OOP/oop_lab_3_2/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | projects/2_OOP/oop_lab_3_2/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | projects/2_OOP/oop_lab_3_2/test.cpp | GodBastardNeil/somethings | 56a25ab2a3150658356924b00fed7d97ad76a9cb | [
"BSD-3-Clause"
] | null | null | null | #include "catch.hpp"
#include "money.h"
TEST_CASE("Проверка работы методов класса money", "[money]") {
money m; // -- нулевой объект нужен всем --
// - определение чистой виртуальной функции run() класса Test --
// -- тестовые методы --
SECTION("Инициализация переменных класса money") // -- с... | 38.418605 | 115 | 0.421509 | GodBastardNeil |
0635ef71a5fc5fb78b52757a942077da79a68813 | 4,412 | cpp | C++ | src/gui/widgets/algoStarterWidgets/mathwidget.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | 5 | 2016-03-17T07:02:11.000Z | 2021-12-12T14:43:58.000Z | src/gui/widgets/algoStarterWidgets/mathwidget.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | null | null | null | src/gui/widgets/algoStarterWidgets/mathwidget.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | 3 | 2015-10-29T15:21:01.000Z | 2020-11-25T09:41:21.000Z | /*
* mathwidget.cpp
*
* Created on: Mar 24, 2014
* Author: schurade
*/
#include "mathwidget.h"
#include "../../../data/datasets/datasetscalar.h"
#include "../../../data/models.h"
#include "../../../data/vptr.h"
#include "../../../io/writer.h"
#include "../controls/sliderwithedit.h"
#include "../controls... | 27.924051 | 133 | 0.524025 | mhough |
063df958db48db62653a3fce4d9098ce1493cc54 | 1,274 | cpp | C++ | test/test.cpp | nuclearczy/Terp-tag-test | f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af | [
"BSD-3-Clause"
] | null | null | null | test/test.cpp | nuclearczy/Terp-tag-test | f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af | [
"BSD-3-Clause"
] | null | null | null | test/test.cpp | nuclearczy/Terp-tag-test | f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2019 Hao Da (Kevin) Dong
* @file test.cpp
* @date 2019/11/10
* @brief Unit tests for talker.cpp
* @license This project is released under the BSD-3-Clause License. See full details in LICENSE.
*/
#include <gtest/gtest.h>
#include "ros/ros.h"
#include "std_msgs/String.h"
... | 31.073171 | 102 | 0.696232 | nuclearczy |
063e5f4c758b9ca3366ef50a1a5f5f18331342d4 | 1,240 | hpp | C++ | src/gui/InputField.hpp | desktopgame/ofxGameUI | c4637c5eee108e07ec935e0a9588c3e53d09cb10 | [
"MIT"
] | 1 | 2020-02-24T14:10:55.000Z | 2020-02-24T14:10:55.000Z | src/gui/InputField.hpp | desktopgame/ofxGameUI | c4637c5eee108e07ec935e0a9588c3e53d09cb10 | [
"MIT"
] | null | null | null | src/gui/InputField.hpp | desktopgame/ofxGameUI | c4637c5eee108e07ec935e0a9588c3e53d09cb10 | [
"MIT"
] | null | null | null | #pragma once
#ifndef OFXGAMEUI_INPUTFIELD_HPP
#define OFXGAMEUI_INPUTFIELD_HPP
#include <ofImage.h>
#include <ofEvents.h>
#include <string>
#include <ofTrueTypeFont.h>
#include <ofxIcon.h>
#include "Component.hpp"
#include "FontCache.hpp"
#include "FontSprite.hpp"
#include "GUISkin.hpp"
namespace ofxGameUI {
/**
* Inp... | 20 | 54 | 0.746774 | desktopgame |
06414317cf4247cc3f70fd629976f2645f77ce21 | 589 | cpp | C++ | leetcode/986. Interval List Intersections/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | 1 | 2021-02-09T11:38:51.000Z | 2021-02-09T11:38:51.000Z | leetcode/986. Interval List Intersections/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | leetcode/986. Interval List Intersections/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | // OJ: https://leetcode.com/problems/interval-list-intersections/
// Author: github.com/lzl124631x
// Time: O(M+N)
// Space: O(1)
class Solution {
public:
vector<Interval> intervalIntersection(vector<Interval>& A, vector<Interval>& B) {
int M = A.size(), N = B.size();
vector<Interval> ans;
f... | 32.722222 | 85 | 0.512733 | contacttoakhil |
064174f062c566001eed4a1ce46426e80eecfad4 | 4,808 | cpp | C++ | src/IStrategizer/ScoutManager.cpp | RtsAiResearch/IStrategizer | 2005060d40190041e4d541e23b6148336241d690 | [
"Apache-2.0"
] | 14 | 2015-12-09T15:27:07.000Z | 2022-02-08T06:27:03.000Z | src/IStrategizer/ScoutManager.cpp | ogail/IStrategizer | d214f150fdfee3c3a865a826546058d131dd9100 | [
"Apache-2.0"
] | null | null | null | src/IStrategizer/ScoutManager.cpp | ogail/IStrategizer | d214f150fdfee3c3a865a826546058d131dd9100 | [
"Apache-2.0"
] | 2 | 2015-02-21T02:44:08.000Z | 2017-08-09T06:43:22.000Z | #include "ScoutManager.h"
#include "RtsGame.h"
#include "GamePlayer.h"
#include "WorldMap.h"
#include "DataMessage.h"
#include "GameEntity.h"
#include "EntityFSM.h"
#include "MessagePump.h"
#include "IMSystemManager.h"
#include "GroundControlIM.h"
#include "IStrategizerEx.h"
#include <algorithm>
using namespace IStrat... | 32.053333 | 126 | 0.59713 | RtsAiResearch |
06427fd375f80017362085b87aceb619052d919a | 5,561 | cc | C++ | ja2/Build/TileEngine/TileCache.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | ja2/Build/TileEngine/TileCache.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | ja2/Build/TileEngine/TileCache.cc | gtrafimenkov/ja2-vanilla-cp | 961076add8175afa845cbd6c33dbf9cd78f61a0c | [
"BSD-Source-Code"
] | null | null | null | #include "TileEngine/TileCache.h"
#include <stdexcept>
#include <vector>
#include "Directories.h"
#include "SGP/FileMan.h"
#include "SGP/HImage.h"
#include "SGP/MemMan.h"
#include "Tactical/AnimationCache.h"
#include "Tactical/AnimationData.h"
#include "TileEngine/Structure.h"
#include "TileEngine/TileDef.h"
#include... | 28.517949 | 100 | 0.689624 | gtrafimenkov |
06434e51b82f362804d98c0a51741f59f5265447 | 857 | hpp | C++ | src/world/EstimateF0WithDIO.hpp | haruneko/uzume_vocoder | 63343118fd8d0dd8b7ebb92d98f023bfa6b9855e | [
"MIT"
] | 1 | 2020-04-28T06:29:25.000Z | 2020-04-28T06:29:25.000Z | src/world/EstimateF0WithDIO.hpp | haruneko/uzume | 63343118fd8d0dd8b7ebb92d98f023bfa6b9855e | [
"MIT"
] | null | null | null | src/world/EstimateF0WithDIO.hpp | haruneko/uzume | 63343118fd8d0dd8b7ebb92d98f023bfa6b9855e | [
"MIT"
] | null | null | null | // Copyright 2020 Hal@shurabaP. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
#ifndef UZUME_VOCODER_ESTIMATE_F0_WITH_DIO_HPP
#define UZUME_VOCODER_ESTIMATE_F0_WITH_DIO_HPP
#include "../EstimateF0.hpp"
namespace uzume { namespace vocoder { ... | 27.645161 | 86 | 0.750292 | haruneko |
064e01ff440c75d04787f71471537c4a79f8897e | 243 | hpp | C++ | src/slaggy-engine/slaggy-engine/physics/PointPlane.hpp | SlaggyWolfie/slaggy-engine | 846235c93a52a96be85c5274a1372bc09c16f144 | [
"MIT"
] | 1 | 2021-09-24T23:13:13.000Z | 2021-09-24T23:13:13.000Z | src/slaggy-engine/slaggy-engine/physics/PointPlane.hpp | SlaggyWolfie/slaggy-engine | 846235c93a52a96be85c5274a1372bc09c16f144 | [
"MIT"
] | null | null | null | src/slaggy-engine/slaggy-engine/physics/PointPlane.hpp | SlaggyWolfie/slaggy-engine | 846235c93a52a96be85c5274a1372bc09c16f144 | [
"MIT"
] | 2 | 2020-06-24T07:10:13.000Z | 2022-03-08T17:19:12.000Z | #pragma once
#ifndef POINT_PLANE_HPP
#define POINT_PLANE_HPP
#include <physics/Plane.hpp>
namespace slaggy
{
class PointPlane : public Plane
{
public:
glm::vec3 position = glm::vec3(0);
float distance() const override;
};
}
#endif | 14.294118 | 36 | 0.720165 | SlaggyWolfie |
0653dee33972007ac78afcbfe56d3dff0d69c661 | 4,648 | cc | C++ | src/vm-object-scanner.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | src/vm-object-scanner.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | src/vm-object-scanner.cc | emptyland/mio | 77ec9737b4002820c31fca241aaa6711a7391285 | [
"BSD-2-Clause"
] | null | null | null | #include "vm-object-scanner.h"
#include "vm-objects.h"
namespace mio {
void ObjectScanner::Scan(HeapObject *ob, Callback callback) {
if (!ob) {
return;
}
callback(ob);
if (traced_objects_.find(ob) != traced_objects_.end()) {
return;
}
traced_objects_.insert(ob);
switch (ob... | 31.619048 | 86 | 0.482573 | emptyland |
0656ab19b1cf5b8df520bcf936033c681dacd697 | 186 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/cmfcstatusbar-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/reference/codesnippet/CPP/cmfcstatusbar-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-04-01T04:17:07.000Z | 2021-04-01T04:17:07.000Z | docs/mfc/reference/codesnippet/CPP/cmfcstatusbar-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-10-10T07:37:30.000Z | 2019-06-21T15:18:07.000Z | GetStatusBar ().SetPaneAnimation (nStatusAnimation, m_imlStatusAnimation);
GetStatusBar ().SetPaneText (nStatusAnimation, _T(""));
GetStatusBar ().SetPaneWidth (nStatusAnimation, 16); | 62 | 75 | 0.790323 | jmittert |
065a7ec8f4737540f109e26c1ab59da120fc7434 | 1,064 | cpp | C++ | 7. Graph/1.A1013.cpp | huangjiayu-zju/PAT-A | ecb07409727c56d556a5af1b201158bab0d0d2e8 | [
"MIT"
] | null | null | null | 7. Graph/1.A1013.cpp | huangjiayu-zju/PAT-A | ecb07409727c56d556a5af1b201158bab0d0d2e8 | [
"MIT"
] | null | null | null | 7. Graph/1.A1013.cpp | huangjiayu-zju/PAT-A | ecb07409727c56d556a5af1b201158bab0d0d2e8 | [
"MIT"
] | null | null | null | #include<cstdio>
#include<cstring>
#include<vector>
using namespace std;
const int maxv = 1111;
vector<int> G[maxv];
bool vis[maxv] = {false};
int currentPoint; //当前需要删除的顶点号
void dfs(int v){
if(v == currentPoint){ //当遍历到已删除结点v时,返回
return;
}
vis[v] = true;
for (int i = 0; i < G[v].size(); i+... | 23.130435 | 60 | 0.452068 | huangjiayu-zju |
0660fabbb4d0193e190402daa207ffafc2ce8dda | 5,528 | cpp | C++ | Libraries/RobsJuceModules/rapt/Filters/Scientific/LinkwitzRileyCrossOver.cpp | elanhickler/RS-MET | c04cbe660ea426ddf659dfda3eb9cba890de5468 | [
"FTL"
] | null | null | null | Libraries/RobsJuceModules/rapt/Filters/Scientific/LinkwitzRileyCrossOver.cpp | elanhickler/RS-MET | c04cbe660ea426ddf659dfda3eb9cba890de5468 | [
"FTL"
] | null | null | null | Libraries/RobsJuceModules/rapt/Filters/Scientific/LinkwitzRileyCrossOver.cpp | elanhickler/RS-MET | c04cbe660ea426ddf659dfda3eb9cba890de5468 | [
"FTL"
] | 1 | 2017-10-15T07:25:41.000Z | 2017-10-15T07:25:41.000Z | // construction/destruction:
template<class TSig, class TPar>
rsLinkwitzRileyCrossOver<TSig, TPar>::rsLinkwitzRileyCrossOver(int newMaxButterworthOrder)
: lowpass1(newMaxButterworthOrder/2)
, lowpass2(newMaxButterworthOrder/2)
, sumAllpass(newMaxButterworthOrder/2)
{
rsAssert( newMaxButterworthOrder >= 1 ); // filt... | 32.517647 | 115 | 0.736975 | elanhickler |
0660fe7a5210c46634ca4e61d9a59a5914eb74b4 | 4,473 | cpp | C++ | Solutions-Xtreme-14/rescue_mission.cpp | nullpointxr/HackerRankSolutions | 052c9ab66bfd66268b81d8e7888c3d7504ab988f | [
"Apache-2.0"
] | 1 | 2020-10-25T16:12:09.000Z | 2020-10-25T16:12:09.000Z | Solutions-Xtreme-14/rescue_mission.cpp | abhishek-sankar/Competitive-Coding-Solutions | 052c9ab66bfd66268b81d8e7888c3d7504ab988f | [
"Apache-2.0"
] | 3 | 2020-11-12T05:44:24.000Z | 2021-04-05T08:09:01.000Z | Solutions-Xtreme-14/rescue_mission.cpp | nullpointxr/HackerRankSolutions | 052c9ab66bfd66268b81d8e7888c3d7504ab988f | [
"Apache-2.0"
] | null | null | null | /*
A group of Xtreme soldiers are fighting a tough war but are unfortunately trapped within the enemy territory. But don't worry, they managed to find NN hideouts along a long battle line. The hideouts are numbered 11 to NN. Initially there are S_iS
i
soldiers at hideout ii.
There is a safe rendezvous location. E... | 31.5 | 703 | 0.68254 | nullpointxr |
06681c63c76fc6d3901fdd01476bceea74e2a3a2 | 10,214 | cpp | C++ | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/WebPage/win/WebPageWin.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | 1 | 2021-05-27T07:29:31.000Z | 2021-05-27T07:29:31.000Z | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/WebPage/win/WebPageWin.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/WebPage/win/WebPageWin.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Copyright (C) 2017 Sony Interactive Entertainment Inc.
*
* 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 t... | 37.413919 | 129 | 0.626591 | mlcldh |
066c763f94b64087c0e4741c150b490d90a918c9 | 10,739 | cpp | C++ | unit_tests/test_classes/static_function.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | 4 | 2018-12-19T09:30:24.000Z | 2021-06-26T05:38:11.000Z | unit_tests/test_classes/static_function.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | null | null | null | unit_tests/test_classes/static_function.cpp | SoapyMan/oolua | 9d25a865b05bbb6aaff56726b46e5b746572e490 | [
"MIT"
] | 2 | 2017-03-28T18:38:30.000Z | 2018-10-17T19:01:05.000Z |
# include "oolua_tests_pch.h"
# include "oolua.h"
# include "common_cppunit_headers.h"
# include "expose_static_and_c_functions.h"
# include "expose_hierarchy.h"
int returns_stack_count(lua_State* vm)
{
int top = lua_gettop(vm);
OOLUA::push(vm, top);
return 1;
}
int stack_top_type(lua_State* vm)
{
int top = lua_... | 32.056716 | 119 | 0.758078 | SoapyMan |
066d89604efb26b5403a5c83a712311482fbffad | 2,103 | cpp | C++ | src/main/cpp/Components/EncoderItem.cpp | JamesTerm/FRC2019 | 2794d3cc4f2b4702c59e402904db2f4cdc2ab68d | [
"BSD-3-Clause"
] | 1 | 2021-11-12T04:34:31.000Z | 2021-11-12T04:34:31.000Z | src/main/cpp/Components/EncoderItem.cpp | JamesTerm/FRC2019 | 2794d3cc4f2b4702c59e402904db2f4cdc2ab68d | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/Components/EncoderItem.cpp | JamesTerm/FRC2019 | 2794d3cc4f2b4702c59e402904db2f4cdc2ab68d | [
"BSD-3-Clause"
] | null | null | null | /****************************** Header ******************************\
Class Name: EncoderItem inherits InputComponent
File Name: EncoderItem.cpp
Summary: Abstraction for the WPIlib Encoder that extends to include
some helper and control methods.
Project: BroncBotzFRC2019
Copyright (c) BroncBotz.
All rights reserve... | 22.136842 | 95 | 0.668093 | JamesTerm |
066e717e72dd604fa0057d831f02debca6893745 | 1,332 | hpp | C++ | src/utils/tb2randomgen.hpp | kad15/SandBoxToulbar2 | 31430ec5e6c6cec1eabe6f5d04bfb8134777821c | [
"MIT"
] | null | null | null | src/utils/tb2randomgen.hpp | kad15/SandBoxToulbar2 | 31430ec5e6c6cec1eabe6f5d04bfb8134777821c | [
"MIT"
] | null | null | null | src/utils/tb2randomgen.hpp | kad15/SandBoxToulbar2 | 31430ec5e6c6cec1eabe6f5d04bfb8134777821c | [
"MIT"
] | null | null | null | /* \file tb2randomgen.hpp
* \brief Random WCSP generator.
*/
#ifndef TB2RANDOMGEN_H_
#define TB2RANDOMGEN_H_
#include "core/tb2wcsp.hpp"
class naryRandom {
public:
WCSP& wcsp;
naryRandom(WCSP* wcspin, int seed = 0)
: wcsp(*wcspin)
{
mysrand(seed);
}
~naryRandom() {}
int n,... | 29.6 | 122 | 0.668168 | kad15 |
066f190ad834841e01754e8751d4b23d359c2d33 | 2,960 | cc | C++ | testing/output/No_Difference_L2.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | testing/output/No_Difference_L2.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | testing/output/No_Difference_L2.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <math.h>
#include <string>
#include "Input_Reader.h"
#include "Materials.h"
#include "Fem_Quadrature.h"
#include "Quadrule_New.h"
#include "Cell_Data.h"
#include "Angular_Quadrature.h"
#include "Time_Data.h"
#include "Intensity_Data.h"
#include "Intensity_Mom... | 33.258427 | 127 | 0.696622 | pgmaginot |
066f8cb7c5f26c536c020d6319477436005bf824 | 2,751 | hpp | C++ | include/cppurses/widget/widgets/line_edit.hpp | buzzert/CPPurses | 33c2c1719a480aefea57874e32c54b4b48ebbfa0 | [
"MIT"
] | null | null | null | include/cppurses/widget/widgets/line_edit.hpp | buzzert/CPPurses | 33c2c1719a480aefea57874e32c54b4b48ebbfa0 | [
"MIT"
] | null | null | null | include/cppurses/widget/widgets/line_edit.hpp | buzzert/CPPurses | 33c2c1719a480aefea57874e32c54b4b48ebbfa0 | [
"MIT"
] | null | null | null | #ifndef CPPURSES_WIDGET_WIDGETS_LINE_EDIT_HPP
#define CPPURSES_WIDGET_WIDGETS_LINE_EDIT_HPP
#include <functional>
#include <string>
#include <signals/signals.hpp>
#include <cppurses/painter/color.hpp>
#include <cppurses/painter/glyph.hpp>
#include <cppurses/painter/glyph_string.hpp>
#include <cppurses/system/events/k... | 35.269231 | 80 | 0.711741 | buzzert |
06703241603ac3cd62a06dc30f9d9c76b7e4112c | 560 | hpp | C++ | plugins/x11input/include/sge/x11input/device/optional_id_fwd.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/x11input/include/sge/x11input/device/optional_id_fwd.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/x11input/include/sge/x11input/device/optional_id_fwd.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#ifndef SGE_X11INPUT_DEVICE_OPTIONAL_ID_FWD_HPP_INCLUDED
#define SGE_X11INPUT_DEVICE_OPTIONAL_ID_FW... | 21.538462 | 71 | 0.757143 | cpreh |
0682071f42bacb335c1634d22b7e9b5d2f0a1182 | 4,205 | cpp | C++ | sum_root_to_leaf_numbers.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | sum_root_to_leaf_numbers.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | sum_root_to_leaf_numbers.cpp | artureganyan/algorithms | 98cd0048162b3cb1c79712a884261cd3fe31063c | [
"MIT"
] | null | null | null | // Problem: https://leetcode.com/problems/sum-root-to-leaf-numbers/
#include "utils.h"
namespace sum_root_to_leaf_numbers {
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
};
class Solution {
public:
// Note: Each node value must be within [0, 9]. Overflow of the sum is
// not detect... | 24.881657 | 94 | 0.420452 | artureganyan |
0682dd7e89e56364d56a6e9df28cf276e3f98384 | 20,996 | cpp | C++ | compiler/src/ast/expr/ast_field.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | 15 | 2017-08-15T20:46:44.000Z | 2021-12-15T02:51:13.000Z | compiler/src/ast/expr/ast_field.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | null | null | null | compiler/src/ast/expr/ast_field.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | 1 | 2017-09-28T14:48:15.000Z | 2017-09-28T14:48:15.000Z | #include "ast_field.hpp"
#include "ast_constexpr.hpp"
#include "ast_ref.hpp"
#include "ast_conv.hpp"
#include "ast/ast_util.hpp"
#include "symbol/qual_type.hpp"
#include "symbol/symbol_lookup.hpp"
#include "parsercontext.hpp"
#include "driver.hpp"
#include "tx_error.hpp"
TxFieldValueNode* make_compound_symbol_exp... | 50.229665 | 153 | 0.576253 | TuplexLanguage |
06839e5b3b50a03bcd71454f3a46b524749e6f7e | 12,450 | hpp | C++ | src/verifier/mem_encode/encoder.hpp | lmntal/slim | 643a2f9c4208532fab64c80aa88034fa625be61e | [
"BSD-3-Clause"
] | 18 | 2015-02-11T13:52:46.000Z | 2021-07-05T10:50:22.000Z | src/verifier/mem_encode/encoder.hpp | lmntal/slim | 643a2f9c4208532fab64c80aa88034fa625be61e | [
"BSD-3-Clause"
] | 58 | 2015-01-02T11:31:12.000Z | 2022-03-23T07:16:47.000Z | src/verifier/mem_encode/encoder.hpp | lmntal/slim | 643a2f9c4208532fab64c80aa88034fa625be61e | [
"BSD-3-Clause"
] | 17 | 2015-04-02T03:52:48.000Z | 2021-02-07T02:29:38.000Z | /*
* encode.hpp
*
* Copyright (c) 2018, Ueda Laboratory LMNtal Group
* <lmntal@ueda.info.waseda.ac.jp> 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 o... | 29.572447 | 100 | 0.617751 | lmntal |
068886aa5496f349bac8f2f08d04eb38bbea57a9 | 567 | cpp | C++ | Source/DialogueSystem/Private/QuestBook.cpp | artemavrin/DialogueSystem | 90f7816d55b1948253d2f9955469d6d91b5929cb | [
"MIT"
] | 126 | 2016-04-16T00:42:19.000Z | 2022-01-20T12:54:23.000Z | Source/DialogueSystem/Private/QuestBook.cpp | artemavrin/DialogueSystem | 90f7816d55b1948253d2f9955469d6d91b5929cb | [
"MIT"
] | 8 | 2016-04-16T23:13:04.000Z | 2019-10-02T17:12:09.000Z | Source/DialogueSystem/Private/QuestBook.cpp | artemavrin/DialogueSystem | 90f7816d55b1948253d2f9955469d6d91b5929cb | [
"MIT"
] | 45 | 2016-04-16T10:49:47.000Z | 2021-09-10T15:47:10.000Z | //Copyright (c) 2016 Artem A. Mavrin and other contributors
#pragma once
//#include "DialogueSystemPrivatePCH.h"
#include "QuestBook.h"
FQuest UQuestBook::GetQuest(int32 ID)
{
FQuest Result;
for (auto& elem : Quests)
{
if (elem.ID == ID)
{
Result = elem;
break;
}
}
return Result;... | 13.829268 | 60 | 0.590829 | artemavrin |
069a98ce54eb68ec0e828b97f8df9068eda064f4 | 379 | cpp | C++ | Baekjoon/3076.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/3076.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/3076.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(void)
{
int r, c, a, b;
cin >> r >> c >> a >> b;
for (int i = 0; i < r; i++)
{
for (int k = 0; k < a; k++)
{
for (int j = 0; j < c; j++)
{
if ((i + j) % 2 == 0)
for (int si = 0; si < b; si++)
cout << "X";
else
for (int si = 0; si < ... | 15.791667 | 35 | 0.37467 | Twinparadox |
069f712288a593e7ef85ba0d060537ef5f1963ed | 9,978 | cpp | C++ | Source/WebCore/Modules/mediastream/UserMediaRequest.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/WebCore/Modules/mediastream/UserMediaRequest.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebCore/Modules/mediastream/UserMediaRequest.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011 Ericsson AB. All rights reserved.
* Copyright (C) 2012 Google Inc. All rights reserved.
* Copyright (C) 2013-2016 Apple Inc. All rights reserved.
* Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies).
*
* Redistribution and use in source and binary forms, with or without
* mo... | 39.283465 | 218 | 0.725095 | ijsf |
069f90d812c4e896df97ae47b01f2965085a167a | 2,223 | cpp | C++ | codeforces/107/107_2_B_PhoneNumbers.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | codeforces/107/107_2_B_PhoneNumbers.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | codeforces/107/107_2_B_PhoneNumbers.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <cassert>
#include <vector>
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <string>
#include <cstring>
using namespace std;
bool is_taxi(const string &s) {
char c = s[0];
for (int i=0; i<(int)s.size(); ++i) {
if (s[i]!='-' && s[i]!=c) {... | 21.794118 | 83 | 0.378767 | ibudiselic |
06a10b56bead05d586c4c0bd314ad64325389564 | 4,975 | hpp | C++ | murt/core/vec3.hpp | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 4 | 2021-06-19T08:38:47.000Z | 2022-01-10T21:10:38.000Z | murt/core/vec3.hpp | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 1 | 2021-05-26T12:08:01.000Z | 2021-05-26T12:08:01.000Z | murt/core/vec3.hpp | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 2 | 2022-01-24T11:04:46.000Z | 2022-02-23T22:26:42.000Z | #ifndef VEC3_H
#define VEC3_H
#include <math.h>
#include <set>
#include <utility>
#include <string>
class Vec3
{
public:
float x_, y_, z_;
// Constructor
Vec3(void) : x_(0.0f), y_(0.0f), z_(0.0f){};
Vec3(float x, float y, float z) : x_(x), y_(y), z_(z){};
// Operators
Vec3 operator+(const Vec... | 24.268293 | 117 | 0.49005 | tamsri |
a6291b7b1882b22526611787fd273b7ff06914e7 | 1,383 | cc | C++ | tests/test_classifier.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | tests/test_classifier.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | tests/test_classifier.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 [Your Name]. All rights reserved.
#define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include <bayes/classifier.h>
#include <bayes/image.h>
using namespace bayes;
// TODO(you): Remove this unnecessary test case.
TEST_CASE("Sanity Check", "[addition]") {
REQUIRE(1 + 1 == 2);
}
TEST_CASE("C... | 31.431818 | 78 | 0.73102 | CS126SP20 |
a62a4dbde07419ba78195f1476fa18099b57be23 | 1,250 | cpp | C++ | KalmanFilterinCPP/KalmanFilterinCPP/recip.cpp | YDWWYD/MECH552-Project | 7df8b583d3b4fcd46d71052dc72a767ea1440426 | [
"MIT"
] | null | null | null | KalmanFilterinCPP/KalmanFilterinCPP/recip.cpp | YDWWYD/MECH552-Project | 7df8b583d3b4fcd46d71052dc72a767ea1440426 | [
"MIT"
] | null | null | null | KalmanFilterinCPP/KalmanFilterinCPP/recip.cpp | YDWWYD/MECH552-Project | 7df8b583d3b4fcd46d71052dc72a767ea1440426 | [
"MIT"
] | null | null | null | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
* File: recip.c
*
* MATLAB Coder version : 3.4
* C/C++ source code generated on : 14-May-2018 23:15:0... | 18.115942 | 73 | 0.5152 | YDWWYD |
a62da07f811149d0e2be7f4c2209a16cede0f4e8 | 643 | cpp | C++ | knapsack-1.cpp | darksidergod/CompetitiveProgramming | ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a | [
"MIT"
] | null | null | null | knapsack-1.cpp | darksidergod/CompetitiveProgramming | ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a | [
"MIT"
] | null | null | null | knapsack-1.cpp | darksidergod/CompetitiveProgramming | ea0ee53bddd87e41b4586dd30c1d4a6b8ae3a93a | [
"MIT"
] | 1 | 2020-10-03T19:48:05.000Z | 2020-10-03T19:48:05.000Z | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(void)
{
ll int N, W, answer=-1;
cin>>N>>W;
ll int w[N+1];
ll int v[N+1];
w[0]=0;
v[0]=0;
for(ll int i=1; i<=N; i++)
cin>>w[i]>>v[i];
ll int dp[N+1][W+1];
for(ll int j=0; j<=W; j++)
dp[0][j]=0;
for(ll int k=0; k<=N; k++)
d... | 14.613636 | 80 | 0.525661 | darksidergod |
a62dc89fd74c9eb7cbeda08d8f4f934f217b7809 | 113,625 | cpp | C++ | Sandbox/Eudora/compmsgd.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Windows/Sandbox/Eudora/compmsgd.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Windows/Sandbox/Eudora/compmsgd.cpp | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | // COMPMSGD.CPP
//
#include "stdafx.h"
#include <afxcmn.h>
#include <QCUtils.h>
#include "resource.h"
#include "rs.h"
#include "helpxdlg.h"
#include "doc.h"
#include "cursor.h"
#include "fileutil.h"
#include "summary.h"
#include "msgdoc.h"
#include "compmsgd.h"
#include "mdichild.h"
#include "CompMessageFrame.h"
#in... | 24.66891 | 120 | 0.659107 | dusong7 |
a62f729d76093475367b5d67c83a0bc5dc917b24 | 1,487 | inl | C++ | shared/source/xe_hp_core/os_agnostic_hw_info_config_xe_hp_core.inl | smorek-intel/compute-runtime | 299e798159e55ccc198802b8eb114c91f8b8e85d | [
"Intel",
"MIT"
] | null | null | null | shared/source/xe_hp_core/os_agnostic_hw_info_config_xe_hp_core.inl | smorek-intel/compute-runtime | 299e798159e55ccc198802b8eb114c91f8b8e85d | [
"Intel",
"MIT"
] | null | null | null | shared/source/xe_hp_core/os_agnostic_hw_info_config_xe_hp_core.inl | smorek-intel/compute-runtime | 299e798159e55ccc198802b8eb114c91f8b8e85d | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
using namespace NEO;
template <>
bool HwInfoConfigHw<IGFX_XE_HP_SDV>::isMaxThreadsForWorkgroupWARequired(const HardwareInfo &hwInfo) const {
const auto &hwInfoConfig = *HwInfoConfig::get(hwInfo.platform.eProductFamily);
uint3... | 29.156863 | 118 | 0.735037 | smorek-intel |
a630badf049af216a1eca7dc09f60766f96c7811 | 3,311 | cpp | C++ | lightdam/Camera.cpp | Wumpf/lightdam | 5a007b5f5f7b3b391b4828d1f5b45d10fa586f99 | [
"MIT"
] | 1 | 2019-09-22T09:38:20.000Z | 2019-09-22T09:38:20.000Z | lightdam/Camera.cpp | Wumpf/lightdam | 5a007b5f5f7b3b391b4828d1f5b45d10fa586f99 | [
"MIT"
] | null | null | null | lightdam/Camera.cpp | Wumpf/lightdam | 5a007b5f5f7b3b391b4828d1f5b45d10fa586f99 | [
"MIT"
] | null | null | null | #include "Camera.h"
#define _USE_MATH_DEFINES
#include <cmath>
#include <Windows.h>
using namespace DirectX;
Camera::Camera()
{
}
Camera::~Camera()
{
}
void Camera::operator = (const Camera& camera)
{
memcpy(this, &camera, sizeof(Camera));
}
bool Camera::operator ==(const Camera& camera)
{
return
... | 30.657407 | 140 | 0.654485 | Wumpf |
a63b33e2ecaadffa43f66c6adafa352391fd18d2 | 1,418 | hpp | C++ | modules/logic/src/Logic/Cv/Core/gmLogicCvSum.hpp | GraphMIC/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 43 | 2016-04-11T11:34:05.000Z | 2022-03-31T03:37:57.000Z | modules/logic/src/Logic/Cv/Core/gmLogicCvSum.hpp | kevinlq/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 1 | 2016-05-17T12:58:16.000Z | 2016-05-17T12:58:16.000Z | modules/logic/src/Logic/Cv/Core/gmLogicCvSum.hpp | kevinlq/GraphMIC | 8fc2aeb0143ee1292c6757f010fc9e8c68823e2b | [
"BSD-3-Clause"
] | 14 | 2016-05-13T20:23:16.000Z | 2021-12-20T10:33:19.000Z | #pragma once
#include "gmLogicCvBase.hpp"
namespace gm
{
namespace Logic
{
namespace Cv
{
class Sum : public Base
{
public:
struct ID
{
static constexpr auto input = "input";
static cons... | 29.541667 | 114 | 0.423131 | GraphMIC |
a63e7bf479e4bd69c6697de0b34a461cf8d9c84a | 6,320 | cpp | C++ | unit_tests/gtest_colorhdr.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | unit_tests/gtest_colorhdr.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | unit_tests/gtest_colorhdr.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include "gtest_color.h"
namespace {
class ColorHdrTest : public ::testing::Test
{
public:
ColorHdrTest()
: col1_(5.0f, 5.0f, 5.0f), col2_(2.5f, 3.3f, 2.5f) {}
nc::ColorHdr col1_;
nc::ColorHdr col2_;
};
const float red = 0.25f;
const float green = 0.5f;
const float blue = 0.75f;
TEST_F(ColorHdrTest, Defa... | 26.666667 | 86 | 0.691139 | bigplayszn |
a6430246ecf22cd7961b0171a56b075ee2e0243d | 943 | hpp | C++ | addons/modules/attributes/dynamicOwnerNoSyncToolbox.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 1 | 2020-06-07T00:45:49.000Z | 2020-06-07T00:45:49.000Z | addons/modules/attributes/dynamicOwnerNoSyncToolbox.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 27 | 2020-05-24T11:09:56.000Z | 2020-05-25T12:28:10.000Z | addons/modules/attributes/dynamicOwnerNoSyncToolbox.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 2 | 2020-05-31T08:52:45.000Z | 2021-04-16T23:16:37.000Z |
class GVAR(dynamicOwnerNoSyncToolbox): GVAR(dynamicToolboxPicture) {
class Controls: Controls {
class Title: Title {};
class Value: Value {
columns = 5;
strings[] = {
"\a3\3DEN\Data\Displays\Display3DEN\PanelRight\side_custom_ca.paa",
"\a3\3DE... | 36.269231 | 83 | 0.529162 | Krzyciu |
a644201bd9e4c28dd080b11db831bb19f9cbac43 | 18,564 | cc | C++ | src/dsfs.cc | hspabla/DFS-FUSE | a47e30616f31a78fba23b2b1b0ddb25c97c7beea | [
"Apache-2.0"
] | 3 | 2020-04-08T10:32:44.000Z | 2022-02-17T07:04:07.000Z | src/dsfs.cc | hspabla/DFS-FUSE | a47e30616f31a78fba23b2b1b0ddb25c97c7beea | [
"Apache-2.0"
] | 1 | 2019-10-25T12:24:20.000Z | 2019-10-25T12:24:20.000Z | src/dsfs.cc | hspabla/DFS-FUSE | a47e30616f31a78fba23b2b1b0ddb25c97c7beea | [
"Apache-2.0"
] | null | null | null | #include "../include/dsfs.hh"
#include "../include/clientHelper.h"
DSFS* DSFS::_instance = NULL;
DSFS* DSFS::Instance() {
if(_instance == NULL) {
_instance = new DSFS();
}
return _instance;
}
DSFS::DSFS() {
}
DSFS::~DSFS() {
}
void DSFS::AbsPath(char dest[PATH_MAX], const char *path) {
log_msg("dsfs_AbsPat... | 32.454545 | 117 | 0.579347 | hspabla |
a64982518fd37d4344f8bb781164e9dade793331 | 421 | cpp | C++ | acmicpc.net/11931.cpp | kbu1564/SimpleAlgorithm | 7e5b0d2fe19461417d88de0addd2235da55787d3 | [
"MIT"
] | 4 | 2016-04-15T07:54:39.000Z | 2021-01-11T09:02:16.000Z | acmicpc.net/11931.cpp | kbu1564/SimpleAlgorithm | 7e5b0d2fe19461417d88de0addd2235da55787d3 | [
"MIT"
] | null | null | null | acmicpc.net/11931.cpp | kbu1564/SimpleAlgorithm | 7e5b0d2fe19461417d88de0addd2235da55787d3 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <cmath>
using namespace std;
int MRR[1000001];
int ARR[1000001];
int main() {
int N; scanf("%d", &N);
for (int i = 0; i < N; i++) {
int v; scanf("%d", &v);
if (v >= 0) ARR[v] = 1;
else MRR[abs(v)] = 1;
}
for (int i = 1000000; i >= 0; i--) if (ARR[i] == 1) print... | 21.05 | 72 | 0.515439 | kbu1564 |
a64a8c758508c40047a7961addc7187ab1f5db36 | 52,483 | cpp | C++ | src/openssl.cpp | selfienetworks/COSE-C | 97d1805e71b7a6770093c5e6790d46611680d563 | [
"BSD-3-Clause"
] | 25 | 2016-07-15T12:11:42.000Z | 2021-11-19T20:52:46.000Z | src/openssl.cpp | selfienetworks/COSE-C | 97d1805e71b7a6770093c5e6790d46611680d563 | [
"BSD-3-Clause"
] | 96 | 2015-09-04T05:12:01.000Z | 2021-12-30T08:39:56.000Z | src/openssl.cpp | selfienetworks/COSE-C | 97d1805e71b7a6770093c5e6790d46611680d563 | [
"BSD-3-Clause"
] | 21 | 2015-05-27T03:27:21.000Z | 2021-08-10T15:10:10.000Z | #include "cose/cose.h"
#include "cose/cose_configure.h"
#include "cose_int.h"
#include "cose_crypto.h"
#include <assert.h>
#ifdef __MBED__
#include <string.h>
#else
#include <memory.h>
#endif
#include <stdbool.h>
#ifdef COSE_C_USE_OPENSSL
#include <openssl/evp.h>
#include <openssl/aes.h>
#include <openssl/cmac.h>
#i... | 25.256497 | 135 | 0.696854 | selfienetworks |
a64b7d60200521c94ee726e28de605f7ab0c6e30 | 10,756 | cpp | C++ | src/org/apache/poi/sl/usermodel/SlideShowFactory.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/usermodel/SlideShowFactory.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/usermodel/SlideShowFactory.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/sl/usermodel/SlideShowFactory.java
#include <org/apache/poi/sl/usermodel/SlideShowFactory.hpp>
#include <java/io/File.hpp>
#include <java/io/FileNotFoundException.hpp>
#include <java/io/IOException.hpp>
#include <java/io/InputStream.hpp>
#include <java/io/Serializable.hpp>
#i... | 40.284644 | 225 | 0.656378 | pebble2015 |
a64bbb7c5f002b0b3c38013d58452b676f93cc34 | 11,980 | cpp | C++ | src/asiTestEngine/asiTestEngine_Launcher.cpp | yeeeeeeti/3D_feature_extract | 6297daa8afaac09aef9b44858e74fb2a95e1e7c5 | [
"BSD-3-Clause"
] | null | null | null | src/asiTestEngine/asiTestEngine_Launcher.cpp | yeeeeeeti/3D_feature_extract | 6297daa8afaac09aef9b44858e74fb2a95e1e7c5 | [
"BSD-3-Clause"
] | null | null | null | src/asiTestEngine/asiTestEngine_Launcher.cpp | yeeeeeeti/3D_feature_extract | 6297daa8afaac09aef9b44858e74fb2a95e1e7c5 | [
"BSD-3-Clause"
] | null | null | null | //-----------------------------------------------------------------------------
// Created on: 11 June 2013
//-----------------------------------------------------------------------------
// Copyright (c) 2013-present, Sergey Slyadnev
// All rights reserved.
//
// Redistribution and use in source and binary forms, with... | 33.841808 | 123 | 0.609432 | yeeeeeeti |
a6503ef30e992a32ee3f889f8c0dd2d1dd763b8c | 236 | cpp | C++ | auto_type4.cpp | zyfjeff/utils_code | 034b1a0ff9ae4f7cebafdd7cfa464cc52119ab24 | [
"Apache-2.0"
] | null | null | null | auto_type4.cpp | zyfjeff/utils_code | 034b1a0ff9ae4f7cebafdd7cfa464cc52119ab24 | [
"Apache-2.0"
] | null | null | null | auto_type4.cpp | zyfjeff/utils_code | 034b1a0ff9ae4f7cebafdd7cfa464cc52119ab24 | [
"Apache-2.0"
] | 1 | 2020-02-21T17:16:50.000Z | 2020-02-21T17:16:50.000Z | #include <iostream>
#include <typeinfo>
using namespace std;
auto AutoFunctionFromReturn(int parameter)->int // 这里需要加
{
return parameter;
}
int main()
{
auto value = AutoFunctionFromReturn(1);
cout << value << endl;
return 0;
}
| 13.111111 | 56 | 0.707627 | zyfjeff |
a6521365b51d140e0567ca8d54cfc56d17d21397 | 1,986 | cpp | C++ | folderviewstyleditemdelegate.cpp | haraki/farman | 9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297 | [
"MIT"
] | 5 | 2018-08-19T05:45:45.000Z | 2020-10-09T09:37:57.000Z | folderviewstyleditemdelegate.cpp | haraki/farman | 9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297 | [
"MIT"
] | 95 | 2018-04-26T12:13:24.000Z | 2020-05-03T08:23:56.000Z | folderviewstyleditemdelegate.cpp | haraki/farman | 9aab8cfdd3f9d98f3be8dfddd6bad8451ea27297 | [
"MIT"
] | 1 | 2018-08-19T05:46:02.000Z | 2018-08-19T05:46:02.000Z | #include "folderviewstyleditemdelegate.h"
#include <QStyleOptionViewItem>
#include <QModelIndex>
#include <QDebug>
#include <QPainter>
#include <QApplication>
#include "folderview.h"
#include "default_settings.h"
namespace Farman
{
FolderViewStyledItemDelegate::FolderViewStyledItemDelegate(QObject *parent/* = Q_NUL... | 32.557377 | 130 | 0.721047 | haraki |
a655057314f964bd57dec37dc61e690c3e832c28 | 3,134 | cpp | C++ | src/Media/MediaJoystick.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 9 | 2020-11-02T17:20:40.000Z | 2021-12-25T15:35:36.000Z | src/Media/MediaJoystick.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 2 | 2020-06-27T23:14:13.000Z | 2020-11-02T17:28:32.000Z | src/Media/MediaJoystick.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 1 | 2021-05-12T23:05:42.000Z | 2021-05-12T23:05:42.000Z | //%Header {
/*****************************************************************************
*
* File: src/Media/MediaJoystick.cpp
*
* Copyright: Andy Southgate 2002-2007, 2020
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (th... | 32.989474 | 107 | 0.63178 | mushware |
a6576b33211fd24b91c195d9a4b0681a4792bdd2 | 3,998 | hpp | C++ | Engine/_Editor/_Headers/ZEditorScene.hpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | 15 | 2019-04-06T15:45:24.000Z | 2021-02-01T08:04:10.000Z | Engine/_Editor/_Headers/ZEditorScene.hpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | 1 | 2021-02-03T17:55:07.000Z | 2021-02-18T09:14:09.000Z | Engine/_Editor/_Headers/ZEditorScene.hpp | gitbetter/Zenith | 62092062cad4dda588bfd699185d6ce9be294e63 | [
"MIT"
] | null | null | null | /*
______ ______ __ __ __ ______ __ __
/\___ \ /\ ___\ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \
\/_/ /__ \ \ __\ \ \ \-. \ \ \ \ \/_/\ \/ \ \ __ \
/\_____\ \ \_____\ \ \_\" \_\ \ \_\ \ \_\ \ \_\ \_\
\/_____/ \/_____/ \/_/ \/_/ \/_/ \/_/ \/_/\/_/
ZEdit... | 36.345455 | 116 | 0.654827 | gitbetter |
a6590ec1cceebe921dadc73b52144e76b4c6975a | 16,373 | cpp | C++ | src/vlGraphics/PolygonSimplifier.cpp | Abergard/VisualizationLibrary | d2a0e321288152008957e29a0bc270ad192f75be | [
"BSD-2-Clause"
] | 281 | 2016-04-16T14:11:04.000Z | 2022-03-24T14:48:52.000Z | src/vlGraphics/PolygonSimplifier.cpp | Abergard/VisualizationLibrary | d2a0e321288152008957e29a0bc270ad192f75be | [
"BSD-2-Clause"
] | 91 | 2016-04-20T19:55:45.000Z | 2022-01-04T02:59:33.000Z | src/vlGraphics/PolygonSimplifier.cpp | Abergard/VisualizationLibrary | d2a0e321288152008957e29a0bc270ad192f75be | [
"BSD-2-Clause"
] | 83 | 2016-04-26T01:28:40.000Z | 2022-03-21T13:23:55.000Z | /**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | 39.263789 | 166 | 0.593599 | Abergard |
a6654e1f78372c7ac1fb2aabd3a6b2dee5cb7d49 | 1,835 | hpp | C++ | include/codegen/include/System/Runtime/Remoting/Channels/CrossAppDomainSink_ProcessMessageRes.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Runtime/Remoting/Channels/CrossAppDomainSink_ProcessMessageRes.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Runtime/Remoting/Channels/CrossAppDomainSink_ProcessMessageRes.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:49 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Includin... | 48.289474 | 182 | 0.749864 | Futuremappermydud |
a6680f83a5eea14a545ca6cb857085859bde955c | 31,889 | cc | C++ | Source/Plugins/GraphicsPlugins/BladeTerrain/source/index_generator/OptimizedIndexGenerator.cc | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/Plugins/GraphicsPlugins/BladeTerrain/source/index_generator/OptimizedIndexGenerator.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/Plugins/GraphicsPlugins/BladeTerrain/source/index_generator/OptimizedIndexGenerator.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /********************************************************************
created: 2013/10/13
filename: OptimizedIndexGenerator.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include "OptimizedIndexGenerator.h"
#include <interface/public/graph... | 30.810628 | 145 | 0.547901 | OscarGame |
a66ad462e19fabad3e4659b26ada9db290f4c8a9 | 10,561 | cpp | C++ | src/library/tactic/apply_tactic.cpp | javra/lean | cc70845332e63a1f1be21dc1f96d17269fc85909 | [
"Apache-2.0"
] | 130 | 2016-12-02T22:46:10.000Z | 2022-03-22T01:09:48.000Z | src/library/tactic/apply_tactic.cpp | soonhokong/lean | 38607e3eb57f57f77c0ac114ad169e9e4262e24f | [
"Apache-2.0"
] | 8 | 2017-05-03T01:21:08.000Z | 2020-02-25T11:38:05.000Z | src/library/tactic/apply_tactic.cpp | soonhokong/lean | 38607e3eb57f57f77c0ac114ad169e9e4262e24f | [
"Apache-2.0"
] | 28 | 2016-12-02T22:46:20.000Z | 2022-03-18T21:28:20.000Z | /*
Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <utility>
#include "util/lazy_list_fn.h"
#include "util/sstream.h"
#include "util/name_map.h"
#include "util/sexpr/option_declarations.h"
#inc... | 40.619231 | 149 | 0.576745 | javra |
a66adb1c16fd0bfa4724da786cd977293277fb31 | 4,363 | cpp | C++ | example-Sliders/src/ofApp.cpp | leozimmerman/ofxUI | 4145d50dca66791aa8ea6056504647ccebc3e366 | [
"MIT"
] | 169 | 2015-01-07T10:03:49.000Z | 2021-11-22T18:21:32.000Z | example-Sliders/src/ofApp.cpp | leozimmerman/ofxUI | 4145d50dca66791aa8ea6056504647ccebc3e366 | [
"MIT"
] | 39 | 2015-01-06T14:06:01.000Z | 2018-07-11T22:32:06.000Z | example-Sliders/src/ofApp.cpp | leozimmerman/ofxUI | 4145d50dca66791aa8ea6056504647ccebc3e366 | [
"MIT"
] | 91 | 2015-01-02T06:23:26.000Z | 2021-10-21T01:56:51.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
ofEnableSmoothing();
ofSetCircleResolution(60);
red = 100; blue = 100; green = 100;
drawPadding = false;
gui0 = new ofxUISuperCanvas("SLIDER WIDGETS");
gui0->addSpacer();
gui... | 26.442424 | 80 | 0.482237 | leozimmerman |
a66dc20b861942c9889eeb54ff2b92dbb283ac2e | 1,014 | cpp | C++ | tutorial/ComponentTemplate.cpp | b-com-software-basis/xpcf | 26ce21929ff6209ef69117270cf49844348c988f | [
"Apache-2.0"
] | null | null | null | tutorial/ComponentTemplate.cpp | b-com-software-basis/xpcf | 26ce21929ff6209ef69117270cf49844348c988f | [
"Apache-2.0"
] | 7 | 2020-02-13T20:35:16.000Z | 2021-11-19T17:46:15.000Z | tutorial/ComponentTemplate.cpp | b-com-software-basis/xpcf | 26ce21929ff6209ef69117270cf49844348c988f | [
"Apache-2.0"
] | 1 | 2018-02-26T14:10:43.000Z | 2018-02-26T14:10:43.000Z | /**
* @copyright Copyright (c) 2015 All Right Reserved, B-com http://www.b-com.com/
*
* This file is subject to the B<>Com License.
* All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPL... | 22.043478 | 87 | 0.728797 | b-com-software-basis |
a6790168e40a8861011a8b0435d35a05fa5e1b93 | 25,693 | cpp | C++ | src/hs-appinfo.cpp | hungsonspkt/agl-service-homescreen | c02e6e5e45c152c6939033e13a159ed35fbd7ee2 | [
"Apache-2.0"
] | null | null | null | src/hs-appinfo.cpp | hungsonspkt/agl-service-homescreen | c02e6e5e45c152c6939033e13a159ed35fbd7ee2 | [
"Apache-2.0"
] | null | null | null | src/hs-appinfo.cpp | hungsonspkt/agl-service-homescreen | c02e6e5e45c152c6939033e13a159ed35fbd7ee2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 TOYOTA MOTOR CORPORATION
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 26.84744 | 270 | 0.584517 | hungsonspkt |
a67aff0b70d536deeca852f6eba310fb53c60a90 | 3,719 | hpp | C++ | badger/include/Badger.hpp | projetpeip-montp2/badger | fc12b8fe2889a0a3c9a9d5503dcfe55ab8d37cbc | [
"BSD-3-Clause"
] | null | null | null | badger/include/Badger.hpp | projetpeip-montp2/badger | fc12b8fe2889a0a3c9a9d5503dcfe55ab8d37cbc | [
"BSD-3-Clause"
] | 2 | 2021-01-22T13:58:53.000Z | 2021-01-22T13:59:08.000Z | badger/include/Badger.hpp | projetpeip-montp2/badger | fc12b8fe2889a0a3c9a9d5503dcfe55ab8d37cbc | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////
// Copyright (c) 2012 Polytech Montpellier
// 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 co... | 29.515873 | 119 | 0.623824 | projetpeip-montp2 |
a67ca19a3a7883f77d0f8a248526df357bececc4 | 1,517 | hpp | C++ | Game/Game/src/ResultScene.hpp | ParachanActionGame-Project/KurachanActionGame | af85abcf3c9554f04cacd8686140eb59242463ae | [
"BSD-2-Clause"
] | null | null | null | Game/Game/src/ResultScene.hpp | ParachanActionGame-Project/KurachanActionGame | af85abcf3c9554f04cacd8686140eb59242463ae | [
"BSD-2-Clause"
] | 10 | 2021-09-24T11:40:45.000Z | 2021-10-30T04:59:13.000Z | Game/Game/src/ResultScene.hpp | ParachanActionGame-Project/KurachanActionGame | af85abcf3c9554f04cacd8686140eb59242463ae | [
"BSD-2-Clause"
] | null | null | null |
# pragma once
# include "Common.hpp"
# include "ResultKurachan.hpp"
# include <vector>
using namespace result;
// リザルトシーン
// ぱらちゃんを1匹泳がせる。等速直線運動で、スクリーン端で跳ね返る
class ResultScene : public MyApp::Scene
{
private:
std::vector<ResultKurachan> parachans
{
ResultKurachan(Scene::Center(), SMALL, Vec2(100.0, 50.0)),
R... | 27.089286 | 87 | 0.700066 | ParachanActionGame-Project |
a67cda1ff4ac3f146f7f2fb374582b4722164464 | 326 | cpp | C++ | plugins/peperoni/common/main.cpp | hveld/qlcplus | 1dd61a5a3a2c93d7fe88cd2a90574c4849b64829 | [
"Apache-2.0"
] | 1 | 2015-03-03T17:30:10.000Z | 2015-03-03T17:30:10.000Z | plugins/peperoni/common/main.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | plugins/peperoni/common/main.cpp | bjlupo/rcva_qlcplus | d367d33f5446c30d5201625e72946cc27f55ae5d | [
"Apache-2.0"
] | null | null | null | #include <QCoreApplication>
#if defined(WIN32) || defined(Q_OS_WIN)
# include "win32ioenumerator.h"
#else
# include "unixioenumerator.h"
#endif
int main(int argc, char** argv)
{
QCoreApplication a(argc, argv);
#ifdef WIN32
Win32IOEnumerator e;
#else
UnixIOEnumerator e;
#endif
e.rescan();
return... | 17.157895 | 39 | 0.690184 | hveld |
a6829ae308c10372abd45d1a6b4923baf43429b0 | 12,733 | cpp | C++ | source/D2Common/src/DataTbls/MissilesTbls.cpp | eezstreet/D2MOO | 28a30aecc69bf43c80e6757a94d533fb37634b68 | [
"MIT"
] | 42 | 2020-12-26T00:21:49.000Z | 2022-03-21T03:48:03.000Z | source/D2Common/src/DataTbls/MissilesTbls.cpp | eezstreet/D2MOO | 28a30aecc69bf43c80e6757a94d533fb37634b68 | [
"MIT"
] | 24 | 2020-12-26T09:46:51.000Z | 2021-09-05T16:22:43.000Z | source/D2Common/src/DataTbls/MissilesTbls.cpp | eezstreet/D2MOO | 28a30aecc69bf43c80e6757a94d533fb37634b68 | [
"MIT"
] | 19 | 2020-12-26T10:06:20.000Z | 2022-03-27T17:20:09.000Z | #include "D2DataTbls.h"
//D2Common.0x6FD62EA0
int __fastcall DATATBLS_MapMissilesTxtKeywordToNumber(char* szKey)
{
if (!_strnicmp(szKey, "min", 32))
{
return 0;
}
else if (!_strnicmp(szKey, "max", 32))
{
return 1;
}
else if (!_strnicmp(szKey, "rand", 32))
{
return 2;
}
else if (!_strnicmp(szKey, "skil... | 34.228495 | 195 | 0.663787 | eezstreet |
a68ed078978ca1c9a926934a97edbe9cb27275a4 | 3,614 | cpp | C++ | MenuSelection.cpp | kaitokidi/0hgamejam3 | b344c793ef87f931e46ef15dde99346f5bc68b06 | [
"MIT"
] | null | null | null | MenuSelection.cpp | kaitokidi/0hgamejam3 | b344c793ef87f931e46ef15dde99346f5bc68b06 | [
"MIT"
] | null | null | null | MenuSelection.cpp | kaitokidi/0hgamejam3 | b344c793ef87f931e46ef15dde99346f5bc68b06 | [
"MIT"
] | null | null | null | #include "MenuSelection.hpp"
MenuSelection::MenuSelection() {
open = true;
}
MenuSelection::~MenuSelection(){}
void MenuSelection::notAnimation(){
wantAnimation = false;
}
void MenuSelection::animation(){
wantAnimation = true;
}
int MenuSelection:... | 31.982301 | 115 | 0.465412 | kaitokidi |
a68f0e6bd1de89dc081a4f309db3b7bf99110e6a | 311 | hpp | C++ | include/pkg/path_not_a_directory_error.hpp | naughtybikergames/pkg | 9a78380c6cf82c95dec3968a7ed69000b349113d | [
"MIT"
] | null | null | null | include/pkg/path_not_a_directory_error.hpp | naughtybikergames/pkg | 9a78380c6cf82c95dec3968a7ed69000b349113d | [
"MIT"
] | null | null | null | include/pkg/path_not_a_directory_error.hpp | naughtybikergames/pkg | 9a78380c6cf82c95dec3968a7ed69000b349113d | [
"MIT"
] | null | null | null | #ifndef PKG_PATH_NOT_A_DIRECTORY_ERROR_HPP
#define PKG_PATH_NOT_A_DIRECTORY_ERROR_HPP
#include "pkg_error.hpp"
#include <string>
namespace pkg {
class path_not_a_directory_error : public pkg_error {
public:
path_not_a_directory_error(const std::string &path) throw();
};
}
#endif | 20.733333 | 72 | 0.73955 | naughtybikergames |
a6919b45fc4615fc61c7921923382d38a0b13487 | 5,299 | hpp | C++ | src/allocator.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | 10 | 2016-10-06T06:22:20.000Z | 2022-02-28T05:33:09.000Z | src/allocator.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | null | null | null | src/allocator.hpp | Zoxc/mirb | 14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6 | [
"BSD-3-Clause"
] | 3 | 2018-01-08T03:34:34.000Z | 2021-09-12T12:12:22.000Z | #pragma once
#include "common.hpp"
#include <Prelude/Allocator.hpp>
#include <Prelude/LinkedList.hpp>
#include "value.hpp"
namespace Mirb
{
class Collector;
// PinnedHeader are objects with a fixed memory address
class PinnedHeader:
public Value
{
private:
#ifndef VALGRIND
LinkedListEntry<PinnedHeader... | 19.553506 | 91 | 0.628609 | Zoxc |
a693329ed8fec9fb0139ded22af46cc6556aabb3 | 628,759 | cpp | C++ | iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | 11 | 2016-07-22T19:58:09.000Z | 2021-09-21T12:51:40.000Z | iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | 1 | 2018-05-07T14:32:13.000Z | 2018-05-08T09:15:30.000Z | iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_t3186046376;
// UnityEngine.UI.MaskableGraphic/... | 36.46248 | 383 | 0.772309 | mopsicus |
a69651305b83b8ad3b329222b9eba940f29a8639 | 1,219 | cpp | C++ | OpenGL-Sandbox/src/Paddle.cpp | j-delrosario/pong | f9d79f65e1a64bcee193da2ca00f731c762a6512 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/Paddle.cpp | j-delrosario/pong | f9d79f65e1a64bcee193da2ca00f731c762a6512 | [
"Apache-2.0"
] | null | null | null | OpenGL-Sandbox/src/Paddle.cpp | j-delrosario/pong | f9d79f65e1a64bcee193da2ca00f731c762a6512 | [
"Apache-2.0"
] | null | null | null | #include "Paddle.h"
#include "GLCore/Core/KeyCodes.h"
#pragma once
using namespace GLCore;
using namespace GLCore::Utils;
Paddle::Paddle(float direction, float speed, glm::vec2 size, glm::vec2 position, glm::vec4 color)
: m_Active(false), m_Direction(direction), m_Speed(speed), m_Size(size), m_Position(position), m_... | 19.983607 | 110 | 0.652994 | j-delrosario |
a69bb072d6b540f4e7ab6525067e285506ba7750 | 17,855 | cpp | C++ | src/lower/index_expressions/lower_scatter_workspace.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | null | null | null | src/lower/index_expressions/lower_scatter_workspace.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | null | null | null | src/lower/index_expressions/lower_scatter_workspace.cpp | huangjd/simit-staging | 6a1d7946e88c7bf383abe800ee835d3680e86559 | [
"MIT"
] | null | null | null | #include "lower_scatter_workspace.h"
#include <vector>
#include <set>
#include <map>
#include <string>
#include "loops.h"
#include "lower_tensor_utils.h"
#include "indexvar.h"
#include "ir.h"
#include "ir_visitor.h"
#include "ir_printer.h"
#include "ir_codegen.h"
#include "substitute.h"
#include "path_expressions.h"... | 38.151709 | 82 | 0.662504 | huangjd |
a69c9430522117866ce02715f08c106547005393 | 574 | cpp | C++ | ProWorld/Concept.cpp | JosepContact/ProWorld | 194a38a0f8358e7bd5e89a8e517e87b91dd6e517 | [
"MIT"
] | null | null | null | ProWorld/Concept.cpp | JosepContact/ProWorld | 194a38a0f8358e7bd5e89a8e517e87b91dd6e517 | [
"MIT"
] | null | null | null | ProWorld/Concept.cpp | JosepContact/ProWorld | 194a38a0f8358e7bd5e89a8e517e87b91dd6e517 | [
"MIT"
] | null | null | null | #include "Concept.h"
using namespace std;
Concept::Concept()
{
type = UnkownConcept;
}
Concept::Concept(std::string argword, std::string argplural, ConceptType argtype) : word(argword), plural(argplural), type(argtype)
{
}
Concept::~Concept()
{
}
void Concept::SetWord(string name, string plural)
{
this->word =... | 12.755556 | 131 | 0.688153 | JosepContact |
a6a723b5fb244ce092beb83baa19a24b6d1f0c4b | 11,168 | hpp | C++ | 3rdParty/occa/include/occa/lang/primitive.hpp | krowe-alcf/nekBench | d314ca6b942076620dd7dab8f11df97be977c5db | [
"BSD-3-Clause"
] | null | null | null | 3rdParty/occa/include/occa/lang/primitive.hpp | krowe-alcf/nekBench | d314ca6b942076620dd7dab8f11df97be977c5db | [
"BSD-3-Clause"
] | null | null | null | 3rdParty/occa/include/occa/lang/primitive.hpp | krowe-alcf/nekBench | d314ca6b942076620dd7dab8f11df97be977c5db | [
"BSD-3-Clause"
] | null | null | null | #ifndef OCCA_LANG_PRIMITIVE_HEADER
#define OCCA_LANG_PRIMITIVE_HEADER
#include <iostream>
#include <sstream>
#include <iomanip>
#include <stdint.h>
#include <stdlib.h>
#include <occa/defines.hpp>
#include <occa/io/output.hpp>
#include <occa/tools/string.hpp>
#include <occa/tools/sys.hpp>
namespace occa {
//---[ P... | 29.083333 | 79 | 0.597153 | krowe-alcf |
a6a85c509488ab470e674715b75d896bc4b1efe6 | 324 | cpp | C++ | src/application/unit_tests/main_unit_tests.cpp | rybcom/cpp_modular_template | 19c94a7a4000ca33e389e7bb43c510d1ee29115a | [
"BSD-3-Clause"
] | null | null | null | src/application/unit_tests/main_unit_tests.cpp | rybcom/cpp_modular_template | 19c94a7a4000ca33e389e7bb43c510d1ee29115a | [
"BSD-3-Clause"
] | null | null | null | src/application/unit_tests/main_unit_tests.cpp | rybcom/cpp_modular_template | 19c94a7a4000ca33e389e7bb43c510d1ee29115a | [
"BSD-3-Clause"
] | null | null | null | #include "project_config.h"
#if RUN_AS_UNIT_TESTING() == true
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "unit_tests/object_unit_test.h"
int main(int argc, char* argv[])
{
char* xxx[2];
xxx[0] = (char*)"xxx";
xxx[1] =(char*) "-s";
int result = Catch::Session().run(2, xxx);
return result;
}
#en... | 16.2 | 43 | 0.666667 | rybcom |
16f5594c0cea57632469aaf24a0ad389b699e24b | 3,117 | hpp | C++ | contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | 1 | 2022-03-31T01:54:57.000Z | 2022-03-31T01:54:57.000Z | contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp | s0/geode-native | 9b4c572ac0c63854641410a49521625c29a75bae | [
"Apache-2.0"
] | null | null | null | /*
* PUBLIC DOMAIN PCCTS-BASED C++ GRAMMAR (cplusplus.g, stat.g, expr.g)
*
* Authors: Sumana Srinivasan, NeXT Inc.; sumana_srinivasan@next.com
* Terence Parr, Parr Research Corporation; parrt@parr-research.com
* Russell Quong, Purdue University; quong@ecn.purdue.edu
*
* SOFTWA... | 31.484848 | 79 | 0.695541 | vaijira |
e500886c6683389bdedc36ec89e4aaf3b4e362b2 | 2,448 | cpp | C++ | modules/mdns/src/linux/Location.cpp | lubyk/lubyk | e4792099d61c460497aacda1a3c08f23f5bb84ed | [
"MIT"
] | 18 | 2015-05-11T16:18:23.000Z | 2021-12-03T09:28:51.000Z | modules/mdns/src/linux/Location.cpp | lubyk/lubyk | e4792099d61c460497aacda1a3c08f23f5bb84ed | [
"MIT"
] | 2 | 2016-07-15T09:13:41.000Z | 2019-09-17T11:38:21.000Z | modules/mdns/src/linux/Location.cpp | lubyk/lubyk | e4792099d61c460497aacda1a3c08f23f5bb84ed | [
"MIT"
] | 4 | 2015-05-13T20:26:28.000Z | 2021-12-03T09:28:52.000Z | /*
==============================================================================
This file is part of the LUBYK project (http://lubyk.org)
Copyright (c) 2007-2011 by Gaspard Bucher (http://teti.ch).
------------------------------------------------------------------------------
Permission is hereby gran... | 34 | 88 | 0.638889 | lubyk |
e5009c9afd5e8a4a26d29c63fc49171a80100fd6 | 1,429 | cpp | C++ | source/utility.cpp | tigeroses/bwa-postalt | 74bc52e931a03395708c5038394055a29f1babbf | [
"Unlicense"
] | 2 | 2020-10-21T08:24:48.000Z | 2022-01-17T10:04:44.000Z | source/utility.cpp | tigeroses/bwa-postalt | 74bc52e931a03395708c5038394055a29f1babbf | [
"Unlicense"
] | null | null | null | source/utility.cpp | tigeroses/bwa-postalt | 74bc52e931a03395708c5038394055a29f1babbf | [
"Unlicense"
] | null | null | null |
#include "postalt/utility.h"
#include <sstream>
void split_str(const std::string& s, std::vector<std::string>& v, char c, bool skip_empty)
{
// std::istringstream iss(str);
// std::vector< std::string > res;
// for (std::string item; std::getline(iss, item, delim);)
// if (skip_empty && item.em... | 21.984615 | 90 | 0.495451 | tigeroses |
e504faf3170b46bf9ef1bc054012488ac4b5f3cf | 637 | hpp | C++ | vm/aging_space.hpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | vm/aging_space.hpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | vm/aging_space.hpp | dch/factor | faacbb58e0738a0612a04b792a3f6ff4929134ff | [
"BSD-2-Clause"
] | null | null | null | namespace factor {
struct aging_space : bump_allocator {
object_start_map starts;
aging_space(cell size, cell start)
: bump_allocator(size, start), starts(size, start) {}
object* allot(cell size) {
if (here + size > end)
return NULL;
object* obj = bump_allocator::allot(size);
starts.re... | 18.2 | 59 | 0.613815 | dch |
e505696107be31a1e366450617a581df89690cc7 | 10,415 | cpp | C++ | kernel/src/physicalmemory.cpp | dennis95/dennix | 8fee2b2158e350576935ddefa1a207000b9ae77f | [
"0BSD"
] | 99 | 2016-11-02T20:04:44.000Z | 2022-03-29T07:27:46.000Z | kernel/src/physicalmemory.cpp | dennis95/dennix | 8fee2b2158e350576935ddefa1a207000b9ae77f | [
"0BSD"
] | 30 | 2017-08-10T18:31:55.000Z | 2022-03-01T14:10:25.000Z | kernel/src/physicalmemory.cpp | dennis95/dennix | 8fee2b2158e350576935ddefa1a207000b9ae77f | [
"0BSD"
] | 9 | 2016-11-01T09:16:42.000Z | 2022-02-10T14:10:44.000Z | /* Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021 Dennis Wölfing
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED ... | 29.672365 | 80 | 0.644263 | dennis95 |
e505ff14c7a9605922d8bffdd13c4caccc58323b | 206 | cpp | C++ | Classes/NeuralNetworks/NeuronLayer.cpp | Ervadar/SmartShooters | 7f861ae62a9b9add00639a82d473bfa345a2470d | [
"MIT"
] | null | null | null | Classes/NeuralNetworks/NeuronLayer.cpp | Ervadar/SmartShooters | 7f861ae62a9b9add00639a82d473bfa345a2470d | [
"MIT"
] | null | null | null | Classes/NeuralNetworks/NeuronLayer.cpp | Ervadar/SmartShooters | 7f861ae62a9b9add00639a82d473bfa345a2470d | [
"MIT"
] | null | null | null | #include "NeuronLayer.h"
NeuronLayer::NeuronLayer(int neuronCount, int inPutsPerNeuron)
: neuronCount(neuronCount)
{
for (int i = 0; i < neuronCount; ++i)
neurons.push_back(Neuron(inPutsPerNeuron));
}
| 22.888889 | 62 | 0.742718 | Ervadar |
e50612448af0ef739e67d81bdeac2c3d016b6d0a | 7,340 | cpp | C++ | wxWidgets/UserInterface/AboutDialog.cpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | null | null | null | wxWidgets/UserInterface/AboutDialog.cpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | null | null | null | wxWidgets/UserInterface/AboutDialog.cpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | 1 | 2021-07-16T21:01:26.000Z | 2021-07-16T21:01:26.000Z | /* Do not remove this header/ copyright information.
*
* Copyright © Trilobyte Software Engineering GmbH, Berlin, Germany 2010-2011.
* You are allowed to modify and use the source code from
* Trilobyte Software Engineering GmbH, Berlin, Germany for free if you are not
* making profit with it or its adaption. Else ... | 35.119617 | 83 | 0.703951 | st-gb |
e5070f75689070b6c6d608fe5e799a91ea5c3dfc | 13,280 | cpp | C++ | legacy/hershey-fonts.cpp | AnyTimeTraveler/ReMarkable2Typewriter | 2ec4e124a5704de598cb1b5940ba40ad830240eb | [
"MIT"
] | null | null | null | legacy/hershey-fonts.cpp | AnyTimeTraveler/ReMarkable2Typewriter | 2ec4e124a5704de598cb1b5940ba40ad830240eb | [
"MIT"
] | null | null | null | legacy/hershey-fonts.cpp | AnyTimeTraveler/ReMarkable2Typewriter | 2ec4e124a5704de598cb1b5940ba40ad830240eb | [
"MIT"
] | null | null | null | #include "ccow.h"
#include <stdlib.h>
#include <string.h>
#include <linux/input.h>
// The font data here was modified from
// http://paulbourke.net/dataformats/hershey/
// Compiled by Paul Bourke in 1997.
static const int8_t hershey_font_simplex_compact[95][112] = {
/* num_stroke_pts, width, stroke_data 21=top, ... | 71.397849 | 318 | 0.511521 | AnyTimeTraveler |
e50aed423e5cdbe81d5eaf3e19783ae564f3dbf0 | 3,310 | hpp | C++ | DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #pragma once
// some definitions for the DLL to play nice with Maya
#define NT_PLUGIN
#define REQUIRE_IOSTREAM
#define EXPORT __declspec(dllexport)
#include <stdlib.h>
#include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <maya/MEvent.h>
#include <maya/MFnPlugin.h>
#include <maya/MFnMesh.... | 31.226415 | 111 | 0.779758 | meraz |
e511d3a85184f777397408c078e6e30f5a3b2ce0 | 747 | cpp | C++ | FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp | GSMgeeth/gameofgo | 51563fea15fbdca797afb7cf9a29773a313e5697 | [
"Apache-2.0"
] | 13 | 2016-09-09T13:45:42.000Z | 2021-12-17T08:42:28.000Z | FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp | GSMgeeth/gameofgo | 51563fea15fbdca797afb7cf9a29773a313e5697 | [
"Apache-2.0"
] | 1 | 2016-06-18T05:19:58.000Z | 2016-09-15T18:21:54.000Z | FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp | cbordeman/gameofgo | 51563fea15fbdca797afb7cf9a29773a313e5697 | [
"Apache-2.0"
] | 5 | 2016-11-19T03:05:12.000Z | 2022-01-31T12:20:40.000Z | //----------------------------------------------------------------------------
/** @file SgGtpUtil.cpp */
//----------------------------------------------------------------------------
#include "SgSystem.h"
#include "SgGtpUtil.h"
#include "SgPointSet.h"
#include "../gtpengine/GtpEngine.h"
using namespace std;
//---... | 25.758621 | 78 | 0.348059 | GSMgeeth |
e5120f54c6135ec4bb6213f5704b8feb2dc53299 | 783 | cc | C++ | src/event/UpdateQuestEvent.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 7 | 2019-05-09T15:38:55.000Z | 2021-12-07T03:13:29.000Z | src/event/UpdateQuestEvent.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | 1 | 2019-06-20T03:01:18.000Z | 2019-06-20T03:01:18.000Z | src/event/UpdateQuestEvent.cc | kallentu/pathos | 1914edbccc98baef79d98fb065119230072ac40d | [
"MIT"
] | null | null | null | #include "event/UpdateQuestEvent.h"
#include "core/PathosInstance.h"
#include "quest/Quest.h"
#include "quest/QuestManager.h"
#include "request/ClearEntireStatus.h"
#include "request/MultipleRequest.h"
#include "request/QuestRequest.h"
using namespace Pathos;
void UpdateQuestEvent::begin(PathosInstance *inst) {
// ... | 35.590909 | 86 | 0.771392 | kallentu |
e512309ffc3a487f30bd5f06a8324322bc587518 | 3,653 | cpp | C++ | matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | 4 | 2018-12-07T12:47:13.000Z | 2021-12-21T08:46:50.000Z | matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | 2 | 2018-10-29T09:29:19.000Z | 2021-12-21T08:46:52.000Z | /************************************************************************
File: 2D_DT_Library.c
Author(s): Alexander Vasilevskiy
Created: 24 May 2000
Last Revision: $Date$
Description:
$Revision$
$Log$
Copyright (c) 2000 by Alexander Vasilevskiy, Centre for Intelligent Machines,
... | 28.76378 | 92 | 0.590747 | joycewangsy |
e513202516c94c89356fb1297517db0ea937e398 | 9,369 | cpp | C++ | synthts_et/lib/etana/chklyh3.cpp | martnoumees/synthts_et | 8845b33514edef3e54ae0b45404615704c418142 | [
"Unlicense"
] | 19 | 2015-10-27T22:21:49.000Z | 2022-02-07T11:54:35.000Z | synthts_vr/lib/etana/chklyh3.cpp | ikiissel/synthts_vr | 33f2686dc9606aa95697ac0cf7e9031668bc34e8 | [
"Unlicense"
] | 8 | 2015-10-28T08:38:08.000Z | 2021-03-25T21:26:59.000Z | synthts_vr/lib/etana/chklyh3.cpp | ikiissel/synthts_vr | 33f2686dc9606aa95697ac0cf7e9031668bc34e8 | [
"Unlicense"
] | 11 | 2016-01-03T11:47:08.000Z | 2021-03-17T18:59:54.000Z |
/*
* kontrollib, kas S6na on suurt�hel. lyhend mingi l�puga;
* n�iteks:
*
* USA-ni, USAni, SS-lane, SSlane, IRA-meelne
*
*/
#include "mrf-mrf.h"
#include "mittesona.h"
int MORF0::chklyh3(MRFTULEMUSED *tulemus, FSXSTRING *S6na, int sygavus, int *tagasitasand)
{
int i;
int res;
FSXSTRING tmpsona, tmplop... | 37.931174 | 141 | 0.501441 | martnoumees |
e513e8f35d55b6333b9fc172319f6ab34fc57a86 | 2,181 | cpp | C++ | tests/dsp_dotproductscalling_tests.cpp | jontio/JSquelch | 72805d6e08035daca09e6c668c63f46dc66674a2 | [
"MIT"
] | 2 | 2021-07-11T03:36:42.000Z | 2022-03-26T15:04:30.000Z | tests/dsp_dotproductscalling_tests.cpp | jontio/JSquelch | 72805d6e08035daca09e6c668c63f46dc66674a2 | [
"MIT"
] | null | null | null | tests/dsp_dotproductscalling_tests.cpp | jontio/JSquelch | 72805d6e08035daca09e6c668c63f46dc66674a2 | [
"MIT"
] | null | null | null | #include "../src/dsp/dsp.h"
#include "../src/util/RuntimeError.h"
#include "../src/util/stdio_utils.h"
#include <random>
//important for Qt include cpputest last as it mucks up new and causes compiling to fail
#include "CppUTest/TestHarness.h"
TEST_GROUP(Test_DSP_DotProductScalling)
{
double double_tolerance=0.0... | 24.505618 | 92 | 0.596974 | jontio |
e514c32bc4403e8764cc047eaae816e6164f1e18 | 2,326 | cpp | C++ | src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp | composer-gui/composer-gui | 2a488db4c6828fee0f36682d0b0edc96d359b4c3 | [
"BSD-3-Clause"
] | 13 | 2019-04-01T07:54:05.000Z | 2022-03-27T16:55:59.000Z | src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp | informaticacba/composer-gui | 2a488db4c6828fee0f36682d0b0edc96d359b4c3 | [
"BSD-3-Clause"
] | null | null | null | src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp | informaticacba/composer-gui | 2a488db4c6828fee0f36682d0b0edc96d359b4c3 | [
"BSD-3-Clause"
] | 1 | 2022-03-27T16:56:02.000Z | 2022-03-27T16:56:02.000Z | #include <QFormLayout>
#include <QDialogButtonBox>
#include <QPushButton>
#include "Author.h"
namespace composer_gui
{
namespace composer
{
namespace package
{
namespace form
{
namespace delegate
{
namespace editor
{
Author::Author(QWidget *parent) : QDialog(parent)
{
m_name = new QLineEdit;
m_role ... | 28.365854 | 90 | 0.678418 | composer-gui |
e51a15cf4157104113eade2da5910a59e7dcd9dc | 8,827 | cpp | C++ | apps/edges/src/main.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 97 | 2015-10-16T04:32:33.000Z | 2022-03-29T07:04:02.000Z | apps/edges/src/main.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 19 | 2016-07-01T16:37:02.000Z | 2020-09-10T06:09:39.000Z | apps/edges/src/main.cpp | jpjodoin/litiv | 435556bea20d60816aff492f50587b1a2d748b21 | [
"BSD-3-Clause"
] | 41 | 2015-11-17T05:59:23.000Z | 2022-02-16T09:30:28.000Z |
// This file is part of the LITIV framework; visit the original repository at
// https://github.com/plstcharles/litiv for more information.
//
// Copyright 2015 Pierre-Luc St-Charles; pierre-luc.st-charles<at>polymtl.ca
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ... | 56.583333 | 223 | 0.599977 | jpjodoin |
e520970cd0b5454c8070fe722b2332d5f606b64f | 245 | cpp | C++ | Math/CountDivisorsOfaNum.cpp | tarek99samy/Competitive-Programming | 22fa7e9001e6a3606b346d1f56c71344401ea55c | [
"MIT"
] | 3 | 2020-01-03T11:38:45.000Z | 2021-03-13T13:34:50.000Z | Math/CountDivisorsOfaNum.cpp | tarek99samy/Competitive-Programming | 22fa7e9001e6a3606b346d1f56c71344401ea55c | [
"MIT"
] | null | null | null | Math/CountDivisorsOfaNum.cpp | tarek99samy/Competitive-Programming | 22fa7e9001e6a3606b346d1f56c71344401ea55c | [
"MIT"
] | 3 | 2019-04-19T23:28:42.000Z | 2019-10-16T19:38:57.000Z | // Returns The Number Of divisors of a given number.
// O(sqrt(n))
ll CountDivisors(ll n){
ll cnt = 0 ;
ll i ;
for (i = 1; i * i <= n; ++i)
if (n % i == 0)
cnt+=2 ;
if(i*i==n)
cnt++;
return cnt;
}
| 18.846154 | 52 | 0.440816 | tarek99samy |
e524c12a99f73b8e48c1b69cbb2a8c54845f42ac | 871 | cpp | C++ | USACO/friday.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | 1 | 2018-02-11T09:41:54.000Z | 2018-02-11T09:41:54.000Z | USACO/friday.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | null | null | null | USACO/friday.cpp | tico88612/Solution-Note | 31a9d220fd633c6920760707a07c9a153c2f76cc | [
"MIT"
] | null | null | null | /*
ID: tico8861
TASK: friday
LANG: C++
*/
/* LANG can be C++11 or C++14 for those more recent releases */
#include <iostream>
#include <fstream>
#include <string>
#include <map>
using namespace std;
bool isleap(int year){
if((year%400==0)||(year%4==0&&year%100))
return true;
return false;
}
int m... | 19.795455 | 63 | 0.529277 | tico88612 |
e5268d4cebb5c6389eed22bcbb395a2fc6876e11 | 2,344 | cpp | C++ | codes/CF/CF_840D.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 2 | 2021-03-07T03:34:02.000Z | 2021-03-09T01:22:21.000Z | codes/CF/CF_840D.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T15:01:23.000Z | 2021-03-27T15:55:34.000Z | codes/CF/CF_840D.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T05:02:33.000Z | 2021-03-27T05:02:33.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <cmath>
#include <cassert>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <sstream>
#include <list>
#include <queue>
#include <stack>
//#include <unordered_map>
//#inclu... | 18.603175 | 68 | 0.523038 | chessbot108 |
e528077d1b8c81dbc32a70d1bf246b991b20bf81 | 447 | cpp | C++ | JetBrainsFileWatcher/main.cpp | SineStriker/fsnotifier | 38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6 | [
"Apache-2.0"
] | 4 | 2022-03-07T01:47:19.000Z | 2022-03-07T12:24:48.000Z | JetBrainsFileWatcher/main.cpp | SineStriker/fsnotifier | 38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6 | [
"Apache-2.0"
] | null | null | null | JetBrainsFileWatcher/main.cpp | SineStriker/fsnotifier | 38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6 | [
"Apache-2.0"
] | null | null | null | #include "MainWindow.h"
#include <QApplication>
#include <QDir>
#include "FileSystemNotifier.h"
#include "JetBrainsFileWatcher/JBFileWatcherUtils.h"
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
// QDir dir(a.applicationDirPath());
// dir.cdUp();
// FileSystemNotifier::setExecutabl... | 18.625 | 81 | 0.673378 | SineStriker |
e5302d82ddf800a058fb520ecac13ab522c99827 | 1,194 | cpp | C++ | Foundation/src/DirectoryIterator_VMS.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | null | null | null | Foundation/src/DirectoryIterator_VMS.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 3 | 2021-06-02T02:59:06.000Z | 2021-09-16T04:35:06.000Z | Foundation/src/DirectoryIterator_VMS.cpp | abyss7/poco | a651a78c76eebd414b37745f7dd8539460154cab | [
"BSL-1.0"
] | 6 | 2021-06-02T02:39:34.000Z | 2022-03-29T05:51:57.000Z | //
// DirectoryIterator_VMS.cpp
//
// Library: Foundation
// Package: Filesystem
// Module: DirectoryIterator
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/DirectoryIterator_VMS.h"
#include "Poco/Path.h"
#in... | 18.090909 | 103 | 0.696817 | abyss7 |
e531cd17c405b899e279a1e66f2cec531fdee364 | 2,516 | cpp | C++ | cpp/src/dotcpp/dot/noda_time/local_time_util.cpp | dotcpp/dotcpp | ba786aa072dd0612f5249de63f80bc540203840e | [
"Apache-2.0"
] | 4 | 2019-08-08T03:53:37.000Z | 2021-01-31T06:51:56.000Z | cpp/src/dotcpp/dot/noda_time/local_time_util.cpp | compatibl/dotcpp-mongo | e329e5a0523577b0d1f36c82d5caaac2e92e1023 | [
"Apache-2.0"
] | null | null | null | cpp/src/dotcpp/dot/noda_time/local_time_util.cpp | compatibl/dotcpp-mongo | e329e5a0523577b0d1f36c82d5caaac2e92e1023 | [
"Apache-2.0"
] | 1 | 2015-03-28T15:52:01.000Z | 2015-03-28T15:52:01.000Z | /*
Copyright (C) 2015-present The DotCpp Authors.
This file is part of .C++, a native C++ implementation of
popular .NET class library APIs developed to facilitate
code reuse between C# and C++.
http://github.com/dotcpp/dotcpp (source)
http://dotcpp.org (documentation)
Licensed under the Apache License, Vers... | 34.944444 | 120 | 0.67806 | dotcpp |
e535f53cac3f41386c15bf2999b119b4e6281020 | 2,009 | hpp | C++ | src/batched/KokkosBatched_FindAmax_Internal.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 156 | 2017-03-01T23:38:10.000Z | 2022-03-27T21:28:03.000Z | src/batched/KokkosBatched_FindAmax_Internal.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 1,257 | 2017-03-03T15:25:16.000Z | 2022-03-31T19:46:09.000Z | src/batched/KokkosBatched_FindAmax_Internal.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 76 | 2017-03-01T17:03:59.000Z | 2022-03-03T21:04:41.000Z | #ifndef __KOKKOSBATCHED_FIND_AMAX_INTERNAL_HPP__
#define __KOKKOSBATCHED_FIND_AMAX_INTERNAL_HPP__
/// \author Kyungjoo Kim (kyukim@sandia.gov)
#include "KokkosBatched_Util.hpp"
namespace KokkosBatched {
///
/// Serial Internal Impl
/// =====================
struct SerialFindAmaxInternal {
template<type... | 24.5 | 90 | 0.551518 | dialecticDolt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.