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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2cd047cb49cf95990ef36d087236e326539eca03 | 8,831 | cpp | C++ | kernels/plugins/dummy_tcp_stack/dummy_tcp_stack.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | kernels/plugins/dummy_tcp_stack/dummy_tcp_stack.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | kernels/plugins/dummy_tcp_stack/dummy_tcp_stack.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | # /*******************************************************************************
# Copyright (C) 2021 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.apa... | 32.707407 | 109 | 0.666516 | TristanLaan |
2cd2c0adfce8b919bd91624d1a48b2a47ef0087e | 1,031 | cpp | C++ | alakajam13_states/State.InPlay.Next.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | alakajam13_states/State.InPlay.Next.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | alakajam13_states/State.InPlay.Next.cpp | playdeezgames/tggd_alakajam13 | e4433a14d4e74cc4f711c7bb6610c87e2fd9b377 | [
"MIT"
] | null | null | null | #include "UIState.h"
#include "States.h"
#include <Game.Audio.Mux.h>
#include <Application.OnEnter.h>
#include <Application.Update.h>
#include <Application.UIState.h>
#include <Game.Actors.h>
#include <Game.ActorTypes.h>
namespace state::in_play
{
static const ::UIState CURRENT_STATE = ::UIState::IN_PLAY_NEXT;
stati... | 23.976744 | 64 | 0.695441 | playdeezgames |
2cdb1d4f07e8ac447b1d5ba529a392cca7b05031 | 3,218 | cc | C++ | libcef_dll/cpptoc/media_event_callback_cpptoc.cc | frogbywyplay/appframeworks_cef | 12e3a6d32370b4f72707b493ab951a5d8cb3989d | [
"BSD-3-Clause"
] | null | null | null | libcef_dll/cpptoc/media_event_callback_cpptoc.cc | frogbywyplay/appframeworks_cef | 12e3a6d32370b4f72707b493ab951a5d8cb3989d | [
"BSD-3-Clause"
] | null | null | null | libcef_dll/cpptoc/media_event_callback_cpptoc.cc | frogbywyplay/appframeworks_cef | 12e3a6d32370b4f72707b493ab951a5d8cb3989d | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | 28.732143 | 82 | 0.745183 | frogbywyplay |
2cdb4a03bd4bf1a1ecda55cbaf83fa1c792e3037 | 7,128 | cxx | C++ | ds/security/gina/gpext/appmgmt/cstore/cache.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/gina/gpext/appmgmt/cstore/cache.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/gina/gpext/appmgmt/cstore/cache.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 2001
//
// File: cache.cxx
//
// Contents: Class Store Binding cache
//
// Author: AdamEd
//
//--------------------------------------------------... | 19.910615 | 76 | 0.488917 | npocmaka |
2cde5e689c7a16353dbaa80bf03cfbc0926ee344 | 294 | cpp | C++ | cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/ComparisonWithWiderType/test3.cpp | timoles/codeql | 2d24387e9e300bf03be35694816b1e76ae88a50c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/ComparisonWithWiderType/test3.cpp | timoles/codeql | 2d24387e9e300bf03be35694816b1e76ae88a50c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/ComparisonWithWiderType/test3.cpp | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | void test_issue_5850(unsigned char small, unsigned int large1) {
for(; small < static_cast<unsigned char>(large1 - 1); small++) { } // GOOD
}
void test_widening(unsigned char small, char large) {
for(; small < static_cast<unsigned int>(static_cast<short>(large) - 1); small++) { } // GOOD
}
| 36.75 | 93 | 0.693878 | timoles |
2ce05467170d8885f088e2d9166c4194db95a873 | 19,961 | cpp | C++ | Core/burn/drv/pre90s/d_marineb.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 17 | 2018-05-24T05:20:45.000Z | 2021-12-24T07:27:22.000Z | Core/burn/drv/pre90s/d_marineb.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 6 | 2016-10-20T02:36:07.000Z | 2017-03-08T15:23:06.000Z | Core/burn/drv/pre90s/d_marineb.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 5 | 2019-01-21T00:45:00.000Z | 2021-07-20T08:34:22.000Z | // Based on original MAME driver writen by Zsolt Vasvari
#include "tiles_generic.h"
#include "z80_intf.h"
#include "driver.h"
extern "C" {
#include "ay8910.h"
}
enum { SPRINGER = 0, MARINEB };
static UINT8 *AllMem;
static UINT8 *MemEnd;
static UINT8 *RamStart;
static UINT8 *RamEnd;
static UINT32 *TempPalette;
sta... | 23.791418 | 194 | 0.612645 | atship |
2ce10d66c6124032b15287bb1518341d0aad7bb8 | 13,938 | cc | C++ | test/typy/SkillParam.cc | ibelie/typy | 3616845fb91459aacd8df6bf82c5d91f4542bee7 | [
"MIT"
] | null | null | null | test/typy/SkillParam.cc | ibelie/typy | 3616845fb91459aacd8df6bf82c5d91f4542bee7 | [
"MIT"
] | null | null | null | test/typy/SkillParam.cc | ibelie/typy | 3616845fb91459aacd8df6bf82c5d91f4542bee7 | [
"MIT"
] | null | null | null | // Generated by the typy Cpp.GenerateExtention. DO NOT EDIT!
#include "SkillParam.h"
#include "list.h"
#include "dict.h"
TypyObjectBegin(SkillParam);
SkillParam::SkillParam() : Message() {
ZERO(SkillParam, p_buckID, _cached_size);
}
void SkillParam::Clear() {
::typy::Clear(p_buckID);
::typy::Clear(p_destPos);
... | 42.886154 | 161 | 0.693643 | ibelie |
f8ea3449a2b90471a1688f3323dae99fd5cf10cc | 33,461 | cc | C++ | src/system/proto/heartbeat.pb.cc | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | src/system/proto/heartbeat.pb.cc | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | src/system/proto/heartbeat.pb.cc | yipeiw/pserver | 2a856ba0cda744e4b8adcd925238dd7d4609bea7 | [
"Apache-2.0"
] | null | null | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: system/proto/heartbeat.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "system/proto/heartbeat.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/proto... | 36.529476 | 122 | 0.677356 | yipeiw |
f8ee113d78812276f71e6cd6a599f54d34354199 | 729 | hpp | C++ | lib/DeviceConfigurator/DeviceConfigurator.hpp | OscarArgueyo/baliza-ic-dyasc | 33c9f8e577a2315982be5b223bbc3e3c38e23809 | [
"MIT"
] | null | null | null | lib/DeviceConfigurator/DeviceConfigurator.hpp | OscarArgueyo/baliza-ic-dyasc | 33c9f8e577a2315982be5b223bbc3e3c38e23809 | [
"MIT"
] | null | null | null | lib/DeviceConfigurator/DeviceConfigurator.hpp | OscarArgueyo/baliza-ic-dyasc | 33c9f8e577a2315982be5b223bbc3e3c38e23809 | [
"MIT"
] | null | null | null | #include <FS.h> //this needs to be first, or it all crashes and burns...
#include "SPIFFS.h"
#include <Arduino.h>
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
#include <WiFi.h>
//needed for library
#include <DNSServer.h>
#include <WebServer.h>
#include <WiFiM... | 23.516129 | 90 | 0.684499 | OscarArgueyo |
f8ee19e56239025529cc96b901820b9086f333b1 | 14,580 | cpp | C++ | src/mongo/db/cst/cst_match_translation.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/cst/cst_match_translation.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/cst/cst_match_translation.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 44.181818 | 100 | 0.593827 | benety |
f8ee35e5a1fc89be617224c7ecc7149ca2a835c7 | 113 | hpp | C++ | examples/SimpleProject/src/simple_private.hpp | Neumann-A/CMakeJSON | 395c4fa4588f80727ddaddd7b61276c6823be6b8 | [
"BSL-1.0"
] | 10 | 2021-03-02T10:01:57.000Z | 2021-11-01T11:27:36.000Z | examples/SimpleProject/src/simple_private.hpp | Neumann-A/CMakeJSON | 395c4fa4588f80727ddaddd7b61276c6823be6b8 | [
"BSL-1.0"
] | 1 | 2021-03-03T10:02:28.000Z | 2021-03-03T14:17:16.000Z | examples/SimpleProject/src/simple_private.hpp | Neumann-A/CMakeJSON | 395c4fa4588f80727ddaddd7b61276c6823be6b8 | [
"BSL-1.0"
] | null | null | null |
#include <string_view>
static constexpr std::string_view hello_private = "Hello from the private libs parts!"; | 22.6 | 87 | 0.778761 | Neumann-A |
f8ef62c4ed42e265af5d6992862863bde4556aaa | 2,274 | hpp | C++ | libs/render/include/hamon/render/gl/wgl/context.hpp | shibainuudon/HamonEngine | 508a69b0cf589ccb2e5d403ce9e78ff2b85cc058 | [
"MIT"
] | null | null | null | libs/render/include/hamon/render/gl/wgl/context.hpp | shibainuudon/HamonEngine | 508a69b0cf589ccb2e5d403ce9e78ff2b85cc058 | [
"MIT"
] | 21 | 2022-03-02T13:11:59.000Z | 2022-03-30T15:12:41.000Z | libs/render/include/hamon/render/gl/wgl/context.hpp | shibainuudon/HamonEngine | 508a69b0cf589ccb2e5d403ce9e78ff2b85cc058 | [
"MIT"
] | null | null | null | /**
* @file context.hpp
*
* @brief Context
*/
#ifndef HAMON_RENDER_GL_WGL_CONTEXT_HPP
#define HAMON_RENDER_GL_WGL_CONTEXT_HPP
#include <hamon/window.hpp>
#include <hamon/render/gl/wgl/wglext.hpp>
namespace hamon
{
inline namespace render
{
namespace gl
{
class Context
{
public:
expli... | 19.947368 | 71 | 0.656992 | shibainuudon |
f8f4a9ff2bdd920ef8f40c94203b80965f96b06c | 1,913 | cpp | C++ | phxrpc/network/test_echo_client.cpp | bombshen/phxrpc | 465db10bd4c4bf6d95f6e8b431cc7abcda731ffb | [
"BSD-3-Clause"
] | 1,117 | 2017-08-02T06:03:59.000Z | 2022-03-31T18:36:53.000Z | phxrpc/network/test_echo_client.cpp | kuiwang/wechat-phxrpc | a5f5af70f27406880013d49780fc4819ba3b75ef | [
"BSD-3-Clause"
] | 31 | 2017-08-16T08:43:35.000Z | 2021-02-13T22:49:25.000Z | phxrpc/network/test_echo_client.cpp | kuiwang/wechat-phxrpc | a5f5af70f27406880013d49780fc4819ba3b75ef | [
"BSD-3-Clause"
] | 359 | 2017-08-04T07:32:41.000Z | 2022-03-31T10:19:45.000Z | /*
Tencent is pleased to support the open source community by making
PhxRPC available.
Copyright (C) 2016 THL A29 Limited, a Tencent company.
All rights reserved.
Licensed under the BSD 3-Clause License (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy of the L... | 25.171053 | 86 | 0.594354 | bombshen |
f8fb86fb22532022ed7a5dda52dbbeaf3a3fc9ac | 12,315 | cpp | C++ | Source/Diagnostics/FieldIO.cpp | MaxThevenet/WarpX | d9606e22c2feb35bf2cfcd8843db7dfcbaf6c2f6 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/Diagnostics/FieldIO.cpp | MaxThevenet/WarpX | d9606e22c2feb35bf2cfcd8843db7dfcbaf6c2f6 | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-09-09T22:37:32.000Z | 2019-09-09T22:37:32.000Z | Source/Diagnostics/FieldIO.cpp | MaxThevenet/WarpX | d9606e22c2feb35bf2cfcd8843db7dfcbaf6c2f6 | [
"BSD-3-Clause-LBNL"
] | null | null | null |
#include <WarpX.H>
#include <FieldIO.H>
using namespace amrex;
void
PackPlotDataPtrs (Vector<const MultiFab*>& pmf,
const std::array<std::unique_ptr<MultiFab>,3>& data)
{
BL_ASSERT(pmf.size() == AMREX_SPACEDIM);
#if (AMREX_SPACEDIM == 3)
pmf[0] = data[0].get();
pmf[1] = data[1].get();
... | 37.318182 | 94 | 0.571092 | MaxThevenet |
f8fba5980867d0de70da86e2c3bd1df51d05e3e6 | 46,350 | cpp | C++ | extras/soundio/sd_play_all/sd_play_all.cpp | newdigate/teensy-resampling-sdreader | 98572b77f5e23e0d39bb10a846f3e0772d77334d | [
"MIT"
] | 18 | 2020-07-19T15:27:21.000Z | 2022-01-18T22:25:47.000Z | extras/soundio/sd_play_all/sd_play_all.cpp | newdigate/teensy-resampling-sdreader | 98572b77f5e23e0d39bb10a846f3e0772d77334d | [
"MIT"
] | 13 | 2020-12-02T14:05:42.000Z | 2021-09-24T20:45:41.000Z | extras/soundio/sd_play_all/sd_play_all.cpp | newdigate/teensy-resampling-sdreader | 98572b77f5e23e0d39bb10a846f3e0772d77334d | [
"MIT"
] | 7 | 2021-01-31T22:25:18.000Z | 2021-08-14T02:25:00.000Z | // Plays a RAW (16-bit signed) PCM audio file at slower or faster rate
// this example plays a sample stored in an array
#include <Arduino.h>
#include <Audio.h>
#include "playsdresmp.h"
#include "output_soundio.h"
#include <soundio/soundio.h>
#include <SD.h>
#include <iostream>
#include <execinfo.h>
#include <signal.h>... | 59.044586 | 74 | 0.641855 | newdigate |
f8fc1b11572be70b4491f7245d385e3855af1bae | 2,892 | hpp | C++ | include/Error.hpp | auroralimin/montador-assembly-inventado | b7deeb4a00f27e941636921a84d5222dd7b008a5 | [
"Apache-2.0"
] | null | null | null | include/Error.hpp | auroralimin/montador-assembly-inventado | b7deeb4a00f27e941636921a84d5222dd7b008a5 | [
"Apache-2.0"
] | null | null | null | include/Error.hpp | auroralimin/montador-assembly-inventado | b7deeb4a00f27e941636921a84d5222dd7b008a5 | [
"Apache-2.0"
] | null | null | null | #ifndef MONT_ERROR_HPP
#define MONT_ERROR_HPP
#include <string>
namespace mont {
/**
* @enum mont::errorType
* @brief Enum para os tipos de erro a serem mostrados
*/
enum errorType {
lexical,
sintatic,
semantic,
warning
};
/**
* @brief Classe respo... | 33.241379 | 80 | 0.525242 | auroralimin |
f8fd44ee4ab5a777006ee2d55f567d2cfe3f847c | 549 | hpp | C++ | demos/glyph_paint/glyph_paint.hpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | 1 | 2020-02-22T21:18:11.000Z | 2020-02-22T21:18:11.000Z | demos/glyph_paint/glyph_paint.hpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | null | null | null | demos/glyph_paint/glyph_paint.hpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | null | null | null | #ifndef DEMOS_GLYPH_PAINT_GLYPH_PAINT_HPP
#define DEMOS_GLYPH_PAINT_GLYPH_PAINT_HPP
#include "paint_area.hpp"
#include "side_pane.hpp"
#include <cppurses/widget/layouts/horizontal.hpp>
namespace demos {
namespace glyph_paint {
class Glyph_paint : public cppurses::layout::Horizontal<> {
public:
Glyph_paint();
... | 23.869565 | 59 | 0.763206 | thknepper |
f8fe4852816ae74326a9fa3f58c0f121ed8656fb | 4,061 | hpp | C++ | NodeContainer.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | 1 | 2020-09-11T13:21:05.000Z | 2020-09-11T13:21:05.000Z | NodeContainer.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | null | null | null | NodeContainer.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//! \file NodeContainer.hpp
//! \brief The NodeContainer class declaration.
//! \author Chris Oldwood
// Check for previous inclusion
#ifndef XML_NODECONTAINER_HPP
#define XML_NODECONTAINER_HPP
#if _MSC_VER > 1000
#pragma once
#endif
... | 23.748538 | 80 | 0.59542 | chrisoldwood |
5d06deaf663fa615ba011fd8b3608d128e365532 | 1,730 | cpp | C++ | source/generic/s3eYahooGamesAdTrack_register.cpp | salqadri/s3eYahooGamesAdTrack | 5183757b8fa03a6a1d368dc22e5364445209a290 | [
"MIT"
] | null | null | null | source/generic/s3eYahooGamesAdTrack_register.cpp | salqadri/s3eYahooGamesAdTrack | 5183757b8fa03a6a1d368dc22e5364445209a290 | [
"MIT"
] | null | null | null | source/generic/s3eYahooGamesAdTrack_register.cpp | salqadri/s3eYahooGamesAdTrack | 5183757b8fa03a6a1d368dc22e5364445209a290 | [
"MIT"
] | null | null | null | /*
* WARNING: this is an autogenerated file and will be overwritten by
* the extension interface script.
*/
/*
* This file contains the automatically generated loader-side
* functions that form part of the extension.
*
* This file is awlays compiled into all loaders but compiles
* to nothing if this extension i... | 27.03125 | 134 | 0.736416 | salqadri |
5d0833a25625749a373427e259501c8b3680a949 | 1,562 | hpp | C++ | src/org/apache/poi/wp/usermodel/CharacterRun.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/wp/usermodel/CharacterRun.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/wp/usermodel/CharacterRun.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/wp/usermodel/CharacterRun.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/wp/usermodel/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct poi::wp::usermodel::CharacterRun
: public virtual ::java::lang::Object
{
vir... | 35.5 | 73 | 0.68758 | pebble2015 |
5d0c66af633759297ec5898c41ea946db9d71e96 | 17,676 | cpp | C++ | src/software/ai/navigator/path_planner/theta_star_path_planner.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/ai/navigator/path_planner/theta_star_path_planner.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/ai/navigator/path_planner/theta_star_path_planner.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | #include "software/ai/navigator/path_planner/theta_star_path_planner.h"
#include <stack>
#include "software/logger/logger.h"
#include "software/new_geom/util/distance.h"
#include "software/new_geom/util/intersects.h"
ThetaStarPathPlanner::ThetaStarPathPlanner()
: num_grid_rows(0),
num_grid_cols(0),
m... | 32.916201 | 90 | 0.577733 | EvanMorcom |
5d1418cc9a428bf63eb145d1ebb41f4dcee64a48 | 1,878 | cpp | C++ | Static_data_member/Static_data_member/main.cpp | b01703020/Financial_Computing | d98d4f6e784997129ece15cdaf33c506e0f35c9e | [
"MIT"
] | null | null | null | Static_data_member/Static_data_member/main.cpp | b01703020/Financial_Computing | d98d4f6e784997129ece15cdaf33c506e0f35c9e | [
"MIT"
] | null | null | null | Static_data_member/Static_data_member/main.cpp | b01703020/Financial_Computing | d98d4f6e784997129ece15cdaf33c506e0f35c9e | [
"MIT"
] | null | null | null | //
// main.cpp
// Static_data_member
//
// Created by wu yen sun on 2022/2/22.
//
#include <iostream>
using namespace std;
class Rectangle
{
private:
int length, width; // non static data members
static int count; // static data member
public:
// default constructor
... | 24.710526 | 98 | 0.528222 | b01703020 |
5d174d802d19486deba694a22ce7ff67af08559e | 724 | cpp | C++ | src/kernel/kernel_types.cpp | cbeck88/wes-kernel | 38296e9fcbda632b3cb332a807a590683dd26a1f | [
"MIT"
] | null | null | null | src/kernel/kernel_types.cpp | cbeck88/wes-kernel | 38296e9fcbda632b3cb332a807a590683dd26a1f | [
"MIT"
] | null | null | null | src/kernel/kernel_types.cpp | cbeck88/wes-kernel | 38296e9fcbda632b3cb332a807a590683dd26a1f | [
"MIT"
] | null | null | null | #include "kernel_types.hpp"
namespace wesnoth {
static map_location _helper(int x, int y) {
map_location ret;
ret.x = x;
ret.y = y;
return ret;
}
// TODO: Fix this to correct for C++ vs WML 0 - 1 difference
std::set<map_location> hex::neighbors(map_location a) {
std::set<map_location> res;
bool b = (a.x & 1) =... | 24.133333 | 60 | 0.629834 | cbeck88 |
5d17ac499a611eea64ac7663a4dfc97c7ec05a55 | 5,542 | cpp | C++ | src/text/regex.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | 5 | 2019-10-04T05:10:06.000Z | 2021-02-03T23:29:10.000Z | src/text/regex.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | null | null | null | src/text/regex.cpp | reubenscratton/oaknut | 03b37965ad84745bd5c077a27d8b53d58a173662 | [
"MIT"
] | 2 | 2019-09-27T00:34:36.000Z | 2020-10-27T09:44:26.000Z | //
// Copyright © 2018 Sandcastle Software Ltd. All rights reserved.
//
// This file is part of 'Oaknut' which is released under the MIT License.
// See the LICENSE file in the root of this installation for details.
//
#include <oaknut.h>
RegEx::RegEx(const string& pattern) {
uint32_t p = 0;
int currentGrou... | 32.22093 | 258 | 0.411765 | reubenscratton |
5d193fbfbedc68cc2fbfd52ec2e7d353d691acf4 | 5,137 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T10:41:38.000Z | 2022-02-18T10:41:38.000Z | /*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 37.772059 | 146 | 0.712673 | viewdy |
5d1b034911473ce16e6ab49c25f9f68719cc22b6 | 1,701 | cpp | C++ | clang/test/OpenMP/taskwait_depend_codegen.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 605 | 2019-10-18T01:15:54.000Z | 2022-03-31T14:31:04.000Z | clang/test/OpenMP/taskwait_depend_codegen.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 3,180 | 2019-10-18T01:21:21.000Z | 2022-03-31T23:25:41.000Z | clang/test/OpenMP/taskwait_depend_codegen.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 275 | 2019-10-18T05:27:22.000Z | 2022-03-30T09:04:21.000Z | // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -x c++ -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-pch -o %t %s
// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s
// RU... | 43.615385 | 187 | 0.60435 | LaudateCorpus1 |
5d1ca9dbd6f974892faa0bc4127f56a90289b8dd | 15,271 | cpp | C++ | src/tests/unittests/CommandAllocatorTests.cpp | faro-oss/Dawn | 0ac7aa3386b597742a45368a28a2e045c122cb8c | [
"Apache-2.0"
] | 1 | 2022-02-05T01:08:06.000Z | 2022-02-05T01:08:06.000Z | src/tests/unittests/CommandAllocatorTests.cpp | sunnyps/dawn | afe91384086551ea3156fc67c525fdf864aa8437 | [
"Apache-2.0"
] | 1 | 2021-12-18T01:33:44.000Z | 2021-12-18T01:33:44.000Z | src/tests/unittests/CommandAllocatorTests.cpp | sunnyps/dawn | afe91384086551ea3156fc67c525fdf864aa8437 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 The Dawn 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 agreed t... | 30.299603 | 99 | 0.669177 | faro-oss |
5d1d93acaa5a650f59709505279c3fd21c6b802a | 2,259 | cpp | C++ | base/SplashScreen.cpp | fmuecke/ipponboard_test | 2ba8f324af91bfcdd26e37940157a1796f3b1f64 | [
"BSD-2-Clause"
] | 3 | 2020-12-29T19:33:56.000Z | 2021-11-09T20:29:30.000Z | base/SplashScreen.cpp | fmuecke/ipponboard_test | 2ba8f324af91bfcdd26e37940157a1796f3b1f64 | [
"BSD-2-Clause"
] | 3 | 2020-12-30T10:34:26.000Z | 2021-01-05T08:55:12.000Z | base/SplashScreen.cpp | fmuecke/ipponboard_test | 2ba8f324af91bfcdd26e37940157a1796f3b1f64 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2018 Florian Muecke. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE.txt file.
#include "DonationManager.h"
#include "splashscreen.h"
#include "ui_splashscreen.h"
#include "versioninfo.h"
#include <algorithm>
using namespac... | 23.05102 | 95 | 0.665781 | fmuecke |
5d209da5ebc8fd0b040e73902be37e64d13111f5 | 6,756 | cc | C++ | src/latbin/lattice-align-words-lexicon.cc | brucerennie/kaldi | d366a93aad98127683b010fd01e145093c1e9e08 | [
"Apache-2.0"
] | 36 | 2019-11-12T22:41:43.000Z | 2022-02-01T15:24:02.000Z | src/latbin/lattice-align-words-lexicon.cc | brucerennie/kaldi | d366a93aad98127683b010fd01e145093c1e9e08 | [
"Apache-2.0"
] | 8 | 2017-09-06T00:12:00.000Z | 2019-03-22T08:03:19.000Z | src/latbin/lattice-align-words-lexicon.cc | brucerennie/kaldi | d366a93aad98127683b010fd01e145093c1e9e08 | [
"Apache-2.0"
] | 29 | 2020-01-03T22:28:27.000Z | 2022-03-30T23:00:27.000Z | // latbin/lattice-align-words-lexicon.cc
// Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You... | 40.45509 | 121 | 0.623594 | brucerennie |
5d20b7caf134216cd8aec42ce48677e2ffb28593 | 255 | cpp | C++ | CCured/program-dependence-graph/SVF/Test-Suite/cpp_types/broken.cpp | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 9 | 2022-02-25T01:48:43.000Z | 2022-03-20T04:48:44.000Z | CCured/program-dependence-graph/SVF/Test-Suite/cpp_types/broken.cpp | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 1 | 2022-03-19T08:48:07.000Z | 2022-03-21T00:51:51.000Z | CCured/program-dependence-graph/SVF/Test-Suite/cpp_types/broken.cpp | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | null | null | null | void checkType(void* clz, char* ty){}
class A {
public:
A(){}
};
class B : public A {
public:
B(){}
};
class C : public B {
public:
C(){}
};
int main(void) {
A *a = new A();
checkType(a,"A");
}
| 11.086957 | 37 | 0.419608 | Lightninghkm |
5d2742c249ffa5a13b239bde8ab0b7ed8cb3b1d5 | 115 | cc | C++ | abc.cc | lh2debug/quartzmemkv2 | 664a85f4ee1869f4ff7fafd88f9cbe36ace30fc5 | [
"BSD-3-Clause"
] | null | null | null | abc.cc | lh2debug/quartzmemkv2 | 664a85f4ee1869f4ff7fafd88f9cbe36ace30fc5 | [
"BSD-3-Clause"
] | null | null | null | abc.cc | lh2debug/quartzmemkv2 | 664a85f4ee1869f4ff7fafd88f9cbe36ace30fc5 | [
"BSD-3-Clause"
] | null | null | null | #include "pmalloc.h"
int main(){
int *p = (int*)pmalloc(sizeof(int));
pfree((void*)p, sizeof(int));
return 0;
} | 16.428571 | 37 | 0.617391 | lh2debug |
5d278783c192dcee83bf53f80743a7fb618784fa | 3,031 | cpp | C++ | tools/fact-generator/src/PyFactGen.cpp | TheoKant/cclyzer-souffle | dfcd01daa592a2356e36aaeaa9c933305c253cba | [
"MIT"
] | 63 | 2016-02-06T21:06:40.000Z | 2021-11-16T19:58:27.000Z | tools/fact-generator/src/PyFactGen.cpp | TheoKant/cclyzer-souffle | dfcd01daa592a2356e36aaeaa9c933305c253cba | [
"MIT"
] | 11 | 2019-05-23T20:55:12.000Z | 2021-12-08T22:18:01.000Z | tools/fact-generator/src/PyFactGen.cpp | TheoKant/cclyzer-souffle | dfcd01daa592a2356e36aaeaa9c933305c253cba | [
"MIT"
] | 14 | 2016-02-21T17:12:36.000Z | 2021-09-26T02:48:41.000Z | /**
* This module is intended to provide a python interface to
* fact-generator, by leveraging the Boost.Python library.
**/
#include <boost/filesystem.hpp>
#include <boost/python.hpp>
#include "ParseException.hpp"
namespace fs = boost::filesystem;
namespace py = boost::python;
void
pyfactgen(py::list inputFiles,... | 26.356522 | 86 | 0.649951 | TheoKant |
5d28d6feca17579a23d3ee09b464972197b71316 | 1,604 | cc | C++ | questions/Algorithms/0002. Add Two Numbers/Solution.cc | TechStudyGroup/leetcode | e013436e52d16090a6138689804f714329388330 | [
"MIT"
] | 9 | 2019-08-15T05:09:40.000Z | 2021-05-01T09:26:59.000Z | questions/Algorithms/0002. Add Two Numbers/Solution.cc | TechStudyGroup/leetcode | e013436e52d16090a6138689804f714329388330 | [
"MIT"
] | 135 | 2019-09-26T03:40:11.000Z | 2022-02-02T04:15:39.000Z | questions/Algorithms/0002. Add Two Numbers/Solution.cc | TechStudyGroup/leetcode | e013436e52d16090a6138689804f714329388330 | [
"MIT"
] | 1 | 2022-01-05T01:43:17.000Z | 2022-01-05T01:43:17.000Z | #include <iostream>
#include <string.h>
#include <cc/ListNode.hpp>
// ------------------------------- solution begin -------------------------------
class Solution {
public:
struct ListNode *dummy = new ListNode(0);
ListNode *addTwoNumbers(ListNode *l1, ListNode *l2) {
int carry = 0;
struct ListNode *p = ... | 21.972603 | 81 | 0.473815 | TechStudyGroup |
5d297a7743a19df780a62ca088bd0d4e6ea50962 | 686 | hpp | C++ | C-ATTL3/parameter_initialization/gpu/OneGPUParameterInitialization.hpp | ViktorC/CppNN | daf7207fdc047412957761ef412fa805b2656d65 | [
"MIT"
] | 16 | 2018-07-03T09:39:10.000Z | 2021-11-16T07:53:09.000Z | C-ATTL3/parameter_initialization/gpu/OneGPUParameterInitialization.hpp | Merlin1A/C-ATTL3 | daf7207fdc047412957761ef412fa805b2656d65 | [
"MIT"
] | null | null | null | C-ATTL3/parameter_initialization/gpu/OneGPUParameterInitialization.hpp | Merlin1A/C-ATTL3 | daf7207fdc047412957761ef412fa805b2656d65 | [
"MIT"
] | 5 | 2019-11-01T09:38:29.000Z | 2021-11-09T00:41:05.000Z | /*
* OneGPUParameterInitialization.hpp
*
* Created on: 12 Aug 2018
* Author: Viktor Csomor
*/
#ifndef C_ATTL3_PARAMETER_INITIALIZATION_GPU_ONEGPUPARAMETERINITIALIZATION_H_
#define C_ATTL3_PARAMETER_INITIALIZATION_GPU_ONEGPUPARAMETERINITIALIZATION_H_
#include "core/gpu/GPUParameterInitialization.hpp"
names... | 24.5 | 82 | 0.801749 | ViktorC |
5d2b82d7c9cf05b8a8c2bf07e07dd0ff32ad11d8 | 2,696 | cpp | C++ | collection/cp/bcw_codebook-master/Contest/Daejeon2015/C.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/bcw_codebook-master/Contest/Daejeon2015/C.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/bcw_codebook-master/Contest/Daejeon2015/C.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define ... | 21.568 | 62 | 0.512611 | daemonslayer |
5d2d63e0d058226c1e41194642b755d655e13334 | 2,244 | hh | C++ | src/EDepSimRootPersistencyManager.hh | andrewmogan/edep-sim | 4e9923ccba8b2f65f47b72cbb41ed683f19f1123 | [
"MIT"
] | 15 | 2017-04-25T14:20:22.000Z | 2022-03-15T19:39:43.000Z | src/EDepSimRootPersistencyManager.hh | andrewmogan/edep-sim | 4e9923ccba8b2f65f47b72cbb41ed683f19f1123 | [
"MIT"
] | 24 | 2017-11-08T21:16:48.000Z | 2022-03-04T13:33:18.000Z | src/EDepSimRootPersistencyManager.hh | andrewmogan/edep-sim | 4e9923ccba8b2f65f47b72cbb41ed683f19f1123 | [
"MIT"
] | 20 | 2017-11-09T15:41:46.000Z | 2022-01-25T20:52:32.000Z | ////////////////////////////////////////////////////////////
// $Id: EDepSim::RootPersistencyManager.hh,v 1.31 2011/09/06 18:58:35 mcgrew Exp $
//
#ifndef EDepSim_RootPersistencyManager_hh_seen
#define EDepSim_RootPersistencyManager_hh_seen
#include <string>
#include <vector>
#include <map>
class TFile;
class TTree;... | 33.492537 | 82 | 0.701872 | andrewmogan |
5d35a7a1bd2456f60d1fcfd987b92c18670c5bb6 | 7,938 | cpp | C++ | src/mongo/db/exec/and_sorted.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/and_sorted.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/and_sorted.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 35.28 | 100 | 0.641723 | benety |
5d36a3a91d19830a053d6e2eb27a45be1dcff4d6 | 1,446 | cc | C++ | Player.cc | p-rivero/EDA-ThePurge2020 | 81a48df7bdaff6067792d037b9e6627739b959d1 | [
"MIT"
] | null | null | null | Player.cc | p-rivero/EDA-ThePurge2020 | 81a48df7bdaff6067792d037b9e6627739b959d1 | [
"MIT"
] | null | null | null | Player.cc | p-rivero/EDA-ThePurge2020 | 81a48df7bdaff6067792d037b9e6627739b959d1 | [
"MIT"
] | null | null | null | //////// STUDENTS DO NOT NEED TO READ BELOW THIS LINE ////////
#include "Player.hh"
void Player::reset (ifstream& is) {
// Should read what Board::print_state() prints.
// Should fill the same data structures as
// Board::Board (istream& is, int seed), except for settings and names.
// THESE DATA STRUCTURES ... | 27.283019 | 73 | 0.612033 | p-rivero |
5d37e21f1f2a113a54bbe005cd72b14b5fd908e9 | 1,396 | hpp | C++ | Code/Engine/Scene/D3D11Scene.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | 2 | 2017-10-02T03:18:55.000Z | 2018-11-21T16:30:36.000Z | Code/Engine/Scene/D3D11Scene.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | Code/Engine/Scene/D3D11Scene.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | #pragma once
#include "Engine/General/Core/EngineCommon.hpp"
class D3D11Model;
class D3D11Material;
class D3D11MeshRenderer;
const float ANIMATION_FPS = 30.f;
const float MESH_LOAD_ENGINE_SCALE = 0.4f;
class D3D11Scene {
public:
//LOADING SAVING
void AddModelsFromDirectory(const char* dir);
static D3D11Scene*... | 28.489796 | 105 | 0.77149 | ntaylorbishop |
5d3976ed6c5b2959434579750f8e5ee37ca0872d | 3,045 | cpp | C++ | hoo/emitter/DefinitionEmitter.cpp | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | null | null | null | hoo/emitter/DefinitionEmitter.cpp | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | 14 | 2020-07-24T10:25:59.000Z | 2020-08-02T13:27:09.000Z | hoo/emitter/DefinitionEmitter.cpp | benoybose/hoolang | 4e280a03caec837be35c8aac948923e1bea96b85 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2021 Benoy Bose
*
* 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, publish, distri... | 39.038462 | 106 | 0.649589 | benoybose |
5d39b30e65c6aa79ab650860f8d001bd3dfb1d96 | 472 | cpp | C++ | ConsoleApplication1/ConsoleApplication1/JsonParser.cpp | AndrFran/CodeInstrumentation | e58ab6d4a6dd5e70d00b5915820af5b0cd9dc33c | [
"MIT"
] | null | null | null | ConsoleApplication1/ConsoleApplication1/JsonParser.cpp | AndrFran/CodeInstrumentation | e58ab6d4a6dd5e70d00b5915820af5b0cd9dc33c | [
"MIT"
] | null | null | null | ConsoleApplication1/ConsoleApplication1/JsonParser.cpp | AndrFran/CodeInstrumentation | e58ab6d4a6dd5e70d00b5915820af5b0cd9dc33c | [
"MIT"
] | null | null | null | #include "JsonParser.h"
namespace WpfApplication2
{
JsonParser::JsonParser()
{
serializer = new JavaScriptSerializer();
}
std::unordered_map<std::wstring, std::any> JsonParser::Deserialize(const std::wstring &json)
{
serializer->Deserialize<std::unordered_map<std::wstring, std::any>>(json);
std::unordere... | 26.222222 | 136 | 0.735169 | AndrFran |
5d3d86a01e721acc6d23cbf4297e7d43fb3098f4 | 4,677 | cc | C++ | virtual_file_provider/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | virtual_file_provider/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | null | null | null | virtual_file_provider/service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 1 | 2019-02-15T23:05:30.000Z | 2019-02-15T23:05:30.000Z | // Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "virtual_file_provider/service.h"
#include <fcntl.h>
#include <unistd.h>
#include <memory>
#include <string>
#include <utility>
#include <ba... | 33.407143 | 80 | 0.704298 | emersion |
5d3f19f0f88d8408cda9573d89e1f1e95faad499 | 537 | cc | C++ | src/sigar_control_group_not_supported.cc | couchbase/sigar | 0eef65db1fb42b8f5e42692e9f59f1e8ebe95c6b | [
"Apache-2.0"
] | 7 | 2015-05-19T11:24:32.000Z | 2019-12-16T09:23:42.000Z | src/sigar_control_group_not_supported.cc | couchbase/sigar | 0eef65db1fb42b8f5e42692e9f59f1e8ebe95c6b | [
"Apache-2.0"
] | null | null | null | src/sigar_control_group_not_supported.cc | couchbase/sigar | 0eef65db1fb42b8f5e42692e9f59f1e8ebe95c6b | [
"Apache-2.0"
] | 6 | 2015-04-21T04:00:43.000Z | 2022-02-24T14:07:21.000Z | /*
* Copyright 2021-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by ... | 35.8 | 78 | 0.741155 | couchbase |
5d41558a4723b240fe82cae068b4139894708bdb | 1,217 | cpp | C++ | unittest/vslib/test_sai_vs_vlan.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 50 | 2016-03-23T08:04:44.000Z | 2022-03-25T05:06:16.000Z | unittest/vslib/test_sai_vs_vlan.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 589 | 2016-04-01T04:09:09.000Z | 2022-03-31T00:38:10.000Z | unittest/vslib/test_sai_vs_vlan.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 234 | 2016-03-28T20:59:21.000Z | 2022-03-23T09:26:22.000Z | #include <gtest/gtest.h>
extern "C" {
#include "sai.h"
}
#include "swss/logger.h"
TEST(libsaivs, vlan)
{
sai_vlan_api_t *api = nullptr;
sai_api_query(SAI_API_VLAN, (void**)&api);
EXPECT_NE(api, nullptr);
sai_object_id_t id;
EXPECT_NE(SAI_STATUS_SUCCESS, api->create_vlan(&id,0,0,0));
EXPEC... | 33.805556 | 109 | 0.750205 | vmittal-msft |
5d41b503b13fdb258fc80e6d5c1fe552b2ad1d56 | 3,234 | hpp | C++ | src/Property_reflect.hpp | cpp-ftw/tmp-lib | 6b4afd294b20d615abe9f409241409bed378eaa7 | [
"MIT"
] | null | null | null | src/Property_reflect.hpp | cpp-ftw/tmp-lib | 6b4afd294b20d615abe9f409241409bed378eaa7 | [
"MIT"
] | null | null | null | src/Property_reflect.hpp | cpp-ftw/tmp-lib | 6b4afd294b20d615abe9f409241409bed378eaa7 | [
"MIT"
] | null | null | null | #ifndef PROPERTY_HPP_INCLUDED
#define PROPERTY_HPP_INCLUDED
// mire jó: getter és setter helyettesítése egy publikus, fiktív adattaggal.
#define PROPERTY( parent, return_type, name) Property<parent, return_type, (& parent :: set ##name), (& parent :: get ##name)> name{this}
#define PROPERTY_(parent, return_type, name... | 27.40678 | 137 | 0.675943 | cpp-ftw |
5d432aa746aa0225813c1d57eaf4f88475be8ac2 | 4,153 | cpp | C++ | test/Vector3DTest.cpp | Tykky/Raytracer | f271671a2002a64e9bdfd4898e1bbb15f67a6795 | [
"MIT"
] | 15 | 2020-03-07T13:41:45.000Z | 2022-03-31T14:38:18.000Z | test/Vector3DTest.cpp | Tykky/Raytracer | f271671a2002a64e9bdfd4898e1bbb15f67a6795 | [
"MIT"
] | 15 | 2020-02-14T16:01:23.000Z | 2021-02-20T21:53:38.000Z | test/Vector3DTest.cpp | Tykky/Raytracer | f271671a2002a64e9bdfd4898e1bbb15f67a6795 | [
"MIT"
] | 2 | 2020-08-25T00:10:10.000Z | 2022-03-31T17:30:40.000Z | #include "gtest/gtest.h"
#include "core/Vector3D.h"
class Vector3DTest : public ::testing::Test {
protected:
Vector3D v1;
Vector3D v2;
virtual void SetUp() {
v1 = Vector3D(1, 2, 3);
v2 = Vector3D(3, 4, 5);
}
};
TEST_F(Vector3DTest, opPlusTest) {
+(v1);
EXPECT_FLOAT_EQ(1, v1.... | 23.596591 | 46 | 0.636889 | Tykky |
5d45142574586ca17f544ff5d7b0d5013588d719 | 2,187 | cpp | C++ | gui/nodescene.cpp | ousttrue/noged | 7485ea1c18c93dc845b3976a3176122775d7ace4 | [
"MIT"
] | null | null | null | gui/nodescene.cpp | ousttrue/noged | 7485ea1c18c93dc845b3976a3176122775d7ace4 | [
"MIT"
] | null | null | null | gui/nodescene.cpp | ousttrue/noged | 7485ea1c18c93dc845b3976a3176122775d7ace4 | [
"MIT"
] | null | null | null | #include "nodescene.h"
#include "nodedefinition.h"
#include "node.h"
#include "nodeslot/nodeslot.h"
namespace plugnode
{
NodeScene::NodeScene()
{
}
NodeScene::~NodeScene()
{
}
std::shared_ptr<Node> NodeScene::CreateNode(const std::shared_ptr<NodeDefinition> &definition, float x, float y)
{
aut... | 20.828571 | 113 | 0.525377 | ousttrue |
5d467ab3ed5e73c364e210676a97cc7d1a1fcbcc | 12,126 | cpp | C++ | src/PFsLib/PFsLib.cpp | KurtE/UsbMscFat | 8c4f312b229af5db17a4b43852469466e542e3d0 | [
"MIT"
] | 2 | 2022-02-04T20:37:37.000Z | 2022-03-01T02:41:14.000Z | src/PFsLib/PFsLib.cpp | KurtE/UsbMscFat | 8c4f312b229af5db17a4b43852469466e542e3d0 | [
"MIT"
] | 1 | 2021-03-10T01:35:04.000Z | 2021-03-10T01:35:04.000Z | src/PFsLib/PFsLib.cpp | KurtE/UsbMscFat | 8c4f312b229af5db17a4b43852469466e542e3d0 | [
"MIT"
] | 3 | 2021-03-09T01:06:44.000Z | 2021-03-29T12:21:20.000Z | #include "PFsLib.h"
//Set to 0 for debug info
#define DBG_Print 1
#if defined(DBG_Print)
#define DBGPrintf Serial.printf
#else
void inline DBGPrintf(...) {};
#endif
//------------------------------------------------------------------------------
#define PRINT_FORMAT_PROGRESS 1
#if !PRINT_FORMAT_PROGRESS
#define write... | 33.131148 | 129 | 0.593023 | KurtE |
5d497c015d93af44a3e46ebf723e9fe4ae0b9e98 | 18,773 | cc | C++ | zetasql/reference_impl/type_parameter_constraints_test.cc | yarri-oss/zetasql | c2240edf7f20df40c1c810b520b5a3aab9626a97 | [
"Apache-2.0"
] | 1,779 | 2019-04-23T19:41:49.000Z | 2022-03-31T18:53:18.000Z | zetasql/reference_impl/type_parameter_constraints_test.cc | yarri-oss/zetasql | c2240edf7f20df40c1c810b520b5a3aab9626a97 | [
"Apache-2.0"
] | 94 | 2019-05-22T00:30:05.000Z | 2022-03-31T06:26:09.000Z | zetasql/reference_impl/type_parameter_constraints_test.cc | yarri-oss/zetasql | c2240edf7f20df40c1c810b520b5a3aab9626a97 | [
"Apache-2.0"
] | 153 | 2019-04-23T22:45:41.000Z | 2022-02-18T05:44:10.000Z | //
// Copyright 2019 Google LLC
//
// 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 ... | 41.078775 | 87 | 0.714484 | yarri-oss |
5d4b3af8036e4e9bcbfac2a2acb41882b3699e47 | 4,042 | cc | C++ | logga/fitness.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | 11 | 2015-06-08T22:16:47.000Z | 2022-03-19T15:11:14.000Z | logga/fitness.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | null | null | null | logga/fitness.cc | wahibium/KFF | 609e5afac8a9477dd1af31eacadbcd5b61530113 | [
"MIT"
] | 4 | 2015-06-12T21:24:47.000Z | 2021-04-23T09:58:33.000Z | // ================================================================================
// ================================================================================
//
// Instructions for adding a new fitness function:
// ------------------------------------------------
//
// 1. create a function with the same inpu... | 28.069444 | 84 | 0.621969 | wahibium |
5d4b625ade6f29c9ea58c410831b8a18a85053f9 | 896 | cpp | C++ | problemsets/UVA/11463.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/11463.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/11463.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <algorithm>
using namespace std;
int G[110][110];
int main() {
int T;
scanf("%d", &T);
for (int t = 1; t <= T; t++) {
printf("Case %d: ", t);
int N, M;
scanf("%d %d"... | 22.974359 | 103 | 0.379464 | juarezpaulino |
5d501887720db7190422ed846fed3fa07288f759 | 1,712 | cpp | C++ | querier/MergedSeriesSet.cpp | naivewong/timeunion | 8070492d2c6a2d68175e7d026c27b858c2aec8e6 | [
"Apache-2.0"
] | null | null | null | querier/MergedSeriesSet.cpp | naivewong/timeunion | 8070492d2c6a2d68175e7d026c27b858c2aec8e6 | [
"Apache-2.0"
] | null | null | null | querier/MergedSeriesSet.cpp | naivewong/timeunion | 8070492d2c6a2d68175e7d026c27b858c2aec8e6 | [
"Apache-2.0"
] | null | null | null | #include "querier/MergedSeriesSet.hpp"
#include "base/Logging.hpp"
#include "querier/ChainSeries.hpp"
namespace tsdb {
namespace querier {
// View it as a collections of blocks sorted by time.
MergedSeriesSet::MergedSeriesSet(const std::shared_ptr<SeriesSets> &ss)
: ss(ss), series(new Series()), err_(false) {
... | 24.811594 | 80 | 0.599883 | naivewong |
5d53daf83387b633254466c89b432cdcb386f0ac | 1,225 | cpp | C++ | grammar/src/numExpression.cpp | troeggla/blocky | ef2e32369065f7aff7c7c807712c67d9eb25f75d | [
"BSD-2-Clause"
] | null | null | null | grammar/src/numExpression.cpp | troeggla/blocky | ef2e32369065f7aff7c7c807712c67d9eb25f75d | [
"BSD-2-Clause"
] | null | null | null | grammar/src/numExpression.cpp | troeggla/blocky | ef2e32369065f7aff7c7c807712c67d9eb25f75d | [
"BSD-2-Clause"
] | null | null | null | #include "numExpression.hpp"
NumExpression::NumExpression(double value) {
this->value = new double;
*(this->value) = value;
}
NumExpression::NumExpression(BlockScope* scope, std::string var) : scope(scope), var(var) {
}
NumExpression::NumExpression(NumExpression *ex1, NumExpression *ex2, char op) : ex1(ex1),... | 25 | 108 | 0.553469 | troeggla |
5d5b3ea3dbbe0076ad91cf27ec0691ef0f3b853a | 19,461 | hpp | C++ | Contrib-Inspur/bmcweb/redfish-core/lib/update_service.hpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | redfish-core/lib/update_service.hpp | inspur-bmc/rmcweb | ec8ce2a09b851ff5da59b0b9faba5c035c5e0faf | [
"Apache-2.0"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Inspur/bmcweb/redfish-core/lib/update_service.hpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*
// Copyright (c) 2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 42.584245 | 80 | 0.46159 | opencomputeproject |
5d5fca61eb70013bfa5cfa0b88ec29791f68293e | 1,689 | cpp | C++ | src/generator/constant.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/generator/constant.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/generator/constant.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | 1 | 2018-12-14T02:45:41.000Z | 2018-12-14T02:45:41.000Z | /*****************************************************************************
** Cobi http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 2009-2010 **
... | 26.809524 | 80 | 0.492599 | ikitayama |
5d607d60ebc7507ac1f777c2ceeb83c592e23d27 | 3,348 | cc | C++ | ash/common/wm_shell.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | ash/common/wm_shell.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/common/wm_shell.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 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 "ash/common/wm_shell.h"
#include "ash/common/focus_cycler.h"
#include "ash/common/keyboard/keyboard_ui.h"
#include "ash/common/shell_window_ids.... | 28.615385 | 78 | 0.753584 | Wzzzx |
5d62dadacc9740ce55d885e4a0aa7d6751eb4b75 | 2,419 | cpp | C++ | Permissions/Permissions/Private/Permissions.cpp | forced1988/Ark-Server-Plugins | a5f05fa0b1df467d001f7ce09de2e7468e22e5eb | [
"MIT"
] | 1 | 2021-01-25T13:41:34.000Z | 2021-01-25T13:41:34.000Z | Permissions/Permissions/Private/Permissions.cpp | forced1988/Ark-Server-Plugins | a5f05fa0b1df467d001f7ce09de2e7468e22e5eb | [
"MIT"
] | null | null | null | Permissions/Permissions/Private/Permissions.cpp | forced1988/Ark-Server-Plugins | a5f05fa0b1df467d001f7ce09de2e7468e22e5eb | [
"MIT"
] | 1 | 2020-05-24T18:01:41.000Z | 2020-05-24T18:01:41.000Z | #ifdef PERMISSIONS_ARK
#include "../Public/ArkPermissions.h"
#else
#include "../Public/AtlasPermissions.h"
#endif
#include "Main.h"
namespace Permissions
{
TArray<FString> GetPlayerGroups(uint64 steam_id)
{
return database->GetPlayerGroups(steam_id);
}
TArray<FString> GetGroupPermissions(const F... | 23.038095 | 100 | 0.702356 | forced1988 |
5d63da1666829dbbde3b023b8dfce0c11ae41b22 | 6,867 | cpp | C++ | vendor/mysql-connector-c++-1.1.3/test/framework/test_listener.cpp | caiqingfeng/libmrock | bb7c94482a105e92b6d3e8640b13f9ff3ae49a83 | [
"Apache-2.0"
] | 1 | 2015-12-01T04:16:54.000Z | 2015-12-01T04:16:54.000Z | vendor/mysql-connector-c++-1.1.3/test/framework/test_listener.cpp | caiqingfeng/libmrock | bb7c94482a105e92b6d3e8640b13f9ff3ae49a83 | [
"Apache-2.0"
] | null | null | null | vendor/mysql-connector-c++-1.1.3/test/framework/test_listener.cpp | caiqingfeng/libmrock | bb7c94482a105e92b6d3e8640b13f9ff3ae49a83 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/C++ is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
MySQL Connectors. There are special exceptions to the terms and
conditions of the GPLv2 as it is applied to... | 24.01049 | 93 | 0.631863 | caiqingfeng |
5d65cc6b1abef32c0c8e33f3ea14d46bbc57dc5a | 3,170 | cpp | C++ | editor/src/free_camera.cpp | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | editor/src/free_camera.cpp | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | editor/src/free_camera.cpp | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | //
// Created by trbflxr on 3/31/2020.
//
#include "free_camera.hpp"
#include <xe/core/engine.hpp>
namespace xe {
FreeCamera::FreeCamera(const vec2u &resolution, float fovDeg, float aspect, float nearZ, float farZ,
float moveSpeed, float sprintSpeed, float mouseSensitivity) :
camera... | 31.386139 | 135 | 0.64511 | trbflxr |
5d6682dee091779de8d7e0978d6643e39d007eea | 18,298 | cpp | C++ | snack-machine-firmware/src/denhac/ui/MainWindow/MainWindow.cpp | Jnesselr/Vending-Machine | 811d2d018909188a5ed7a9cb4ba1b9488e02501a | [
"MIT"
] | 2 | 2020-05-25T17:45:29.000Z | 2020-09-21T16:23:05.000Z | snack-machine-firmware/src/denhac/ui/MainWindow/MainWindow.cpp | Jnesselr/Vending-Machine | 811d2d018909188a5ed7a9cb4ba1b9488e02501a | [
"MIT"
] | null | null | null | snack-machine-firmware/src/denhac/ui/MainWindow/MainWindow.cpp | Jnesselr/Vending-Machine | 811d2d018909188a5ed7a9cb4ba1b9488e02501a | [
"MIT"
] | 1 | 2021-10-31T05:57:33.000Z | 2021-10-31T05:57:33.000Z | #ifdef VENDING_MAIN_BOARD
#include "denhac/ui/MainWindow/MainWindow.h"
#include "denhac/ui/MainWindow/Callbacks.h"
#include "denhac/ProductManager.h"
#include "denhac/Session.h"
#include "ui/WindowManager.h"
#include "motors.h"
#include "utils.h"
#include <avr/wdt.h>
template<StaticCallbackType type, typename... Ar... | 32.792115 | 114 | 0.721281 | Jnesselr |
5d67ed157395edff6549590a1c433b0315941bea | 14,999 | cc | C++ | INET_EC/common/IntervalTree.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 12 | 2020-11-30T08:04:23.000Z | 2022-03-23T11:49:26.000Z | Simulation/OMNeT++/inet/src/inet/common/IntervalTree.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 1 | 2021-01-26T10:49:56.000Z | 2021-01-31T16:58:52.000Z | Simulation/OMNeT++/inet/src/inet/common/IntervalTree.cc | StarStuffSteve/masters-research-project | 47c1874913d0961508f033ca9a1144850eb8f8b7 | [
"Apache-2.0"
] | 8 | 2021-03-15T02:05:51.000Z | 2022-03-21T13:14:02.000Z | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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 mu... | 26.5 | 110 | 0.521435 | LarryNguyen |
5d69743b746878d5279f11d81aef20feb182a4f4 | 32,801 | cpp | C++ | bag_rdr.cpp | lukehutch/bag_rdr | e94c196a9449d69808dbf2127cec96ee7367c031 | [
"MIT"
] | null | null | null | bag_rdr.cpp | lukehutch/bag_rdr | e94c196a9449d69808dbf2127cec96ee7367c031 | [
"MIT"
] | null | null | null | bag_rdr.cpp | lukehutch/bag_rdr | e94c196a9449d69808dbf2127cec96ee7367c031 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018 Starship Technologies, Inc.
*
* 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... | 32.284449 | 180 | 0.622847 | lukehutch |
5d6a37543d884efb9d0ed977bd65758ab4d70d45 | 350 | cpp | C++ | week28/F.cpp | webturing/ACMProgramming2020 | 94c01645420c5fbc303a0eb1ed74ebb6679ab398 | [
"MIT"
] | 3 | 2020-05-31T08:41:56.000Z | 2020-09-27T15:14:03.000Z | week28/F.cpp | webturing/ACMProgramming2020 | 94c01645420c5fbc303a0eb1ed74ebb6679ab398 | [
"MIT"
] | null | null | null | week28/F.cpp | webturing/ACMProgramming2020 | 94c01645420c5fbc303a0eb1ed74ebb6679ab398 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <vector>
#include <algorithm>
using namespace std;
int main(int argc, char const *argv[]) {
for (double n, a; cin >> n >> a;) {
double t = n * 1000 / 3600 / a;
cout << setiosflags(ios::fixed) << setprecision(3)
<< -n * 1000 / 3600 * t / 2 ... | 26.923077 | 58 | 0.551429 | webturing |
5d6caa686364a210fef45b77563ab8c435466a96 | 9,044 | hpp | C++ | src/shared/charov.hpp | gtaisbetterthanfn/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 186 | 2015-01-18T05:46:11.000Z | 2022-03-22T10:03:44.000Z | src/shared/charov.hpp | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 82 | 2015-01-14T01:02:04.000Z | 2022-03-20T23:55:59.000Z | src/shared/charov.hpp | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 34 | 2015-01-07T11:17:00.000Z | 2022-02-28T00:16:20.000Z | /*
* Wide char overload for char functions
* (C) 2012 Denilson das Mercês Amorim <dma_2012@hotmail.com>
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. AL... | 20.232662 | 112 | 0.655573 | gtaisbetterthanfn |
5d6e126927efa63721d04377f68b84212fa8fb44 | 1,477 | cc | C++ | brick/resource/injected_js_resource_provider.cc | gridgentoo/Bitrix24Messenger | fc629c00147737edf036df2f216e3e07a062766e | [
"MIT"
] | 148 | 2015-01-12T13:05:57.000Z | 2022-02-09T04:14:14.000Z | brick/resource/injected_js_resource_provider.cc | gridgentoo/Bitrix24Messenger | fc629c00147737edf036df2f216e3e07a062766e | [
"MIT"
] | 92 | 2015-03-10T10:59:40.000Z | 2019-10-02T08:56:22.000Z | brick/resource/injected_js_resource_provider.cc | gridgentoo/Bitrix24Messenger | fc629c00147737edf036df2f216e3e07a062766e | [
"MIT"
] | 99 | 2015-01-12T14:12:10.000Z | 2022-02-10T11:34:32.000Z | // Copyright (c) 2015 The Brick Authors.
#include "brick/resource/injected_js_resource_provider.h"
#include "include/wrapper/cef_stream_resource_handler.h"
#include "brick/helper.h"
#include "brick/resource/resource_util.h"
namespace {
const char kMimeType[] = "application/javascript";
} // namespace
InjectedJs... | 23.444444 | 91 | 0.701422 | gridgentoo |
5d6f057de6f52fce9b6924a624470a38bbae2955 | 923 | cpp | C++ | 145_postorderTraversal.cpp | imxiaobo/leetcode-solutions | a59c4c9fa424787771c8faca7ba444cae4ed6a4e | [
"MIT"
] | null | null | null | 145_postorderTraversal.cpp | imxiaobo/leetcode-solutions | a59c4c9fa424787771c8faca7ba444cae4ed6a4e | [
"MIT"
] | null | null | null | 145_postorderTraversal.cpp | imxiaobo/leetcode-solutions | a59c4c9fa424787771c8faca7ba444cae4ed6a4e | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> postorderTraversal(TreeNode *root) {
stack<std::pair<TreeNode *, int>> stack;
... | 23.666667 | 59 | 0.510293 | imxiaobo |
5d7076f8b4f5ab6d40a1d9263a8f80243a374880 | 998 | cpp | C++ | JEngine/src/Private/Renderer/Buffer.cpp | RaymondMcGuire/JEngine | aa12b70a8e6fd23b917803ea25574c664033d086 | [
"Apache-2.0"
] | 2 | 2020-09-26T17:22:25.000Z | 2021-03-24T04:24:30.000Z | JEngine/src/Private/Renderer/Buffer.cpp | RaymondMcGuire/JEngine | aa12b70a8e6fd23b917803ea25574c664033d086 | [
"Apache-2.0"
] | 1 | 2020-11-11T03:18:36.000Z | 2020-11-11T03:18:36.000Z | JEngine/src/Private/Renderer/Buffer.cpp | RaymondMcGuire/JEngine | aa12b70a8e6fd23b917803ea25574c664033d086 | [
"Apache-2.0"
] | 5 | 2020-10-26T07:47:05.000Z | 2022-02-22T13:29:31.000Z | #include "JE_PCH.h"
#include "Renderer/Buffer.h"
#include "Renderer/Renderer.h"
#include "Platform/OpenGL/OpenGLBuffer.h"
namespace JEngine
{
Ref<VertexBuffer> VertexBuffer::Create(float* vertices, uint32_t size)
{
switch (Renderer::GetRenderPlatform())
{
case RendererAPI::RenderPlatform::None:
JE_CORE_AS... | 23.761905 | 73 | 0.741483 | RaymondMcGuire |
5d7132399c20435b79d204111ab0de85b6bd163c | 3,761 | hpp | C++ | core/src/api/Currency.hpp | tmpfork/lib-ledger-core | 8741e84f38f863fd941d3bd56a470f37eb36da04 | [
"MIT"
] | null | null | null | core/src/api/Currency.hpp | tmpfork/lib-ledger-core | 8741e84f38f863fd941d3bd56a470f37eb36da04 | [
"MIT"
] | null | null | null | core/src/api/Currency.hpp | tmpfork/lib-ledger-core | 8741e84f38f863fd941d3bd56a470f37eb36da04 | [
"MIT"
] | null | null | null | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from currency.djinni
#ifndef DJINNI_GENERATED_CURRENCY_HPP
#define DJINNI_GENERATED_CURRENCY_HPP
#include "../utils/optional.hpp"
#include "BitcoinLikeNetworkParameters.hpp"
#include "CurrencyUnit.hpp"
#include "EthereumLikeNetworkParameters.hpp"... | 39.177083 | 135 | 0.727998 | tmpfork |
5d737e64322e609ea7e0217c93277bd4afec7f69 | 2,621 | hxx | C++ | private/inet/mshtml/src/core/include/buttutil.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/mshtml/src/core/include/buttutil.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/mshtml/src/core/include/buttutil.hxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | //+------------------------------------------------------------------------
//
// File: buttutil.hxx
//
// Contents: Button Drawing routines common to scrollbar and dropbutton.
//
// History: 16-Aug-95 t-vuil Created
//
//-------------------------------------------------------------------------... | 26.744898 | 83 | 0.54979 | King0987654 |
5d74b13656ffaa4a8a9ab331222acd315f1826fd | 2,901 | hpp | C++ | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerTouchpad.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerTouchpad.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerTouchpad.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: OVRInput
#include "GlobalNamespace/OVRInput.hpp"
// Inc... | 42.661765 | 112 | 0.728025 | Futuremappermydud |
5d7b88138309789d20641a72271df3b35b949613 | 7,579 | cpp | C++ | tools/IO/cvt_amuseASCII2bonsai.cpp | sciserver/Bonsai | 8904dd3ebf395ccaaf0eacef38933002b49fc3ba | [
"Apache-2.0"
] | 40 | 2015-02-02T13:24:11.000Z | 2021-09-10T05:43:44.000Z | tools/IO/cvt_amuseASCII2bonsai.cpp | sciserver/Bonsai | 8904dd3ebf395ccaaf0eacef38933002b49fc3ba | [
"Apache-2.0"
] | 17 | 2015-02-20T08:29:57.000Z | 2022-02-17T17:26:40.000Z | tools/IO/cvt_amuseASCII2bonsai.cpp | sciserver/Bonsai | 8904dd3ebf395ccaaf0eacef38933002b49fc3ba | [
"Apache-2.0"
] | 24 | 2015-01-30T09:14:51.000Z | 2021-12-28T01:53:28.000Z | #include "BonsaiIO.h"
#include "IDType.h"
#include <array>
#include <fstream>
#include <sstream>
#include <iostream>
typedef struct real4
{
float x,y,z,w;
} real4;
#define DARKMATTERID 3000000000000000000
#define DISKID 0
#define BULGEID 2000000000000000000
static IDType lGetIDType (const long long ... | 26.407666 | 148 | 0.551524 | sciserver |
5d830c6bf4941b2fb8456adad3ed6957e5baafd3 | 2,132 | cc | C++ | components/ui_devtools/viz/viz_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | components/ui_devtools/viz/viz_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/ui_devtools/viz/viz_element.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.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/ui_devtools/viz/viz_element.h"
#include <algorithm>
#include "components/ui_devtools/ui_element_delegate.h"
#include "components/ui... | 31.820896 | 79 | 0.717167 | sarang-apps |
5d830e987a5af7a53d61e2f4bab6e39697ff98f2 | 532 | inl | C++ | Gems/Atom/Feature/Common/Code/Include/Atom/Feature/PostProcess/PostProcessParams.inl | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/Atom/Feature/Common/Code/Include/Atom/Feature/PostProcess/PostProcessParams.inl | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/Atom/Feature/Common/Code/Include/Atom/Feature/PostProcess/PostProcessParams.inl | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// Param definition for PostProcessSettings
// This file is used to auto-generate members, getter... | 33.25 | 100 | 0.783835 | cypherdotXd |
5d850acb324df49c7a3df716382af314f38f2025 | 285 | cpp | C++ | solutions/1198.find-smallest-common-element-in-all-rows.326220064.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/1198.find-smallest-common-element-in-all-rows.326220064.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/1198.find-smallest-common-element-in-all-rows.326220064.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
int smallestCommonElement(vector<vector<int>> &mat) {
int m[10001] = {};
for (auto j = 0; j < mat[0].size(); ++j)
for (auto i = 0; i < mat.size(); ++i)
if (++m[mat[i][j]] == mat.size())
return mat[i][j];
return -1;
}
};
| 23.75 | 55 | 0.491228 | satu0king |
5d850af6a4b8948f669234ddabaaf6e29b7f4058 | 1,134 | cpp | C++ | PokemanSafari_M1/Character.cpp | ilanisakov/RailShooter | 612945b96b37989927b99f50ffa96e2fe7e22e21 | [
"MIT"
] | null | null | null | PokemanSafari_M1/Character.cpp | ilanisakov/RailShooter | 612945b96b37989927b99f50ffa96e2fe7e22e21 | [
"MIT"
] | null | null | null | PokemanSafari_M1/Character.cpp | ilanisakov/RailShooter | 612945b96b37989927b99f50ffa96e2fe7e22e21 | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////
// File: Character.cpp
// DSA2 PokemanSafari_M1
// Authors:
// Ilan Isakov
// Marty Kurtz
// Mary Spencer
//
// Description:
//
/////////////////////////////////////////////////////////////////////
#include "Character.h"
////////////////////... | 28.35 | 69 | 0.368607 | ilanisakov |
5d872b50248f3d7876c6910e699d896450e89eb2 | 244 | cpp | C++ | examples/physics/cmsToyGV/TBBProcessingDemo/TBBTestModules/busy_wait_scale_factor.cpp | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-10-16T14:37:42.000Z | 2018-04-05T15:49:09.000Z | examples/physics/cmsToyGV/TBBProcessingDemo/TBBTestModules/busy_wait_scale_factor.cpp | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | examples/physics/cmsToyGV/TBBProcessingDemo/TBBTestModules/busy_wait_scale_factor.cpp | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //
// busy_wait_scale_factor.cpp
// DispatchProcessingDemo
//
// Created by Chris Jones on 10/3/11.
// Copyright 2011 FNAL. All rights reserved.
//
#include "busy_wait_scale_factor.h"
double busy_wait_scale_factor = 2.2e+07; //counts/sec
| 20.333333 | 53 | 0.733607 | Geant-RnD |
5d8e06c6d5a7671d4c9bd59fce419b4a8e2aa8c4 | 11,187 | cp | C++ | Linux/Sources/Application/Calendar/Component_Editing/CNewToDoDialog.cp | mbert/mulberry-main | 6b7951a3ca56e01a7be67aa12e55bfeafc63950d | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Linux/Sources/Application/Calendar/Component_Editing/CNewToDoDialog.cp | SpareSimian/mulberry-main | e868f3f4d86efae3351000818a3cb2d72ae5eac3 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Linux/Sources/Application/Calendar/Component_Editing/CNewToDoDialog.cp | SpareSimian/mulberry-main | e868f3f4d86efae3351000818a3cb2d72ae5eac3 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007-2011 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unle... | 29.208877 | 160 | 0.729061 | mbert |
5d90141e91eaab1b66e07275ade6195d2c77477e | 15,556 | cpp | C++ | third_party/omr/compiler/infra/InterferenceGraph.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/compiler/infra/InterferenceGraph.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/compiler/infra/InterferenceGraph.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... | 29.973025 | 135 | 0.63776 | xiacijie |
5d90bee147dfe8c48b075fc0324867a3507cd88b | 3,654 | cpp | C++ | Benchmarks/BenchmarkUtils.cpp | kirill-pinigin/Wuild | 1524c1d8a054f6455941538d5b824613fc028894 | [
"Apache-2.0"
] | 1 | 2019-06-20T04:30:43.000Z | 2019-06-20T04:30:43.000Z | Benchmarks/BenchmarkUtils.cpp | kirill-pinigin/Wuild | 1524c1d8a054f6455941538d5b824613fc028894 | [
"Apache-2.0"
] | null | null | null | Benchmarks/BenchmarkUtils.cpp | kirill-pinigin/Wuild | 1524c1d8a054f6455941538d5b824613fc028894 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 Smirnov Vladimir mapron1@gmail.com
* Source code 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 or in file COPYING-APACHE-2... | 29.232 | 160 | 0.749863 | kirill-pinigin |
5d92bbd820187dea53283279f100927a6d8aeca3 | 969 | cpp | C++ | mogupro/game/src/Sound/cSE.cpp | desspert/mogupro | ac39f5ec3fb670cf5044ef501951270d7d92a748 | [
"MIT"
] | null | null | null | mogupro/game/src/Sound/cSE.cpp | desspert/mogupro | ac39f5ec3fb670cf5044ef501951270d7d92a748 | [
"MIT"
] | null | null | null | mogupro/game/src/Sound/cSE.cpp | desspert/mogupro | ac39f5ec3fb670cf5044ef501951270d7d92a748 | [
"MIT"
] | null | null | null | #include <Sound/cSE.h>
#include <cinder/app/App.h>
namespace Sound
{
using namespace cinder;
cSE::cSE( std::string const& assetsSePath )
{
auto ctx = audio::master( );
ctx->enable( );
mGainRef = ctx->makeNode( new audio::GainNode( 1.0F ) );
mBufferPlayerRef = ctx->makeNode( new audio::BufferPl... | 21.533333 | 83 | 0.625387 | desspert |
5d93a684b854063b4df7b8fedd29f58eeb77cecc | 10,716 | cc | C++ | targets/ARCH/ETHERNET/oran/5g/oran.cc | Ting-An-Lin/OAI_ORAN_FHI_integration | 0671d428ce5ad5d6040b393c90679d59c074bd2d | [
"Apache-2.0"
] | 1 | 2021-12-14T12:07:10.000Z | 2021-12-14T12:07:10.000Z | targets/ARCH/ETHERNET/oran/5g/oran.cc | Ting-An-Lin/OAI_ORAN_FHI_integration | 0671d428ce5ad5d6040b393c90679d59c074bd2d | [
"Apache-2.0"
] | null | null | null | targets/ARCH/ETHERNET/oran/5g/oran.cc | Ting-An-Lin/OAI_ORAN_FHI_integration | 0671d428ce5ad5d6040b393c90679d59c074bd2d | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... | 25.946731 | 99 | 0.616461 | Ting-An-Lin |
5d94c25e1c854ddf57fa85a8230f66057227d78c | 3,215 | cc | C++ | Engine/spcOpenGL/gl4/gl4texturecube.cc | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | null | null | null | Engine/spcOpenGL/gl4/gl4texturecube.cc | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | 1 | 2021-09-09T12:51:56.000Z | 2021-09-09T12:51:56.000Z | Engine/spcOpenGL/gl4/gl4texturecube.cc | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | null | null | null |
#include <spcOpenGL/gl4/gl4texturecube.hh>
#include <spcOpenGL/gl4/gl4pixelformatmap.hh>
#include <spcCore/graphics/image.hh>
#include <spcCore/graphics/isampler.hh>
#include <spcCore/math/math.hh>
#include <GL/glew.h>
namespace spc::opengl
{
GL4TextureCube::GL4TextureCube()
: iTextureCube()
, m_size(... | 21.870748 | 143 | 0.660653 | marcellfischbach |
5d9526abf5c7bea264daa0dccfd52e399b6a0bb7 | 2,363 | hpp | C++ | external/libcxx-test/support/nasty_macros.hpp | SenthilKumarGS/TizenRT | 691639aa9667de5d966f040f0291a402727ab6ae | [
"Apache-2.0"
] | 511 | 2017-03-29T09:14:09.000Z | 2022-03-30T23:10:29.000Z | external/libcxx-test/support/nasty_macros.hpp | SenthilKumarGS/TizenRT | 691639aa9667de5d966f040f0291a402727ab6ae | [
"Apache-2.0"
] | 4,673 | 2017-03-29T10:43:43.000Z | 2022-03-31T08:33:44.000Z | external/libcxx-test/support/nasty_macros.hpp | SenthilKumarGS/TizenRT | 691639aa9667de5d966f040f0291a402727ab6ae | [
"Apache-2.0"
] | 642 | 2017-03-30T20:45:33.000Z | 2022-03-24T17:07:33.000Z | /****************************************************************************
*
* Copyright 2018 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | 31.092105 | 80 | 0.675413 | SenthilKumarGS |
5d9630bb657178c70776e9b77110e1e2b3f4d935 | 13,386 | cpp | C++ | enduser/windows.com/wuau/wuaulib/helpers.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/windows.com/wuau/wuaulib/helpers.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/windows.com/wuau/wuaulib/helpers.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //////////////////////////////////////////////////////////////////////////////
//
// SYSTEM: Windows Update AutoUpdate Client
//
// CLASS: N/A
// MODULE:
// FILE: helpers.CPP
// DESC: This file contains utility functions
//
///////////////////////////////////////////////////////////////////////////... | 32.411622 | 168 | 0.599059 | npocmaka |
4b690e38d0163d380e2cc6a60899ff1122c34528 | 1,382 | hpp | C++ | src-idgen/mode.hpp | bcrist/bengine-idgen | 33ef597d8ea533485516a212c3213111548a9742 | [
"MIT"
] | null | null | null | src-idgen/mode.hpp | bcrist/bengine-idgen | 33ef597d8ea533485516a212c3213111548a9742 | [
"MIT"
] | null | null | null | src-idgen/mode.hpp | bcrist/bengine-idgen | 33ef597d8ea533485516a212c3213111548a9742 | [
"MIT"
] | null | null | null | #pragma once
#ifndef BE_IDGEN_MODE_HPP_
#define BE_IDGEN_MODE_HPP_
#include <be/core/enum_traits.hpp>
/*!! include 'idgen/mode' !! 50 */
/* ################# !! GENERATED CODE -- DO NOT MODIFY !! ################# */
namespace be::idgen {
/////////////////////////////////////////////////////////////////////////////... | 23.033333 | 79 | 0.517366 | bcrist |
4b6a79fb2046884c1984d607d60f2a19147573eb | 2,381 | hpp | C++ | include/hydro/utility/terminal_format.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/utility/terminal_format.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/utility/terminal_format.hpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 30.525641 | 103 | 0.616128 | hydraate |
4b6ac20c0e87ef1a12f8badc7fd4de80944a19ea | 7,172 | hpp | C++ | c++/include/util/cache/icache_cf.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/include/util/cache/icache_cf.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/include/util/cache/icache_cf.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #ifndef UTIL_ICACHE_CF__HPP
#define UTIL_ICACHE_CF__HPP
/* $Id: icache_cf.hpp 112045 2007-10-10 20:43:07Z ivanovp $
* ===========================================================================
*
* public DOMAIN NOTICE
* National Center for Biotechnolo... | 37.94709 | 83 | 0.55396 | OpenHero |
4b73bb7e9df3a8596d28a75110b087189d20c162 | 323 | cpp | C++ | CurveScape/src/legacy/calculate.cpp | nathan-abraham/CurveScape | 1dbf89422daf9f2f9381411f2077713277966743 | [
"MIT"
] | 1 | 2021-12-31T20:47:30.000Z | 2021-12-31T20:47:30.000Z | CurveScape/src/legacy/calculate.cpp | nathan-abraham/CurveScape | 1dbf89422daf9f2f9381411f2077713277966743 | [
"MIT"
] | null | null | null | CurveScape/src/legacy/calculate.cpp | nathan-abraham/CurveScape | 1dbf89422daf9f2f9381411f2077713277966743 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <SFML/Graphics.hpp>
#include "dropdown.cpp"
#include "textbox.cpp"
class Calculate {
public:
std::string type;
DropdownMenu* options = NULL;
DropdownMenu* funcs = NULL;
TextBox* first = NULL;
TextBox* second = NULL;
Button* submit = NULL;
... | 17.944444 | 33 | 0.643963 | nathan-abraham |
4b76480e75d23fa51b56931256f6b835a3be8d6a | 443 | cpp | C++ | C++ Practice Programs/Example_2.cpp | Ahtisham-Shakir/CPP_OOP | 308e7bdbd1e73c644a17f612fc5b919cb68c171c | [
"MIT"
] | null | null | null | C++ Practice Programs/Example_2.cpp | Ahtisham-Shakir/CPP_OOP | 308e7bdbd1e73c644a17f612fc5b919cb68c171c | [
"MIT"
] | null | null | null | C++ Practice Programs/Example_2.cpp | Ahtisham-Shakir/CPP_OOP | 308e7bdbd1e73c644a17f612fc5b919cb68c171c | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <bits/stdc++.h>
using namespace std;
int main() {
// Complete the code.
int a; long b; char c; float d; double e;
cout<<"Enter int, long, char, float, double: ";
cin >> a >> b >> c >> d >> e;
cout << a << endl;
cout << b << endl;
cout << c << e... | 24.611111 | 51 | 0.534989 | Ahtisham-Shakir |
4b7819b68b51209a0c8b01327b7735150af1ec0d | 42 | cpp | C++ | c++/Test/Naming.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/Test/Naming.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/Test/Naming.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null |
int main() {
int 1st = 0;
}
| 4.666667 | 14 | 0.333333 | taku-xhift |
4b7879257a7d891d99249a431e32191493163496 | 874 | cpp | C++ | Engine/Renderer/GLES3/src/GLES3UniformBufferManager.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 3 | 2018-12-08T16:32:05.000Z | 2020-06-02T11:07:15.000Z | Engine/Renderer/GLES3/src/GLES3UniformBufferManager.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | null | null | null | Engine/Renderer/GLES3/src/GLES3UniformBufferManager.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 1 | 2019-09-12T00:26:05.000Z | 2019-09-12T00:26:05.000Z | #include "GLES3Renderer.h"
CGLES3UniformBufferManager::CGLES3UniformBufferManager(void)
{
}
CGLES3UniformBufferManager::~CGLES3UniformBufferManager(void)
{
for (const auto& itUniformBuffer : m_pUniformBuffers) {
delete itUniformBuffer.second;
}
}
CGLES3UniformBuffer* CGLES3UniformBufferManager::Create(size_t s... | 20.325581 | 82 | 0.763158 | LiangYue1981816 |
4b78b37c7a82626e4f04199ef872148e5cd0d2ff | 679 | cpp | C++ | AndroidC++/jni/Sprite.cpp | BenjaminNitschke/MobileCourse | 802ce81f7cd9ee44b35f13e4da302a9fbd29a2b6 | [
"Apache-2.0"
] | 1 | 2015-06-20T09:09:29.000Z | 2015-06-20T09:09:29.000Z | AndroidC++/jni/Sprite.cpp | BenjaminNitschke/MobileCourse | 802ce81f7cd9ee44b35f13e4da302a9fbd29a2b6 | [
"Apache-2.0"
] | null | null | null | AndroidC++/jni/Sprite.cpp | BenjaminNitschke/MobileCourse | 802ce81f7cd9ee44b35f13e4da302a9fbd29a2b6 | [
"Apache-2.0"
] | null | null | null | #include "Sprite.h"
#include <GLES/gl.h>
using namespace SpaceInvaders;
void Sprite::Draw(float x, float y)
{
glBindTexture(GL_TEXTURE_2D, texture->GetHandle());
glTexCoordPointer(2, GL_FLOAT, 0, uvBuffer);
vertices[0] = initialX + x - width; vertices[1] = initialY + y + height; // top left
vertices[3] = initialX... | 42.4375 | 89 | 0.69514 | BenjaminNitschke |
4b7e18cb4a70044c1fecc1cd3716fb9745dd1145 | 3,659 | hpp | C++ | src/xrCore/FMesh.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrCore/FMesh.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrCore/FMesh.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | #ifndef fmeshH
#define fmeshH
#pragma once
// BOOL ValidateIndices (u32 vCount, u32 iCount, u16* pIndices);
///////////////////////////////////////////////////////////////////////////////////////////////////////
// MESH as it is represented in file
enum MT
{
MT_NORMAL = 0,
MT_HIERRARHY = 1,
MT_PROGRESSIVE... | 22.447853 | 103 | 0.640612 | clayne |
4b80011363c33c66c08bae89d4b291682948401f | 2,911 | cpp | C++ | t/006_grapheme_iterator.t.cpp | pr8x/u5e | 3b970d5bc251fdef341d039d66c84ec5eaf4cb6a | [
"BSD-2-Clause"
] | 19 | 2015-09-18T14:06:40.000Z | 2021-07-20T19:51:34.000Z | t/006_grapheme_iterator.t.cpp | pr8x/u5e | 3b970d5bc251fdef341d039d66c84ec5eaf4cb6a | [
"BSD-2-Clause"
] | 6 | 2016-09-04T02:12:07.000Z | 2017-08-10T10:07:06.000Z | t/006_grapheme_iterator.t.cpp | pr8x/u5e | 3b970d5bc251fdef341d039d66c84ec5eaf4cb6a | [
"BSD-2-Clause"
] | 7 | 2015-10-12T15:36:34.000Z | 2021-02-19T05:15:25.000Z | #include "gtest/gtest.h"
#include <string>
#include <sstream>
#include <u5e/codepoint.hpp>
#include <u5e/utf8_string.hpp>
#include <u5e/utf8_string_grapheme.hpp>
#include <u5e/utf8_string_grapheme_iterator.hpp>
#include <u5e/utf32ne_string.hpp>
#include <u5e/utf32ne_string_grapheme.hpp>
#include <u5e/utf32ne_string_g... | 20.075862 | 61 | 0.655101 | pr8x |
4b81a5977bea4e6ed6c6ac939263c7d32fbbf2df | 121 | cpp | C++ | MultiMon.cpp | SegaraRai/EntisGLS4Build | 2587390738802394a38b3aaf2adc80295dde7ec4 | [
"CC0-1.0",
"Unlicense"
] | 3 | 2021-11-05T08:02:17.000Z | 2022-02-26T18:03:18.000Z | MultiMon.cpp | SegaraRai/EntisGLS4Build | 2587390738802394a38b3aaf2adc80295dde7ec4 | [
"CC0-1.0",
"Unlicense"
] | null | null | null | MultiMon.cpp | SegaraRai/EntisGLS4Build | 2587390738802394a38b3aaf2adc80295dde7ec4 | [
"CC0-1.0",
"Unlicense"
] | null | null | null | #ifdef DISABLE_ENTIS_GLS4_EXPORTS
# include <Windows.h>
# define COMPILE_MULTIMON_STUBS
# include <MultiMon.h>
#endif
| 13.444444 | 33 | 0.785124 | SegaraRai |
4b81b6d556681238f3e160e58706462aba636918 | 1,183 | cpp | C++ | src/Swoose/Swoose/MolecularMechanics/MMParameters.cpp | qcscine/swoose | 55a74259153845ade607784f26455fd96dddce07 | [
"BSD-3-Clause"
] | 2 | 2021-12-15T09:31:36.000Z | 2021-12-15T09:35:36.000Z | src/Swoose/Swoose/MolecularMechanics/MMParameters.cpp | qcscine/swoose | 55a74259153845ade607784f26455fd96dddce07 | [
"BSD-3-Clause"
] | null | null | null | src/Swoose/Swoose/MolecularMechanics/MMParameters.cpp | qcscine/swoose | 55a74259153845ade607784f26455fd96dddce07 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include "MMParameters.h"
#include "MMExceptions.h"
namespace Scine {
namespace MolecularMechanics {
... | 29.575 | 86 | 0.730347 | qcscine |
4b8268f37171d1ffc0aff29e21d11c6bdc320d67 | 2,872 | cpp | C++ | source/request.cpp | kociap/rpp | 1c0009c1abcd9416c75c75a981b235f2db551e89 | [
"MIT"
] | null | null | null | source/request.cpp | kociap/rpp | 1c0009c1abcd9416c75c75a981b235f2db551e89 | [
"MIT"
] | null | null | null | source/request.cpp | kociap/rpp | 1c0009c1abcd9416c75c75a981b235f2db551e89 | [
"MIT"
] | null | null | null | #include "rpp/request.hpp"
#include "curl/curl.h"
namespace rpp {
Request::Request() : handle(curl_easy_init()), headers(nullptr) {}
Request::Request(Request&& req) : handle(req.handle), headers(req.headers) {
req.handle = nullptr;
req.headers = nullptr;
}
Request& Request::operator=(... | 30.231579 | 94 | 0.60968 | kociap |
4b85fba9ab89f08a9661331e0e503d4c95690e88 | 1,928 | hpp | C++ | include/codegen/include/Zenject/PoolableStaticMemoryPool_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/PoolableStaticMemoryPool_1.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/PoolableStaticMemoryPool_1.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:10:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: Zenject.StaticMemoryPool`1
#include "Zenject/StaticMemoryPool_1.hpp"
#include "utils/il2... | 42.844444 | 180 | 0.729253 | Futuremappermydud |
4b863e877773836ce1b1ce3d02a9bd36ba641089 | 1,816 | cpp | C++ | src/Events/OE_Event.cpp | antsouchlos/OxygenEngine2 | 5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb | [
"MIT"
] | null | null | null | src/Events/OE_Event.cpp | antsouchlos/OxygenEngine2 | 5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb | [
"MIT"
] | 22 | 2020-05-19T18:18:45.000Z | 2022-03-31T12:11:08.000Z | src/Events/OE_Event.cpp | antsouchlos/OxygenEngine2 | 5a123a2dacbc3b66ba9e97b9e5db7d8c17490ddb | [
"MIT"
] | null | null | null | #include <OE_Math.h>
#include <Events/OE_Event.h>
#include <Carbon/CSL_Interpreter.h>
using namespace std;
bool OE_Event::finished = false;
OE_Event::OE_Event(){
active_=false;
name_ = "";
}
OE_Event::~OE_Event(){}
void OE_Event::setFunc(const OE_EVENTFUNC a_func){
lockMutex();
func_ = a_func;
... | 17.461538 | 51 | 0.69163 | antsouchlos |
4b885d81259ba9566e5e00996723b4d2b782cf79 | 21,827 | cc | C++ | third_party/blink/renderer/platform/scroll/scrollbar.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/platform/scroll/scrollbar.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/platform/scroll/scrollbar.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | 33.84031 | 80 | 0.693591 | zipated |