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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a684add91064043be77fbb66b750ef9133e14ea | 684 | hpp | C++ | include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/game/audio/events/DialogLine.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/generated/audio/DialogLineEventData.hpp>
#include <RED4ext/Types/generated/red/Event.hpp>
namespace RED4ext
{
namespace game::audio::events { ... | 27.36 | 68 | 0.758772 | Cyberpunk-Extended-Development-Team |
3a6975611d34e5d11be9d96d1bc5c5b6dd7718d1 | 22,533 | cpp | C++ | Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp | Enderderder/CatastropheGame | 251888d384ae59966788cce7bbbc98c3c0be7433 | [
"MIT"
] | null | null | null | Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp | Enderderder/CatastropheGame | 251888d384ae59966788cce7bbbc98c3c0be7433 | [
"MIT"
] | null | null | null | Source/Catastrophe/Characters/PlayerCharacter/PlayerCharacter.cpp | Enderderder/CatastropheGame | 251888d384ae59966788cce7bbbc98c3c0be7433 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "PlayerCharacter.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "Components/StaticMeshComponent.h"
#include "Components/SkeletalMeshComponent.h"
#incl... | 31.33936 | 180 | 0.783695 | Enderderder |
3a6e88550fd003de6bea000f87299ed1695604ad | 3,837 | cpp | C++ | src/SUAPI-CppWrapper/model/Opening.cpp | TommyKaneko/Sketchup-API-C-Wrapper | 8210ce29aa93a7375ae520d271305987e4269ec6 | [
"MIT"
] | 20 | 2017-04-05T07:29:44.000Z | 2022-01-10T18:41:42.000Z | src/SUAPI-CppWrapper/model/Opening.cpp | TommyKaneko/Sketchup-API-C-Wrapper | 8210ce29aa93a7375ae520d271305987e4269ec6 | [
"MIT"
] | 42 | 2017-05-21T07:47:14.000Z | 2019-10-31T16:19:00.000Z | src/SUAPI-CppWrapper/model/Opening.cpp | TommyKaneko/Sketchup-API-C-Wrapper | 8210ce29aa93a7375ae520d271305987e4269ec6 | [
"MIT"
] | 9 | 2017-04-20T13:03:13.000Z | 2022-02-08T23:53:36.000Z | //
// Opening.cpp
//
// Sketchup C++ Wrapper for C API
// MIT License
//
// Copyright (c) 2017 Tom Kaneko
//
// 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... | 30.212598 | 133 | 0.69325 | TommyKaneko |
3a7510edc6c733b143b5ffd248c2ef231b464bc1 | 1,150 | cpp | C++ | src/NPC.cpp | CS126SP20/final-project-tessarm2 | e4134d69207d610b0dc2464d8bed67908186fbee | [
"MIT"
] | null | null | null | src/NPC.cpp | CS126SP20/final-project-tessarm2 | e4134d69207d610b0dc2464d8bed67908186fbee | [
"MIT"
] | null | null | null | src/NPC.cpp | CS126SP20/final-project-tessarm2 | e4134d69207d610b0dc2464d8bed67908186fbee | [
"MIT"
] | null | null | null | //
// Created by tessa on 4/21/2020.
//
#include "mylibrary/NPC.h"
#include <cinder/gl/gl.h>
namespace myLibrary {
void NPC::draw() {
ci::gl::pushModelMatrix();
ci::gl::translate(location);
sprite->draw();
ci::gl::popModelMatrix();
}
void NPC::setHealth(int setHealth) {
health = setHealth;... | 17.692308 | 63 | 0.613043 | CS126SP20 |
b91c20feb67fe26d655677887255b040b67eb42f | 7,153 | cpp | C++ | IPlug/AAX/IPlugAAX_Parameters.cpp | onqel/iPlug2 | d6d4c45935119fe87bf9049861a2e004df605b80 | [
"Zlib"
] | 1 | 2019-06-09T19:16:53.000Z | 2019-06-09T19:16:53.000Z | IPlug/AAX/IPlugAAX_Parameters.cpp | onqel/iPlug2 | d6d4c45935119fe87bf9049861a2e004df605b80 | [
"Zlib"
] | null | null | null | IPlug/AAX/IPlugAAX_Parameters.cpp | onqel/iPlug2 | d6d4c45935119fe87bf9049861a2e004df605b80 | [
"Zlib"
] | null | null | null | /*
==============================================================================
This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers.
See LICENSE.txt for more info.
==============================================================================
*/
#include "IPlugAAX_Parameters.h"... | 51.833333 | 172 | 0.744303 | onqel |
b91d3b952c13286fdf7737c47a19722cd3c6d563 | 1,206 | cpp | C++ | Framework/Graphics/Src/GeometryShader.cpp | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | 3 | 2020-07-23T02:50:11.000Z | 2020-10-20T14:49:40.000Z | Framework/Graphics/Src/GeometryShader.cpp | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | null | null | null | Framework/Graphics/Src/GeometryShader.cpp | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | null | null | null | #include "Precompiled.h"
#include "GeometryShader.h"
#include "D3DUtil.h"
using namespace Coo::Graphics;
void Coo::Graphics::GeometryShader::Initialize(const wchar_t * filename)
{
auto device = GetDevice();
ID3DBlob* shaderBlob = nullptr;
ID3DBlob* errorBlob = nullptr;
HRESULT hr;
// Compile geometry... | 24.612245 | 116 | 0.703151 | amyrhzhao |
b924021cccabda765fe55abce0072e2e9ac0aae2 | 1,817 | hpp | C++ | libs/messenger/include/messenger/mailbox_interface.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 96 | 2018-08-23T16:49:05.000Z | 2021-11-25T00:47:16.000Z | libs/messenger/include/messenger/mailbox_interface.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 1,011 | 2018-08-17T12:25:21.000Z | 2021-11-18T09:30:19.000Z | libs/messenger/include/messenger/mailbox_interface.hpp | chr15murray/ledger | 85be05221f19598de8c6c58652139a1f2d9e362f | [
"Apache-2.0"
] | 65 | 2018-08-20T20:05:40.000Z | 2022-02-26T23:54:35.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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 Licen... | 37.081633 | 88 | 0.604843 | chr15murray |
b9277633998eb319a2f7371251524db62119a493 | 1,352 | cpp | C++ | src/toolchain/core/CodeDom/UnaryExpression.cpp | layerzero/cc0 | fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09 | [
"BSD-2-Clause"
] | null | null | null | src/toolchain/core/CodeDom/UnaryExpression.cpp | layerzero/cc0 | fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09 | [
"BSD-2-Clause"
] | null | null | null | src/toolchain/core/CodeDom/UnaryExpression.cpp | layerzero/cc0 | fa3f8f1f7bbc38ca5b6b8864c80223191b3b1f09 | [
"BSD-2-Clause"
] | 2 | 2015-03-03T04:36:51.000Z | 2018-10-01T03:04:11.000Z |
#include "UnaryExpression.h"
#include <stdlib.h>
#include "ExpressionVisitor.h"
#include <core/Type/PointerType.h>
#include <core/Type/BooleanType.h>
UnaryExpression::UnaryExpression(): Expression(Expression::Nop), Operand(NULL)
{
}
UnaryExpression::UnaryExpression(Expression::ExpressionAction nodeType, Expression* ... | 21.125 | 92 | 0.636834 | layerzero |
b92cb27346af5460a72add726852bf1d134198e2 | 4,830 | hpp | C++ | include/libpmemobj++/detail/compound_pool_ptr.hpp | B-sudo/Clevel-Hashing | 47c095ccc875f6ac89a26e07e5d2bf8231cd08b8 | [
"BSD-3-Clause"
] | 35 | 2020-06-11T09:27:10.000Z | 2022-03-26T14:42:32.000Z | include/libpmemobj++/detail/compound_pool_ptr.hpp | ZhiHaoi/Nam_Hashing | bd12ad16300acb95e4f4be519a03c5e91d67c4af | [
"BSD-3-Clause"
] | 2 | 2021-02-07T18:26:35.000Z | 2022-02-28T04:00:05.000Z | include/libpmemobj++/detail/compound_pool_ptr.hpp | ZhiHaoi/Nam_Hashing | bd12ad16300acb95e4f4be519a03c5e91d67c4af | [
"BSD-3-Clause"
] | 11 | 2020-07-21T06:27:46.000Z | 2022-03-26T14:42:40.000Z | #ifndef LIBPMEMOBJ_CPP_COMPOUND_POOL_PTR_HPP
#define LIBPMEMOBJ_CPP_COMPOUND_POOL_PTR_HPP
namespace pmem
{
namespace detail
{
/**
* Similar to the "persistent_pool_ptr" except for two differences:
* (1) no transactions
* (2) "off" encodes "partial", "address", and "marker" info
*/
template <typename T>
class com... | 17.436823 | 68 | 0.678054 | B-sudo |
b930adb8549ce7431936f6ba748d44930b333497 | 3,063 | cpp | C++ | Project-7/C/Pr15-6.cpp | lele0108/adv-c | f6c6bd36cc5a4489023ad782a1c1ac0a943d5543 | [
"MIT"
] | null | null | null | Project-7/C/Pr15-6.cpp | lele0108/adv-c | f6c6bd36cc5a4489023ad782a1c1ac0a943d5543 | [
"MIT"
] | null | null | null | Project-7/C/Pr15-6.cpp | lele0108/adv-c | f6c6bd36cc5a4489023ad782a1c1ac0a943d5543 | [
"MIT"
] | null | null | null | // Jimmy Liu
// Project 7
// December 4 2015 (Extension Requested)
// XCode 7.0
// This program demonstrates the Car, Truck, and SUV
// classes that are derived from the Automobile class.
#include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <fstream>
#include <sstream>
#i... | 28.896226 | 118 | 0.567091 | lele0108 |
b932f1fa2fca0432ca2bb917b36d10f23a170133 | 19,319 | cpp | C++ | src/dispatcher.cpp | chardin-cpi/simppl | e0a7e13519e5a7703c12b0dcb6f0120b66be38a0 | [
"MIT"
] | null | null | null | src/dispatcher.cpp | chardin-cpi/simppl | e0a7e13519e5a7703c12b0dcb6f0120b66be38a0 | [
"MIT"
] | null | null | null | src/dispatcher.cpp | chardin-cpi/simppl | e0a7e13519e5a7703c12b0dcb6f0120b66be38a0 | [
"MIT"
] | null | null | null | #include "simppl/dispatcher.h"
#include <sys/timerfd.h>
#include <sys/poll.h>
#include <unistd.h>
#include <iostream>
#include <map>
#include <set>
#include <atomic>
#include "simppl/detail/util.h"
#include "simppl/timeout.h"
#include "simppl/skeletonbase.h"
#include "simppl/string.h"
#include "simppl/vector.h"
#d... | 24.547649 | 170 | 0.587246 | chardin-cpi |
b9342a02d69d4e628dfcc9a588afe0b806aa350f | 1,747 | cpp | C++ | Classes/Fish.cpp | 8410/FishingJoy | 65978f6d492046de7229273f584037e2000e3c40 | [
"MIT"
] | null | null | null | Classes/Fish.cpp | 8410/FishingJoy | 65978f6d492046de7229273f584037e2000e3c40 | [
"MIT"
] | null | null | null | Classes/Fish.cpp | 8410/FishingJoy | 65978f6d492046de7229273f584037e2000e3c40 | [
"MIT"
] | null | null | null | #include "Fish.h"
Fish::Fish(void)
{
}
Fish::~Fish(void)
{
}
Fish* Fish::create(FishType type/* = k_Fish_Type_SmallFish */)
{
Fish* fish = new Fish;
if (fish && fish->init(type))
{
fish->autorelease();
return fish;
}
else
{
CC_SAFE_DELETE(fish);
return NULL;
}
}
bool Fish::init(FishType type /* = k_F... | 21.048193 | 114 | 0.69834 | 8410 |
b93676a0e2bf8247004ae4b0185a980ce00299d8 | 2,077 | hpp | C++ | src/lib/meecan_lib.hpp | roboFiddle/7405M_TowerTakeover_Code | e16ffab17964ff61a25eac2074da78d0d7577caa | [
"MIT"
] | null | null | null | src/lib/meecan_lib.hpp | roboFiddle/7405M_TowerTakeover_Code | e16ffab17964ff61a25eac2074da78d0d7577caa | [
"MIT"
] | null | null | null | src/lib/meecan_lib.hpp | roboFiddle/7405M_TowerTakeover_Code | e16ffab17964ff61a25eac2074da78d0d7577caa | [
"MIT"
] | null | null | null | //
// Created by alexweiss on 8/9/19.
//
#ifndef INC_7405M_CODE_SRC_LIB_MEECAN_LIB_HPP_
#define INC_7405M_CODE_SRC_LIB_MEECAN_LIB_HPP_
#include "geometry/Displacement1d.hpp"
#include "geometry/Pose2d.hpp"
#include "geometry/Pose2dWithCurvature.hpp"
#include "geometry/Rotation2d.hpp"
#include "geometry/Translation2d.h... | 33.5 | 68 | 0.82571 | roboFiddle |
b94a8cde72f561515c1b1a4cb75731de73badb90 | 41,424 | cpp | C++ | src/hsp3dish/win32/hgdx.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | 127 | 2018-02-24T20:41:15.000Z | 2022-03-22T05:57:56.000Z | src/hsp3dish/win32/hgdx.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | 21 | 2018-09-11T15:04:22.000Z | 2022-02-03T09:30:16.000Z | src/hsp3dish/win32/hgdx.cpp | m4saka/OpenHSP | 391f0a2100e701138d0610a5b94492d6f57ad1f2 | [
"BSD-3-Clause"
] | 21 | 2019-03-28T07:49:44.000Z | 2021-12-25T02:49:07.000Z |
//
// High performance Graphic Image access (draw main)
// onion software/onitama 2011/11
//
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "hgdx.h"
//#include "hgtex.h"
//#include "omkedraw.h"
#if defined(HSPWIN) || defined(HSPLINUX) || defined(HSPEMSCRIPTEN)
#include "../hsp3/hsp3config.h"
#el... | 21.102394 | 111 | 0.552071 | m4saka |
b94cc9d19e7e4aa1486aef0e32a0a93ed80f07ae | 952 | cpp | C++ | v_0_2/graph_handlers/graph_depos_handler.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | 1 | 2018-07-03T21:17:29.000Z | 2018-07-03T21:17:29.000Z | v_0_2/graph_handlers/graph_depos_handler.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | null | null | null | v_0_2/graph_handlers/graph_depos_handler.cpp | TimoLoomets/TeamSuccessRobotex2018Taxify | 702da19a93761892174f3950924e0da07ea0c568 | [
"MIT"
] | 2 | 2018-07-03T21:17:31.000Z | 2018-07-06T15:55:21.000Z | #ifndef GRAPH_DEPOS_HANDLER_CPP
#define GRAPH_DEPOS_HANDLER_CPP
#include <bits/stdc++.h>
#include "../util_functions/util_functions.hpp"
#include "../graph_handlers/graph_points_handler.cpp"
void add_depo_to_graph(
std::map<std::pair<double, double>, std::map<std::pair<double, double>, double> > * map_graph_pointe... | 34 | 122 | 0.719538 | TimoLoomets |
b953e8a4a78ff0216c8f6cd7d380a3bd9439af18 | 327 | cpp | C++ | ProjectClasses/Utility.cpp | arnelimperial/rigid-c- | f9c903635d856fadef62ef8314b29b08a656bf82 | [
"Zlib"
] | null | null | null | ProjectClasses/Utility.cpp | arnelimperial/rigid-c- | f9c903635d856fadef62ef8314b29b08a656bf82 | [
"Zlib"
] | null | null | null | ProjectClasses/Utility.cpp | arnelimperial/rigid-c- | f9c903635d856fadef62ef8314b29b08a656bf82 | [
"Zlib"
] | null | null | null | //For Function definition
#include "Utility.h"
Utility::Utility(){
cout << "Object is created!!" << endl;
}
Utility::Utility(string a){
// a = "HELLO C++";
txt1 = a;
}
Utility:: Utility(int c){
num = c;
}
string Utility::display(){
return txt1;
}
int Utility::operate(){
return num * 1... | 10.21875 | 42 | 0.571865 | arnelimperial |
b95669f9f67839b1d23b8a5e13d7581d8c342842 | 4,710 | cpp | C++ | tests/iterator_types.cpp | keipertk/Utilities | 5b0ab5e20f374bc7f790523a8548fdcfddcfa311 | [
"Apache-2.0"
] | 1 | 2019-09-29T16:52:01.000Z | 2019-09-29T16:52:01.000Z | tests/iterator_types.cpp | keipertk/Utilities | 5b0ab5e20f374bc7f790523a8548fdcfddcfa311 | [
"Apache-2.0"
] | null | null | null | tests/iterator_types.cpp | keipertk/Utilities | 5b0ab5e20f374bc7f790523a8548fdcfddcfa311 | [
"Apache-2.0"
] | null | null | null | #include <utilities/type_traits/iterator_types.hpp>
#include <utilities/type_traits/type_traits_extensions.hpp>
#include <catch2/catch.hpp>
using namespace utilities;
using namespace detail_;
struct Iterator : public InputIteratorBase<Iterator, int> {
int value_ = 0;
Iterator& increment() {
++value_;... | 27.225434 | 78 | 0.599151 | keipertk |
b957323024851bcb87eb7fff929f21549639d604 | 1,082 | cpp | C++ | 3dEngine/src/api/render/pipeline/PipelineContainer.cpp | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 24 | 2015-10-05T00:13:57.000Z | 2020-05-06T20:14:06.000Z | 3dEngine/src/api/render/pipeline/PipelineContainer.cpp | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 1 | 2019-11-01T08:00:55.000Z | 2019-11-01T08:00:55.000Z | 3dEngine/src/api/render/pipeline/PipelineContainer.cpp | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 10 | 2015-11-25T07:33:13.000Z | 2020-03-02T08:21:10.000Z | #include <api/render/pipeline/PipelineContainer.h>
namespace urchin {
PipelineContainer::~PipelineContainer() {
cleanPipelines();
for (const auto& [pipelineId, pipeline] : pipelines) {
Logger::instance().logError("Pipeline not released: " + pipeline->getName());
}
}
st... | 32.787879 | 94 | 0.627542 | petitg1987 |
b9580795fefc92426af2f47bb1f44e56aac19058 | 4,928 | hpp | C++ | include/lbann/data_readers/image_utils.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/data_readers/image_utils.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/data_readers/image_utils.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 56.643678 | 191 | 0.705763 | andy-yoo |
b9594ed79027d67c4be534e9b9a17822352cde7a | 301 | cc | C++ | src/ila/ast/ast.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | src/ila/ast/ast.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | src/ila/ast/ast.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | /// \file
/// Source for the class Ast.
#include <ilang/ila/ast/ast.h>
namespace ilang {
typedef Ast::InstrLvlAbsPtr InstrLvlAbsPtr;
Ast::Ast() {}
Ast::Ast(const std::string& name) : Object(name) {}
Ast::~Ast() {}
void Ast::set_host(InstrLvlAbsPtr host) { host_ = host; }
} // namespace ilang
| 15.842105 | 57 | 0.664452 | yuex1994 |
b95a8501964dcd8003f24637d53328be6828fe52 | 1,962 | cpp | C++ | src/CDiamond/src/CD_Engine2D.cpp | polymergames/jDiamond | 60cce36882988d2b02833648cf2ea9988eed85a9 | [
"Apache-2.0"
] | 4 | 2017-09-17T17:49:20.000Z | 2020-12-12T19:04:25.000Z | src/CDiamond/src/CD_Engine2D.cpp | polymergames/jDiamond | 60cce36882988d2b02833648cf2ea9988eed85a9 | [
"Apache-2.0"
] | 2 | 2017-01-04T22:18:01.000Z | 2017-01-09T15:35:35.000Z | src/CDiamond/src/CD_Engine2D.cpp | polymergames/jdiamond | 60cce36882988d2b02833648cf2ea9988eed85a9 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016 Ahnaf Siddiqui
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 i... | 25.815789 | 76 | 0.637615 | polymergames |
b95c095ff26d33c8ad604f907899d47d3ec26ac7 | 145 | hpp | C++ | test/input/pass_string_escape.hpp | zero318/json5pp | 1f47bf205dffea1e380503032a7f05d8d69cd56b | [
"MIT"
] | 15 | 2019-09-02T03:19:35.000Z | 2022-03-08T03:04:24.000Z | test/input/pass_string_escape.hpp | zero318/json5pp | 1f47bf205dffea1e380503032a7f05d8d69cd56b | [
"MIT"
] | 2 | 2020-11-09T09:26:33.000Z | 2021-01-28T01:52:57.000Z | test/input/pass_string_escape.hpp | zero318/json5pp | 1f47bf205dffea1e380503032a7f05d8d69cd56b | [
"MIT"
] | 4 | 2020-07-20T17:25:05.000Z | 2021-03-16T05:24:20.000Z | #include "../../json5pp.hpp"
static bool verify(const json5pp::value& value)
{
return value.as_string() == "a\bcde\fg_\"\t\\test\nbar\r/d";
}
| 20.714286 | 62 | 0.648276 | zero318 |
b95dcc65e016052467ade23130ffa8eee57ba9e7 | 379 | hpp | C++ | src/armnn/backends/ITensorHandle.hpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | 1 | 2019-03-19T08:44:28.000Z | 2019-03-19T08:44:28.000Z | src/armnn/backends/ITensorHandle.hpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | null | null | null | src/armnn/backends/ITensorHandle.hpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | 1 | 2019-10-11T05:58:56.000Z | 2019-10-11T05:58:56.000Z | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
namespace armnn
{
class ITensorHandle
{
public:
enum Type
{
Cpu,
CL,
Neon
};
virtual ~ITensorHandle(){}
virtual void Allocate() = 0;
... | 14.576923 | 69 | 0.614776 | Air000 |
b960eb8927fe28ca27d77fa9db9ab9a87566d408 | 30,811 | cpp | C++ | tools/analyze_phonons.cpp | wichoi77/alamode | f0b3f4cc9903a807006b8f2d183de77dd461f61c | [
"MIT"
] | 1 | 2021-01-27T19:05:03.000Z | 2021-01-27T19:05:03.000Z | tools/analyze_phonons.cpp | wichoi77/alamode | f0b3f4cc9903a807006b8f2d183de77dd461f61c | [
"MIT"
] | null | null | null | tools/analyze_phonons.cpp | wichoi77/alamode | f0b3f4cc9903a807006b8f2d183de77dd461f61c | [
"MIT"
] | 1 | 2021-04-26T14:01:15.000Z | 2021-04-26T14:01:15.000Z | /*
analyze_phonons.cpp
Copyright (c) 2014, 2015, 2016 Terumasa Tadano
This file is distributed under the terms of the MIT license.
Please see the file 'LICENCE.txt' in the root directory
or http://opensource.org/licenses/mit-license.php for information.
*/
#include <stdlib.h>
#include <iostream>
#include <fstre... | 29.260209 | 105 | 0.421343 | wichoi77 |
b9634054319d77fc946cd60813f21161d48c2555 | 961 | cpp | C++ | Cpp/misc/2019_09_25/ICPC_D.cpp | MarioJim/CompetitiveProgramming | ade07551e37e32be3f6511bfe68ed633701c3a4d | [
"MIT"
] | 1 | 2019-01-28T15:12:20.000Z | 2019-01-28T15:12:20.000Z | Cpp/misc/2019_09_25/ICPC_D.cpp | MarioJim/ClubDeProgra | ade07551e37e32be3f6511bfe68ed633701c3a4d | [
"MIT"
] | null | null | null | Cpp/misc/2019_09_25/ICPC_D.cpp | MarioJim/ClubDeProgra | ade07551e37e32be3f6511bfe68ed633701c3a4d | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main() {
int N, K, tempInput;
cin >> N >> K;
vector<pair<int,int>> arr;
arr.emplace_back(0,1);
for (int i = 1; i < N; ++i) {
cin >> tempInput;
arr.emplace_back(tempInput - 1, 1);
}
int result = 0;
while (K > ... | 24.641026 | 61 | 0.448491 | MarioJim |
b96468872c194cd5ac8a512e0f6ed09360bab5e3 | 16,752 | cpp | C++ | src/CommObd2Can.cpp | doudoune144/evDash | a49d349b88c524fcfa01eda9da1505c02a25704f | [
"MIT"
] | 42 | 2020-12-09T13:37:19.000Z | 2022-03-12T16:58:48.000Z | src/CommObd2Can.cpp | doudoune144/evDash | a49d349b88c524fcfa01eda9da1505c02a25704f | [
"MIT"
] | 21 | 2020-12-03T10:38:08.000Z | 2022-02-10T08:30:46.000Z | src/CommObd2Can.cpp | doudoune144/evDash | a49d349b88c524fcfa01eda9da1505c02a25704f | [
"MIT"
] | 28 | 2020-12-02T07:31:41.000Z | 2022-03-23T07:59:26.000Z | #include "CommObd2Can.h"
#include "BoardInterface.h"
#include "LiveData.h"
#include <mcp_can.h>
//#include <string.h>
/**
Connect CAN adapter
*/
void CommObd2Can::connectDevice()
{
connectAttempts--;
syslog->println("CAN connectDevice");
//CAN = new MCP_CAN(pinCanCs); // todo: remove if smart pointer is ok... | 27.689256 | 170 | 0.649654 | doudoune144 |
b969f74cb241fbf7851922b726c0d4f2edb13b7b | 1,160 | hpp | C++ | test/integration/utils/include/er_network_variant.hpp | anarthal/mysql-asio | 13d3615464f41222052d9ad8fa0c86bcdddee537 | [
"BSL-1.0"
] | 47 | 2019-10-21T14:54:39.000Z | 2020-07-06T19:36:58.000Z | test/integration/utils/include/er_network_variant.hpp | anarthal/mysql-asio | 13d3615464f41222052d9ad8fa0c86bcdddee537 | [
"BSL-1.0"
] | 5 | 2020-03-05T12:03:02.000Z | 2020-07-06T18:18:35.000Z | test/integration/utils/include/er_network_variant.hpp | anarthal/mysql-asio | 13d3615464f41222052d9ad8fa0c86bcdddee537 | [
"BSL-1.0"
] | 4 | 2020-03-05T11:28:55.000Z | 2020-05-20T09:06:21.000Z | //
// Copyright (c) 2019-2022 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_TEST_INTEGRATION_UTILS_INCLUDE_ER_NETWORK_VARIANT_HPP
#de... | 28.292683 | 109 | 0.763793 | anarthal |
b96bac60ea0b236b92cb6f420bad1677bed2796d | 1,322 | cpp | C++ | source/dllmain.cpp | taxi2za/WINE-anti-cheat | 5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd | [
"MIT"
] | 5 | 2020-05-01T16:54:52.000Z | 2021-06-09T04:52:27.000Z | source/dllmain.cpp | SimonVoorman/WINE-anti-cheat | 5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd | [
"MIT"
] | null | null | null | source/dllmain.cpp | SimonVoorman/WINE-anti-cheat | 5e941f19f5d2f1dfbb7bf162c2d77eb0bea710cd | [
"MIT"
] | 3 | 2019-02-23T03:41:56.000Z | 2019-12-16T17:44:46.000Z | #include "includes.hpp"
#include "util/values.hpp"
LRESULT CALLBACK hook_procedure(int code, WPARAM w_param, LPARAM l_param)
{
if (code == HC_ACTION)
{
const auto detection_manager = G::detection_manager;
std::for_each(detection_manager.detections.begin(), detection_manager.detections.end(), [... | 24.481481 | 123 | 0.653555 | taxi2za |
b96fc3f20002692683d4211fc182f865861b1c88 | 9,051 | cpp | C++ | ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp | erik-kallen/ClearScript | 33036db296dea4cafcd9b0bd8ab076882a0ab70e | [
"MIT"
] | null | null | null | ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp | erik-kallen/ClearScript | 33036db296dea4cafcd9b0bd8ab076882a0ab70e | [
"MIT"
] | null | null | null | ClearScript/V8/ClearScriptV8/V8IsolateProxyImpl.cpp | erik-kallen/ClearScript | 33036db296dea4cafcd9b0bd8ab076882a0ab70e | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include "ClearScriptV8Managed.h"
namespace Microsoft {
namespace ClearScript {
namespace V8 {
//-------------------------------------------------------------------------
// V8IsolateProxyImpl implementation
/... | 32.557554 | 180 | 0.518064 | erik-kallen |
b979a03964c2aca974055e613d33e2aea288dd43 | 18,088 | cpp | C++ | hw1/sorting.cpp | aydayurtoglu/cs202_cpp | 263ef1d1e30c2108c9848f89f98b663446da75b4 | [
"MIT"
] | null | null | null | hw1/sorting.cpp | aydayurtoglu/cs202_cpp | 263ef1d1e30c2108c9848f89f98b663446da75b4 | [
"MIT"
] | null | null | null | hw1/sorting.cpp | aydayurtoglu/cs202_cpp | 263ef1d1e30c2108c9848f89f98b663446da75b4 | [
"MIT"
] | null | null | null | /*
* Title: Sorting and Algorithm Efficiency
* Author: Ayda Yurtoglu
* ID: 21903153
* Section: 1
* Assignment: 1
* Description: Sorting source code
*/
#include "sorting.h"
#include <iostream>
#include <math.h>
#include <cstdlib>
#include <cstdio>
#include <ctime>
using namespace std;
sorting::sorti... | 31.079038 | 152 | 0.460084 | aydayurtoglu |
b98495b8db9184bc2d81cd389b9d1b35015a341f | 264 | hpp | C++ | NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | 1 | 2019-06-04T04:30:24.000Z | 2019-06-04T04:30:24.000Z | NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/CExoLinkedListTemplatedCRes.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | 1 | 2019-10-20T07:54:45.000Z | 2019-10-20T07:54:45.000Z | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CExoLinkedListInternal;
struct CExoLinkedListTemplatedCRes
{
CExoLinkedListInternal* m_pcExoLinkedListInternal;
};
}
}
| 13.2 | 58 | 0.780303 | acaos |
b9856f98d498dde495d461c436e1dce8a65d089f | 772 | cpp | C++ | src/uarttest.cpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | 3 | 2019-10-31T15:04:35.000Z | 2021-06-24T16:35:18.000Z | src/uarttest.cpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | null | null | null | src/uarttest.cpp | ASM-Advised-Projects/rasm-software | e28a17f96f70d89a4939e40a64e9e2e6a5ed7674 | [
"MIT"
] | 2 | 2019-02-26T20:41:15.000Z | 2019-05-14T01:40:40.000Z |
#include <iostream>
#include <string>
#include "c-periphery/serial.h"
using std::string;
using std::cout;
using std::cin;
using std::endl;
int main(int argc, char **argv)
{
serial_t uartport1;
std::string device_file_1 = "/dev/ttyO1";
int baudrate = 115200;
int result1 = serial_open(&uartport1, device_fi... | 19.3 | 78 | 0.642487 | ASM-Advised-Projects |
b98bc1d5d3df2cca03e5143dcdd187d29fdd4fb5 | 4,420 | cpp | C++ | SMACOF.cpp | LiliamPumpernickel/DAMIS | 51369f27ad907b21548bccd6ad184e2e2858e707 | [
"Apache-2.0"
] | 1 | 2018-05-13T11:42:44.000Z | 2018-05-13T11:42:44.000Z | SMACOF.cpp | LiliamPumpernickel/DAMIS | 51369f27ad907b21548bccd6ad184e2e2858e707 | [
"Apache-2.0"
] | null | null | null | SMACOF.cpp | LiliamPumpernickel/DAMIS | 51369f27ad907b21548bccd6ad184e2e2858e707 | [
"Apache-2.0"
] | 1 | 2018-05-01T16:53:27.000Z | 2018-05-01T16:53:27.000Z | ///////////////////////////////////////////////////////////
// SMACOF.cpp
// Implementation of the Class SMACOF
// Created on: 07-Lie-2013 20:07:32
// Original author: Povilas
///////////////////////////////////////////////////////////
/*! \class SMACOF
\brief A class of methods and attributes for SMACOF a... | 26.787879 | 109 | 0.567195 | LiliamPumpernickel |
b98c41aaddf198e3a1d4bf159fe816f692609ac1 | 1,018 | cpp | C++ | codes/hpc/malloc/malloc03/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 3 | 2022-01-25T07:33:43.000Z | 2022-03-30T10:25:09.000Z | codes/hpc/malloc/malloc03/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | null | null | null | codes/hpc/malloc/malloc03/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 2 | 2022-01-17T13:39:12.000Z | 2022-03-30T10:25:12.000Z | #include <omp.h>
#include <benchmark/benchmark.h>
#include <iostream>
#include <vector>
#include <chrono>
typedef std::chrono::high_resolution_clock Clock;
#define TIME_BEGIN(x) auto clock_time_##x = Clock::now();
#define TIME_END(x) { auto curr_time = Clock::now(); \
auto dt = curr_time - clock_... | 27.513514 | 85 | 0.587426 | eric2003 |
b98f2a8a88298873b0e701b53b7321efa1a70d6f | 8,087 | cpp | C++ | game/state/tilemap/tileobject_vehicle.cpp | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | 1 | 2019-11-19T11:41:36.000Z | 2019-11-19T11:41:36.000Z | game/state/tilemap/tileobject_vehicle.cpp | FilmBoy84/OpenApoc_FB84 | a6b69cafba01744998ced6c67b93fbd937d32d26 | [
"MIT"
] | null | null | null | game/state/tilemap/tileobject_vehicle.cpp | FilmBoy84/OpenApoc_FB84 | a6b69cafba01744998ced6c67b93fbd937d32d26 | [
"MIT"
] | null | null | null | #ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include "game/state/tilemap/tileobject_vehicle.h"
#include "framework/renderer.h"
#include "game/state/city/vehicle.h"
#include "game/state/city/vehiclemission.h"
#include "game/state/rules/city/vehicletype.h"
#include "game/state/tilemap/tilemap.h"
#include "... | 27.886207 | 95 | 0.628292 | trevortomesh |
b98f3342c4a2b067eb6ee1a7825ba15e8f869183 | 4,415 | cpp | C++ | modules/monkey/native/bbgc.cpp | nitrologic/monkey2-pi | a46ce707a68657afeee3fac4ee71c73024450b32 | [
"Zlib"
] | 1 | 2019-01-19T06:13:24.000Z | 2019-01-19T06:13:24.000Z | modules/monkey/native/bbgc.cpp | nitrologic/monkey2 | a46ce707a68657afeee3fac4ee71c73024450b32 | [
"Zlib"
] | null | null | null | modules/monkey/native/bbgc.cpp | nitrologic/monkey2 | a46ce707a68657afeee3fac4ee71c73024450b32 | [
"Zlib"
] | null | null | null |
//v1001
#include <utility>
#include "bbgc.h"
// For testing only...
// #define BBGC_DISABLED 1
//For future ref...
#if BB_THREADED
//fast but unpredictable
//#define BBGC_LOCK while( bbGC::spinlock.test_and_set( std::memory_order_acquire ) ) std::this_thread::yield();
//#define BBGC_UNLOCK bbGC::spinlock.clear( s... | 17.112403 | 112 | 0.644621 | nitrologic |
b98ff2e92c21fbe33db68281a908c406de1cc056 | 1,061 | cpp | C++ | test/AnyCallSignature.cpp | thecppzoo/zoo | 6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f | [
"MIT"
] | 32 | 2018-10-23T16:48:00.000Z | 2022-03-25T04:09:32.000Z | test/AnyCallSignature.cpp | thecppzoo/zoo | 6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f | [
"MIT"
] | 7 | 2018-11-12T19:54:46.000Z | 2020-06-30T21:40:48.000Z | test/AnyCallSignature.cpp | thecppzoo/zoo | 6b82e4ba4ca30cd8a71404f2dec946e3bac9e52f | [
"MIT"
] | 4 | 2017-09-02T16:53:00.000Z | 2020-12-14T09:10:51.000Z | //
// AnyCallSignature.cpp
//
// Created by Eduardo Madrid on 7/22/19.
//
#include "zoo/AnyCallSignature.h"
#include "zoo/FunctionPolicy.h"
#include "zoo/AnyContainer.h"
#include "catch2/catch.hpp"
int doubler(int a) { return 2*a; }
int multiply(int f1, int f2) { return f1*f2; }
TEST_CASE("AnyCallSignature", "[a... | 28.675676 | 86 | 0.611687 | thecppzoo |
b995ac9c841ecaf9ec401609699e7e769d71c437 | 4,585 | cpp | C++ | test/opengl/select.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 4 | 2020-08-02T18:41:31.000Z | 2021-12-30T07:29:45.000Z | test/opengl/select.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | null | null | null | test/opengl/select.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 1 | 2020-07-10T16:00:39.000Z | 2020-07-10T16:00:39.000Z | #include "Halide.h"
#include <stdio.h>
#include <stdlib.h>
using namespace Halide;
int test_per_channel_select() {
// This test must be run with an OpenGL target.
const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL);
Func gpu("gpu"), cpu("cpu");
Var x("x"), y("y"), c(... | 26.812865 | 89 | 0.443402 | jwitz54 |
b9975b4da8bb9551fd52154f043eefc036f90520 | 981 | cpp | C++ | examples/3-complex_layout.cpp | nathanrpage97/libfort | 41237162a9bd34a30a88069ee4e230584ae8d674 | [
"MIT"
] | 388 | 2018-07-16T06:18:37.000Z | 2022-03-27T10:31:16.000Z | examples/3-complex_layout.cpp | nathanrpage97/libfort | 41237162a9bd34a30a88069ee4e230584ae8d674 | [
"MIT"
] | 64 | 2019-05-03T07:02:23.000Z | 2022-02-26T01:08:30.000Z | examples/3-complex_layout.cpp | nathanrpage97/libfort | 41237162a9bd34a30a88069ee4e230584ae8d674 | [
"MIT"
] | 55 | 2018-07-27T07:33:52.000Z | 2022-03-21T19:26:02.000Z | #include <iostream>
#include "fort.hpp"
int main()
{
fort::char_table table;
/* Set table border style */
table.set_border_style(FT_DOUBLE2_STYLE);
// Fill table with data
table << fort::header
<< "Sed" << "Aenean" << "Text" << fort::endr;
table << "Duis" << "Aliquam"
<< "... | 27.25 | 77 | 0.588175 | nathanrpage97 |
b9994203ce56691e6e53446f6e86c2f14ac5f02e | 2,117 | cpp | C++ | src/main/cpp/Vision.cpp | VLPatton/2022-Rapid-React-Code | 221312d98bf0eb780c2c2263949fcc439e0da42a | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/Vision.cpp | VLPatton/2022-Rapid-React-Code | 221312d98bf0eb780c2c2263949fcc439e0da42a | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/Vision.cpp | VLPatton/2022-Rapid-React-Code | 221312d98bf0eb780c2c2263949fcc439e0da42a | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
Description: CVisionPacket implementation
Class: CVisionPacket
Project: 2022 Rapid React Robot Code
******************************************************************************/
#include "Vision.h"
#include <fmt/core.h>
#include... | 30.681159 | 96 | 0.670288 | VLPatton |
b99c3e1ca9ba64f534b9e23a6fae6541559777aa | 4,602 | cpp | C++ | node_modules/gl/angle/src/libGLESv2/global_state.cpp | aaverty/editly | 71bccaf91f8d68609c80ba59425b79e3f94579ad | [
"MIT"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | Source/ANGLE/libGLESv2/global_state.cpp | wpbest/XPF | cb54ad82a8c6f675f2d5bc840a78f66f03de65e2 | [
"MIT"
] | 2 | 2020-03-14T04:03:53.000Z | 2021-09-02T04:26:49.000Z | Source/ANGLE/libGLESv2/global_state.cpp | wpbest/XPF | cb54ad82a8c6f675f2d5bc840a78f66f03de65e2 | [
"MIT"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | //
// Copyright(c) 2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// global_state.cpp : Implements functions for querying the thread-local GL and EGL state.
#include "libGLESv2/global_state.h"
#include "l... | 19.417722 | 90 | 0.658627 | aaverty |
b99c59116310443134cf872a6ac6afcdbc5e3d5a | 426 | cpp | C++ | tests/2017/11.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | 6 | 2019-03-01T14:15:38.000Z | 2021-12-10T21:39:23.000Z | tests/2017/11.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | 3 | 2018-10-22T09:42:26.000Z | 2018-10-22T11:45:06.000Z | tests/2017/11.cpp | voivoid/advent-of-code | efc02f558ad7718d02dfc205fadeba6b857ce4ae | [
"MIT"
] | null | null | null | #include "boost/test/unit_test.hpp"
#include "aoc_fixture.h"
#include "AoC/2017/problem_11.h"
using namespace AoC_2017::problem_11;
BOOST_FIXTURE_TEST_CASE( problem2017_11_1, AocFixture )
{
BOOST_CHECK_EQUAL( 3, run( &solve_1, "ne,ne,ne" ) );
BOOST_CHECK_EQUAL( 0, run( &solve_1, "ne,ne,sw,sw" ) );
BOOST_CHECK... | 26.625 | 60 | 0.692488 | voivoid |
b99dba9fb68da1093a77d598f37b0d3dc63eb420 | 1,771 | cc | C++ | src/FbgemmBfloat16ConvertAvx512.cc | menchunlei/FBGEMM | 588ecfcca3d83186461554cd28dedc41532d75b4 | [
"BSD-3-Clause"
] | 1 | 2020-05-02T14:18:06.000Z | 2020-05-02T14:18:06.000Z | src/FbgemmBfloat16ConvertAvx512.cc | menchunlei/FBGEMM | 588ecfcca3d83186461554cd28dedc41532d75b4 | [
"BSD-3-Clause"
] | null | null | null | src/FbgemmBfloat16ConvertAvx512.cc | menchunlei/FBGEMM | 588ecfcca3d83186461554cd28dedc41532d75b4 | [
"BSD-3-Clause"
] | 1 | 2020-04-21T08:10:22.000Z | 2020-04-21T08:10:22.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <immintrin.h>
#include "fbgemm/FbgemmConvert.h"
namespace fbgemm {
namespace {
inline __m256i... | 31.070175 | 76 | 0.713721 | menchunlei |
b9a1da7c8fd64b49fbf4301ab3b32006a155d382 | 17,211 | cpp | C++ | src/game/wbengine.cpp | Torom/Banksia | 30498fd75196c1a8f29aac8e7c249ce6817644d2 | [
"Apache-2.0"
] | 55 | 2019-07-01T11:42:59.000Z | 2022-03-09T18:59:18.000Z | src/game/wbengine.cpp | Torom/Banksia | 30498fd75196c1a8f29aac8e7c249ce6817644d2 | [
"Apache-2.0"
] | 15 | 2019-07-13T01:29:09.000Z | 2021-12-31T21:09:59.000Z | src/game/wbengine.cpp | Torom/Banksia | 30498fd75196c1a8f29aac8e7c249ce6817644d2 | [
"Apache-2.0"
] | 13 | 2019-07-10T12:30:55.000Z | 2022-01-10T09:41:59.000Z | /*
This file is part of Banksia.
Copyright (c) 2019 Nguyen Hong Pham
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, c... | 27.939935 | 145 | 0.532392 | Torom |
b9a2a8c419f5f3e118e4655cd9702850e50ad892 | 19,174 | cc | C++ | src/logkafka/zookeeper.cc | Qihoo360/logkafka | f329b5a9806e0b0f716884759edbe54e72e4dec0 | [
"MIT"
] | 568 | 2015-06-23T07:41:50.000Z | 2022-03-30T11:32:05.000Z | src/logkafka/zookeeper.cc | Qihoo360/logkafka | f329b5a9806e0b0f716884759edbe54e72e4dec0 | [
"MIT"
] | 26 | 2015-09-27T07:25:31.000Z | 2021-07-25T13:30:09.000Z | src/logkafka/zookeeper.cc | Qihoo360/logkafka | f329b5a9806e0b0f716884759edbe54e72e4dec0 | [
"MIT"
] | 138 | 2015-06-23T07:41:50.000Z | 2021-12-13T02:31:40.000Z | ///////////////////////////////////////////////////////////////////////////
//
// logkafka - Collect logs and send lines to Apache Kafka v0.8+
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015 Qihoo 360 Technology Co., Ltd. All rights reserved.
//
// Licensed under ... | 28.78979 | 126 | 0.579691 | Qihoo360 |
b9a408b5a73d418cde13c85cfa8a4421adb1397f | 21,551 | cpp | C++ | src/globals/tb2globalconstr.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | 33 | 2018-08-16T18:14:35.000Z | 2022-03-14T10:26:18.000Z | src/globals/tb2globalconstr.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | 13 | 2018-08-09T06:53:08.000Z | 2022-03-28T10:26:24.000Z | src/globals/tb2globalconstr.cpp | Pierre-Mont/toulbar2 | 623b92d593eab2dc1e21df9f853c28cc84626ed6 | [
"MIT"
] | 12 | 2018-06-06T15:19:46.000Z | 2022-02-11T17:09:27.000Z | #include "tb2globalconstr.hpp"
#include "core/tb2wcsp.hpp"
#include "search/tb2clusters.hpp"
GlobalConstraint::GlobalConstraint(WCSP* wcsp, EnumeratedVariable** scope_in, int arity_in, Cost defval)
: AbstractGlobalConstraint(wcsp, scope_in, arity_in)
, extendedCost(NULL)
, projectedCost(0)
, nonassigne... | 31.233333 | 193 | 0.525869 | Pierre-Mont |
b9a735d2a2dec18e68753353b32157e175c3777f | 1,934 | cpp | C++ | dev/test/so_5/state/time_limit/reset_limit/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 272 | 2019-05-16T11:45:54.000Z | 2022-03-28T09:32:14.000Z | dev/test/so_5/state/time_limit/reset_limit/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 40 | 2019-10-29T18:19:18.000Z | 2022-03-30T09:02:49.000Z | dev/test/so_5/state/time_limit/reset_limit/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 29 | 2019-05-16T12:05:32.000Z | 2022-03-19T12:28:33.000Z | /*
* A test case for reseting time limit for a state.
*/
#include <iostream>
#include <so_5/all.hpp>
#include <test/3rd_party/various_helpers/time_limited_execution.hpp>
class a_test_t final : public so_5::agent_t
{
state_t first{ this, "first" };
state_t second{ this, "second" };
struct sig_1 : public so_5::... | 22.229885 | 73 | 0.601861 | ZaMaZaN4iK |
b9ab8c184956b997d0be4fc5a8ea3dade13ede8d | 2,858 | hpp | C++ | ql/experimental/credit/onefactorgaussiancopula.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/experimental/credit/onefactorgaussiancopula.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/experimental/credit/onefactorgaussiancopula.hpp | zhengyuzhang1/QuantLib | 65867ab7c44419b69e40e553b41230744b83cff9 | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Roland Lichters
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and... | 34.433735 | 79 | 0.687194 | zhengyuzhang1 |
b9ac5b7a6d11f4b5284e01c4a13e96820221283b | 46,157 | cpp | C++ | Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp | JasonDictos/azure-storage-cpp | 8accecace59ad631cd7686f9e11fa7498fe717ac | [
"Apache-2.0"
] | null | null | null | Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp | JasonDictos/azure-storage-cpp | 8accecace59ad631cd7686f9e11fa7498fe717ac | [
"Apache-2.0"
] | null | null | null | Microsoft.WindowsAzure.Storage/tests/cloud_page_blob_test.cpp | JasonDictos/azure-storage-cpp | 8accecace59ad631cd7686f9e11fa7498fe717ac | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------------------
// <copyright file="cloud_page_blob_test.cpp" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | 58.132242 | 229 | 0.683428 | JasonDictos |
b9acae4d08f40a3853a7d812b2cb2f6f49f02732 | 797 | cpp | C++ | remote_test/yosupo/math/convolution_mod.2.test.cpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | 7 | 2021-07-20T15:25:00.000Z | 2022-03-13T11:58:25.000Z | remote_test/yosupo/math/convolution_mod.2.test.cpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | 10 | 2021-03-11T16:08:22.000Z | 2022-03-13T08:40:36.000Z | remote_test/yosupo/math/convolution_mod.2.test.cpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | null | null | null | #define PROBLEM "https://judge.yosupo.jp/problem/convolution_mod"
#include <iostream>
#include <vector>
#include "math/formal_power_series/relaxed_convolution.hpp"
#include "modint/Montgomery_modint.hpp"
int main() {
#ifdef LOCAL
std::freopen("in", "r", stdin), std::freopen("out", "w", stdout);
#endif
... | 28.464286 | 68 | 0.580928 | hly1204 |
b9ae74999466c5857c3a3ca37a3bcadd45aacffd | 192 | cpp | C++ | old/Codeforces/112/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | old/Codeforces/112/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | old/Codeforces/112/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "template.hpp"
int main() {
string a, b;
cin >> a >> b;
for (char& c : a) c = tolower(c);
for (char& c : b) c = tolower(c);
cout << (a < b ? -1 : a > b ? 1 : 0) << endl;
}
| 19.2 | 47 | 0.463542 | not522 |
b9aee9434e218a09125111ac635c39c7ec06fcc3 | 2,059 | cc | C++ | impl/browser/vibration/vibration_message_filter.cc | Jabawack/chromium-efl | 6d3a3accc8afba0aa0eff6461eb5c83138172e6e | [
"BSD-3-Clause"
] | 9 | 2015-04-09T20:22:08.000Z | 2021-03-17T08:34:56.000Z | impl/browser/vibration/vibration_message_filter.cc | Jabawack/chromium-efl | 6d3a3accc8afba0aa0eff6461eb5c83138172e6e | [
"BSD-3-Clause"
] | 2 | 2015-02-04T13:41:12.000Z | 2015-05-25T14:00:40.000Z | impl/browser/vibration/vibration_message_filter.cc | isabella232/chromium-efl | db2d09aba6498fb09bbea1f8440d071c4b0fde78 | [
"BSD-3-Clause"
] | 14 | 2015-02-12T16:20:47.000Z | 2022-01-20T10:36:26.000Z | // Copyright 2013 Samsung Electronics. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/vibration/vibration_message_filter.h"
#include <algorithm>
#include "base/numerics/safe_conversions.h"
#include "base/memory/ref_counte... | 36.122807 | 87 | 0.78679 | Jabawack |
b9b06e589bbe8895ac5bd67aa404c8e462bfe00e | 2,146 | cpp | C++ | src/medCore/gui/commonWidgets/medSlider.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | 1 | 2020-11-16T13:55:45.000Z | 2020-11-16T13:55:45.000Z | src/medCore/gui/commonWidgets/medSlider.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | null | null | null | src/medCore/gui/commonWidgets/medSlider.cpp | nebatmusic/medInria-public | 09000bd2f129692e42314a8eb1313d238603252e | [
"BSD-1-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2014. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE... | 23.075269 | 89 | 0.550792 | nebatmusic |
b9b448a26cc3f215a4894162aa545efe91906da2 | 3,622 | cpp | C++ | Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp | katehuratakeshi220/ezEngine | 19fe98b5850172e67c37490ab0cee1b2d96fd220 | [
"MIT"
] | 5 | 2020-06-02T02:29:40.000Z | 2021-07-28T15:20:51.000Z | Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp | jayrulez/ezEngine | 49881480fef984b02fe3f550dd9ace932a05b86f | [
"MIT"
] | null | null | null | Code/Engine/RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.cpp | jayrulez/ezEngine | 49881480fef984b02fe3f550dd9ace932a05b86f | [
"MIT"
] | null | null | null | #include <RendererCore/RendererCorePCH.h>
#include <RendererCore/AnimationSystem/AnimGraph/AnimGraph.h>
#include <RendererCore/AnimationSystem/AnimGraph/AnimNodes/MathAnimNodes.h>
// clang-format off
EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezMathExpressionAnimNode, 1, ezRTTIDefaultAllocator<ezMathExpressionAnimNode>)
{
EZ_... | 33.229358 | 137 | 0.77968 | katehuratakeshi220 |
b9ba92789601ca164c319229a11ad91992b027bd | 953 | hpp | C++ | CaWE/MaterialBrowser/FilterSettings.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | CaWE/MaterialBrowser/FilterSettings.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | CaWE/MaterialBrowser/FilterSettings.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_FILTER_SETTINGS_HPP_INCLUDED
#define CAFU_FILTER_SETTINGS_HPP_INCLUDED
#include "wx/wx.h"
namespace MaterialBrowser
{
class DialogT;
class Fi... | 23.243902 | 119 | 0.703043 | dns |
b9bbbcccf6cb8c868f2e5a95a691c0659a38127e | 1,739 | cpp | C++ | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zModel/PSS_DocObserverMsg.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_DocObserverMsg --------------------------------------------------*
****************************************************************************
* Description : Provides a document observer message *
* Devel... | 41.404762 | 78 | 0.343301 | Jeanmilost |
b9bd164f262c9f350def4a9ff8627740d5f1785e | 23,870 | hpp | C++ | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | include/kanaval/inputs.hpp | LTLA/kanaval | 60ef46c749ff073830b430e002a25d2685988b40 | [
"MIT"
] | null | null | null | #ifndef KANAVAL_INPUTS_HPP
#define KANAVAL_INPUTS_HPP
#include "H5Cpp.h"
#include "utils.hpp"
#include <stdexcept>
#include <vector>
#include <string>
#include <numeric>
#include <unordered_set>
#include <unordered_map>
/**
* @file inputs.hpp
*
* @brief Validate input contents.
*/
namespace kanaval {
namespace ... | 45.815739 | 188 | 0.650691 | LTLA |
b9bd5a3dc9c9dd809815ff4ffb516fc7cdba74f4 | 5,476 | cc | C++ | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | src/Geometry/GradientField.cc | kwisniew/devsim | 3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138 | [
"Apache-2.0"
] | null | null | null | /***
DEVSIM
Copyright 2013 Devsim 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 in writing, soft... | 25.70892 | 112 | 0.655771 | kwisniew |
b9c6f26b76ae199986960cd4183bfbd5b2237bf4 | 43,144 | cpp | C++ | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | null | null | null | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | null | null | null | src/Test/TestHogLite.cpp | Erensu/Simd | 8a69dc56d8fb8d3f0faba2fa69ee3e088288b83a | [
"MIT"
] | 1 | 2020-01-31T03:16:34.000Z | 2020-01-31T03:16:34.000Z | /*
* Tests for Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2018 Yermalayeu Ihar.
*
* 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, inclu... | 39.509158 | 264 | 0.610977 | Erensu |
b9ca6ea5ee58d713fd2c40adb8c326cdc5f2c20a | 241 | hpp | C++ | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | taint/src/riscv/types.hpp | ClasSun9/riscv-dynamic-taint-analysis | 8a96f5ea8d07580315253dc074f60955fc633da9 | [
"MIT"
] | null | null | null | #ifndef _RISCV__TYPES_HPP_
#define _RISCV__TYPES_HPP_
#include <cstdint>
namespace riscv {
#if __riscv_xlen == 32
#error "only support rv64"
#endif
typedef uint32_t insn_t;
typedef uint64_t addr_t;
typedef uint64_t rlen_t;
}
#endif | 13.388889 | 30 | 0.767635 | ClasSun9 |
844df9e7409f26c78908c9d64bdb41ea9fc81d57 | 10,538 | cpp | C++ | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 398 | 2016-04-21T03:38:50.000Z | 2022-03-23T15:27:31.000Z | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 275 | 2017-12-27T04:11:55.000Z | 2022-03-30T07:35:11.000Z | Graphics/GraphicsEngineD3D12/src/DeviceMemoryD3D12Impl.cpp | tombish/DiligentCore | 77cc297dd6848837fa5b0ed5c4161d7d0127a64a | [
"Apache-2.0"
] | 139 | 2017-09-13T06:19:49.000Z | 2022-03-28T15:01:20.000Z | /*
* Copyright 2019-2021 Diligent Graphics 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 applica... | 36.846154 | 159 | 0.665307 | tombish |
84507a5d5dddb321e65cb454d045cc7912bcf42d | 1,860 | cpp | C++ | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | 9 | 2016-02-21T15:02:23.000Z | 2020-04-19T13:26:19.000Z | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | null | null | null | backups/test3.cpp | charlesw1234/densityxx | 22b2a0e7a8d3f7343352a7d402823cbb3476f44a | [
"BSD-3-Clause"
] | null | null | null | #include "densityxx/file_buffer.hpp"
#include "densityxx/block.hpp"
#include "densityxx/lion.hpp"
static void exit_error(density::buffer_state_t buffer_state)
{
fprintf(stderr, "%s\n", density::buffer_state_render(buffer_state).c_str());
exit(-1);
}
int
main(void)
{
uint_fast64_t read;
density::contex... | 41.333333 | 96 | 0.694624 | charlesw1234 |
84529e002a900733cadafdb3f8674d22295ef754 | 3,260 | cpp | C++ | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 58 | 2016-11-20T19:14:35.000Z | 2021-12-27T21:03:35.000Z | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 59 | 2016-09-10T10:44:20.000Z | 2018-09-03T19:07:30.000Z | code/engine/xrGame/alife_simulator_base2.cpp | InNoHurryToCode/xray-162 | fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e | [
"Apache-2.0"
] | 39 | 2017-02-05T13:35:37.000Z | 2022-03-14T11:00:12.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : alife_simulator_base2.cpp
// Created : 25.12.2002
// Modified : 12.05.2004
// Author : Dmitriy Iassenev
// Description : ALife Simulator base class
////////////////////////////////////////////////////////////////////////////
... | 33.608247 | 95 | 0.638344 | InNoHurryToCode |
845bfcc4e8e3c80f81ddfff66e484304f7e30683 | 12,863 | cc | C++ | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | firestore/src/android/query_android.cc | tupleapp/firebase-cpp-sdk | b49f62267c897d9012fc536ea1491bfb51562ae3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
#include "firestore/src/android/query_android.h"
#include "app/meta/move.h"
#include "app/src/assert.h"
#include "firestore/src/android/direction_android.h"
#include "firestore/src/android/document_snapshot_android.h"
#include "firestore/src/android/event_listener_android.h"
#include "fir... | 37.721408 | 80 | 0.709477 | tupleapp |
84622c95e8307a5de6589799cb15e748a55174a4 | 285 | cpp | C++ | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | test/homework_test/04_iteration_test/04_iteration_tests.cpp | acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-PastranoAlejandro | 2fd6ec041cb75d176f9be9db8c9a1dcdc0eec2be | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include"dna.h"
TEST_CASE("Verify Test Configuration", "verification") {
REQUIRE(true == true);
}
TEST_CASE("TEST GC content function")
{
REQUIRE(.375== get_gc_content("AGCTATAG"));
} | 25.909091 | 97 | 0.719298 | acc-cosc-1337-spring-2022 |
8464450d998cb432119809f2afa8cd4de0d42a1c | 1,823 | cc | C++ | proxy/plugin_image_data.cc | phisixersai/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | 1 | 2015-07-03T13:18:34.000Z | 2015-07-03T13:18:34.000Z | proxy/plugin_image_data.cc | rise-worlds/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | null | null | null | proxy/plugin_image_data.cc | rise-worlds/ppapi | a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0 | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:46:31.000Z | 2020-01-16T01:46:31.000Z | // Copyright (c) 2010 The Native Client 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 "ppapi/proxy/plugin_image_data.h"
#include <stdio.h>
#include <string.h>
#include "native_client/src/include/portability.h"
#include "... | 24.306667 | 73 | 0.744926 | phisixersai |
846461a3b1b6ed6078f2f7964939d83171db547d | 700 | cpp | C++ | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | src/AST_Implementaciones/UnarioPositivo.cpp | AlejandroRM94/Compilador_C_minimo | 6c69987749233876c9f7fc0cde9c479f0d3ba531 | [
"MIT"
] | null | null | null | #include "../AST_Tipos.h"
UnarioPositivo::UnarioPositivo( Expresion* exp ) {
this->exp = exp;
}
UnarioPositivo::~UnarioPositivo( ) {
delete exp;
}
TipoDato UnarioPositivo::analizarTipo() {
return exp->analizarTipo();
}
string UnarioPositivo::toString() {
stringstream ss;
ss << "<UNARIO_POSITIVO>... | 17.948718 | 50 | 0.634286 | AlejandroRM94 |
8465576fa255b2a8124b76511d21b1adabc7f8ab | 11,853 | cpp | C++ | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | Source/GameplayAbilitiesEditor/Private/SGameplayAttributeWidget.cpp | praisesolek/up-to-date-GAS | 5f159cae5ac5b2748fb99670ffce6b507a7fd869 | [
"Unlicense"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "SGameplayAttributeWidget.h"
#include "UObject/UnrealType.h"
#include "Widgets/Layout/SSeparator.h"
#include "Widgets/Layout/SBox.h"
#include "Widgets/Views/STableViewBase.h"
#include "Widgets/Views/STableRow.h"
#include "Widgets/Views/SListView.h"
#include "... | 28.699758 | 181 | 0.752046 | praisesolek |
84672bfca11190f51db23a3d2a94dab8189a95c5 | 5,551 | cpp | C++ | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | StarLight/randomgenerator.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright 2010
//
// This file is part of starlight.
//
// starlight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Found... | 34.69375 | 86 | 0.593407 | klendathu2k |
846751cb9ca2a5ad89eade2eb994ba1ad7b6883a | 43 | cpp | C++ | master/core/comp/MyNet/ICombiner.cpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/comp/MyNet/ICombiner.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/comp/MyNet/ICombiner.cpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z | #include "StdAfx.h"
#include "icombiner.h"
| 14.333333 | 22 | 0.72093 | importlib |
846ade2d4f9573c81eada1bbfd5471cf8189755f | 2,301 | cpp | C++ | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | src/wiztk/net/ip-address/private.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK 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 ... | 25.285714 | 83 | 0.653629 | wiztk |
846cf4e79cac6e37c67c76d33b11c513b8596e67 | 5,933 | cpp | C++ | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 157 | 2016-10-13T17:44:11.000Z | 2022-03-30T09:34:50.000Z | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 190 | 2016-10-13T20:19:10.000Z | 2022-03-25T19:17:05.000Z | cvs/objects/target_finder/source/emissions_stabalization_target.cpp | cmcormack/gcam-core | ccbe826dbfeb9ed85472977aac6d36dbbf763a23 | [
"ECL-2.0"
] | 95 | 2016-10-13T17:44:44.000Z | 2022-03-28T02:10:52.000Z | /*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE USE OF... | 39.032895 | 92 | 0.72476 | cmcormack |
84757b18f3865bb2beb1229f2e1cc4aabb60142b | 1,741 | cpp | C++ | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | 6_lesson/6b_dynamic/6_dynamic.cpp | JonMuehlst/INTROCPP | 5f394c58c66a873bafb11dce54207a1dd580c916 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
using namespace std;
int main() {
int arrSize;
cout << "Please insert size of array: ";
cin >> arrSize;
//----------------------------------------------------------
// primitive dynamic array
//----------------------------------------------------------
... | 25.602941 | 65 | 0.349799 | JonMuehlst |
8478479824d9c51296b55d4c0a4e2b83fcfb0e60 | 2,646 | cpp | C++ | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | test/test_audio_read_ogg.cpp | trazfr/alarm | ea511eb0f16945de2005d828f452c76fce9d77e7 | [
"MIT"
] | null | null | null | #include "audio_read_ogg.hpp"
#ifndef NO_AUDIO_READ_OGG
#include <gtest/gtest.h>
#include <fstream>
#include <sstream>
namespace
{
constexpr char kFilename[] = "test.ogg";
} // namespace
class TestAudioReadOgg : public ::testing::Test
{
protected:
FILEUnique createFile()
{
FILEUnique result{std::... | 24.054545 | 106 | 0.663265 | trazfr |
8479129f6a7ad90aca9e8e535448d112392193cb | 586 | cpp | C++ | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | 1 | 2018-01-13T06:01:49.000Z | 2018-01-13T06:01:49.000Z | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | null | null | null | LeetCode/17_14.cpp | thewangcj/CodingInterview | f5ee3074e527295f6911a5439bb8ac5fc0ed56ea | [
"MIT"
] | null | null | null | // 设计一个算法,找出数组中最小的k个数。以任意顺序返回这k个数均可。
// 示例:
// 输入: arr = [1,3,5,7,2,4,6,8], k = 4
// 输出: [1,2,3,4]
// 提示:
// 0 <= len(arr) <= 100000
// 0 <= k <= min(100000, len(arr))
class Solution
{
public:
vector<int> smallestK(vector<int> &arr, int k)
{
priority_queue<int> pq;
vector<int> result;
... | 18.903226 | 50 | 0.438567 | thewangcj |
847ed136b883d118b5ad9439954b373117bdcee2 | 800 | cpp | C++ | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | 2 | 2015-12-06T05:10:14.000Z | 2021-09-05T21:48:27.000Z | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | null | null | null | example/count.cpp | qicosmos/hana | b0f8cf2bf19d491b7b739dcb7b8d7497b0e5829f | [
"BSL-1.0"
] | 1 | 2017-06-06T10:50:17.000Z | 2017-06-06T10:50:17.000Z | /*
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/assert.hpp>
#include <boost/hana/count.hpp>
#include <boost/hana/equal.hpp>
#include <boost/hana/integral_constant.hpp>
#inc... | 32 | 89 | 0.70375 | qicosmos |
84810a1dbdf42476a57e3814463dac02838f30b1 | 8,673 | cpp | C++ | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 4 | 2019-01-21T11:47:53.000Z | 2020-06-09T02:14:15.000Z | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/Native/PXA271/DeviceCode/pxa271_intc/PXA271__AITC.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 6 | 2017-11-09T11:48:10.000Z | 2020-05-24T09:43:07.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 36.594937 | 201 | 0.638072 | valoni |
84819f7219e9a9f284213138f112e2c2c6481714 | 4,285 | cpp | C++ | lightclient/src/CommitteeSet.cpp | ultrain-os/ultrain-core-production | 5d26bbe51033db183d3c069a30d87bcbe9cf736e | [
"MIT"
] | 38 | 2019-08-15T08:38:15.000Z | 2022-01-14T07:31:51.000Z | lightclient/src/CommitteeSet.cpp | sighttviewliu/ultrain-core-production | c2807d9310da8b5dc1408502866be59299a96c22 | [
"MIT"
] | 4 | 2019-08-19T13:07:10.000Z | 2020-10-17T02:45:04.000Z | lightclient/src/CommitteeSet.cpp | sighttviewliu/ultrain-core-production | c2807d9310da8b5dc1408502866be59299a96c22 | [
"MIT"
] | 7 | 2019-08-15T11:11:09.000Z | 2022-01-14T08:11:46.000Z | #include <lightclient/CommitteeSet.h>
namespace ultrainio {
CommitteeSet::CommitteeSet() {}
CommitteeSet::CommitteeSet(const std::string& s) {
init(s);
}
CommitteeSet::CommitteeSet(const std::vector<char>& vc) {
init(std::string(vc.begin(), vc.end()));
}
void CommitteeSet::in... | 34.28 | 118 | 0.596033 | ultrain-os |
8483d6ad77c96e53f0d664a8ee40ebe74dda5fcc | 1,525 | cpp | C++ | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 20,295 | 2016-07-17T06:29:04.000Z | 2022-03-31T23:32:16.000Z | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 1,399 | 2017-06-02T05:59:45.000Z | 2022-03-31T00:55:00.000Z | data_structures/stack_using_array.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 5,775 | 2016-10-14T08:10:18.000Z | 2022-03-31T18:26:39.000Z | #include <iostream>
int *stack;
int stack_idx = 0, stack_size;
void push(int x) {
if (stack_idx == stack_size) {
std::cout << "\nOverflow";
} else {
stack[stack_idx++] = x;
}
}
void pop() {
if (stack_idx == 0) {
std::cout << "\nUnderflow";
} else {
std::cout << "\n... | 24.206349 | 129 | 0.45377 | icbdubey |
849259e892e9de9aab62504007adccc9d41f8442 | 5,666 | cpp | C++ | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 69 | 2020-12-31T03:21:58.000Z | 2022-03-07T20:11:18.000Z | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 7 | 2021-01-01T23:36:48.000Z | 2021-07-04T11:17:40.000Z | RLTiles_CPP/RLTiles/RLTileMapRenderer.cpp | Julianiolo/raylibExtras | ce344ee4ee24a283e211467f32d6a2ff506dae4d | [
"Zlib"
] | 41 | 2021-01-16T20:49:33.000Z | 2022-01-07T23:53:21.000Z | /**********************************************************************************************
*
* raylibExtras * Utilities and Shared Components for Raylib
*
* RLTiles * Tiled map rendering
*
* LICENSE: MIT
*
* Copyright (c) 2020 Jeffery Myers
*
* Permission is hereby granted, free of charge, to any person ... | 40.184397 | 191 | 0.611013 | Julianiolo |
8496b63d67ae320df8050d902ab3c21c5968b008 | 13,276 | hpp | C++ | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/AvatarPoseRestrictions.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Mo... | 62.919431 | 997 | 0.766195 | marksteward |
8496ef3fbdfa8c1c60545d74e023cd37ed7997d9 | 104 | cpp | C++ | example-undistortion/src/main.cpp | danoli3/ofxCv | ac235abd6b0674d61a110ec21bbf9a87f927c9d9 | [
"MIT"
] | 34 | 2015-04-16T03:27:10.000Z | 2021-12-29T07:24:33.000Z | Week12/example-background-contours/src/main.cpp | bakercp/ExperimentalMedia2013 | b0e748104c327d14e2231a0a98282503712702ed | [
"MIT"
] | 12 | 2015-04-02T13:54:51.000Z | 2021-05-28T02:47:47.000Z | Week12/example-background-contours/src/main.cpp | bakercp/ExperimentalMedia2013 | b0e748104c327d14e2231a0a98282503712702ed | [
"MIT"
] | 14 | 2015-02-05T00:04:15.000Z | 2020-06-04T13:56:37.000Z | #include "testApp.h"
int main() {
ofSetupOpenGL(640 * 2, 480, OF_WINDOW);
ofRunApp(new testApp());
}
| 14.857143 | 40 | 0.663462 | danoli3 |
8498ff62b9921dc08aa6297d807281abe45c247f | 2,834 | cpp | C++ | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/format/CellFormatter.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/format/CellFormatter.java
#include <org/apache/poi/ss/format/CellFormatter.hpp>
#include <java/lang/Class.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/String.hpp>
#include <java/lang/StringBuffer.hpp>
#include <java/lang/StringBuilder.hpp>
#includ... | 26.485981 | 106 | 0.666902 | pebble2015 |
84990fbdec75414459c2def3567849b8143c6aee | 7,042 | cpp | C++ | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null | src/plugin/torchNMSPlugin/torchNMSPlugin.cpp | mmeendez8/amirstan_plugin | 35cdb3a4ff59e5203116550597bec2e16af16a64 | [
"MIT"
] | null | null | null |
#include "plugin/torchNMSPlugin/torchNMSPlugin.h"
#include <assert.h>
#include <chrono>
#include "amirCommon.h"
#include "amir_cuda_util/common_util.h"
#include "amir_cuda_util/cuda_util.h"
#include "common.h"
#include "serialize.hpp"
#include "torch_nms.h"
namespace amirstan {
namespace plugin {
namespace {
stat... | 30.885965 | 80 | 0.704913 | mmeendez8 |
849a1dc18be5959fa2b4b67d275db677aff2e660 | 3,115 | cpp | C++ | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | 1 | 2021-09-02T21:19:19.000Z | 2021-09-02T21:19:19.000Z | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | null | null | null | MAze/Laberinto.cpp | IzaguirreYamile/MAze | d6e0f0a0ef1231dd53c32514c5b7f940ff801890 | [
"MIT"
] | null | null | null | #include "Laberinto.h"
Laberinto::Laberinto() {
}
void Laberinto::Iniciar(Graphics^ g) {
cols = 16;
rows = 6;
Celda* auxiliar;
for (int j = 0; j < rows; j++) {
for (int i = 0; i < cols; i++)
{
auxiliar = new Celda(i, j);
grid.push_back(auxiliar);
}
}
current = grid.at(0);
}
void Laberinto::Dibujar(Gra... | 24.527559 | 95 | 0.625361 | IzaguirreYamile |
849dce8e4558c657810228f31cf3657fa7b514e7 | 42,724 | cpp | C++ | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | src/core/models/genotype/single_cell_model.cpp | gunjanbaid/octopus | b19e825d10c16bc14565338aadf4aee63c8fe816 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2019 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "single_cell_model.hpp"
#include <utility>
#include <cassert>
#include <iterator>
#include <algorithm>
#include <numeric>
#include <limits>
#include "utils/k_medoids.hpp"
... | 47.156733 | 158 | 0.666862 | gunjanbaid |
84a0d58f3426e666efc31725f9e9d6a0a3c2492d | 232 | cpp | C++ | test/stkwebapptest/StkWebAppTest1.cpp | s-takeuchi/YaizuComLib | de1c881a4b743bafec22f7ea2d263572c474cbfe | [
"MIT"
] | 4 | 2017-02-21T23:25:23.000Z | 2022-01-30T20:17:22.000Z | test/stkwebapptest/StkWebAppTest1.cpp | Aekras1a/YaizuComLib | 470d33376add0d448002221b75f7efd40eec506f | [
"MIT"
] | 161 | 2015-05-16T14:26:36.000Z | 2021-11-25T05:07:56.000Z | test/stkwebapptest/StkWebAppTest1.cpp | Aekras1a/YaizuComLib | 470d33376add0d448002221b75f7efd40eec506f | [
"MIT"
] | 1 | 2019-12-06T10:24:45.000Z | 2019-12-06T10:24:45.000Z | #include "StkWebAppTest1.h"
StkObject* StkWebAppTest1::Execute(StkObject* ReqObj, int Method, wchar_t UrlPath[StkWebAppExec::URL_PATH_LENGTH], int* ResultCode, wchar_t* HttpHeader)
{
*ResultCode = 200;
return ReqObj->Clone();
}
| 29 | 152 | 0.767241 | s-takeuchi |
84a5811aeb3db815d1c912b6b2134308ce430dd9 | 990 | hpp | C++ | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | src/Factory.hpp | ahfakt/DP | 592284274363f1627e9a1d2b6ab68014e5763490 | [
"MIT"
] | null | null | null | #include "DP/Factory.h"
namespace DP {
template <typename T, typename IDType, typename ... Args>
Factory<T, IDType, Args ...>::Factory() noexcept
{ Factory::Registry; }
template <typename T, typename IDType, typename ... Args>
CreateInfo<T, Args ...> const&
Factory<T, IDType, Args ...>::GetCreateInfo(TypeID const& T... | 30.9375 | 89 | 0.69899 | ahfakt |
84a60a737c7b8f8d0d5b2a4fb4ef18ae7f57846a | 41,342 | hpp | C++ | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/rx-subscriber.hpp | tcw165/RxCpp | 677212214755dd282cc71c2263de87e1371f9293 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#pragma once
#if !defined(RXCPP_RX_SUBSCRIBER_HPP)
#define RXCPP_RX_SUBSCRIBER_HPP
#include "rx-includes.hpp"
namespace rxcpp {
template<class T>
struct subscriber_base : public obse... | 49.452153 | 178 | 0.67048 | tcw165 |
84a87a2b9a2de1f6125bf1422ec80a49ac473d7d | 1,947 | cpp | C++ | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | TFX/src/core/Logger.cpp | DCubix/TFX | 537f512b1bcc48cbdb592c82ef50a281ca6f4e4a | [
"MIT"
] | null | null | null | #include "Logger.h"
#include <fstream>
#include <assert.h>
#include "termcolor.hpp"
namespace tfx {
#ifdef TFX_DEBUG
Logger Logger::logger = Logger();
std::ofstream& Logger::logFile = std::ofstream();
#else
std::ofstream& Logger::logFile = std::ofstream("Log_" + Util::currentDateTimeNoFormat() + ".txt");
Logger ... | 27.041667 | 106 | 0.644068 | DCubix |
84a89b5d825f668a546c48f76858f9e5c6344d8d | 2,590 | cpp | C++ | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/audio/Sound.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of Swift2D. //
// ... | 35 | 80 | 0.360618 | Simmesimme |
84a8ad07b63e9345704aab5c53de3c6625546eaf | 17,117 | cc | C++ | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | 4 | 2020-04-26T10:19:45.000Z | 2021-11-22T18:24:16.000Z | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | 21 | 2020-01-08T12:23:00.000Z | 2020-11-24T05:47:25.000Z | v11/runtime/node/devices.cc | InclusiveTechNU/v11 | d32357bf52f5d6cf4ad3002235d1144f1f347d96 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Northwestern Inclusive Technology Lab
*
* 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... | 43.224747 | 79 | 0.573056 | InclusiveTechNU |
84a993efb1c3526dde6d068a92090975c21ebafd | 383 | cpp | C++ | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | LAB 1 ASSIGNMENTS/Task_5 Lab_1.cpp | ZapeeoSheikh/Cppfactory | 7bdf9c6dd8053a506f17fc4a0aa2093f06d2be70 | [
"MIT"
] | null | null | null | //task_5(sales prediction)
#include <iostream>
using namespace std;
main()
{
float total_sale,sale_of_year;
total_sale = 0.62;
sale_of_year= 680;
cout<<"Percentage of total sale in decimal is: "<<total_sale <<endl;
cout<<"Sale of this year is:"<< sale_of_year<<" million"<<endl;
cout<<"Pre... | 22.529412 | 71 | 0.660574 | ZapeeoSheikh |
84a9c08e981cb1f6e68f650472643971de32a9f5 | 969 | cpp | C++ | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 136 | 2015-07-15T12:49:36.000Z | 2022-03-24T12:30:25.000Z | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 59 | 2015-12-28T21:40:37.000Z | 2022-03-31T13:11:50.000Z | src/_PathMovetoRel.cpp | veryhappythings/pgmagick | 5dce5fa4681400b4c059431ad69233e6a3e5799a | [
"MIT"
] | 33 | 2015-12-04T08:00:07.000Z | 2022-01-28T23:39:25.000Z | #include <boost/python.hpp>
#include <boost/cstdint.hpp>
#include <Magick++/Drawable.h>
#include <Magick++.h>
using namespace boost::python;
namespace {
struct Magick_PathMovetoRel_Wrapper: Magick::PathMovetoRel
{
Magick_PathMovetoRel_Wrapper(PyObject* py_self_, const Magick::Coordinate& p0):
Magick::P... | 25.5 | 145 | 0.712074 | veryhappythings |
84aa92c516286857f6916ebd1adb24b5273a2636 | 2,285 | cpp | C++ | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | test/case/intrusive_ptr_test.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstring>
#include <cstring>
#include <ctime>
#include <memory>
#include <sstream>
#include "frame/test_macros.h"
#include "std/smart_ptr.h"
struct intrusive_ptr_test_clazz {
int ref_count;
int *del_count;
intrusive_ptr_test_clazz(int *dc) : ref_count(0), del... | 25.674157 | 102 | 0.538731 | tangzhenquan |
84b10283525bfd0571d906787216e039f6a913ae | 4,271 | cpp | C++ | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | 2 | 2016-07-17T02:12:44.000Z | 2016-11-22T14:04:55.000Z | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | src/accounting/UserConversionRates.cpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Kyle Treubig
*
* 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... | 28.66443 | 83 | 0.660969 | vimofthevine |
84b3f8d7c2fd894e56ab8fb4cc46f0769eeb959f | 804 | cpp | C++ | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | src/Client/src/upload.cpp | wanderingThroughSpaceAndTime/Dropbox | d704a1c24f3d21571d9779bb8e5e61a8da9cc97f | [
"MIT"
] | null | null | null | #include "upload.h"
#include "ui_upload.h"
#include <QFileSystemModel>
upload::upload(QWidget *parent) :
QDialog(parent),
ui(new Ui::upload)
{
ui->setupUi(this);
QString path(getenv("HOME"));
dirmodel = new QFileSystemModel(this);
dirmodel->setFilter(QDir::NoDotAndDotDot | QDir::AllDirs);
... | 21.72973 | 65 | 0.69403 | wanderingThroughSpaceAndTime |
84b4c09d8f641a949a8ec4810ad51e53f8622ead | 37,915 | cpp | C++ | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-03-13T21:00:36.000Z | 2019-04-10T22:44:38.000Z | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2020-02-17T08:12:52.000Z | 2020-09-21T14:33:29.000Z | native_addon/wj_image/image_win.cpp | SafeOnlineWorld/web_jsx | 7ce26957e40c4e6658042d4f2e6f3d93a77b709f | [
"CC-BY-4.0"
] | 2 | 2019-11-26T11:38:39.000Z | 2019-12-17T17:12:01.000Z | /**
* Copyright (c) 2018, SOW (https://www.safeonline.world). (https://github.com/RKTUXYN) All rights reserved.
* @author {SOW}
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
//1:57 PM 1/16/2020
#if (defined(_WIN32)||defined(_WIN64))
# include "image_win.h"
#... | 37.726368 | 135 | 0.661084 | SafeOnlineWorld |
84b89a5abb875476e86546a0c6a71261706a2b7c | 852 | hpp | C++ | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | Core/Inc/CurrentSensor.hpp | TaiyouKomazawa/InteractiveMD | bdd967bfbf5d38b3175d106c0123049a9da45663 | [
"BSD-3-Clause"
] | null | null | null | /*
* CurrentSensor.hpp
*
* Created on: Jan 4, 2022
* Author: Taiyou Komazawa
*/
#ifndef INC_CURRENTSENSOR_HPP_
#define INC_CURRENTSENSOR_HPP_
#include "main.h"
/**
* @brief ADC式電流センサクラス
*/
class CurrentSensor
{
public:
enum
{
/* ADCの分解能 */
ADC_RESOLUTION = 4096,
};
/**
* @brief センサのデータを格納する構造... | 14.440678 | 101 | 0.705399 | TaiyouKomazawa |
84b954b45b428f7a8e1cd78b64dbd4ed695f3104 | 912 | cpp | C++ | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | DP/HouseRobberII_213.cpp | obviouskkk/leetcode | 5d25c3080fdc9f68ae79e0f4655a474a51ff01fc | [
"BSD-3-Clause"
] | null | null | null | /* ***********************************************************************
> File Name: HouseRobberII_213.cpp
> Author: zzy
> Mail: 942744575@qq.com
> Created Time: Thu 20 Sep 2018 08:47:58 PM CST
********************************************************************** */
/*
* 你是一个专业的小偷,计划偷窃沿街的房屋,每间房内都藏有一定的现... | 25.333333 | 78 | 0.554825 | obviouskkk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.