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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c4dc222ab201f66d9ca233f23f341077d4b7b46 | 5,896 | cpp | C++ | src/utility/SButHTTP.cpp | vanthongxtt/SBUT_SDK | 605937ee30b28e7a96d9f0f236b303c694806f35 | [
"MIT"
] | null | null | null | src/utility/SButHTTP.cpp | vanthongxtt/SBUT_SDK | 605937ee30b28e7a96d9f0f236b303c694806f35 | [
"MIT"
] | null | null | null | src/utility/SButHTTP.cpp | vanthongxtt/SBUT_SDK | 605937ee30b28e7a96d9f0f236b303c694806f35 | [
"MIT"
] | null | null | null | #include "Sbut/SButHTTP.h"
WiFiClient clientHttp;
String tokenUser = "";
SButHTTPClass::SButHTTPClass()
{
}
void SButHTTPClass::httpCreateThing(const String token, const String thingId, const String Ip, const String board, const String version)
{
uint32_t getSketchSize = ESP.getSketchSize();
uint32_t getFree... | 31.698925 | 239 | 0.612958 | vanthongxtt |
9c4f5461f05c63e88f6ef06fecdeecf219e19d44 | 21,586 | cpp | C++ | src/qt/token.cpp | SecureChainFinance/SecureChainFinance | 16f52929e302efec672e9357921209fa7fbe0aab | [
"MIT"
] | 19 | 2018-08-16T07:46:01.000Z | 2019-05-30T15:54:13.000Z | src/qt/token.cpp | SecureChainFinance/SecureChainFinance | 16f52929e302efec672e9357921209fa7fbe0aab | [
"MIT"
] | 15 | 2018-08-29T21:58:38.000Z | 2019-05-17T10:31:22.000Z | src/qt/token.cpp | SecureChainFinance/SecureChainFinance | 16f52929e302efec672e9357921209fa7fbe0aab | [
"MIT"
] | 24 | 2018-08-13T11:10:50.000Z | 2019-06-08T02:49:36.000Z | #include <qt/token.h>
#include <qt/execrpccommand.h>
#include <qt/contractutil.h>
#include <validation.h>
#include <util/moneystr.h>
#include <key_io.h>
#include <util/strencodings.h>
#include <util/convert.h>
#include <qt/eventlog.h>
#include <libethcore/ABI.h>
#include <qt/walletmodel.h>
namespace Token_NS
{
static ... | 32.026706 | 3,561 | 0.592236 | SecureChainFinance |
9c4fa9bf4122f85310776f4cbb37e9ab3e6b1cbb | 1,607 | cpp | C++ | topic_wise/linkedlist/palindromeLinkedList.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | topic_wise/linkedlist/palindromeLinkedList.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | topic_wise/linkedlist/palindromeLinkedList.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /**
* @author : archit
* @GitHub : archit-1997
* @Email : architsingh456@gmail.com
* @file : palindromeLinkedList.cpp
* @created : Wednesday Aug 11, 2021 08:08:10 IST
*/
#include <bits/stdc++.h>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNod... | 23.289855 | 72 | 0.512134 | archit-1997 |
9c51e7a294b341b1a398bc30e6a3a59389700c5c | 9,417 | cpp | C++ | src/AppLines/DlgObjectCopy.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/AppLines/DlgObjectCopy.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/AppLines/DlgObjectCopy.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | 1 | 2022-01-07T15:58:38.000Z | 2022-01-07T15:58:38.000Z | /*
**
** $Filename: DlgObjectCopy.cpp $
** $Release: Dortmund 2002 $
** $Revision$
** $Date$
** $Author$
** $Developer: Steffen A. Mork $
**
** Blizzard III - Dialog for copying objects
**
** (C) Copyright 2001, 2002 Steffen A. Mork
** All Rights Reserved
**
**
*/
/************************************************... | 31.814189 | 86 | 0.692683 | stmork |
9c531b8cea8ad3b6d8055bfe90c2e57dba0c7926 | 6,536 | cpp | C++ | chapter9/GenerateAst.cpp | the-lambda-way/CppLox | abafed697d762f681cd95c6e865529b645b66e3d | [
"MIT"
] | 10 | 2020-09-11T19:43:50.000Z | 2022-03-03T12:39:14.000Z | chapter9/GenerateAst.cpp | the-lambda-way/CppLox | abafed697d762f681cd95c6e865529b645b66e3d | [
"MIT"
] | 1 | 2021-08-18T03:04:56.000Z | 2021-08-30T03:18:29.000Z | chapter9/GenerateAst.cpp | the-lambda-way/CppLox | abafed697d762f681cd95c6e865529b645b66e3d | [
"MIT"
] | 4 | 2021-07-30T14:55:27.000Z | 2022-02-06T22:00:38.000Z | #include <algorithm> // std::find_if_not
#include <cctype> // std::tolower, std::isspace
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <string_view>
#include <utility> // std::move
#include <vector>
std::vector<std::string_view> split(std::string_view str,
... | 29.441441 | 70 | 0.570532 | the-lambda-way |
9c5346fb32f77facfc9fd8058992ea9c00092b4f | 17,556 | cpp | C++ | chapter02/enumcat/enumcat.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | chapter02/enumcat/enumcat.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | chapter02/enumcat/enumcat.cpp | caigen/windows-network-programming | 367abd891203528a1405012df0551e21a239f131 | [
"MIT"
] | null | null | null | // Module Name: enumcat.cpp
//
// Description:
// Enumerate the protocol entries and print their characteristics
// to the console.
//
// Compile:
// cl -o enumcat.exe enumcat.cpp ws2_32.lib
//
// Command Line Options:
// NONE
//
#include <winsock2.h>
#include <windows.h>
#include <objbase.h>
... | 32.876404 | 97 | 0.460697 | caigen |
9c5492e3e765a6f06f1ddb3e51eadf8fb2e08716 | 4,381 | cpp | C++ | OgreCWrapper/Src/Light.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | OgreCWrapper/Src/Light.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | OgreCWrapper/Src/Light.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | #include "Stdafx.h"
#pragma warning(push)
#pragma warning(disable : 4190) //Disable c linkage warning
extern "C" _AnomalousExport void Light_setType(Ogre::Light* light, Ogre::Light::LightTypes type)
{
light->setType(type);
}
extern "C" _AnomalousExport Ogre::Light::LightTypes Light_getType(Ogre::Light* li... | 28.083333 | 134 | 0.747774 | AnomalousMedical |
9c54a3e39ea56916219aba557808cf2f074a6fb2 | 12,575 | hxx | C++ | src/openlcb/AliasCache.hxx | kennethlong/openmrn | aff606758d1693e108124f760a0d6189ba226497 | [
"BSD-2-Clause"
] | null | null | null | src/openlcb/AliasCache.hxx | kennethlong/openmrn | aff606758d1693e108124f760a0d6189ba226497 | [
"BSD-2-Clause"
] | null | null | null | src/openlcb/AliasCache.hxx | kennethlong/openmrn | aff606758d1693e108124f760a0d6189ba226497 | [
"BSD-2-Clause"
] | null | null | null | /** \copyright
* Copyright (c) 2013, Stuart W Baker
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* thi... | 33.092105 | 121 | 0.641272 | kennethlong |
9c57de4fb28680ba37b15af83a3df8a384653d89 | 1,112 | cpp | C++ | test/structures/stg_gate.cpp | MaSuCcHI/caterpillar | 4c6f766cd0ffc62d37ab45edfe80c9f1eae44764 | [
"MIT"
] | 13 | 2019-02-02T13:44:02.000Z | 2021-03-08T15:57:25.000Z | test/structures/stg_gate.cpp | MaSuCcHI/caterpillar | 4c6f766cd0ffc62d37ab45edfe80c9f1eae44764 | [
"MIT"
] | 1 | 2019-11-02T12:13:13.000Z | 2019-11-02T13:45:17.000Z | test/structures/stg_gate.cpp | MaSuCcHI/caterpillar | 4c6f766cd0ffc62d37ab45edfe80c9f1eae44764 | [
"MIT"
] | 5 | 2019-10-01T10:13:15.000Z | 2020-11-06T03:07:56.000Z | #include <catch.hpp>
#include <iostream>
#include <kitty/constructors.hpp>
#include <kitty/dynamic_truth_table.hpp>
#include <vector>
#include <tweedledum/networks/netlist.hpp>
#include <caterpillar/structures/stg_gate.hpp>
TEST_CASE( "create a netlist with one stg", "[stg netlist]" )
{
using namespace caterpilla... | 24.173913 | 68 | 0.648381 | MaSuCcHI |
9c58886c1d4f43b65460b27470505140122ff1b0 | 1,130 | hxx | C++ | source/code/core/utils/public/ice/log_tag.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 39 | 2019-08-17T09:08:51.000Z | 2022-02-13T10:14:19.000Z | source/code/core/utils/public/ice/log_tag.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 63 | 2020-05-22T16:09:30.000Z | 2022-01-21T14:24:05.000Z | source/code/core/utils/public/ice/log_tag.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | null | null | null | #pragma once
#include <ice/hash.hxx>
#include <ice/string.hxx>
namespace ice
{
enum class LogTag : ice::u64
{
None = 0x0,
Core = 0x1ull << 32,
System = Core << 1,
Module = Core << 2,
Engine = Core << 3,
Asset = Core << 4,
Game = Core << 5,
};
s... | 20.925926 | 97 | 0.551327 | iceshard-engine |
9c59a195ab27e8cca5642449e39c9e2d25e660ce | 9,931 | cpp | C++ | src/brd_imgui.cpp | sGooze/br-engine | d63375aaf1e64dd169f39fa88c080ecea9f223f5 | [
"MIT"
] | null | null | null | src/brd_imgui.cpp | sGooze/br-engine | d63375aaf1e64dd169f39fa88c080ecea9f223f5 | [
"MIT"
] | null | null | null | src/brd_imgui.cpp | sGooze/br-engine | d63375aaf1e64dd169f39fa88c080ecea9f223f5 | [
"MIT"
] | null | null | null | #include "inc/brd_imgui.h"
#include "inc/brd_shader.h"
#include <SDL_syswm.h>
// Data used for GUI rendering
static SDL_Window* gui_window = NULL;
static Shader *gui_shader;
//static glm::mat4 gui_projection;
static GLuint gui_AttribProjection = 0, gui_AttribTexture = 0, gui_AttribPosition = 0, gui_FontTexture = 0,
... | 42.622318 | 146 | 0.668916 | sGooze |
9c59fe04d077df3788d9ec974ff6191e512a1e75 | 4,122 | cpp | C++ | src/bindings/charon/net/httpenv/httpenv.cpp | lazaroness/charonplatform | aeee2a803f86995b48c1b5a151b964e41ee7f602 | [
"BSD-3-Clause"
] | 1 | 2018-02-22T01:09:18.000Z | 2018-02-22T01:09:18.000Z | src/bindings/charon/net/httpenv/httpenv.cpp | lazaroness/charonplatform | aeee2a803f86995b48c1b5a151b964e41ee7f602 | [
"BSD-3-Clause"
] | null | null | null | src/bindings/charon/net/httpenv/httpenv.cpp | lazaroness/charonplatform | aeee2a803f86995b48c1b5a151b964e41ee7f602 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 The Charon Platform 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 <lua/lua.hpp>
#include <charon/base>
#include <QtCore>
#include <iostream>
#include <QByteArray>
using charon::net::HttpEnv;
/**
* c... | 23.82659 | 72 | 0.720524 | lazaroness |
9c6596e8311ad3619017721fea73bce9c1ba0d12 | 14,894 | cc | C++ | src/options/help.cc | quark-zju/lrun | 5b44c03c0614e94de463901472b55efbeb8f2632 | [
"MIT"
] | 174 | 2015-04-13T05:28:26.000Z | 2022-03-27T05:42:39.000Z | src/options/help.cc | quark-zju/lrun | 5b44c03c0614e94de463901472b55efbeb8f2632 | [
"MIT"
] | 18 | 2015-07-04T13:25:45.000Z | 2021-12-06T14:42:06.000Z | src/options/help.cc | quark-zju/lrun | 5b44c03c0614e94de463901472b55efbeb8f2632 | [
"MIT"
] | 32 | 2015-04-13T05:27:03.000Z | 2021-12-11T13:38:37.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2012-2015 Jun Wu <quark@zju.edu.cn>
//
// 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 wit... | 48.357143 | 189 | 0.562307 | quark-zju |
9c663831896076636f14e2f235f7bf36a8de6238 | 2,387 | hpp | C++ | Libraries/Physics/MeshFilterRange.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | 3 | 2022-02-11T10:34:33.000Z | 2022-02-24T17:44:17.000Z | Libraries/Physics/MeshFilterRange.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | Libraries/Physics/MeshFilterRange.hpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#pragma once
namespace Zero
{
namespace Physics
{
/// Range used when filtering what triangles of a mesh
/// should be checked for either collision or for a cast.
struct MeshFilterRange
{
// When performing collision against a mesh, we may need to have multiple
// manifolds (one... | 26.522222 | 90 | 0.725178 | RyanTylerRae |
9c690b43da73bc1614315a14d0483f0711624444 | 11,164 | cc | C++ | correlation/src/stream.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | correlation/src/stream.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | correlation/src/stream.cc | sdelafond/centreon-broker | 21178d98ed8a061ca71317d23c2026dbc4edaca2 | [
"Apache-2.0"
] | null | null | null | /*
** Copyright 2015,2017 Centreon
**
** 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... | 32.932153 | 89 | 0.631315 | sdelafond |
9c69d050ac1d6cbbe2313a85b0b046a92105cb77 | 4,511 | cpp | C++ | docker/cytnx/src/linalg/linalg_internal_cpu/Inv_inplace_internal.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 11 | 2020-04-14T15:45:42.000Z | 2022-03-31T14:37:03.000Z | docker/cytnx/src/linalg/linalg_internal_cpu/Inv_inplace_internal.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 38 | 2019-08-02T15:15:51.000Z | 2022-03-04T19:07:02.000Z | docker/cytnx/src/linalg/linalg_internal_cpu/Inv_inplace_internal.cpp | j9263178/Cytnx | cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b | [
"Apache-2.0"
] | 7 | 2019-07-17T07:50:55.000Z | 2021-07-03T06:44:52.000Z | #include "cytnx_error.hpp"
#include "Inv_inplace_internal.hpp"
#include "lapack_wrapper.hpp"
namespace cytnx{
namespace linalg_internal{
void Inv_inplace_internal_d(boost::intrusive_ptr<Storage_base> &iten, const cytnx_int32 &L)
{
cytnx_int32 *ipiv = (cytnx_int32*)malloc((L... | 39.226087 | 107 | 0.572822 | j9263178 |
9c6a71012995b5f9346a35710ef202872000edc8 | 13,295 | cpp | C++ | src/SplashParasite.cpp | SteveRussell33/southpole-vcvrack | d7f57fdb75c5aa6c0a6aabad7a1da761f4e8ff81 | [
"MIT"
] | null | null | null | src/SplashParasite.cpp | SteveRussell33/southpole-vcvrack | d7f57fdb75c5aa6c0a6aabad7a1da761f4e8ff81 | [
"MIT"
] | 1 | 2021-10-02T02:34:32.000Z | 2021-10-02T02:34:32.000Z | src/SplashParasite.cpp | SteveRussell33/southpole-vcvrack | d7f57fdb75c5aa6c0a6aabad7a1da761f4e8ff81 | [
"MIT"
] | 2 | 2021-09-30T11:46:32.000Z | 2022-01-10T17:34:10.000Z | #include "Southpole.hpp"
#include "tides/generator.h"
#include <string.h>
struct SplashParasite : Module {
enum ParamIds {
MODE_PARAM,
RANGE_PARAM,
FREQUENCY_PARAM,
FM_PARAM,
SHAPE_PARAM,
SLOPE_PARAM,
SMOOTHNESS_PARAM,
NUM_PARAMS
};
enum InputIds {
SHAPE_INPUT,
SLOPE_INP... | 36.930556 | 191 | 0.684092 | SteveRussell33 |
9c6cc10bafe1037762e92c2eed43a36a6a3cc696 | 36,778 | cc | C++ | cpp/src/parquet/arrow/reader.cc | cool-RR/arrow | e78aa4c986e6f0b58d857b55997955ba3dc10b02 | [
"Apache-2.0"
] | null | null | null | cpp/src/parquet/arrow/reader.cc | cool-RR/arrow | e78aa4c986e6f0b58d857b55997955ba3dc10b02 | [
"Apache-2.0"
] | null | null | null | cpp/src/parquet/arrow/reader.cc | cool-RR/arrow | e78aa4c986e6f0b58d857b55997955ba3dc10b02 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 37.837449 | 90 | 0.666948 | cool-RR |
9c6cfb6b5dd1b36021af71bd5e09d16f12a9ad7d | 22,479 | cpp | C++ | engine/project.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | null | null | null | engine/project.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 8 | 2020-03-29T21:03:23.000Z | 2020-04-11T23:28:14.000Z | engine/project.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 1 | 2020-06-11T16:54:37.000Z | 2020-06-11T16:54:37.000Z | /*
* Project - Sprite and map projection code
*/
#include <string.h>
#include "core.hpp"
#include "ithelib.h"
#include "loadfile.hpp"
#include "gamedata.hpp"
#include "map.hpp"
#include "object.hpp"
#include "project.hpp"
#include "console.hpp"
#include "media.hpp"
#include "oscli.hpp"
#include "vismap.hpp"
#i... | 21.067479 | 104 | 0.641176 | jpmorris33 |
9c6d1f3bda98375f5cc26af9bfc021d7ad61b0c8 | 21,163 | cxx | C++ | graphics/twm4nx/src/cmenus.cxx | DS-LK/incubator-nuttx-apps | 5719753399c41529478ced0a3af9a8fae93a50a9 | [
"Apache-2.0"
] | 1 | 2022-01-04T04:04:58.000Z | 2022-01-04T04:04:58.000Z | graphics/twm4nx/src/cmenus.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | graphics/twm4nx/src/cmenus.cxx | VanFeo/incubator-nuttx-apps | 009e66874538658c10a26bc076d27e9de48fabc6 | [
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
// apps/graphics/twm4nx/src/cmenus.cxx
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyrig... | 27.448768 | 81 | 0.603506 | DS-LK |
9c6d3a6f0d4ace72d3d9f24896cb75f465566219 | 4,413 | cpp | C++ | Core/CoreFile.cpp | jonverrier/MBrs | 1d8f54a361de91bd7f2deb14fb42c3fb92545335 | [
"MIT"
] | null | null | null | Core/CoreFile.cpp | jonverrier/MBrs | 1d8f54a361de91bd7f2deb14fb42c3fb92545335 | [
"MIT"
] | null | null | null | Core/CoreFile.cpp | jonverrier/MBrs | 1d8f54a361de91bd7f2deb14fb42c3fb92545335 | [
"MIT"
] | null | null | null | /////////////////////////////////////////
// CoreFile.cpp
// Copyright (c) 2020 TXPCo Ltd
/////////////////////////////////////////
#include "Common.h"
#include "CoreFile.h"
#include "HostUserData.h"
using namespace std;
static const HChar* imageExtensions[] = { H_TEXT(".jpg") };
///////////////////////////////////... | 24.114754 | 142 | 0.668706 | jonverrier |
9c711d0897ac61155a84ccfdc273bb8d0086e5eb | 868 | hpp | C++ | include/DarkART/Atomic_Responses.hpp | temken/DarkART | 7bf3b03e4bf89ec83edd5ca2c9e8e7ce5ee16081 | [
"MIT"
] | 1 | 2022-02-15T13:58:28.000Z | 2022-02-15T13:58:28.000Z | include/DarkART/Atomic_Responses.hpp | temken/DarkART | 7bf3b03e4bf89ec83edd5ca2c9e8e7ce5ee16081 | [
"MIT"
] | null | null | null | include/DarkART/Atomic_Responses.hpp | temken/DarkART | 7bf3b03e4bf89ec83edd5ca2c9e8e7ce5ee16081 | [
"MIT"
] | null | null | null | #ifndef __Atomic_Responses_hpp_
#define __Atomic_Responses_hpp_
#include "Radial_Integrator.hpp"
#include "Wavefunctions_Final.hpp"
#include "Wavefunctions_Initial.hpp"
namespace DarkART
{
extern double Atomic_Response_Function(unsigned int response, double k_final, double q, Radial_Integrator& radial_integrator, int... | 51.058824 | 195 | 0.847926 | temken |
9c718f4c986c84c1e3b2c6ef29d9924e42a0562a | 6,915 | cpp | C++ | src/key_mapper.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | 1 | 2017-03-20T20:13:16.000Z | 2017-03-20T20:13:16.000Z | src/key_mapper.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | src/key_mapper.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | /********************************************************************************
Copyright (c) 2017 Bob Perry / asw204k_AT_yahoo.com
All rights reserved.
Please see license in the project root directory fro more details
*/
#include "key_mapper.h"
#include "trivial_log.h"
char KeyMapper::get_char_from_code( uint8_... | 23.600683 | 81 | 0.614172 | perryrob |
9c739240f6eff14e122a3164e8bbfd968b60aee2 | 881 | cpp | C++ | vector_attribute_sampling/simulator/vec_attr_sampling.cpp | yohm/sim_sampling_analysis | 08be42e21df37b8263cb80ed0c3ef4660c0ad71a | [
"Apache-2.0"
] | null | null | null | vector_attribute_sampling/simulator/vec_attr_sampling.cpp | yohm/sim_sampling_analysis | 08be42e21df37b8263cb80ed0c3ef4660c0ad71a | [
"Apache-2.0"
] | null | null | null | vector_attribute_sampling/simulator/vec_attr_sampling.cpp | yohm/sim_sampling_analysis | 08be42e21df37b8263cb80ed0c3ef4660c0ad71a | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <random>
#include "sampling.hpp"
int main(int argc, char** argv) {
if(argc != 7) {
std::cerr << "Usage : ./vec_attr_sampling.out N k q_sigma q_tau c _seed" << std::endl;
return 1;
}
size_t num_nodes = std::stoul(argv[1]); // boost::lexical_cast<size_t>(argv[1]);
double ave... | 28.419355 | 90 | 0.653802 | yohm |
9c75cf1dd2954788416f51571e46a6bfa884cf9a | 593 | cpp | C++ | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-tant2015 | ec315139a874d8701a0fbebfe7b888aa1e15e448 | [
"MIT"
] | null | null | null | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-tant2015 | ec315139a874d8701a0fbebfe7b888aa1e15e448 | [
"MIT"
] | null | null | null | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-tant2015 | ec315139a874d8701a0fbebfe7b888aa1e15e448 | [
"MIT"
] | null | null | null | // Name:David Nguyen
// This program calculates the tax and tip on a restaurant bill.
#include <iostream>
int main()
{
double total_cost, tax, tip, total_bill;
std :: cout << "Welcome to the Restaurant Bill Calculator!\n";
std :: cout << "What is the total meal cost? $";
std :: cin >> total_cost;
tax = total... | 31.210526 | 64 | 0.583474 | CSUF-CPSC120-2019F23-24 |
9c7afc98317194629a6c74a95818add729baff99 | 11,227 | cc | C++ | si/transaction.cc | KoseMasu/ccbench-1 | ec43e67acf0674919feaea6ff252f904cd38a5bc | [
"Apache-2.0"
] | 30 | 2019-03-20T07:23:53.000Z | 2022-02-01T01:00:02.000Z | si/transaction.cc | KoseMasu/ccbench-1 | ec43e67acf0674919feaea6ff252f904cd38a5bc | [
"Apache-2.0"
] | 8 | 2019-06-06T04:24:16.000Z | 2021-12-10T05:55:35.000Z | si/transaction.cc | KoseMasu/ccbench-1 | ec43e67acf0674919feaea6ff252f904cd38a5bc | [
"Apache-2.0"
] | 10 | 2019-07-21T15:24:19.000Z | 2022-03-15T02:07:23.000Z |
#include <string.h>
#include <algorithm>
#include <atomic>
#include <bitset>
#include "../include/atomic_wrapper.hh"
#include "../include/backoff.hh"
#include "../include/debug.hh"
#include "../include/tsc.hh"
#include "include/transaction.hh"
#include "include/version.hh"
using namespace std;
/**
* @brief Search ... | 25.63242 | 93 | 0.653336 | KoseMasu |
9c803cbfb5b1d1d8ff6512a4b0ca042ef7155a96 | 5,858 | cpp | C++ | hip/factorization/par_ilut_sweep_kernel.hip.cpp | aggarwal2000/ginkgo | b293b9fdc892c71ee17cb871c84972475085ec5b | [
"BSD-3-Clause"
] | 1 | 2021-04-13T11:44:35.000Z | 2021-04-13T11:44:35.000Z | hip/factorization/par_ilut_sweep_kernel.hip.cpp | aggarwal2000/ginkgo | b293b9fdc892c71ee17cb871c84972475085ec5b | [
"BSD-3-Clause"
] | null | null | null | hip/factorization/par_ilut_sweep_kernel.hip.cpp | aggarwal2000/ginkgo | b293b9fdc892c71ee17cb871c84972475085ec5b | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2021, the Ginkgo authors
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 co... | 38.794702 | 80 | 0.691362 | aggarwal2000 |
9c86d5f28b4ffec64b83b3e56affce109be26be6 | 4,908 | cpp | C++ | OrionUO/Gumps/GumpScreenMain.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | null | null | null | OrionUO/Gumps/GumpScreenMain.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | null | null | null | OrionUO/Gumps/GumpScreenMain.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (C) August 2016 Hotride
#include "GumpScreenMain.h"
#include "GitRevision.h"
enum
{
ID_MS_NONE,
ID_MS_QUIT,
ID_MS_ARROW_NEXT,
ID_MS_ACCOUNT,
ID_MS_PASSWORD,
ID_MS_SAVEPASSWORD,
ID_MS_AUTOLOGIN,
ID_MS_COUNT,
};
CGumpScreenMain::CGumpScreenMain()
: CGum... | 25.5625 | 100 | 0.623268 | SirGlorg |
9c86e1d630f32e779ddebbd7f8f96d284fd9e6f2 | 6,809 | cpp | C++ | source/code/scxcorelib/pal/scxconfigfile.cpp | snchennapragada/pal | 9ee3e116dc2fadb44efa0938de7f0b737784fe16 | [
"MIT"
] | 37 | 2016-04-14T20:06:15.000Z | 2019-05-06T17:30:17.000Z | source/code/scxcorelib/pal/scxconfigfile.cpp | snchennapragada/pal | 9ee3e116dc2fadb44efa0938de7f0b737784fe16 | [
"MIT"
] | 37 | 2016-03-11T20:47:11.000Z | 2019-04-01T22:53:04.000Z | source/code/scxcorelib/pal/scxconfigfile.cpp | snchennapragada/pal | 9ee3e116dc2fadb44efa0938de7f0b737784fe16 | [
"MIT"
] | 20 | 2016-05-26T23:53:01.000Z | 2019-05-06T08:54:08.000Z | /*------------------------------------------------------------------------------
Copyright (c) Microsoft Corporation. All rights reserved. See license.txt for license information.
*/
/**
\file
\brief Contains a configuration dictionnary that can be persisted on disk
\date 2014-09-29 11:55:00
... | 33.377451 | 117 | 0.513438 | snchennapragada |
9c88946389d91fe5b1a93efa0df77091466fc76b | 1,680 | cpp | C++ | Ambit/Source/AmbitUtils/MathHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/AmbitUtils/MathHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/AmbitUtils/MathHelpers.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | // Copyright Amazon.com, Inc. or its affiliates. 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
//... | 35.744681 | 119 | 0.655952 | brhook-aws |
9c88a7e1a997a203933f7b5f74fdbf4580c23ed8 | 6,145 | cpp | C++ | src/components/transmission/miprtpvideoencoder.cpp | xchbx/fox | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 2 | 2019-04-12T10:26:43.000Z | 2019-06-21T15:20:11.000Z | src/components/transmission/miprtpvideoencoder.cpp | xchbx/fox | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 1 | 2018-08-25T14:55:07.000Z | 2018-08-25T14:55:07.000Z | src/components/transmission/miprtpvideoencoder.cpp | xchbx/NetCamera | 12787683ba10db8f5eedf21e2d0e7a63bebc1664 | [
"Apache-2.0"
] | 1 | 2020-12-31T08:52:03.000Z | 2020-12-31T08:52:03.000Z | /*
This file is a part of EMIPLIB, the EDM Media over IP Library.
Copyright (C) 2006-2016 Hasselt University - Expertise Centre for
Digital Media (EDM) (http://www.edm.uhasselt.be)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU ... | 25.288066 | 128 | 0.716843 | xchbx |
9c89fa1f6e6587491117f6214e0d4d04b5f41e3d | 7,650 | cpp | C++ | lib/tlrCore/PNGRead.cpp | meshula/tlRender | 526649f4c57b6f7ab71eb341df165c870a6c8c1f | [
"BSD-3-Clause"
] | null | null | null | lib/tlrCore/PNGRead.cpp | meshula/tlRender | 526649f4c57b6f7ab71eb341df165c870a6c8c1f | [
"BSD-3-Clause"
] | null | null | null | lib/tlrCore/PNGRead.cpp | meshula/tlRender | 526649f4c57b6f7ab71eb341df165c870a6c8c1f | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2021 Darby Johnston
// All rights reserved.
#include <tlrCore/PNG.h>
#include <tlrCore/Memory.h>
#include <tlrCore/StringFormat.h>
namespace tlr
{
namespace png
{
namespace
{
bool pngOpen(
FI... | 31.875 | 104 | 0.393595 | meshula |
9c8a3d05fb7770746d524386cfc816217ec7ed37 | 285 | cpp | C++ | core/src/Reference.cpp | tokongs/yage | 14c9411d8efce08b89c0deb134b5c3023a32c577 | [
"MIT"
] | null | null | null | core/src/Reference.cpp | tokongs/yage | 14c9411d8efce08b89c0deb134b5c3023a32c577 | [
"MIT"
] | null | null | null | core/src/Reference.cpp | tokongs/yage | 14c9411d8efce08b89c0deb134b5c3023a32c577 | [
"MIT"
] | null | null | null | #include "Reference.h"
namespace yage{
Reference::Reference() {
mRefCount = 0;
}
void Reference::addRef() {
mRefCount++;
}
void Reference::release(){
mRefCount--;
}
int Reference::getRefCount() {
return mRefCount;
}
} | 15 | 34 | 0.536842 | tokongs |
9c92fddddee514a0ab98c48f3f971b370cd956da | 473 | cc | C++ | LinkedList/RemoveDuplicates.cc | plantree/LeetCode | 0ac6734b6a4c6e826df15a3d2e43e8f8df92a510 | [
"MIT"
] | null | null | null | LinkedList/RemoveDuplicates.cc | plantree/LeetCode | 0ac6734b6a4c6e826df15a3d2e43e8f8df92a510 | [
"MIT"
] | null | null | null | LinkedList/RemoveDuplicates.cc | plantree/LeetCode | 0ac6734b6a4c6e826df15a3d2e43e8f8df92a510 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(nullptr) {}
};
ListNode* deleteDuplicates(ListNode* head) {
if (!head) {
return head;
}
ListNode *cur = head, *pre = head;
while (cur->next) {
cur = cur->next... | 18.92 | 46 | 0.505285 | plantree |
9c940c1827f36c35332020b417ddb0809cd3cc9b | 11,143 | hpp | C++ | include/Core/Scene/Scene.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | include/Core/Scene/Scene.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | include/Core/Scene/Scene.hpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | #pragma once
#include <Collision/PolygonalCollider.hpp>
#include <Graphics/LevelSprite.hpp>
#include <Scene/Camera.hpp>
#include <Scene/SceneNode.hpp>
#include <Script/GameObject.hpp>
#include <Scene/SceneNode.hpp>
#include <Types/Registrable.hpp>
namespace obe::Scene
{
/**
* \brief The Scene class is a conta... | 40.81685 | 143 | 0.621018 | mjopenglsdl |
9c965c962effa07ee9bf70c93a8924601dbf89e8 | 24,005 | cpp | C++ | src/game/server/hl2/vehicle_prisoner_pod.cpp | vxsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 14 | 2021-02-16T14:13:50.000Z | 2022-03-17T18:29:19.000Z | src/game/server/hl2/vehicle_prisoner_pod.cpp | undbsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 7 | 2021-08-06T18:40:37.000Z | 2022-03-09T18:05:08.000Z | src/game/server/hl2/vehicle_prisoner_pod.cpp | undbsd/refraction | bb6def1feb6c2e5c94b2604ad55607ed380a2d7e | [
"MIT"
] | 2 | 2021-08-05T16:03:03.000Z | 2021-11-26T00:11:27.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "npcevent.h"
#include "vehicle_base.h"
#include "engine/IEngineSound.h"
#include "in_buttons.h"
#include "soundenv... | 32.615489 | 153 | 0.547428 | vxsd |
9c9aa675d7326fcc7aaf5a2b2184ac96a6be8bac | 5,830 | hpp | C++ | src/message/message.hpp | Preetam/sacq | a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c | [
"BSD-3-Clause"
] | 7 | 2016-04-24T08:32:34.000Z | 2021-05-25T10:21:18.000Z | src/message/message.hpp | Preetam/sacq | a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c | [
"BSD-3-Clause"
] | 19 | 2016-04-01T01:13:16.000Z | 2018-04-24T02:12:17.000Z | src/message/message.hpp | Preetam/sacq | a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c | [
"BSD-3-Clause"
] | 2 | 2017-03-30T14:37:15.000Z | 2017-05-15T00:07:47.000Z | #pragma once
#include <cassert>
#include <cstring>
#include <cstdint>
#include <string>
#include <random>
#include <chrono>
#include "encoding.h"
enum MESSAGE_TYPE : uint8_t
{
// Invalid
MSG_INVALID,
// Identification request
MSG_IDENT_REQUEST,
// Identification
MSG_IDENT,
// Active leader
MSG_LEADER_ACTIVE,... | 16.194444 | 66 | 0.655403 | Preetam |
9c9d352b2cf06475f7434cdfeefa3910b7d5a1ec | 12,360 | cpp | C++ | gamegio-library/src/gamegio/JoystickCbor.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 27 | 2015-06-08T16:45:47.000Z | 2022-02-22T14:40:52.000Z | gamegio-library/src/gamegio/JoystickCbor.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 18 | 2015-04-20T20:42:02.000Z | 2020-12-11T03:46:17.000Z | gamegio-library/src/gamegio/JoystickCbor.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 4 | 2017-06-20T13:24:18.000Z | 2021-10-07T19:18:03.000Z | // HGamer3D Library (A project to enable 3D game development in Haskell)
// Copyright 2018 Peter Althainz
//
// Distributed under the Apache License, Version 2.0
// (See attached file LICENSE or copy at
// http://www.apache.org/licenses/LICENSE-2.0)
//
// file: HGamer3D/gamegio-library/src/gamegio/JoystickCbor.cpp
#in... | 51.715481 | 131 | 0.726133 | tril0byte |
9ca29ef1cd71ee2a06a6511eb9b38ad88a09fefc | 503 | cc | C++ | src/piano_key.cc | caleqw2/Scale-Finder | a324f2a49385690daf8ac6a44bed55984d7d7c2c | [
"MIT"
] | null | null | null | src/piano_key.cc | caleqw2/Scale-Finder | a324f2a49385690daf8ac6a44bed55984d7d7c2c | [
"MIT"
] | null | null | null | src/piano_key.cc | caleqw2/Scale-Finder | a324f2a49385690daf8ac6a44bed55984d7d7c2c | [
"MIT"
] | null | null | null | //
// Created by Cale Wolf on 4/24/20.
//
#include "scalefinder/piano_key.h"
namespace scalefinder {
PianoKey::PianoKey(const std::string& name, int num, int xloc, bool is_white) {
name_ = name;
keynum_ = num;
xloc_ = xloc;
is_white_ = is_white;
}
const std::string& PianoKey::GetName() const { return name_;... | 23.952381 | 79 | 0.699801 | caleqw2 |
9ca3325705dd2c5c12bceab1c951d890460c196a | 2,261 | cpp | C++ | project2D/Application2D.cpp | Jeffrey-W23/AIE-Assignment-ComplexSystem | 9876e8feb71cb91cc6d476611baf333855b65f44 | [
"MIT"
] | null | null | null | project2D/Application2D.cpp | Jeffrey-W23/AIE-Assignment-ComplexSystem | 9876e8feb71cb91cc6d476611baf333855b65f44 | [
"MIT"
] | null | null | null | project2D/Application2D.cpp | Jeffrey-W23/AIE-Assignment-ComplexSystem | 9876e8feb71cb91cc6d476611baf333855b65f44 | [
"MIT"
] | null | null | null | // #includes, using, etc
#include "Application2D.h"
//--------------------------------------------------------------------------------------
// Default Constructor.
//--------------------------------------------------------------------------------------
Application2D::Application2D()
{
}
//--------------------------... | 32.768116 | 98 | 0.380805 | Jeffrey-W23 |
9ca4635686edf9207acfc32f432440c7da5312da | 1,198 | cc | C++ | 04_Vector/MathFunctions.cc | jostue/UdemyCpp_Template | 1735036b1a19544518ce54e456d8451e45efa3cd | [
"MIT"
] | null | null | null | 04_Vector/MathFunctions.cc | jostue/UdemyCpp_Template | 1735036b1a19544518ce54e456d8451e45efa3cd | [
"MIT"
] | null | null | null | 04_Vector/MathFunctions.cc | jostue/UdemyCpp_Template | 1735036b1a19544518ce54e456d8451e45efa3cd | [
"MIT"
] | null | null | null | #include <cmath>
#include <iostream>
#include <vector>
template <class T>
void fill_vector(std::vector<T> &vec);
template <class T>
void printVector(const std::vector<T> &vec);
template <class T>
void vector_exp(std::vector<T> &vec);
template <class T>
void vector_log(std::vector<T> &vec);
int main()
{
std::v... | 17.617647 | 48 | 0.585977 | jostue |
9cab6d3600b0fc2dee44103ce943c1b4c90c1a17 | 6,324 | cxx | C++ | Modules/Core/ImageFunction/test/itkGaussianBlurImageFunctionTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | 1 | 2015-10-12T00:14:09.000Z | 2015-10-12T00:14:09.000Z | Modules/Core/ImageFunction/test/itkGaussianBlurImageFunctionTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | null | null | null | Modules/Core/ImageFunction/test/itkGaussianBlurImageFunctionTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 28.232143 | 96 | 0.636781 | itkvideo |
9cabcfbdf6e12b33c68559b2cfea955f3e15999d | 4,356 | cpp | C++ | src/parser/query_error_context.cpp | linkensphere201/duckdb | b77b1fa65290adfbad1bac4c44079718e6850497 | [
"MIT"
] | null | null | null | src/parser/query_error_context.cpp | linkensphere201/duckdb | b77b1fa65290adfbad1bac4c44079718e6850497 | [
"MIT"
] | null | null | null | src/parser/query_error_context.cpp | linkensphere201/duckdb | b77b1fa65290adfbad1bac4c44079718e6850497 | [
"MIT"
] | 1 | 2021-08-04T22:29:21.000Z | 2021-08-04T22:29:21.000Z | #include "duckdb/parser/query_error_context.hpp"
#include "duckdb/parser/sql_statement.hpp"
#include "duckdb/common/string_util.hpp"
#include "duckdb/common/to_string.hpp"
#include "utf8proc_wrapper.hpp"
namespace duckdb {
string QueryErrorContext::Format(const string &query, const string &error_message, int error_l... | 35.704918 | 111 | 0.70225 | linkensphere201 |
66d4af4016e396d796dbf3c8105d5b0e74c60e6d | 2,852 | cpp | C++ | verify.cpp | jancarlsson/snarkfront | 7f90a4181721f758f114497382aa462185e71dae | [
"MIT"
] | 60 | 2015-01-02T12:28:40.000Z | 2021-04-13T01:40:07.000Z | verify.cpp | artree222/snarkfront | 7f90a4181721f758f114497382aa462185e71dae | [
"MIT"
] | 8 | 2015-03-05T13:12:39.000Z | 2018-07-03T07:17:45.000Z | verify.cpp | artree222/snarkfront | 7f90a4181721f758f114497382aa462185e71dae | [
"MIT"
] | 17 | 2015-01-22T03:10:49.000Z | 2020-12-27T12:22:17.000Z | #include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include "snarkfront.hpp"
using namespace snarkfront;
using namespace snarklib;
using namespace std;
void printUsage(const char* exeName) {
const string
PAIR = " -p BN128|Edwards",
VKEY = " -v key_file",
IN = " -i... | 27.423077 | 95 | 0.587658 | jancarlsson |
66d6160c5e951e6c3a51eb02c31ead066c322202 | 39,751 | cpp | C++ | src/master/readonly_handler.cpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | 1 | 2019-03-17T04:12:20.000Z | 2019-03-17T04:12:20.000Z | src/master/readonly_handler.cpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | 2 | 2021-05-20T23:19:40.000Z | 2021-09-28T05:47:02.000Z | src/master/readonly_handler.cpp | zagrev/mesos | eefec152dffc4977183089b46fbfe37dbd19e9d7 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 32.265422 | 78 | 0.629519 | zagrev |
66d62f130f34ef6f7a591124ae7f104f0e463075 | 1,101 | inl | C++ | ThirdParty/DirectXMesh/DirectXMesh/DirectXMesh.inl | guoxx/ProtoLab | fe9678e6ee85bb5fabb9896544e797f4d086e0cd | [
"MIT"
] | 2 | 2016-10-08T07:08:24.000Z | 2018-04-19T14:59:12.000Z | ThirdParty/DirectXMesh/DirectXMesh/DirectXMesh.inl | guoxx/ProtoLab | fe9678e6ee85bb5fabb9896544e797f4d086e0cd | [
"MIT"
] | null | null | null | ThirdParty/DirectXMesh/DirectXMesh/DirectXMesh.inl | guoxx/ProtoLab | fe9678e6ee85bb5fabb9896544e797f4d086e0cd | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------------------------
// DirectXMesh.inl
//
// DirectX Mesh Geometry Library
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES... | 34.40625 | 88 | 0.483197 | guoxx |
66d70af6bdf0e337fc3c2ffb988cb10cacac3f18 | 1,829 | cpp | C++ | ESP-tsl2561-blink-detector/src/main.cpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 4 | 2016-12-10T13:20:52.000Z | 2019-10-25T19:47:44.000Z | ESP-tsl2561-blink-detector/src/main.cpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | null | null | null | ESP-tsl2561-blink-detector/src/main.cpp | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 1 | 2019-05-03T17:31:38.000Z | 2019-05-03T17:31:38.000Z | #include <Arduino.h>
#include <ArduinoOTA.h>
#include <ArduinoJson.h>
#include <ESP8266mDNS.h>
#include <Ticker.h>
#include "config.hpp"
#include "wifi.hpp"
#include "tsl2561.hpp"
#include "pulse_detector.hpp"
#include "web_server.hpp"
/*
* Wiring TSL2561 to Wemos D1 Mini:
* VCC -> 3V3
* GND -> G
* SCL -> D... | 19.880435 | 96 | 0.694915 | chacal |
66d9ef48b7ea9b5d6d0811e3e4ebdc227e1eb632 | 1,935 | hpp | C++ | challenges/thread_pool.hpp | Dwarfobserver/Exercices-Cpp | b5d991c8fa357554840f7524e75a1a25874ba60c | [
"MIT"
] | null | null | null | challenges/thread_pool.hpp | Dwarfobserver/Exercices-Cpp | b5d991c8fa357554840f7524e75a1a25874ba60c | [
"MIT"
] | null | null | null | challenges/thread_pool.hpp | Dwarfobserver/Exercices-Cpp | b5d991c8fa357554840f7524e75a1a25874ba60c | [
"MIT"
] | null | null | null |
// Solution du challenge présenté ici :
// https://cours-cpp.gitbook.io/resources/abstractions/la-concurrence#challenges
#include <future>
#include <thread>
#include <vector>
#include <functional>
class thread_pool {
// On va lancer des threads qui vont se bloquer sur la même 'condition variable'
// tant q... | 28.880597 | 84 | 0.574677 | Dwarfobserver |
66e11d81dfeb958a8dde0fa808c60f99115f872d | 5,492 | cpp | C++ | source/rcnn/modeling/rpn/rpn.cpp | conanhung/maskrcnn_benchmark.cpp | eab9787d3140e003662a31a8e01f7ae39469e9a0 | [
"MIT"
] | 1 | 2020-09-18T22:33:37.000Z | 2020-09-18T22:33:37.000Z | source/rcnn/modeling/rpn/rpn.cpp | conanhung/maskrcnn_benchmark.cpp | eab9787d3140e003662a31a8e01f7ae39469e9a0 | [
"MIT"
] | null | null | null | source/rcnn/modeling/rpn/rpn.cpp | conanhung/maskrcnn_benchmark.cpp | eab9787d3140e003662a31a8e01f7ae39469e9a0 | [
"MIT"
] | null | null | null | #include "rpn/rpn.h"
#include <iostream>
#include <defaults.h>
namespace rcnn{
namespace modeling{
RPNHeadImpl::RPNHeadImpl(int64_t in_channels, int64_t num_anchors)
:conv_(register_module("conv", torch::nn::Conv2d(torch::nn::Conv2dOptions(in_channels, in_channels, 3).padding(1)))),
cls_logits_(register_module(... | 42.246154 | 315 | 0.722141 | conanhung |
66e11fec36b5504a92c76bcfc9bb744e7b0307ff | 5,067 | hpp | C++ | include/osmium/util/cast.hpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 4,526 | 2015-01-01T15:31:00.000Z | 2022-03-31T17:33:49.000Z | include/osmium/util/cast.hpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 4,497 | 2015-01-01T15:29:12.000Z | 2022-03-31T19:19:35.000Z | include/osmium/util/cast.hpp | zhaitianduo/libosmium | 42fc3238f942baac47d8520425664376478718b1 | [
"BSL-1.0"
] | 3,023 | 2015-01-01T18:40:53.000Z | 2022-03-30T13:30:46.000Z | #ifndef OSMIUM_UTIL_CAST_HPP
#define OSMIUM_UTIL_CAST_HPP
/*
This file is part of Osmium (https://osmcode.org/libosmium).
Copyright 2013-2020 Jochen Topf <jochen@topf.org> and others (see README).
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person o... | 47.801887 | 226 | 0.704559 | zhaitianduo |
66e20e580dda0c20f99f92481628da8a788fcb79 | 1,560 | cpp | C++ | source/OpticalFlowPyrLK.cpp | takamin/cvImagePipeline | 257cc6dd48b153a9dfc46e48d166a302c8c227a7 | [
"MIT"
] | 3 | 2016-06-06T08:37:09.000Z | 2018-03-14T07:00:36.000Z | source/OpticalFlowPyrLK.cpp | takamin/cvImagePipeline | 257cc6dd48b153a9dfc46e48d166a302c8c227a7 | [
"MIT"
] | null | null | null | source/OpticalFlowPyrLK.cpp | takamin/cvImagePipeline | 257cc6dd48b153a9dfc46e48d166a302c8c227a7 | [
"MIT"
] | 3 | 2019-08-05T03:14:42.000Z | 2022-03-01T13:47:26.000Z | #include "OpticalFlowPyrLK.h"
namespace cvImagePipeline {
namespace Filter {
using namespace std;
using namespace cv;
IMPLEMENT_CVFILTER(OpticalFlowPyrLK);
OpticalFlowPyrLK::OpticalFlowPyrLK() { }
void OpticalFlowPyrLK::reset()
{
prevMat = Mat();
}
void OpticalFlowPyrLK::execute() {
const Mat... | 31.2 | 73 | 0.655128 | takamin |
66e3f615986c26681e3f04d6371a1fc72f45ed2b | 13,286 | cxx | C++ | src/plugins/legacy/itkDataTensorImage/manager/vtkTensorManager.cxx | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | null | null | null | src/plugins/legacy/itkDataTensorImage/manager/vtkTensorManager.cxx | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | null | null | null | src/plugins/legacy/itkDataTensorImage/manager/vtkTensorManager.cxx | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2018. 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... | 27.564315 | 115 | 0.71263 | arthursw |
66e41a8503e936b01b0e3bd57cd1f4f169220db3 | 18,387 | cpp | C++ | States/StateArtificialNeuralNetworkEditor.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | States/StateArtificialNeuralNetworkEditor.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | States/StateArtificialNeuralNetworkEditor.cpp | devmichalek/Autonomous-Vehicles-Simulator | 7edc16e5b03392f407b800cbc10922f158ebfb59 | [
"MIT"
] | null | null | null | #include "StateArtificialNeuralNetworkEditor.hpp"
#include "CoreLogger.hpp"
#include "FunctionEventObserver.hpp"
#include "TypeEventObserver.hpp"
#include "ConsistentText.hpp"
#include "FilenameText.hpp"
StateArtificialNeuralNetworkEditor::StateArtificialNeuralNetworkEditor() :
m_biasOffset(0.2)
{
m_controlKeys.inse... | 38.068323 | 245 | 0.743351 | devmichalek |
66e78a06f32b72436a14019399a8ae867d08861e | 1,823 | cpp | C++ | Testing/Views/albaViewCompoundWindowingTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Testing/Views/albaViewCompoundWindowingTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Testing/Views/albaViewCompoundWindowingTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaViewCompoundWindowingTest
Authors: Matteo Giacomoni
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is distributed WITHOUT ANY WARRANTY; ... | 31.982456 | 84 | 0.577619 | IOR-BIC |
66e8ac4abbd9fc0576de0aa19f3bcc91bc6a1270 | 279 | hpp | C++ | include/vk_image_shader.hpp | dennissoftman/CleanEngine | 5eade64ad208c8a612a23a281156740ebea14f8d | [
"MIT"
] | null | null | null | include/vk_image_shader.hpp | dennissoftman/CleanEngine | 5eade64ad208c8a612a23a281156740ebea14f8d | [
"MIT"
] | null | null | null | include/vk_image_shader.hpp | dennissoftman/CleanEngine | 5eade64ad208c8a612a23a281156740ebea14f8d | [
"MIT"
] | null | null | null | #ifndef VK_IMAGE_SHADER_HPP
#define VK_IMAGE_SHADER_HPP
#include <cstddef>
class vk_image_shader
{
public:
static const char *vert_data();
static size_t vert_size();
static const char *frag_data();
static size_t frag_size();
};
#endif // VK_IMAGE_SHADER_HPP
| 15.5 | 35 | 0.731183 | dennissoftman |
66e998ef2a9f1882fc00505801b21e5263f88c72 | 423 | cpp | C++ | src/WaitingRoom.cpp | Prin-E/PangPang | 47bc3f9e28ee677b1d0abbaf2a5ba534347c74a9 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/WaitingRoom.cpp | Prin-E/PangPang | 47bc3f9e28ee677b1d0abbaf2a5ba534347c74a9 | [
"BSL-1.0",
"MIT"
] | null | null | null | src/WaitingRoom.cpp | Prin-E/PangPang | 47bc3f9e28ee677b1d0abbaf2a5ba534347c74a9 | [
"BSL-1.0",
"MIT"
] | null | null | null | #include "Common.h"
#include "WaitingRoom.h"
#include "MainMenu.h"
namespace PangPang
{
void WaitingRoom::OnEnter()
{
std::cerr << __FUNCTION__ << std::endl;
}
void WaitingRoom::OnExit()
{
std::cerr << __FUNCTION__ << std::endl;
totalTime = 0.0f;
}
void WaitingRoom::Update(float deltaTime)
{
static const char* ... | 14.1 | 44 | 0.687943 | Prin-E |
66e9b1b8c360dbd70d52fae3149a3d3bcfc0894f | 1,545 | cpp | C++ | timing2.cpp | vsoftco/snippets | 467520e285f9c83024416f050a5357bf659f4860 | [
"MIT"
] | 13 | 2015-04-21T09:09:59.000Z | 2021-11-27T11:00:40.000Z | timing2.cpp | vsoftco/snippets | 467520e285f9c83024416f050a5357bf659f4860 | [
"MIT"
] | null | null | null | timing2.cpp | vsoftco/snippets | 467520e285f9c83024416f050a5357bf659f4860 | [
"MIT"
] | 3 | 2019-08-09T09:29:59.000Z | 2021-01-09T08:52:11.000Z | // Timing in C++14
#include <chrono>
#include <functional>
#include <iostream>
// we will time this function
void f(std::size_t numsteps) {
for (volatile std::size_t i = 0; i < numsteps; ++i)
;
}
struct X {
// we will time this member function
void f(std::size_t numsteps) {
for (volatile ... | 30.9 | 78 | 0.603236 | vsoftco |
66ea176bd41fe4c195e5307543eacfd51b1aa0e2 | 9,010 | cxx | C++ | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimProperty.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimProperty.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimProperty.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | 24.417344 | 116 | 0.553829 | EnEff-BIM |
66ec73cb2eb300eb4946b3691d1e358fdc2b5ff9 | 8,086 | hpp | C++ | XilinxProcessorIPLib/drivers/aiefal/src/rsc/xaiefal-pc.hpp | martinexner/embeddedsw | 32c95d3b7dbc21c3b84c84d497596304c87948b7 | [
"BSD-2-Clause",
"MIT"
] | 595 | 2015-02-03T15:07:36.000Z | 2022-03-31T18:21:23.000Z | XilinxProcessorIPLib/drivers/aiefal/src/rsc/xaiefal-pc.hpp | Xilinx/embeddedsw-experimental-dt-support | 329bf8fa54110034c8436d0b3b4aa40e8a56b02d | [
"BSD-2-Clause",
"MIT"
] | 144 | 2016-01-08T17:56:37.000Z | 2022-03-31T13:23:52.000Z | XilinxProcessorIPLib/drivers/aiefal/src/rsc/xaiefal-pc.hpp | Xilinx/embeddedsw-experimental-dt-support | 329bf8fa54110034c8436d0b3b4aa40e8a56b02d | [
"BSD-2-Clause",
"MIT"
] | 955 | 2015-03-30T00:54:27.000Z | 2022-03-31T11:32:23.000Z | // Copyright(C) 2020 - 2021 by Xilinx, Inc. All rights reserved.
// SPDX-License-Identifier: MIT
#include <fstream>
#include <functional>
#include <string.h>
#include <vector>
#include <xaiengine.h>
#include <xaiefal/rsc/xaiefal-rsc-base.hpp>
#pragma once
namespace xaiefal {
/**
* @class XAiePCEvent
* @brief A... | 29.948148 | 87 | 0.618353 | martinexner |
66ee544be698cfc9cf89ba1c90dea1a495beec7a | 6,932 | cpp | C++ | src/support/NsprWrap/ProcessLock.cpp | jvirkki/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | 13 | 2015-10-09T05:59:20.000Z | 2021-11-12T10:38:51.000Z | src/support/NsprWrap/ProcessLock.cpp | JamesLinus/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | null | null | null | src/support/NsprWrap/ProcessLock.cpp | JamesLinus/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | 6 | 2016-05-23T10:53:29.000Z | 2019-12-13T17:57:32.000Z | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistribut... | 28.409836 | 83 | 0.604299 | jvirkki |
66f2a9fcc756e39c2664b40ae609c513776e38db | 13,428 | cpp | C++ | src/apps/networkstatus/NetworkStatusView.cpp | chamalwr/haiku | b2bf76c43decc3fc2de50c4750f830b16807ddef | [
"MIT"
] | 2 | 2020-02-02T06:48:30.000Z | 2020-04-05T13:58:32.000Z | src/apps/networkstatus/NetworkStatusView.cpp | honza1a/haiku | 3959883f5047e803205668d4eb7d083b2d81e2da | [
"MIT"
] | null | null | null | src/apps/networkstatus/NetworkStatusView.cpp | honza1a/haiku | 3959883f5047e803205668d4eb7d083b2d81e2da | [
"MIT"
] | null | null | null | /*
* Copyright 2006-2013, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Dario Casalinuovo
* Axel Dörfler, axeld@pinc-software.de
* Rene Gollent, rene@gollent.com
* Hugo Santos, hugosantos@gmail.com
*/
#include "NetworkStatusView.h"
#include <algorithm>... | 23.434555 | 84 | 0.709041 | chamalwr |
66f3bc8f5d81fb4f06a5cc143aed503d04834cd3 | 15,033 | cpp | C++ | mango/src/ui/ui_impl.cpp | pethipet/Mango | f89a93a11df365440ce7a8fb48f8336eac2c63f0 | [
"Apache-2.0"
] | 3 | 2020-05-12T09:30:41.000Z | 2020-10-04T21:27:03.000Z | mango/src/ui/ui_impl.cpp | pethipet/Mango | f89a93a11df365440ce7a8fb48f8336eac2c63f0 | [
"Apache-2.0"
] | 1 | 2020-03-21T20:34:10.000Z | 2020-03-22T13:58:41.000Z | mango/src/ui/ui_impl.cpp | pethipet/Mango | f89a93a11df365440ce7a8fb48f8336eac2c63f0 | [
"Apache-2.0"
] | 3 | 2020-06-24T16:32:44.000Z | 2020-08-14T14:44:20.000Z | //! \file ui_impl.cpp
//! \author Paul Himmler
//! \version 1.0
//! \date 2021
//! \copyright Apache License 2.0
#define GLFW_INCLUDE_NONE // for glad
#include <GLFW/glfw3.h>
#include <core/display_impl.hpp>
#include <glad/glad.h>
#include <imgui.h>
#include <mango/application.hpp>
#include <mango/profi... | 48.650485 | 178 | 0.677243 | pethipet |
66f477232d2170b301e0faf0bb3e5fef60d60ad9 | 7,447 | cpp | C++ | src/mongo/db/storage/storage_engine_lock_file_posix.cpp | stbrody/mongo | e6df4d48792498545a9069f08ff78f7840700ef6 | [
"Apache-2.0"
] | 1 | 2021-04-21T17:06:57.000Z | 2021-04-21T17:06:57.000Z | src/mongo/db/storage/storage_engine_lock_file_posix.cpp | stbrody/mongo | e6df4d48792498545a9069f08ff78f7840700ef6 | [
"Apache-2.0"
] | 1 | 2015-05-29T16:12:10.000Z | 2015-05-29T16:12:10.000Z | src/mongo/db/storage/storage_engine_lock_file_posix.cpp | stbrody/mongo | e6df4d48792498545a9069f08ff78f7840700ef6 | [
"Apache-2.0"
] | 1 | 2015-05-26T20:33:29.000Z | 2015-05-26T20:33:29.000Z | /**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 36.684729 | 96 | 0.612461 | stbrody |
66f5195a162a088c5fa99d6d9dc5174a0b9231ae | 2,823 | cpp | C++ | src/Renderer.cpp | iluvpy/Minigames | f04dc78a24368f9a6021f02584c1989204ba10b6 | [
"MIT"
] | null | null | null | src/Renderer.cpp | iluvpy/Minigames | f04dc78a24368f9a6021f02584c1989204ba10b6 | [
"MIT"
] | null | null | null | src/Renderer.cpp | iluvpy/Minigames | f04dc78a24368f9a6021f02584c1989204ba10b6 | [
"MIT"
] | null | null | null | #include "Renderer.hpp"
#define DEFAULT_FONT_PATH "./res/fonts/default.ttf"
Renderer::Renderer() {}
void Renderer::Init(SDL_Window *window) {
m_renderer = SDL_CreateRenderer(window, 0, SDL_RENDERER_PRESENTVSYNC);
}
void Renderer::Start() {
SDL_RenderClear(m_renderer);
}
void Renderer::Fill(const Color& col... | 26.383178 | 102 | 0.65108 | iluvpy |
66fa657ba92686cff4fb7e3b10ad47fbea79c6b8 | 3,329 | cc | C++ | library/plugin.cc | flyfire100/dot-editor | 76fedb74bfdd51f7740d66befe8f868eb0ecff28 | [
"BSD-3-Clause"
] | 3 | 2016-04-09T18:23:40.000Z | 2021-11-23T10:34:44.000Z | library/plugin.cc | flyfire100/dot-editor | 76fedb74bfdd51f7740d66befe8f868eb0ecff28 | [
"BSD-3-Clause"
] | 7 | 2017-03-10T08:19:20.000Z | 2021-10-21T13:02:37.000Z | library/plugin.cc | flyfire100/dot-editor | 76fedb74bfdd51f7740d66befe8f868eb0ecff28 | [
"BSD-3-Clause"
] | 2 | 2015-08-21T09:52:26.000Z | 2021-07-22T08:14:08.000Z | /* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
\file plugin.cc
\date May 2012
\author TNick
\brief Contains the implementation for PlugIn class
*//*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 27.741667 | 79 | 0.226194 | flyfire100 |
66fbc5f2995426929171c8fbe310216507f85bdb | 1,366 | cc | C++ | function_ref/snippets/make_function_ref-usage-ff-te-n.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | 1 | 2022-01-21T20:10:46.000Z | 2022-01-21T20:10:46.000Z | function_ref/snippets/make_function_ref-usage-ff-te-n.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | null | null | null | function_ref/snippets/make_function_ref-usage-ff-te-n.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | null | null | null | #include <iostream>
//#include <https://raw.githubusercontent.com/TartanLlama/function_ref/master/include/tl/function_ref.hpp>
#include <https://raw.githubusercontent.com/descender76/cpp_proposals/main/function_ref/function_ref_prime.hpp>
void third_party_lib_function1(tl::function_ref<void(bool, int, float)> callback... | 40.176471 | 123 | 0.729868 | descender76 |
66fc619e436530a481c1a143992e66a8fad8dfe6 | 2,497 | cpp | C++ | codeforces/E - Turn Off The TV/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/E - Turn Off The TV/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/E - Turn Off The TV/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Jul/25/2018 22:48
* solution_verdict: Accepted language: GNU C++17
* run... | 26.56383 | 111 | 0.482579 | kzvd4729 |
66fd5ec0099d8240e5c411461458d6184e0f0aa1 | 2,108 | cpp | C++ | src/Emulators/nestopiaue/core/NstChecksum.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 34 | 2021-05-29T07:04:17.000Z | 2022-03-10T20:16:03.000Z | src/Emulators/nestopiaue/core/NstChecksum.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-25T13:05:21.000Z | 2022-01-19T17:35:17.000Z | src/Emulators/nestopiaue/core/NstChecksum.cpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-24T18:37:41.000Z | 2022-02-06T23:06:02.000Z | ////////////////////////////////////////////////////////////////////////////////////////
//
// Nestopia - NES/Famicom emulator written in C++
//
// Copyright (C) 2003-2008 Martin Freij
//
// This file is part of Nestopia.
//
// Nestopia is free software; you can redistribute it and/or modify
// it under the te... | 26.024691 | 89 | 0.591556 | slajerek |
66fe1873e7c4cb1831a76d55271af7933bcf1b16 | 5,355 | hpp | C++ | ql/experimental/catbonds/catbond.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T09:57:04.000Z | 2020-10-13T09:57:04.000Z | ql/experimental/catbonds/catbond.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 19 | 2020-11-23T08:36:10.000Z | 2022-03-28T10:06:53.000Z | ql/experimental/catbonds/catbond.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 2 | 2021-04-24T17:51:11.000Z | 2021-07-20T09:41:33.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2012, 2013 Grzegorz Andruszkiewicz
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 redis... | 39.087591 | 89 | 0.594771 | urgu00 |
66fea6ad2b1ac75e768abbbe12a2101e0be42873 | 3,173 | hpp | C++ | ch10/circular_list.hpp | klong13579/cppL | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 261 | 2015-01-11T20:42:33.000Z | 2022-02-17T01:33:39.000Z | ch10/circular_list.hpp | LeungGeorge/CLRS | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 4 | 2015-04-05T11:49:45.000Z | 2017-02-19T08:29:52.000Z | ch10/circular_list.hpp | LeungGeorge/CLRS | 7aa8afaf2d2e17578c7fd91654bedcccf0a6baab | [
"MIT"
] | 98 | 2015-01-03T12:58:50.000Z | 2021-07-16T07:29:31.000Z | /***************************************************************************
* @file circular_list.hpp
* @author Alan.W
* @date 28 May 2014
* @remark This code is for Introduction to Algorithms
* @note code style : STL
***************************************************************... | 19.955975 | 84 | 0.510558 | klong13579 |
66feba14d91c0abbb44c425ba24c66eaa06efd6d | 2,092 | cc | C++ | src/util.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | 1 | 2019-01-21T03:38:34.000Z | 2019-01-21T03:38:34.000Z | src/util.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | null | null | null | src/util.cc | wurikiji/couchstore | ca6022cd2a6ab43d5a0d2fd1b34135589f51e410 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include "node_types.h"
#include "util.h"
#include <stdlib.h>
#ifdef DEBUG
#include <stdio.h>
#endif
int ebin_cmp(const sized_buf *e1, const sized_buf *e2)
{
size_t size;
if (e2->size < e1->size) {
size =... | 21.56701 | 83 | 0.573136 | wurikiji |
0f00652a6cde949e086162fbf39fdffbf684d8cd | 58,020 | cpp | C++ | Builder/Builder/src/Layout.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | 2 | 2015-09-28T12:59:25.000Z | 2020-03-28T22:28:03.000Z | Builder/Builder/src/Layout.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | 2 | 2018-10-26T12:17:53.000Z | 2018-11-09T07:04:17.000Z | Builder/Builder/src/Layout.cpp | sglab/OpenIRT | 1a1522ed82f6bb26f1d40dc93024487869045ab2 | [
"BSD-2-Clause"
] | null | null | null | #include "common.h"
//#include "kDTree.h"
//#include "OutOfCoreTree.h"
#include "OoCTreeAccess.h"
#include <math.h>
#include <direct.h>
#include "BufferedOutputs.h"
#include "CashedBoxFiles.h"
#include "Triangle.h"
#include "helpers.h"
//#include "VoxelkDTree.h"
#include "OptionManager.h"
#include "Progression.h"
#in... | 27.707736 | 115 | 0.688711 | sglab |
0f028e1af7860b53ccf1c7e83610404ef782c597 | 2,022 | hpp | C++ | src/bonefish/messages/wamp_call_options.hpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 58 | 2015-08-24T18:43:56.000Z | 2022-01-09T00:55:06.000Z | src/bonefish/messages/wamp_call_options.hpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 47 | 2015-08-25T11:04:51.000Z | 2018-02-28T22:38:12.000Z | src/bonefish/messages/wamp_call_options.hpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 32 | 2015-08-25T15:14:45.000Z | 2020-03-23T09:35:31.000Z | /**
* Copyright (C) 2015 Topology LP
*
* 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... | 25.594937 | 82 | 0.723046 | aiwc |
0f069cab276f04d67df178a2977eba3b5a844a0f | 2,168 | hpp | C++ | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_options.hpp | mikeharder/azure-sdk-for-cpp | da1451586a6ef50bac4e3dead9eba2c094c2d91a | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_options.hpp | mikeharder/azure-sdk-for-cpp | da1451586a6ef50bac4e3dead9eba2c094c2d91a | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_client_options.hpp | mikeharder/azure-sdk-for-cpp | da1451586a6ef50bac4e3dead9eba2c094c2d91a | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Defines the supported options to create a Key Vault Keys client.
*
*/
#pragma once
#include <azure/core/internal/client_options.hpp>
#include "azure/keyvault/keys/dll_import_export.hpp"
#include "az... | 26.439024 | 95 | 0.66928 | mikeharder |
0f0779a4b5a3a7f49d64bd1c2c45ce5726096ac7 | 18,097 | cc | C++ | test/common/quic/envoy_quic_client_session_test.cc | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 1 | 2022-03-02T14:23:12.000Z | 2022-03-02T14:23:12.000Z | test/common/quic/envoy_quic_client_session_test.cc | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 153 | 2021-10-04T04:32:48.000Z | 2022-03-31T04:22:40.000Z | test/common/quic/envoy_quic_client_session_test.cc | CrazyHZM/envoy | 416c6f5a1d85ceb5ed9cc173533eb36b2e2dcac0 | [
"Apache-2.0"
] | 1 | 2021-12-14T02:39:44.000Z | 2021-12-14T02:39:44.000Z | #include "envoy/stats/stats_macros.h"
#include "source/common/quic/codec_impl.h"
#include "source/common/quic/envoy_quic_alarm_factory.h"
#include "source/common/quic/envoy_quic_client_connection.h"
#include "source/common/quic/envoy_quic_client_session.h"
#include "source/common/quic/envoy_quic_connection_helper.h"
#... | 49.717033 | 100 | 0.739957 | CrazyHZM |
0f08483318fedd88c56ff2394f5f3ffbb946478b | 3,705 | hpp | C++ | src/ConfigParser.hpp | krenzland/FreeSurfaceLBM | 5619edcf318623c3a4feac478db66663687bca94 | [
"MIT"
] | 8 | 2017-12-12T19:39:29.000Z | 2022-02-03T13:37:53.000Z | src/ConfigParser.hpp | krenzland/FreeSurfaceLBM | 5619edcf318623c3a4feac478db66663687bca94 | [
"MIT"
] | 1 | 2020-07-23T13:51:06.000Z | 2020-07-23T20:16:56.000Z | src/ConfigParser.hpp | krenzland/FreeSurfaceLBM | 5619edcf318623c3a4feac478db66663687bca94 | [
"MIT"
] | 3 | 2019-05-09T07:50:48.000Z | 2020-11-05T12:28:43.000Z | #ifndef CFD_LAB_CONFIGPARSER_HPP
#define CFD_LAB_CONFIGPARSER_HPP
#include "LBDefinitions.hpp"
#include <fstream>
#include <iomanip>
#include <iostream>
#include <regex>
#include <sstream>
#include <string>
#include <unordered_map>
class ConfigParser {
using rawConfig_t = std::unordered_map<std::string, std::stri... | 36.323529 | 99 | 0.516329 | krenzland |
0f08bf4b26e6aed5cfe79fea4100aa54f7ef2714 | 231,954 | cpp | C++ | groups/bdl/bdlmt/bdlmt_eventscheduler.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | groups/bdl/bdlmt/bdlmt_eventscheduler.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | groups/bdl/bdlmt/bdlmt_eventscheduler.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | // bdlmt_eventscheduler.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | 37.65487 | 79 | 0.500293 | eddiepierce |
0f0a265c4bdbca61a0fe716ecc13410adb7a5898 | 2,377 | cpp | C++ | Core/src/Core/Core.cpp | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | Core/src/Core/Core.cpp | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | Core/src/Core/Core.cpp | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | #include <Core/Core.h>
namespace Stardust::Core {
Component::~Component()
{
}
void Component::Init()
{
}
void Component::Update()
{
}
void Component::Draw()
{
}
Scene::Scene()
{
name = "Scene";
objects.clear();
}
Scene::Scene(std::string file)
{
objects.clear();
loadScene(file);
}
Sce... | 16.170068 | 71 | 0.605385 | MotoLegacy |
0f0a2f48f9a0dad63f50fd9c8f415e1aa9c06bcf | 2,865 | cpp | C++ | aws-cpp-sdk-sagemaker/source/model/SubscribedWorkteam.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-sagemaker/source/model/SubscribedWorkteam.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-sagemaker/source/model/SubscribedWorkteam.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 22.038462 | 78 | 0.746248 | curiousjgeorge |
0f0eb501f9dd1212f00c08760a24283a14dd881e | 5,185 | hpp | C++ | Contest/src/Messages.hpp | kosiacz3q/MPI_playground | 1abbbf87f40b2077de1d842f26a97f1f94944821 | [
"MIT"
] | null | null | null | Contest/src/Messages.hpp | kosiacz3q/MPI_playground | 1abbbf87f40b2077de1d842f26a97f1f94944821 | [
"MIT"
] | null | null | null | Contest/src/Messages.hpp | kosiacz3q/MPI_playground | 1abbbf87f40b2077de1d842f26a97f1f94944821 | [
"MIT"
] | null | null | null | //
// Created by lucas on 04.06.16.
//
#ifndef CONTEST_MESSAGE_HPP
#define CONTEST_MESSAGE_HPP
#include <vector>
#include <cstddef>
#include <cstdint>
#include <memory>
typedef std::vector<char> Payload;
typedef std::vector<int> LamportClock;
typedef char MessageType;
class Message
{
public:
static void SetLampo... | 22.641921 | 120 | 0.557956 | kosiacz3q |
0f10b7b8fbd1def279be1e7e05059be15972ea65 | 871 | cpp | C++ | src/lib/kdf/kdf2/kdf2.cpp | Wambou/botan | fc1b230be2ef80c8071169e29607992fed114632 | [
"BSD-2-Clause"
] | 16 | 2018-03-27T13:22:23.000Z | 2019-03-04T12:21:12.000Z | src/lib/kdf/kdf2/kdf2.cpp | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 20 | 2020-03-31T21:21:55.000Z | 2020-04-01T18:45:19.000Z | src/lib/kdf/kdf2/kdf2.cpp | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 3 | 2020-04-02T12:52:49.000Z | 2021-07-01T13:29:41.000Z | /*
* KDF2
* (C) 1999-2007 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/kdf2.h>
namespace Botan {
size_t KDF2::kdf(uint8_t key[], size_t key_len,
const uint8_t secret[], size_t secret_len,
const uint8_t salt[], size_t salt_len... | 22.921053 | 70 | 0.601607 | Wambou |
0f10f8e45cb6fce414a5ef4229e4011a14bd750c | 15,227 | cpp | C++ | frameworks/js/camera_napi/src/output/preview_output_napi.cpp | HoangTuan110abn1n/fangyuzhong2016v | dad4dcb03a7e065654a709d1062d3f89645e378c | [
"Apache-2.0"
] | null | null | null | frameworks/js/camera_napi/src/output/preview_output_napi.cpp | HoangTuan110abn1n/fangyuzhong2016v | dad4dcb03a7e065654a709d1062d3f89645e378c | [
"Apache-2.0"
] | null | null | null | frameworks/js/camera_napi/src/output/preview_output_napi.cpp | HoangTuan110abn1n/fangyuzhong2016v | dad4dcb03a7e065654a709d1062d3f89645e378c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 36.515588 | 108 | 0.664806 | HoangTuan110abn1n |
0f114cc9723c5605141b25b9b4af8b8a63792a47 | 5,578 | cpp | C++ | src/gui/src/main_window.cpp | Ruzzyy/anysim | 6bc590056754e7dc89a1078ab4c41823075088d2 | [
"MIT"
] | null | null | null | src/gui/src/main_window.cpp | Ruzzyy/anysim | 6bc590056754e7dc89a1078ab4c41823075088d2 | [
"MIT"
] | null | null | null | src/gui/src/main_window.cpp | Ruzzyy/anysim | 6bc590056754e7dc89a1078ab4c41823075088d2 | [
"MIT"
] | null | null | null | //
// Created by egi on 5/11/19.
//
#include "main_window.h"
#include <QtWidgets>
#include <QCheckBox>
#include <QComboBox>
#include <QSplitter>
#include <QTextDocument>
#include "settings/global_parameters_widget.h"
#include "settings/source_settings_widget.h"
#include "core/sm/simulation_manager.h"
#include "core/... | 27.343137 | 127 | 0.719254 | Ruzzyy |
0f1536054a64a5ee0b79a7dbef6a52e166e124ce | 5,071 | hpp | C++ | include/libtorrent/netlink.hpp | stdjs/libtorrent | 50e118ac6f884e051a2bbca6a52be06cfdb5d9d9 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4,242 | 2015-06-05T14:01:32.000Z | 2022-03-30T10:04:56.000Z | include/libtorrent/netlink.hpp | stdjs/libtorrent | 50e118ac6f884e051a2bbca6a52be06cfdb5d9d9 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4,817 | 2015-06-12T17:19:13.000Z | 2022-03-31T20:41:38.000Z | include/libtorrent/netlink.hpp | stdjs/libtorrent | 50e118ac6f884e051a2bbca6a52be06cfdb5d9d9 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1,232 | 2015-06-14T20:53:11.000Z | 2022-03-30T04:40:10.000Z | /*
Copyright (c) 2016, Steven Siloti
Copyright (c) 2016-2017, Alden Torres
Copyright (c) 2017, 2019, Arvid Norberg
Copyright (c) 2018, Eugene Shalygin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... | 24.857843 | 93 | 0.731808 | stdjs |
0f174313fab1b0b1b32c7dcea8e83c55670345d2 | 2,334 | cpp | C++ | YahooKeyKey-Source-1.1.2528/Frameworks/OpenVanilla/Tests/TestOVFileHelper.cpp | linpc/yKeyKey | 81e05f070c070af65cac21e8da28ca4ff2d58905 | [
"BSD-3-Clause"
] | 31 | 2019-05-28T09:08:09.000Z | 2022-02-21T02:19:21.000Z | YahooKeyKey-Source-1.1.2528/Frameworks/OpenVanilla/Tests/TestOVFileHelper.cpp | mhtxi3d/KeyKey | 24a21491398069317879ba07c95d9b0056806728 | [
"BSD-3-Clause"
] | null | null | null | YahooKeyKey-Source-1.1.2528/Frameworks/OpenVanilla/Tests/TestOVFileHelper.cpp | mhtxi3d/KeyKey | 24a21491398069317879ba07c95d9b0056806728 | [
"BSD-3-Clause"
] | 19 | 2019-04-22T09:56:12.000Z | 2022-02-27T18:38:40.000Z | // [AUTO_HEADER]
#if defined(__APPLE__)
#include <OpenVanilla/OpenVanilla.h>
#else
#include "OpenVanilla.h"
#endif
#include "UnitTest++.h"
#include <fstream>
using namespace OpenVanilla;
TEST(FileHelper)
{
string tmp = OVDirectoryHelper::TempDirectory();
cout << tmp << endl;
// filename... | 23.575758 | 106 | 0.645673 | linpc |
0f1914f62e76c1b360e7491e2cbd21e8eb55b8b4 | 567 | hpp | C++ | extern/shiny/Platforms/Ogre/OgreTextureUnitState.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | 4 | 2020-07-04T06:05:05.000Z | 2022-02-14T22:53:27.000Z | extern/shiny/Platforms/Ogre/OgreTextureUnitState.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | extern/shiny/Platforms/Ogre/OgreTextureUnitState.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | 1 | 2018-10-20T08:17:41.000Z | 2018-10-20T08:17:41.000Z | #ifndef SH_OGRETEXTUREUNITSTATE_H
#define SH_OGRETEXTUREUNITSTATE_H
#include <OgreTextureUnitState.h>
#include "../../Main/Platform.hpp"
namespace sh
{
class OgrePass;
class OgreTextureUnitState : public TextureUnitState
{
public:
OgreTextureUnitState (OgrePass* parent, const std::string& name);
virtual vo... | 20.25 | 111 | 0.77425 | Bodillium |
0f1989ed7675bd9d34ca42f473feb34bf62983bb | 1,237 | cpp | C++ | chain_of_responsibility/chain_of_responsibility.cpp | wangyouming/DesignPatterns | ae3b3934480306bdce4bcbdec92553a688338fc3 | [
"MIT"
] | 1 | 2019-11-12T09:03:17.000Z | 2019-11-12T09:03:17.000Z | chain_of_responsibility/chain_of_responsibility.cpp | wangyouming/design_patterns | ae3b3934480306bdce4bcbdec92553a688338fc3 | [
"MIT"
] | null | null | null | chain_of_responsibility/chain_of_responsibility.cpp | wangyouming/design_patterns | ae3b3934480306bdce4bcbdec92553a688338fc3 | [
"MIT"
] | null | null | null |
#include <iostream> // std::cout std::endl
using std::cout;
using std::endl;
class Handler {
public:
virtual ~Handler() = default;
void set_successor(Handler* successor) noexcept
{
successor_ = successor;
}
virtual void handleRequest()
{
if (successor_) {
succes... | 17.422535 | 58 | 0.536783 | wangyouming |
0f1a956751935fb721992c6375626715a553fe1b | 4,717 | cpp | C++ | tests/units/support.cpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | tests/units/support.cpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | 1 | 2019-06-11T16:57:49.000Z | 2019-06-11T17:10:41.000Z | tests/units/support.cpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2019 Nicola Gigante
//
// 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 righ... | 23.823232 | 80 | 0.624126 | lucageatti |
0f1effca8d486481fa06407848cf94c145db58c9 | 1,760 | cpp | C++ | common/test/testThreadUtils.cpp | s4hts/HTStream | 7dffe3ed890996b3e83676d8a25fbbb3a85b81ff | [
"Apache-2.0"
] | 19 | 2020-06-01T17:25:37.000Z | 2022-03-17T04:54:03.000Z | common/test/testThreadUtils.cpp | ibest/HTStream | b2d7b408de79e643f560214536985e25a7153510 | [
"Apache-2.0"
] | 167 | 2016-07-31T23:34:59.000Z | 2020-05-31T15:07:16.000Z | common/test/testThreadUtils.cpp | ibest/HTStream | b2d7b408de79e643f560214536985e25a7153510 | [
"Apache-2.0"
] | 7 | 2017-06-08T17:10:26.000Z | 2020-04-03T20:54:55.000Z | #include <gtest/gtest.h>
#include "threadutils.h"
#include <functional>
#include <iostream>
#include <numeric>
#include <sstream>
class ThreadTest : public ::testing::Test {
public:
};
TEST_F(ThreadTest, accumulate) {
long max = 100000;
long block_size = 1000;
thread_pool threads;
std::vector<lon... | 25.882353 | 127 | 0.558523 | s4hts |
0f1f3440ef9427f7c4f37744948df077dc369ce0 | 3,680 | cpp | C++ | control/zprint.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 21 | 2017-10-06T05:05:05.000Z | 2022-03-13T15:39:20.000Z | control/zprint.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T00:27:24.000Z | 2017-03-23T00:27:24.000Z | control/zprint.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 4 | 2018-01-09T15:49:58.000Z | 2022-03-13T15:39:27.000Z | /*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@author Mark Gates
@precisions normal z -> s d c
*/
#include "common_magma.h"
#define COMPLEX
/**
Purpose
-------
magma_z... | 23.896104 | 91 | 0.467663 | shengren |
0f1f5b23f179cab1cd4bfe9bab94afd02bc50343 | 1,902 | cpp | C++ | s3d-dpct-h/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | s3d-dpct-h/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | s3d-dpct-h/main.cpp | jchlanda/oneAPI-DirectProgramming | 82a1be635f89b4b2a83e36965a60b19fd71e46b2 | [
"BSD-3-Clause"
] | null | null | null | #define DPCT_USM_LEVEL_NONE
#include <CL/sycl.hpp>
#include <dpct/dpct.hpp>
#include "OptionParser.h"
#include "Utility.h"
using namespace std;
// Forward Declarations
void addBenchmarkSpecOptions(OptionParser &op);
void RunBenchmark(OptionParser &op);
// *************************************************************... | 25.702703 | 95 | 0.547319 | jchlanda |
0f1fc6eba0e06d57170a81279a0c73a48fb966c0 | 13,301 | cxx | C++ | IO/PDAL/vtkPDALReader.cxx | akenmorris/VTK | cf80447580ff48cbdb4a588aaafe1d3397af3791 | [
"BSD-3-Clause"
] | null | null | null | IO/PDAL/vtkPDALReader.cxx | akenmorris/VTK | cf80447580ff48cbdb4a588aaafe1d3397af3791 | [
"BSD-3-Clause"
] | 2 | 2018-05-04T02:00:02.000Z | 2018-05-04T02:15:19.000Z | IO/PDAL/vtkPDALReader.cxx | akenmorris/VTK | cf80447580ff48cbdb4a588aaafe1d3397af3791 | [
"BSD-3-Clause"
] | 1 | 2020-08-18T11:44:39.000Z | 2020-08-18T11:44:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGDALRasterReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softw... | 33.004963 | 96 | 0.604691 | akenmorris |
0f20c571d0970b8f1c2350f4cfb73982bcb7528f | 2,411 | cpp | C++ | Plus vieux projets/2014-12 BomberMan - Objet C++/SOURCES/BomberMan/BomberMan2.cpp | anctilsa/sources | 68e775b521cb0a4b5b87993b0c9afe509dc83aaf | [
"Net-SNMP",
"Xnet"
] | null | null | null | Plus vieux projets/2014-12 BomberMan - Objet C++/SOURCES/BomberMan/BomberMan2.cpp | anctilsa/sources | 68e775b521cb0a4b5b87993b0c9afe509dc83aaf | [
"Net-SNMP",
"Xnet"
] | null | null | null | Plus vieux projets/2014-12 BomberMan - Objet C++/SOURCES/BomberMan/BomberMan2.cpp | anctilsa/sources | 68e775b521cb0a4b5b87993b0c9afe509dc83aaf | [
"Net-SNMP",
"Xnet"
] | null | null | null | /***********************************************************************************************************\
| Program name : BomberMan |
| Creator name : Mike Girard |
| Creation date : 27-11-2014 |
| Description :
\********************************************... | 18.265152 | 109 | 0.555371 | anctilsa |
0f2106193bc9c7a6559e082cb2d0d21b46d7f657 | 4,198 | cpp | C++ | Kernel/Net/NetworkingManagement.cpp | temidosu/serenity | 2ae218302d61b76e82d8083157329342e7afa8c4 | [
"BSD-2-Clause"
] | 1 | 2021-11-26T08:38:02.000Z | 2021-11-26T08:38:02.000Z | Kernel/Net/NetworkingManagement.cpp | sw1tchbl4d3r/serenity | 3c5e07fa1c0c068decc35c5d95795f8392204c93 | [
"BSD-2-Clause"
] | 1 | 2020-06-21T23:22:11.000Z | 2020-06-21T23:22:11.000Z | Kernel/Net/NetworkingManagement.cpp | sw1tchbl4d3r/serenity | 3c5e07fa1c0c068decc35c5d95795f8392204c93 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Singleton.h>
#include <Kernel/Arch/x86/IO.h>
#include <Kernel/Bus/PCI/API.h>
#include <Kernel/CommandLine.h>
#include <Kernel/KString.h>
#include <Kernel/Memory/AnonymousVMObject.h>
#include <Kernel/M... | 34.983333 | 140 | 0.714864 | temidosu |
0f24b4456eb094d0d1bb5ed901fe6ea245ebb066 | 318,058 | cpp | C++ | 3rdparty/OculusSDKv1_3_2/LibOVRKernel/Src/GL/CAPI_GLE.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | 3rdparty/OculusSDKv1_3_2/LibOVRKernel/Src/GL/CAPI_GLE.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | 3rdparty/OculusSDKv1_3_2/LibOVRKernel/Src/GL/CAPI_GLE.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | /************************************************************************************
Filename : CAPI_GLE.cpp
Content : OpenGL Extensions support. Implements a stripped down glew-like
interface with some additional functionality.
Copyright : Copyright 2014-2016 Oculus VR, LLC All Rights... | 39.821961 | 245 | 0.64443 | PlusToolkit |
0f2506aef077a7733aaefa417e4c43dfed4a776f | 3,639 | cpp | C++ | sentient_compiler/src/framework.cpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | sentient_compiler/src/framework.cpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | sentient_compiler/src/framework.cpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | #include "./version.hpp"
#include "./framework.hpp"
#include "./version_output.hpp"
#include <iostream>
#include <filesystem>
#include <boost/program_options/value_semantic.hpp>
namespace popts = boost::program_options;
namespace sentient
{
namespace compiler
{
framework::framework(int argc, char** argv) :
argh... | 32.20354 | 156 | 0.532014 | hyper-level-nerds |
0f2542df914cfbf2cd908dfc674f78fbc30974ff | 4,822 | cpp | C++ | expect/win/bsdtelnet/wsa_strerror.cpp | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | 5 | 2019-06-22T08:11:47.000Z | 2022-03-10T13:11:07.000Z | expect/win/bsdtelnet/wsa_strerror.cpp | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | null | null | null | expect/win/bsdtelnet/wsa_strerror.cpp | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | 3 | 2019-06-22T08:11:48.000Z | 2022-03-10T13:11:08.000Z | #include <windows.h>
#include <winsock.h>
#include <stdio.h>
char *
wsa_strerror(int error)
{
switch (error) {
/*
* Windows Sockets definitions of regular Microsoft C error constants
*/
case WSAEINTR:
return "Winsock call interrupted.";
case WSAEBADF:
return "Bad file in call to Winsock.";
... | 31.51634 | 73 | 0.708005 | crazy-max |
0f25f71a139232b81db2c8e67207d6be8b5c8630 | 2,095 | cpp | C++ | ablateLibrary/finiteVolume/fieldFunctions/densityExtraVariables.cpp | mtmcgurn-buffalo/ablate | 35ee9a30277908775a61d78462ea9724ee631a9b | [
"BSD-3-Clause"
] | null | null | null | ablateLibrary/finiteVolume/fieldFunctions/densityExtraVariables.cpp | mtmcgurn-buffalo/ablate | 35ee9a30277908775a61d78462ea9724ee631a9b | [
"BSD-3-Clause"
] | 8 | 2020-12-28T16:05:56.000Z | 2021-01-12T14:36:22.000Z | ablateLibrary/finiteVolume/fieldFunctions/densityExtraVariables.cpp | mtmcgurn-buffalo/ablate | 35ee9a30277908775a61d78462ea9724ee631a9b | [
"BSD-3-Clause"
] | 1 | 2020-12-22T14:16:59.000Z | 2020-12-22T14:16:59.000Z | #include "densityExtraVariables.hpp"
#include "finiteVolume/compressibleFlowFields.hpp"
#include "finiteVolume/processes/flowProcess.hpp"
#include "mathFunctions/functionPointer.hpp"
ablate::finiteVolume::fieldFunctions::DensityExtraVariables::DensityExtraVariables(std::shared_ptr<ablate::finiteVolume::fieldFunctions:... | 61.617647 | 192 | 0.732697 | mtmcgurn-buffalo |
0f2753c5af648379da799cd3a2008462b6216223 | 739 | cpp | C++ | uri-online-judge/paradigms/1372.cpp | marcuspsb/problem-solving | 22f70259bb3202c8a2259aa3e4af2470103bb522 | [
"MIT"
] | null | null | null | uri-online-judge/paradigms/1372.cpp | marcuspsb/problem-solving | 22f70259bb3202c8a2259aa3e4af2470103bb522 | [
"MIT"
] | null | null | null | uri-online-judge/paradigms/1372.cpp | marcuspsb/problem-solving | 22f70259bb3202c8a2259aa3e4af2470103bb522 | [
"MIT"
] | null | null | null | // https://www.urionlinejudge.com.br/judge/pt/problems/view/1372
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = int(a); i < int(b); i++)
#define MAXN 100005
int N, M;
int v1[MAXN], v2[MAXN];
int lim;
int pd[MAXN];
int *vet;
int solve(int a) {
if (a >= lim) return 0;
if (pd[a] !=... | 19.447368 | 64 | 0.50203 | marcuspsb |
0f29dbe4c8470ce23891f3b0bac6326460db447e | 1,743 | hpp | C++ | src/core/block.hpp | mr-pandabear/bamboo | 568ad3ce4303be0ba963e3bdfbd644b9c04fe7f7 | [
"MIT"
] | 1 | 2022-01-10T12:25:25.000Z | 2022-01-10T12:25:25.000Z | src/core/block.hpp | mr-pandabear/bamboo | 568ad3ce4303be0ba963e3bdfbd644b9c04fe7f7 | [
"MIT"
] | 29 | 2022-01-08T18:31:46.000Z | 2022-03-04T21:59:34.000Z | src/core/block.hpp | mr-pandabear/bamboo | 568ad3ce4303be0ba963e3bdfbd644b9c04fe7f7 | [
"MIT"
] | 3 | 2022-01-10T19:31:05.000Z | 2022-02-05T21:03:02.000Z | #pragma once
#include <vector>
#include <map>
#include "transaction.hpp"
#include "constants.hpp"
#include "common.hpp"
#include "crypto.hpp"
#include "helpers.hpp"
#include "merkle_tree.hpp"
using namespace std;
struct BlockHeader {
uint32_t id;
uint64_t timestamp;
uint32_t difficulty;
uint32_t numTr... | 27.234375 | 70 | 0.662077 | mr-pandabear |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.