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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33417393672a3e71dca1c67200d26f6f5b120408 | 7,788 | cc | C++ | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | null | null | null | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | 8 | 2020-10-02T20:02:44.000Z | 2022-01-19T15:41:05.000Z | MELA/src/MELANCSpline_1D_fast.cc | mostafa1993/JHUGenMELA | a28f39043d98319f1f27493cf899a13646221eda | [
"Apache-2.0"
] | 11 | 2020-10-07T17:15:30.000Z | 2022-03-19T10:41:52.000Z | #include "MELANCSpline_1D_fast.h"
#include <cmath>
#include "TMath.h"
#include "Riostream.h"
#include "RooAbsReal.h"
using namespace TMath;
using namespace RooFit;
using namespace std;
using namespace TNumericUtil;
ClassImp(MELANCSpline_1D_fast)
MELANCSpline_1D_fast::MELANCSpline_1D_fast() :
MELANCSplineCore()... | 34.157895 | 204 | 0.681947 | mostafa1993 |
334373b4db55f6022451cb91b33ee31d50e70b6e | 5,586 | cpp | C++ | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_index_queue_unique_index.cpp | surendra210/iceoryx | f964c2435f65585784b2d77af0ce39f88670fb36 | [
"Apache-2.0"
] | 1 | 2020-04-06T04:56:24.000Z | 2020-04-06T04:56:24.000Z | // Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// Unless required... | 26.102804 | 86 | 0.712137 | surendra210 |
334500b5c95f180949beb4ad0514e693500d552b | 5,210 | hh | C++ | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 887 | 2020-06-08T16:10:28.000Z | 2022-03-27T21:55:43.000Z | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 150 | 2020-06-09T10:43:15.000Z | 2022-03-30T02:48:39.000Z | source/neuropod/multiprocess/mq/ipc_message_queue.hh | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 70 | 2020-06-08T18:43:12.000Z | 2022-03-18T20:37:51.000Z | /* Copyright (c) 2020 UATC, 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, software
d... | 33.612903 | 107 | 0.750864 | qiyanz |
334701b8bda119ec30e0aa624ee8a57e77ca526a | 25,448 | cpp | C++ | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/tsNames.cpp | ASTRO-Strobel/tsduck | f1da3d49df35b3d9740fb2c8031c92d0f261829a | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 35.591608 | 167 | 0.562009 | ASTRO-Strobel |
3348ba349334df652784ce461727725f95bf804c | 5,636 | cc | C++ | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | 1 | 2022-03-22T15:16:56.000Z | 2022-03-22T15:16:56.000Z | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | null | null | null | tpccbench/src/randomgenerator.cc | mkatsa/PENVMTool | c63de91036cd84d36cd8ac54f2033ea141a292dc | [
"Apache-2.0"
] | null | null | null | #include "randomgenerator.h"
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include "assert.h"
namespace tpcc
{
NURandC NURandC::makeRandom(RandomGenerator *generator)
{
NURandC c;
c.c_last_ = generator->number(0, 255);
c.c_id_ = generator->number(0, 1023)... | 24.719298 | 99 | 0.599006 | mkatsa |
334b46165bd882a4a1837fc0dc4dcb4bf2cfeae8 | 3,782 | hpp | C++ | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | src/HF_pure.hpp | ahmadadam96/Hackflight | a733930e10aeb28085367c63a74d2161935f3caf | [
"MIT"
] | null | null | null | /*
Core Hackflight class
Copyright (c) 2021 Simon D. Levy
MIT License
*/
#pragma once
#include "HF_sensor.hpp"
#include "HF_board.hpp"
#include "HF_pidtask.hpp"
#include "HF_pidcontroller.hpp"
#include "HF_receiver.hpp"
#include "HF_mixer.hpp"
#include "HF_state.hpp"
#include "HF_update_scheduler.hpp"
na... | 30.5 | 99 | 0.52459 | ahmadadam96 |
334c89eff71929f2cb27bc6978dfc403e26e8198 | 4,210 | cpp | C++ | ZibenEngine/Source/Renderer/VertexArray.cpp | NavkaGleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | 3 | 2021-06-10T05:59:09.000Z | 2021-06-10T18:29:02.000Z | ZibenEngine/Source/Renderer/VertexArray.cpp | navkagleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | null | null | null | ZibenEngine/Source/Renderer/VertexArray.cpp | navkagleb/Ziben | 6729a74a67aea8e780e958438642895e27043745 | [
"MIT"
] | null | null | null | #include "VertexArray.hpp"
namespace Ziben {
Ref<VertexArray> VertexArray::Create() {
return CreateRef<VertexArray>();
}
void VertexArray::Bind(const Ref<VertexArray>& vertexArray) {
ZIBEN_PROFILE_FUNCTION();
glBindVertexArray(vertexArray->m_Handle);
}
void VertexArray::... | 32.890625 | 102 | 0.517102 | NavkaGleb |
334ca67864c0900db9476eea85254248cb258a68 | 417 | cpp | C++ | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem0766.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | class Solution {
public:
bool isToeplitzMatrix(vector<vector<int>>& matrix) {
int m = matrix.size(), n = matrix[0].size();
for (int i = 1; i < m; ++i)
{
for (int j = 1; j < n; ++j)
{
if (matrix[i][j] != matrix[i - 1][j - 1])
{
... | 23.166667 | 57 | 0.357314 | 1050669722 |
334e7d49f8db548a51cb913417dbf677b37471b2 | 2,718 | cc | C++ | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | src/atlas/grid/detail/pl/classic_gaussian/N400.cc | mlange05/atlas | d8198435a9e39fbf67bfc467fe734203414af608 | [
"Apache-2.0"
] | null | null | null | // TL799
#include "N.h"
namespace atlas {
namespace grid {
namespace detail {
namespace pl {
namespace classic_gaussian {
DEFINE_POINTS_PER_LATITUDE(
400,
LIST( 18, 25, 32, 40, 45, 50, 60, 60, 72, 72, 75, 81, 90, 96, 100, 108, 120, 120, 125, 128, 144, 144, 150, 160, 160,
180, 180, 192, 192, 200, 20... | 67.95 | 120 | 0.598602 | mlange05 |
33506923fe1a77601d513acc3218f566d177d33a | 19,674 | hpp | C++ | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | nano/node/lmdb.hpp | grendias/NANO-1 | 98d04d2579214ac5215c01488cdba5c2b3f76ea7 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <boost/filesystem.hpp>
#include <boost/optional.hpp>
#include <lmdb/libraries/liblmdb/lmdb.h>
#include <nano/lib/config.hpp>
#include <nano/lib/numbers.hpp>
#include <nano/node/logging.hpp>
#include <nano/secure/blockstore.hpp>
#include <nano/secure/common.hpp>
#include <thread>
namespace nano... | 45.753488 | 174 | 0.742045 | grendias |
3353afd776b2d103053be541684e276474234714 | 1,481 | hpp | C++ | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | interface/libraymarching_interfaceexception.hpp | dabastynator/LibRayMarching | 190c3f0f649896c04ba6ea00ebf13edbd4754c84 | [
"MIT"
] | null | null | null | /*++
Copyright (C) 2019 PrimeDevelopers
All rights reserved.
This file has been generated by the Automatic Component Toolkit (ACT) version 1.6.0.
Abstract: This is an autogenerated C++ Header file with the basic internal
exception type in order to allow an easy use of Ray Marching Library
Interface version: 2.0.0... | 24.278689 | 123 | 0.647535 | dabastynator |
3355cea5478a9e036a3b11c83108daf1aec61d36 | 16,910 | cpp | C++ | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/resultsviewer/TableView.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2022-03-20T13:19:42.000Z | 2022-03-20T13:19:42.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... | 39.053118 | 149 | 0.680662 | OpenStudioThailand |
33580d980d54fcab81497d57da9d64051c6a83fb | 6,813 | cpp | C++ | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | 1 | 2017-09-29T18:55:18.000Z | 2017-09-29T18:55:18.000Z | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | null | null | null | boxModel.cpp | subhajit1412/cs675-iitb | 91bd8d9338005117ce8804a32d413ea2342ad48c | [
"MIT"
] | null | null | null | #include<iostream>
class box_t
{
public:
GLfloat x;
GLfloat y;
GLfloat z;
GLfloat tx;
GLfloat ty;
GLfloat tz;
GLfloat yl;
int theta;
GLuint tex12;
box_t(GLfloat width, GLfloat height, GLfloat depth, GLfloat thickness)
{
x=width;
y=height;
z=-depth;
tx=thickness;
ty=thickness;
tz=-thickness;
... | 25.327138 | 138 | 0.659621 | subhajit1412 |
335b0bce896b8532508fdb932ef53baa80455ac1 | 12,235 | cpp | C++ | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/filter/particlefilter.cpp | alexoterno/turtlebot2_with_head | ac714f77379dd0f47ddb76d83896fdabee269a03 | [
"MIT"
] | null | null | null | // Copyright (C) 2003 Klaas Gadeyne <first dot last at gmail dot com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any l... | 31.053299 | 126 | 0.673886 | alexoterno |
335ba765ebc4cbca9627f4f5183e65c281a038c3 | 308 | cpp | C++ | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Masina/Dacia.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | #include "Dacia.h"
string Dacia::GetName()
{
return "Dacia";
}
int Dacia::getCapacitate()
{
return capacitate;
}
string Dacia::getCuloare()
{
return culoare;
}
void Dacia::setCapacitate(int c)
{
this->capacitate = c;
}
void Dacia::setCuloare(string color)
{
this->culoare = color;
}
| 11.407407 | 36 | 0.649351 | stefanaciudin |
335d52e2fddea25865a41314668a64fba42ff76b | 20,904 | cpp | C++ | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | null | null | null | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | null | null | null | src/maskgeneration.cpp | 3d-pli/PLImig | db4075ddd0f6f8d82b3f61f645002c788fa9a46c | [
"MIT"
] | 1 | 2022-02-13T03:59:40.000Z | 2022-02-13T03:59:40.000Z | /*
MIT License
Copyright (c) 2021 Forschungszentrum Jülich / Jan André Reuter.
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 limitati... | 45.641921 | 186 | 0.615098 | 3d-pli |
335ea74d325299934fac2d0bc5ad9f85dc464677 | 27,950 | cpp | C++ | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 27 | 2018-08-01T08:53:46.000Z | 2021-12-16T11:58:35.000Z | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 4 | 2019-04-12T10:34:13.000Z | 2022-03-26T06:10:08.000Z | src/BundleAdjustment2Viewes.cpp | cashiwamochi/SimpleBundleAdjustment | 2b4e5249835c5a798fc1ddd03f101e8579d70213 | [
"MIT"
] | 8 | 2019-05-06T08:54:57.000Z | 2021-04-11T21:48:41.000Z | #include "BundleAdjustment2Viewes.hpp"
#include <cmath>
#include <random>
namespace BA2Viewes {
Optimizer::Optimizer(const PoseAndStructure _pose_and_structure, const BAMode _mode)
: m_pose_and_structure(_pose_and_structure), me_mode(_mode)
{
mb_verbose = false;
mpm_images = std::make_pair(cv::noArray(... | 44.506369 | 173 | 0.607549 | cashiwamochi |
33646ccc21fa4e3063f45dde7e41b10ec981ac77 | 12,868 | cpp | C++ | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | code/steelth_renderer_opengl_bake.cpp | jessecalvert/steelth | 6f1e4db5bdfb5b519708aace7c133dadc71dd540 | [
"MIT"
] | null | null | null | /*@H
* File: steelth_renderer_opengl_bake.cpp
* Author: Jesse Calvert
* Created: April 23, 2019, 16:15
* Last modified: April 24, 2019, 20:46
*/
internal u32
HashSurfel(opengl_baked_data *BakedData, v3i PositionIndex, u32 PrincipalNormal)
{
u32 HashValue = 2*(u32)(PositionIndex.x) +
3*(u32)(PositionIndex.y) +
7*(... | 30.932692 | 105 | 0.711532 | jessecalvert |
336486c02e42eb1da9c8bc33c1c3874ae9270cd1 | 1,626 | cpp | C++ | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 168 | 2015-04-15T09:17:44.000Z | 2022-03-29T13:41:06.000Z | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 1 | 2020-04-23T16:55:45.000Z | 2020-04-23T16:56:07.000Z | 043_ofShader/src/ofApp.cpp | KangWeon/openFrameworksTutorialSeries | de396349bf895f7bc8205deeb25feb155d1e3bcc | [
"MIT"
] | 41 | 2015-04-26T15:48:41.000Z | 2022-03-16T03:44:03.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
shader.load("shader");
}
//--------------------------------------------------------------
void ofApp::update(){
}
//--------------------------------------------------------------
void ofApp::draw(){
shader.b... | 21.972973 | 64 | 0.292743 | KangWeon |
33649d5d61f6bab4541246776ac60d87ebc6bfe7 | 35,658 | cpp | C++ | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | src/cpp/fastdds/publisher/DataWriterImpl.cpp | mspiegel/Fast-RTPS | 82fd67e58a5a18f22c19209936b15356c063d3aa | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 32.564384 | 131 | 0.656318 | mspiegel |
33656921ce406ddcc199e4e400ea5e37f99da666 | 15,470 | hpp | C++ | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/experimental/shortrate/generalizedhullwhite.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2010 SunTrust Bank
Copyright (C) 2010, 2014 Cavit Hafizoglu
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is fr... | 39.065657 | 93 | 0.576794 | SoftwareIngenieur |
33670eaa57ac44f5bef7db0cf63c2faf9970507f | 2,406 | cpp | C++ | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 83 | 2019-09-18T16:14:43.000Z | 2022-03-22T05:56:43.000Z | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 7 | 2019-10-18T00:44:19.000Z | 2021-02-09T17:22:15.000Z | external/glm/test/ext/ext_vector_ulp.cpp | diabl0-NEMESIS/enigma-android | 6768df01003254245de660a0b9593f54a113e49d | [
"MIT"
] | 7 | 2019-10-11T21:27:42.000Z | 2021-01-14T16:22:49.000Z | #include <glm/ext/vector_ulp.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/vector_float4.hpp>
#include <glm/ext/vector_double4.hpp>
#include <glm/ext/vector_int4.hpp>
static int test_ulp_float_dist()
{
int Error = 0;
glm::vec4 const A(1.0f);
glm::vec4 const B = glm::next_float(A);
... | 24.06 | 53 | 0.577722 | diabl0-NEMESIS |
3368534221b65ce82858b4f4faad2883b8f012fb | 45,634 | cpp | C++ | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | FindSecret/Classes/Native/Il2CppCompilerCalculateTypeValues_12Table.cpp | GodIsWord/NewFindSecret | 4f98f316d29936380f9665d6a6d89962d9ee5478 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "Mono_Security... | 54.455847 | 202 | 0.853048 | GodIsWord |
336a235d27b53c1358cbb327e397ba3556f57d8c | 1,411 | cpp | C++ | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/util/readwritefile.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2020 The Beans Core developers
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <fs.h>
#include <limits>
#include <stdio.h>
#include <string>
#include <ut... | 29.395833 | 119 | 0.610206 | BakedInside |
3375a6cd410e3ef974d9abdd2c23853a62874e1b | 26,436 | hpp | C++ | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | 2 | 2019-02-24T09:47:04.000Z | 2020-08-06T02:35:03.000Z | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | null | null | null | Container/Sequence/forward_list.hpp | chestnutme/MiniSTL | d8b8b5f51d13623490aceb58f3fdb623d38d8e24 | [
"MIT"
] | null | null | null | #pragma once
#include <initializer_list>
#include <cstdint>
#include <utility>
#include "Allocator/memory.hpp"
#include "Traits/type_traits.hpp"
#include "Iterator/iterator.hpp"
namespace MiniSTL {
struct forward_list_node_base {
forward_list_node_base* next;
};
inline forward_list_node_base*
__make_link(forw... | 28.986842 | 91 | 0.594795 | chestnutme |
3376efb5693ae250d93c67378b963845078e2e73 | 2,407 | cpp | C++ | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 98 | 2015-01-13T16:23:23.000Z | 2022-02-14T21:51:07.000Z | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 1 | 2016-06-30T22:07:54.000Z | 2016-06-30T22:07:54.000Z | JanuaEngine/JanuaEngine/Query.cpp | gigc/Janua | cbcc8ad0e9501e1faef5b37a964769970aa3d236 | [
"MIT",
"Unlicense"
] | 13 | 2015-08-26T11:19:08.000Z | 2021-07-12T03:41:50.000Z | #include "StdAfx.h"
#include "Query.h"
using std::logic_error;
Query::Query(const PVSDatabase& pvsDatabase) : m_pvsDatabase(pvsDatabase)
{
}
const QueryResult Query::getPotentiallyVisibleObjectsFromRegion( const Vector3f position )
{
//TODO: Optimize this.
vector<shared_ptr<Cell>> cells;
const Vector3f voxelSi... | 25.606383 | 90 | 0.678438 | gigc |
337b5c28812214a7f1f360c6780e64aacda08478 | 534 | hpp | C++ | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/TensorObservationInterface.hpp | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "ObservationInterface.hpp"
namespace griddly {
class TensorObservationInterface : public ObservationInterface<uint8_t> {
public:
virtual ~TensorObservationInterface() = default;
virtual std::vector<uint32_t> getShape() const {
return observationShape_;
}
virtua... | 19.777778 | 73 | 0.745318 | Thaigun |
337c9338ea7d7e7057e4307cc9e32853b49e8dfe | 2,689 | cpp | C++ | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | src/test/fuzz/netbase_dns_lookup.cpp | BakedInside/beanscore | daa9b2ddbfd3305881749bda7f32146738154260 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The Beans Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <netaddress.h>
#include <netbase.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fu... | 37.347222 | 115 | 0.679807 | BakedInside |
337e31563e947fcc2bd6fadea5323da548cff11d | 862 | cpp | C++ | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 124 | 2018-12-25T00:01:18.000Z | 2021-12-26T19:38:43.000Z | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 702 | 2018-12-16T18:07:18.000Z | 2022-03-18T16:52:14.000Z | src/veil/ringct/temprecipient.cpp | PeterL73/veil | 2825d735275cd592b1fd5207b0dfdca2d4e3e78c | [
"MIT"
] | 151 | 2018-12-13T07:33:34.000Z | 2022-01-29T11:35:23.000Z | // Copyright (c) 2017-2019 The Particl Core developers
// Copyright (c) 2018-2019 Veil developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <veil/ringct/temprecipient.h>
bool CTempRecipient::ApplySubFee(CAmount n... | 35.916667 | 106 | 0.663573 | PeterL73 |
338126597488eab1b0b7c1f734d799768a18b796 | 6,939 | cpp | C++ | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 113 | 2018-11-12T03:32:52.000Z | 2022-03-29T13:58:54.000Z | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 3 | 2018-10-19T12:09:57.000Z | 2020-04-22T11:55:54.000Z | src/Open3D/Visualization/Visualizer/ViewTrajectory.cpp | Forest75/Open3D | 61b90a6e06a2c209ad2b9f1c57fbd5f21e879dae | [
"MIT"
] | 27 | 2018-10-16T20:01:18.000Z | 2021-07-26T08:02:20.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 34.695 | 80 | 0.55397 | Forest75 |
338553e158bd719f404d587c0a38468e4fa66775 | 6,517 | cpp | C++ | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 7 | 2020-02-11T15:03:48.000Z | 2022-01-08T04:04:58.000Z | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 28 | 2020-01-24T11:24:43.000Z | 2022-03-03T15:48:10.000Z | src/apps/spout/main.cpp | sgct/sgct | 0a4596ff2ea90c9f0dfbddd7b14f7ecee783baf1 | [
"libpng-2.0"
] | 5 | 2020-02-19T08:26:25.000Z | 2022-01-08T04:05:10.000Z | /*****************************************************************************************
* SGCT *
* Simple Graphics Cluster Toolkit *
* ... | 26.278226 | 90 | 0.582937 | sgct |
338687471381a0b4808315b73141ebda5a4dd174 | 2,246 | cc | C++ | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 23 | 2020-07-12T22:49:10.000Z | 2022-03-15T17:58:22.000Z | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 64 | 2020-07-12T22:27:53.000Z | 2022-01-02T23:10:24.000Z | src/asset/Music.cc | shiromino/shiromino | 10e9bc650417ea05d5990836c64709af3f82ec5e | [
"CC-BY-4.0"
] | 8 | 2020-08-30T04:16:17.000Z | 2021-06-28T17:12:06.000Z | #include "asset/Music.h"
#include <cassert>
#include <iostream>
#include <algorithm>
namespace Shiro {
MusicAssetLoader::MusicAssetLoader(const std::filesystem::path &assetDirectory) :
assetDirectory(assetDirectory) {}
std::unique_ptr<Asset> MusicAssetLoader::create(const std::filesystem::path &location... | 38.724138 | 165 | 0.615761 | shiromino |
3387b193b9ce49610b0d19a83fa3d652af92c459 | 10,446 | cpp | C++ | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | 1 | 2019-04-19T22:56:53.000Z | 2019-04-19T22:56:53.000Z | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | null | null | null | modules/ts/src/ocl_test.cpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 35.530612 | 162 | 0.621673 | lastlegion |
338cbae03ee370b28ab7c2c09f825cc4220289f7 | 4,445 | cpp | C++ | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | 2 | 2019-01-30T13:48:14.000Z | 2021-10-30T16:11:03.000Z | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | null | null | null | e-Paper/src/SPIHandler.cpp | PDA-UR/Dumb-e-Paper | 99aecce5fbcb64d32b7e47809df393e0e2e7fab4 | [
"MIT"
] | 2 | 2018-02-14T12:45:59.000Z | 2021-12-17T20:57:02.000Z | #include "SPIHandler.hpp"
long SPIHandler::spiTime = 0;
long SPIHandler::lastSpiTime = 0;
void SPIHandler::printSpiTime()
{
Serial.print("SPI time: ");
Serial.println(spiTime);
}
void SPIHandler::init()
{
// initialize SPI:
SPI.begin();
//SPI.setClockDivider (SPI_CLOCK_DIV8); //slow the clock do... | 24.832402 | 98 | 0.624522 | PDA-UR |
338ce5de31bfffb5a2b83d6ce3020cd515549cd1 | 2,928 | cc | C++ | orly/data/matrix.cc | orlyatomics/orly | d413f999f51a8e553832dab4e3baa7ca68928840 | [
"Apache-2.0"
] | 69 | 2015-01-06T05:12:57.000Z | 2021-11-06T20:34:10.000Z | orly/data/matrix.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | 5 | 2015-07-09T02:21:50.000Z | 2021-08-13T11:10:26.000Z | orly/data/matrix.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | 15 | 2015-01-23T13:34:05.000Z | 2020-06-15T16:46:50.000Z | /* <orly/data/matrix.cc>
Generates a core-vector file with matrix data
Copyright 2010-2014 OrlyAtomics, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... | 28.427184 | 107 | 0.68306 | orlyatomics |
338dca44d419f5221660f02c955b519a3c009213 | 3,676 | hpp | C++ | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | 1 | 2021-04-26T11:24:02.000Z | 2021-04-26T11:24:02.000Z | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | 1 | 2020-06-09T08:53:07.000Z | 2020-06-16T13:37:15.000Z | shared/src/shared/scene/component_data.hpp | dumheter/wind_simulation | adf731847cb6145a85792a0ebceacc725a3acf9e | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020 Filip Bj�rklund, Christoffer Gustafsson
//
// 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 rig... | 29.174603 | 80 | 0.668662 | dumheter |
338ddeb1324987492a95bc227ed31b88f7b54563 | 709 | hpp | C++ | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | 1 | 2020-06-04T06:56:40.000Z | 2020-06-04T06:56:40.000Z | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | null | null | null | querier/BlockSeriesSet.hpp | Jimx-/tsdb-fork | f92cfa0a998c03b3a2cb4c8e46990de8b47aae15 | [
"Apache-2.0"
] | 1 | 2020-06-04T03:35:58.000Z | 2020-06-04T03:35:58.000Z | #ifndef BLOCKSERIESSET_H
#define BLOCKSERIESSET_H
#include "querier/ChunkSeriesSetInterface.hpp"
#include "querier/SeriesInterface.hpp"
#include "querier/SeriesSetInterface.hpp"
namespace tsdb{
namespace querier{
class BlockSeriesSet: public SeriesSetInterface{
private:
std::shared_ptr<ChunkSeriesSetInte... | 22.870968 | 112 | 0.713681 | Jimx- |
338e609cba03482e791980e3222b6d78880b9209 | 434 | cpp | C++ | software_package/development/test/test_no_deps/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 5 | 2020-10-21T23:35:18.000Z | 2021-02-02T19:44:46.000Z | software_package/development/test/test_states/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | null | null | null | software_package/development/test/test_states/test_states.cpp | scottzach1/Project-Beans | 0c7a257409464d5e44ea7367e439ae0e12fd41f1 | [
"MIT"
] | 1 | 2020-10-26T05:13:21.000Z | 2020-10-26T05:13:21.000Z | #include "state_machine.h"
#include "states.h"
#include "unity.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
}
void test_init_state() {
StateMachine sm;
if (PreLaunchState* initialStateInstance =
dynamic_cast<PreLaunchState*>(sm.currentState)) {
TEST_... | 15.5 | 59 | 0.668203 | scottzach1 |
338ecdfdd427bba421031330983577d638d79406 | 1,706 | cpp | C++ | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | testinc/testinc.cpp | gongluck/cghttp | 19c41972c7a08d910b31b92cff4d4f26bc951197 | [
"MIT"
] | null | null | null | /*
* @Author: gongluck
* @Date: 2020-06-18 11:08:13
* @Last Modified by: gongluck
* @Last Modified time: 2020-06-18 17:30:42
*/
#include <stdio.h>
#include <time.h>
#include <thread>
#include <mutex>
std::mutex g_mutex;
#include "../cghttp.h"
int TESTTIMES = 100;
void test_get()
{
char* body = NULL;
... | 20.554217 | 91 | 0.519343 | gongluck |
338f0b7fdf58b11240ee6d5064d66cd8ba10a7b4 | 2,180 | cpp | C++ | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DroppedItemTorch_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DroppedItemTorch_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------------... | 23.956044 | 131 | 0.724312 | 2bite |
339360375a15d21d28fafa150117ffb04cacb89d | 1,980 | cpp | C++ | dataset/test/modification/1471_all/8/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1471_all/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1471_all/8/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
#include<bits/stdc++.h>
#include <unordered_map>
#include<unordered_set>
using namespace std;
#define _USE_MATH_DEFINES
# define M_PI 3.14159265358979323846
#define ll long long
#define ull unsigned long long
#define ld long double
#define vbe(v) ((v).begin(... | 21.758242 | 76 | 0.506061 | Karina5005 |
3395248f24298b9b46414a6c941ac43168e2b829 | 406 | cpp | C++ | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | 1 | 2015-10-24T10:02:06.000Z | 2015-10-24T10:02:06.000Z | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | null | null | null | 20octombrie/Problema7.cpp | NegreanV/MyAlgorithms | 7dd16d677d537d34280c3858ccf4cbea4b3ddf26 | [
"Apache-2.0"
] | null | null | null | /*Se citeste un numar natural n cu cel mult 2 cifre.
* Afisati pe ecran o figura formata din caracterul * ca in exemplul alaturat pentru n=5. */
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 1; i <= n; i++)
{
for (int j = 1; j <= n * 2 - i; j++)
{
cout << " ";
}
... | 15.615385 | 92 | 0.512315 | NegreanV |
339585efbfcb1d93d63b89f170734beaaee6265c | 79 | cpp | C++ | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | gui/personal_file_gui_qt/controller.cpp | puzzzzzzle/-personal_file_protector | d38eb7e8ea3c957a0bc09c51e3431e1aa453d039 | [
"BSD-3-Clause-Clear"
] | null | null | null | #include "controller.h"
AbstractListModel *dataList = new AbstractListModel();
| 26.333333 | 54 | 0.797468 | puzzzzzzle |
339613466662194a82b854af5ef85dc1ac7a386c | 1,824 | cpp | C++ | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 28 | 2018-05-24T06:35:38.000Z | 2021-11-29T17:18:32.000Z | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 19 | 2019-03-30T23:23:02.000Z | 2021-12-19T09:12:00.000Z | src/Native/libcryptonight/xmrig/common/cpu/BasicCpuInfo_arm.cpp | lurchinms/miningcore-2 | 1ab7d1ce1b3dd3c28e35348e0b701fd5b5e264b1 | [
"MIT"
] | 37 | 2021-03-19T02:56:14.000Z | 2022-03-19T16:42:51.000Z | /* XMRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
* C... | 30.915254 | 100 | 0.702303 | lurchinms |
339645d29f49ab8ac3dfa26919427c6534e1b24b | 540 | cpp | C++ | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | 1 | 2015-04-26T03:55:07.000Z | 2015-04-26T03:55:07.000Z | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | null | null | null | src/UOJ_1038 - (1658937) Accepted.cpp | dreamtocode/URI | 1f402853e8ae43f3761fc3099e7694bff721d5bc | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
double a, b, c=4, d=4.5, e=5, f=2, l=1.5, m;
cin>>a>>b;
cout<<fixed<<setprecision(2);
if(a==1) {
m=b*c;
cout<<"Total: R$ "<<m<<"\n";
}
if(a==2) {
m=b*d;
cout<<"Total: R$ "<<m<<"\n";
}
if(a==3) {
m=b*... | 18 | 48 | 0.375926 | dreamtocode |
339cf550950327bed0f6466ca1bfb5b263ec8194 | 916 | hpp | C++ | include/caffe/layers/func/noise_label_layer.hpp | JEF1056/MetaLearning-Neural-Style | 94ac33cb6a62c4de8ff2aeac3572afd61f1bda5d | [
"MIT"
] | 126 | 2017-09-14T01:53:15.000Z | 2021-03-24T08:57:41.000Z | include/caffe/layers/func/noise_label_layer.hpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 17 | 2017-09-14T09:11:50.000Z | 2019-11-27T08:56:52.000Z | include/caffe/layers/func/noise_label_layer.hpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 34 | 2017-09-14T09:14:21.000Z | 2020-12-16T09:49:40.000Z |
#ifndef CAFFE_NoiseLabel_LAYER_HPP_
#define CAFFE_NoiseLabel_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
class NoiseLabelLayer : public Layer {
public:
explicit NoiseLabelLayer(const LayerParameter& param): Layer(param) ... | 27.757576 | 85 | 0.742358 | JEF1056 |
33a595320de14e89176a2d493257f78c829dddc7 | 2,217 | hpp | C++ | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | null | null | null | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | 4 | 2019-04-19T19:29:57.000Z | 2019-05-31T20:14:45.000Z | utils/UI.hpp | mad-penguins/Antarctica | 2edb237283b652a280c0fb58cdb15e9290fca562 | [
"MIT"
] | 5 | 2019-04-27T10:00:07.000Z | 2019-06-07T14:32:27.000Z | /*!
* \file
* \author Nikita Mironov <nickfrom22nd@gmail.com>
* \brief Some GUI utilities
*
* \section LICENSE
*
* Copyright (c) 2019 Penguins of Madagascar
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to... | 35.758065 | 94 | 0.709517 | mad-penguins |
33a981d9a552d0dbe862e7262d6265a5937ce047 | 13,993 | cpp | C++ | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | 1 | 2019-08-16T21:18:48.000Z | 2019-08-16T21:18:48.000Z | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | null | null | null | src/CodeGen_PTX_Dev.cpp | pstanczyk/Halide | 19360a7462e713aef3287652b4cf6bee3f3a1cea | [
"MIT"
] | null | null | null | #include "CodeGen_PTX_Dev.h"
#include "IROperator.h"
#include "IRPrinter.h"
#include "Debug.h"
#include "Target.h"
#include "LLVM_Headers.h"
// This is declared in NVPTX.h, which is not exported. Ugly, but seems better than
// hardcoding a path to the .h file.
#if WITH_PTX
namespace llvm { ModulePass *createNVVMReflec... | 33.396181 | 120 | 0.631602 | pstanczyk |
33ac04b5394584f969b608712ab5d590012a9ba9 | 41,070 | cpp | C++ | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/thirdparty/cryptopp860/rijndael.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | // rijndael.cpp - modified by Chris Morgan <cmorgan@wpi.edu>
// and Wei Dai from Paulo Baretto's Rijndael implementation
// The original code and all modifications are in the public domain.
// use "cl /EP /P /DCRYPTOPP_GENERATE_X64_MASM rijndael.cpp" to generate MASM code
/*
July 2018: Added support for ARMv7... | 30.764045 | 162 | 0.648113 | cstom4994 |
33acfa33f7b3dff96051567ebb9205afd317288c | 1,851 | cpp | C++ | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 1,306 | 2019-08-08T13:25:24.000Z | 2022-03-31T23:32:28.000Z | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 1,179 | 2019-08-08T07:06:10.000Z | 2022-03-31T12:33:47.000Z | tests/Bluzelle/TWCoinTypeTests.cpp | Raden-Hor/wallet-core | 3e64de57ab70e2ce8ecd78e43cdaf290bf334821 | [
"MIT"
] | 811 | 2019-08-08T13:27:44.000Z | 2022-03-31T21:22:53.000Z | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
//
// This is a GENERATED FILE, changes made here MAY BE LOS... | 52.885714 | 146 | 0.801189 | Raden-Hor |
33b134b32b03ee9ceaf7999429f5bf23d6dff181 | 4,246 | cpp | C++ | src/subcommand/subcommand.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/subcommand/subcommand.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/subcommand/subcommand.cpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | // SPDX-FileCopyrightText: 2014 Erik Garrison
//
// SPDX-License-Identifier: MIT
// subcommand.cpp: subcommand registry system implementation
#include "subcommand.hpp"
#include <algorithm>
#include <utility>
#include <vector>
#include <limits>
namespace vg {
namespace subcommand {
std::ostream& operator<<(std::ost... | 28.306667 | 107 | 0.626472 | lnceballosz |
33b2b3da8a7235edfe503706d8c1a38edbab4596 | 584 | hpp | C++ | src/semantic/semantic-analysis.hpp | noct-lang/noct-bootstrap | 6fd5ef91feda665dc3f1d8f5dca6403512ac44be | [
"0BSD"
] | 1 | 2019-07-01T02:02:40.000Z | 2019-07-01T02:02:40.000Z | src/semantic/semantic-analysis.hpp | noct-lang/noct-bootstrap | 6fd5ef91feda665dc3f1d8f5dca6403512ac44be | [
"0BSD"
] | null | null | null | src/semantic/semantic-analysis.hpp | noct-lang/noct-bootstrap | 6fd5ef91feda665dc3f1d8f5dca6403512ac44be | [
"0BSD"
] | null | null | null | #pragma once
#include "common/defs.hpp"
#include "semantic-pass.hpp"
namespace Noctis
{
struct AstTree;
struct Context;
FWDECL_CLASS_SPTR(QualName);
class AstSemanticAnalysis
{
public:
AstSemanticAnalysis();
void Run(AstTree& tree);
private:
template<typename T>
void RunPass();
void Import(QualN... | 13.581395 | 40 | 0.702055 | noct-lang |
33b4580991344b83b1dc51dccfd718b03bb94626 | 1,378 | cpp | C++ | example/1d_x_external.cpp | pabristow/svg_plot | 59e06b752acc252498e0ddff560b01fb951cb909 | [
"BSL-1.0"
] | 24 | 2016-03-09T03:23:06.000Z | 2021-01-12T14:02:07.000Z | example/1d_x_external.cpp | pabristow/svg_plot | 59e06b752acc252498e0ddff560b01fb951cb909 | [
"BSL-1.0"
] | 11 | 2018-03-05T14:39:48.000Z | 2021-08-22T09:00:33.000Z | example/1d_x_external.cpp | pabristow/svg_plot | 59e06b752acc252498e0ddff560b01fb951cb909 | [
"BSL-1.0"
] | 10 | 2016-11-04T14:36:04.000Z | 2020-07-17T08:12:03.000Z | /*! \file 1d_x_external.cpp
\brief Simple 1D plot from two vectors of containers of type vector<double>.
*/
// Copyright Jacob Voytko 2007
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LIC... | 23.355932 | 78 | 0.686502 | pabristow |
33b4f2e1d32f11ea69a1d584860b533d13e8d455 | 731 | cpp | C++ | Equinox/ModuleMeshManager.cpp | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | null | null | null | Equinox/ModuleMeshManager.cpp | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | null | null | null | Equinox/ModuleMeshManager.cpp | jowie94/EquinoxEngine | 45f5efaa00e35a264bf3537ec3bdfe8b221325bf | [
"MIT"
] | 1 | 2018-10-16T20:12:59.000Z | 2018-10-16T20:12:59.000Z | #include "ModuleMeshManager.h"
#include "MeshComponent.h"
#include <cassert>
ModuleMeshManager::ModuleMeshManager()
{
}
ModuleMeshManager::~ModuleMeshManager()
{
}
bool ModuleMeshManager::CleanUp()
{
LOG("Cleaning meshes and MeshManager");
LOG("%i meshes were loaded", _meshContainer.size());
for (auto meshPair... | 14.918367 | 53 | 0.708618 | jowie94 |
33b95356c6639be3fe57bde7bebcf1b91ff5835d | 595 | hpp | C++ | ColombiaSupremo/Source/DirectMLHelperFunction.hpp | Yoon0423/DirectML-Inference-Module | 3a8bc7ab06c07091345df96f1bc6727bacec9533 | [
"MIT"
] | null | null | null | ColombiaSupremo/Source/DirectMLHelperFunction.hpp | Yoon0423/DirectML-Inference-Module | 3a8bc7ab06c07091345df96f1bc6727bacec9533 | [
"MIT"
] | null | null | null | ColombiaSupremo/Source/DirectMLHelperFunction.hpp | Yoon0423/DirectML-Inference-Module | 3a8bc7ab06c07091345df96f1bc6727bacec9533 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 Yoonsung Kim. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <cstdint>
#include <winrt/base.h>
#include "Tensor.hpp"
#include "d3dx12.h"
namespace colombia_supremo::dml_helper {
winrt::com_ptr<IDMLDevice> CreateDevice(winrt::com_ptr<ID3D12Device> d3D12Device);
... | 24.791667 | 82 | 0.793277 | Yoon0423 |
33ba4f8f81ebf8e7a2723f45f707c69031ba9933 | 5,102 | cpp | C++ | src/ngraph/pass/constant_folding_unsqueeze.cpp | GBuella/ngraph | ec935c0bafc5ba8c6940d9c9dcf45ddeac487513 | [
"Apache-2.0"
] | null | null | null | src/ngraph/pass/constant_folding_unsqueeze.cpp | GBuella/ngraph | ec935c0bafc5ba8c6940d9c9dcf45ddeac487513 | [
"Apache-2.0"
] | null | null | null | src/ngraph/pass/constant_folding_unsqueeze.cpp | GBuella/ngraph | ec935c0bafc5ba8c6940d9c9dcf45ddeac487513 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 43.606838 | 98 | 0.648961 | GBuella |
33ba990277ba23eea0305975eaabc6ae248204ed | 12,136 | hpp | C++ | vendor/sll/include/sll/bsplines_non_uniform.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | 3 | 2022-02-28T08:47:07.000Z | 2022-03-01T10:29:08.000Z | vendor/sll/include/sll/bsplines_non_uniform.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | vendor/sll/include/sll/bsplines_non_uniform.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <cassert>
#include <memory>
#include <vector>
#include <ddc/ddc.hpp>
#include "sll/bspline.hpp"
#include "sll/view.hpp"
/// NonUniformDiscretization specialization of BSplines
template <class Tag, std::size_t D>
class NonUniformBSplines
{
static_assert(D > 0, "Parameter `D... | 28.35514 | 112 | 0.549028 | gyselax |
33bd88a01ccb419f5963ff13a73413ff1a71fc30 | 4,587 | cpp | C++ | tests/variable_ndarray.cpp | kahoooo/cnumpy | 67993216fcb434a78bdb52b09c035ef483a9c0dd | [
"MIT"
] | 1 | 2021-10-05T14:12:32.000Z | 2021-10-05T14:12:32.000Z | tests/variable_ndarray.cpp | kahoooo/cnumpy | 67993216fcb434a78bdb52b09c035ef483a9c0dd | [
"MIT"
] | null | null | null | tests/variable_ndarray.cpp | kahoooo/cnumpy | 67993216fcb434a78bdb52b09c035ef483a9c0dd | [
"MIT"
] | null | null | null | #include <cassert>
#include "cnumpy/ndarray.hpp"
using namespace std;
using namespace cnumpy;
int main() {
// default constructor, one element expected since ndim == 0, destruct immediately
{
ndarray<int> arr;
assert(arr.size() == 1);
assert(&arr() == arr.data());
}
// constru... | 29.593548 | 86 | 0.323523 | kahoooo |
33be33b805d034ffd94f2afaab6aa3c4ef7fa74e | 515 | hpp | C++ | include/pyplot_cpp/Plot.hpp | CalebCintary/pyplot_cpp | de33c3e921229e5efd72a7fc4fdb17212edc9aa9 | [
"MIT"
] | 1 | 2022-03-29T10:52:21.000Z | 2022-03-29T10:52:21.000Z | include/pyplot_cpp/Plot.hpp | CalebCintary/pyplot_cpp | de33c3e921229e5efd72a7fc4fdb17212edc9aa9 | [
"MIT"
] | 1 | 2022-03-20T12:17:11.000Z | 2022-03-20T17:50:12.000Z | include/pyplot_cpp/Plot.hpp | CalebCintary/pyplot_cpp | de33c3e921229e5efd72a7fc4fdb17212edc9aa9 | [
"MIT"
] | 1 | 2022-03-29T19:40:59.000Z | 2022-03-29T19:40:59.000Z | //
// Created by calebcintary on 3/15/22.
//
#ifndef PYPLOT_CPP_PLOT_HPP
#define PYPLOT_CPP_PLOT_HPP
#include "BasePlot.hpp"
namespace pyplot_cpp {
class Plot : public BasePlot {
public:
Plot();
/**
* Creates simple plots with data
* @param _x
* @param _y
... | 16.09375 | 61 | 0.594175 | CalebCintary |
33c13e69c343603384c6b590ad1a90f17c8d12e9 | 191,589 | cc | C++ | deps/rocksdb/rocksdb/db/db_test2.cc | buu700/rocksdb-tmp | 3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7 | [
"MIT"
] | null | null | null | deps/rocksdb/rocksdb/db/db_test2.cc | buu700/rocksdb-tmp | 3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7 | [
"MIT"
] | null | null | null | deps/rocksdb/rocksdb/db/db_test2.cc | buu700/rocksdb-tmp | 3e9e3d8c84c4eb0c3fd7d67e139ad746ab8520d7 | [
"MIT"
] | null | null | null | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 35.42041 | 92 | 0.691496 | buu700 |
33c3d12a4605b93d0c8b327c0a3d3fa95b1968cd | 8,167 | cpp | C++ | samples/sample04/sample04.cpp | grim210/tdr | 5c83829fc82ebc9c8125bfce1f5494f037da9510 | [
"Zlib"
] | null | null | null | samples/sample04/sample04.cpp | grim210/tdr | 5c83829fc82ebc9c8125bfce1f5494f037da9510 | [
"Zlib"
] | null | null | null | samples/sample04/sample04.cpp | grim210/tdr | 5c83829fc82ebc9c8125bfce1f5494f037da9510 | [
"Zlib"
] | null | null | null | #include <fstream>
#include <iostream>
#include <memory>
#include <string>
#include <sstream>
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_access.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <SDL2/SDL.h>
#include <tdrmain.h>
#include <tdrrenderer.h>
... | 27.223333 | 78 | 0.628138 | grim210 |
33c4523b96f7cf5b453da4638a86b9c209da6db5 | 3,115 | cc | C++ | src/ops/matmul.cc | yywing/CTranslate2 | 0459171ee16ca6896633340218d4577845afab64 | [
"MIT"
] | 259 | 2019-10-09T13:14:30.000Z | 2022-03-28T02:54:28.000Z | src/ops/matmul.cc | yywing/CTranslate2 | 0459171ee16ca6896633340218d4577845afab64 | [
"MIT"
] | 197 | 2019-10-10T08:56:29.000Z | 2022-03-31T12:07:04.000Z | src/ops/matmul.cc | yywing/CTranslate2 | 0459171ee16ca6896633340218d4577845afab64 | [
"MIT"
] | 69 | 2019-10-09T13:31:10.000Z | 2022-03-09T11:15:08.000Z | #include "ctranslate2/ops/matmul.h"
#include "dispatch.h"
namespace ctranslate2 {
namespace ops {
MatMul::MatMul(bool trans_a, bool trans_b, float alpha)
: _trans_a(trans_a)
, _trans_b(trans_b)
, _alpha(alpha) {
}
void MatMul::operator()(const StorageView& a, const StorageView& b, St... | 30.841584 | 97 | 0.475441 | yywing |
33cb3a70c6b166ff1489d826ea262e95350be912 | 15,472 | c++ | C++ | src/extern/inventor/apps/tools/ivnorm/Faces.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/inventor/apps/tools/ivnorm/Faces.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/inventor/apps/tools/ivnorm/Faces.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | 20.795699 | 77 | 0.579046 | OpenXIP |
33ccbc62111db3125ab7d8fb2cf5a1137719ee6d | 5,530 | cpp | C++ | src/CoLaParameterWriter.cpp | diersma/sick_visionary_cpp_shared | f86e647886fb1199a2ed063fcf128ed78c6651db | [
"Apache-2.0"
] | null | null | null | src/CoLaParameterWriter.cpp | diersma/sick_visionary_cpp_shared | f86e647886fb1199a2ed063fcf128ed78c6651db | [
"Apache-2.0"
] | null | null | null | src/CoLaParameterWriter.cpp | diersma/sick_visionary_cpp_shared | f86e647886fb1199a2ed063fcf128ed78c6651db | [
"Apache-2.0"
] | null | null | null | //
// Copyright note: Redistribution and use in source, with or without modification, are permitted.
//
// Created: October 2018
//
// SICK AG, Waldkirch
// email: TechSupport0905@sick.de
#include "CoLaParameterWriter.h"
#include "MD5.h"
#include "VisionaryEndian.h"
namespace visionary
{
CoLaPara... | 29.731183 | 141 | 0.726944 | diersma |
33d075de530a093dffd03561ad9ddeafd8c8c007 | 487 | hpp | C++ | test/test_vector/intf_xcvector_d/xcvector_d.hpp | skrzj-dev/libxccc | 621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2 | [
"MIT"
] | null | null | null | test/test_vector/intf_xcvector_d/xcvector_d.hpp | skrzj-dev/libxccc | 621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2 | [
"MIT"
] | 10 | 2020-02-19T19:41:48.000Z | 2020-03-08T22:08:35.000Z | test/test_vector/intf_xcvector_d/xcvector_d.hpp | skrzj-dev/libxccc | 621ce71dcc0ad8fb7a13460aeb3dc250188fb5d2 | [
"MIT"
] | null | null | null | /*
* Copyright block:
*
* Source file of libxccc project
*
* Copyright (c) 2019 Jakub Skrzyniarz, skrzj-dev@protonmail.com
*
* Licensed under: MIT license; See the file "LICENSE" of libxccc project for more information.
*
* Copyright block: end
*/
#ifndef _XCC_TEST_TPL_VECTOR___CSEQ_HPP_
#define _XCC_TEST_TP... | 20.291667 | 95 | 0.765914 | skrzj-dev |
33d2c7590ec73707d7dee983302c086d137bf682 | 18,448 | cpp | C++ | Source/AllProjects/Utilities/CIDResEd/CIDResEd_MenuData.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/Utilities/CIDResEd/CIDResEd_MenuData.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/Utilities/CIDResEd/CIDResEd_MenuData.cpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDResEd_MenuData.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/26/2010
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensou... | 29.28254 | 99 | 0.535614 | MarkStega |
33d6568c9c007b8a4874951bcef8560b02d982bf | 4,230 | cpp | C++ | lib/fuzzer/FuzzerIO.cpp | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | null | null | null | lib/fuzzer/FuzzerIO.cpp | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | null | null | null | lib/fuzzer/FuzzerIO.cpp | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | 3 | 2021-11-28T11:21:54.000Z | 2022-03-13T11:10:01.000Z | //===- FuzzerIO.cpp - IO utils. -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 28.013245 | 80 | 0.60922 | remote-android |
33d7dd879cf0042ce2eb234c7f38e828de1fce7e | 1,287 | cpp | C++ | src/main/cpp/platform-wrapper-tests/TestBRAMMasked.cpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | 87 | 2015-09-17T21:22:40.000Z | 2022-03-11T08:06:53.000Z | src/main/cpp/platform-wrapper-tests/TestBRAMMasked.cpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | 4 | 2016-03-04T02:10:21.000Z | 2021-01-08T21:48:58.000Z | src/main/cpp/platform-wrapper-tests/TestBRAMMasked.cpp | DM-PRO-17-A/fpga-tidbits | 017226cb8d56353454e6a84e9c2dfda176ca4865 | [
"BSD-2-Clause"
] | 26 | 2015-11-16T05:44:49.000Z | 2021-04-07T07:50:42.000Z | #include <iostream>
#include "platform.h"
#include "TestBRAMMasked.hpp"
#include <string>
using namespace std;
int main() {
WrapperRegDriver * platform = initPlatform();
TestBRAMMasked t(platform);
cout << "Signature: " << hex << t.get_signature() << dec << endl;
string cmd;
unsigned int addr, dat, write... | 27.382979 | 82 | 0.596737 | DM-PRO-17-A |
33e0933d389414c6edf3ddb1169092262e464a0f | 4,577 | cpp | C++ | test/vector3_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | 3 | 2021-10-16T16:22:52.000Z | 2022-02-07T21:41:34.000Z | test/vector3_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | 2 | 2021-10-17T10:25:35.000Z | 2022-01-30T18:32:19.000Z | test/vector3_test.cpp | bluelightning32/walnut | c259e62dad5a22b95978e28afe18ebe230849cc6 | [
"MIT"
] | null | null | null | #include "walnut/vector3.h"
#include "gtest/gtest.h"
#include "walnut/point3.h"
namespace walnut {
TEST(Vector3, IsSameDir) {
Vector3 v1a(0, 0, 1);
Vector3 v1b(0, 0, 2);
Vector3 v2a(1, 0, 0);
Vector3 v2b(10, 0, 0);
EXPECT_TRUE(v1a.IsSameDir(v1b));
EXPECT_TRUE(v1b.IsSameDir(v1a));
EXPECT_FALSE(v1a.IsSa... | 26.766082 | 79 | 0.694341 | bluelightning32 |
33e1207e4732c3afbd10abd6bc9be226d1d8978a | 5,719 | cpp | C++ | moveit_ros/planning/planning_components_tools/src/evaluate_collision_checking_speed.cpp | lilustga/moveit2 | 036454faf63292c3a273d0dc91f865cfdaf442a8 | [
"BSD-3-Clause"
] | 1 | 2021-04-26T00:46:04.000Z | 2021-04-26T00:46:04.000Z | moveit_ros/planning/planning_components_tools/src/evaluate_collision_checking_speed.cpp | lilustga/moveit2 | 036454faf63292c3a273d0dc91f865cfdaf442a8 | [
"BSD-3-Clause"
] | null | null | null | moveit_ros/planning/planning_components_tools/src/evaluate_collision_checking_speed.cpp | lilustga/moveit2 | 036454faf63292c3a273d0dc91f865cfdaf442a8 | [
"BSD-3-Clause"
] | 1 | 2020-07-21T19:17:47.000Z | 2020-07-21T19:17:47.000Z | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | 40.274648 | 120 | 0.668299 | lilustga |
33e346ac3c3e7d077487530e43fe736c9cb58580 | 24,802 | hpp | C++ | glfw3_app/rx_gui_emu/RX/CALC_app/calc_gui.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | 9 | 2015-09-22T21:36:57.000Z | 2021-04-01T09:16:53.000Z | glfw3_app/rx_gui_emu/RX/CALC_app/calc_gui.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | null | null | null | glfw3_app/rx_gui_emu/RX/CALC_app/calc_gui.hpp | hirakuni45/glfw3_app | d9ceeef6d398229fda4849afe27f8b48d1597fcf | [
"BSD-3-Clause"
] | 2 | 2019-02-21T04:22:13.000Z | 2021-03-02T17:24:32.000Z | #pragma once
//=====================================================================//
/*! @file
@brief GUI 関数電卓・クラス @n
RX65N Envision Kit @n
RX72N Envision Kit @n
calc_gui
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2020 Kunihito Hiramatsu @n
Released under the MIT license @n
h... | 26.497863 | 123 | 0.557576 | hirakuni45 |
33e51175a328ccd7a1fc4e2653f84464ca0b11e5 | 495 | cpp | C++ | src/events/MyStopImmCmd.cpp | LinuxDroneLab/MyDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | 2 | 2021-05-31T09:46:39.000Z | 2022-02-17T12:33:43.000Z | src/events/MyStopImmCmd.cpp | LinuxDroneLab/MyLinuxDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | 17 | 2018-09-03T05:41:37.000Z | 2018-11-15T07:48:20.000Z | src/events/MyStopImmCmd.cpp | LinuxDroneLab/MyLinuxDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | null | null | null | /*
* MyStopImmCmd.cpp
*
* Created on: 17 dic 2015
* Author: andrea
*/
#include <commons/MyPriority.h>
#include <events/MyStopImmCmd.h>
MyStopImmCmd::MyStopImmCmd(boost::uuids::uuid origin, boost::uuids::uuid destination) : MyCmd(origin, destination) {
this->setPriority(MyPriority::STOP_IMMEDIATELY_PRIORIT... | 22.5 | 116 | 0.735354 | LinuxDroneLab |
33e56173897c6d3c0ffb6ae8763041e62eaa6e19 | 4,526 | cxx | C++ | Core/GraphicsKit/GraphicsHandler.cxx | broken-bytes/Cyanite-Engine | 5733e1fc010b375bbafc9ebfa41e248845f945b3 | [
"MIT"
] | null | null | null | Core/GraphicsKit/GraphicsHandler.cxx | broken-bytes/Cyanite-Engine | 5733e1fc010b375bbafc9ebfa41e248845f945b3 | [
"MIT"
] | null | null | null | Core/GraphicsKit/GraphicsHandler.cxx | broken-bytes/Cyanite-Engine | 5733e1fc010b375bbafc9ebfa41e248845f945b3 | [
"MIT"
] | 1 | 2020-12-20T07:35:05.000Z | 2020-12-20T07:35:05.000Z | #include "pch.hxx"
#include "GraphicsHandler.hxx"
#include "TypeConverter.hxx"
#include "../../Libs/ImGUI/imgui.h"
#include "../../Libs/ImGUI/imgui_impl_dx12.h"
#include "../../Libs/ImGUI/imgui_impl_win32.h"
auto open = true;
namespace Cyanite::GraphicsKit {
GraphicsHandler::GraphicsHandler(HWND window) {
SetDebug... | 30.173333 | 112 | 0.710782 | broken-bytes |
33e8ceff1a3e3a2641d9d9bb4cfe401acbc9da34 | 8,738 | cpp | C++ | src/storage/mutate/DeleteVerticesProcessor.cpp | whitewum/nebula-storage | 3830820e8453a1c8457acb06380f0570a673cbe8 | [
"Apache-2.0"
] | null | null | null | src/storage/mutate/DeleteVerticesProcessor.cpp | whitewum/nebula-storage | 3830820e8453a1c8457acb06380f0570a673cbe8 | [
"Apache-2.0"
] | null | null | null | src/storage/mutate/DeleteVerticesProcessor.cpp | whitewum/nebula-storage | 3830820e8453a1c8457acb06380f0570a673cbe8 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2019 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "storage/StorageFlags.h"
#include "storage/mutate/DeleteVerticesProcessor.h"
#include "utils/IndexKeyUtils.h"
#... | 43.69 | 100 | 0.478027 | whitewum |
33e8fbd020ba1a3c6a02e5671f081ac71f6d9aeb | 1,448 | cpp | C++ | swapnum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | swapnum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | swapnum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | 1 | 2019-01-19T01:05:07.000Z | 2019-01-19T01:05:07.000Z | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <algorithm>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::string;
int da_biao[] = {1, 1, 2, 6, 24, 120};
int hash(string s)
{
int num = 0;
for (int i = 0; i < 6 - 1; i++)
{... | 18.329114 | 41 | 0.413674 | W-YXN |
33ead74ff815f1fee0453e0b5ce078d7a329d22f | 8,158 | cpp | C++ | core/crc32.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | 157 | 2015-07-08T18:29:22.000Z | 2022-03-10T10:22:58.000Z | core/crc32.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | 1,037 | 2015-07-18T03:09:12.000Z | 2022-03-13T17:39:55.000Z | core/crc32.cpp | granitepenguin/wwiv | 30669b21f45c5f534014a251f55568c86904f87e | [
"Apache-2.0"
] | 74 | 2015-07-08T19:42:19.000Z | 2021-12-22T06:15:46.000Z | /*
* Crc - 32 BIT ANSI X3.66 CRC checksum files
*/
#include "core/file.h"
#include <memory>
#include <string>
namespace wwiv::core {
/**********************************************************************\
|* *|
|* Demonstration program to compute th... | 60.880597 | 99 | 0.655185 | granitepenguin |
33eeea67b7f9d30147d29e772a2845d08078de67 | 9,985 | hpp | C++ | boost/config/compiler/visualc.hpp | UnPourTous/boost-159-for-rn | 47e2c37fcbd5e1b25561e5a4fc81bc4f31d2cbf4 | [
"BSL-1.0"
] | 2 | 2021-08-08T02:06:56.000Z | 2021-12-20T02:16:44.000Z | include/boost/config/compiler/visualc.hpp | Acidburn0zzz/PopcornTorrent-1 | c12a30ef9e971059dae5f7ce24a8c37fef83c0c4 | [
"MIT"
] | null | null | null | include/boost/config/compiler/visualc.hpp | Acidburn0zzz/PopcornTorrent-1 | c12a30ef9e971059dae5f7ce24a8c37fef83c0c4 | [
"MIT"
] | 1 | 2017-04-09T17:04:14.000Z | 2017-04-09T17:04:14.000Z | // (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Darin Adler 2001 - 2002.
// (C) Copyright Peter Dimov 2001.
// (C) Copyright Aleksey Gurtovoy 2002.
// (C) Copyright David Abrahams 2002 - 2003.
// (C) Copyright Beman Dawes 2002 - 2003.
// Use, modification and distribution are subject to the
//... | 33.506711 | 122 | 0.734902 | UnPourTous |
33f141e0eaf03e25006ee0a24735eb009857f070 | 5,564 | cpp | C++ | test/allocator.cpp | cburgard/c4core | e7b7ece50b456c3ae598b8b932825ae6ea913b84 | [
"MIT"
] | null | null | null | test/allocator.cpp | cburgard/c4core | e7b7ece50b456c3ae598b8b932825ae6ea913b84 | [
"MIT"
] | null | null | null | test/allocator.cpp | cburgard/c4core | e7b7ece50b456c3ae598b8b932825ae6ea913b84 | [
"MIT"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "c4/allocator.hpp"
#include "c4/test.hpp"
#include <vector>
#include <string>
#include <map>
C4_BEGIN_NAMESPACE(c4)
template< class T > using small... | 23.476793 | 88 | 0.635155 | cburgard |
33f16f6fc92b59515c32e00ad47850b1141d8726 | 5,175 | cpp | C++ | test/test_EKF_flow.cpp | huangwen0907/ecl | c91c78dcf67dee85225ada6621b6fd19ec008fd5 | [
"BSD-3-Clause"
] | null | null | null | test/test_EKF_flow.cpp | huangwen0907/ecl | c91c78dcf67dee85225ada6621b6fd19ec008fd5 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T09:27:03.000Z | 2020-04-24T09:27:03.000Z | test/test_EKF_flow.cpp | worlddeworld/ecl | 31ae51ff96d7a07477718692fa709823990c7664 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2019 ECL Development Team. 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. Redistri... | 38.333333 | 103 | 0.766957 | huangwen0907 |
33f1d451fc143ef55fe01c5133849398ca573f8a | 1,223 | cpp | C++ | aws-cpp-sdk-personalize-events/source/model/User.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-personalize-events/source/model/User.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-personalize-events/source/model/User.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/personalize-events/model/User.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... | 16.306667 | 69 | 0.703189 | perfectrecall |
33f374dcd7ebb7c3a7ca3d8469a50a8e0b614e6d | 1,582 | hpp | C++ | sdk/identity/azure-identity/inc/azure/identity/version.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/identity/azure-identity/inc/azure/identity/version.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/identity/azure-identity/inc/azure/identity/version.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Provides version information.
*/
#pragma once
#include "azure/identity/dll_import_export.hpp"
#include <string>
#define AZURE_IDENTITY_VERSION_MAJOR 1
#define AZURE_IDENTITY_VERSION_MINOR 0
#define ... | 27.754386 | 97 | 0.75158 | chidozieononiwu |
33f441ae14a72517805f746798f4212571761954 | 87,097 | cc | C++ | tensorflow/compiler/jit/mark_for_compilation_pass.cc | yennster/tensorflow | 0cc38aaa4064fd9e79101994ce9872c6d91f816b | [
"Apache-2.0"
] | 11 | 2018-01-03T15:11:09.000Z | 2021-04-13T05:47:27.000Z | tensorflow/compiler/jit/mark_for_compilation_pass.cc | yennster/tensorflow | 0cc38aaa4064fd9e79101994ce9872c6d91f816b | [
"Apache-2.0"
] | 2 | 2021-08-25T16:14:40.000Z | 2022-02-10T03:25:19.000Z | tensorflow/compiler/jit/mark_for_compilation_pass.cc | yennster/tensorflow | 0cc38aaa4064fd9e79101994ce9872c6d91f816b | [
"Apache-2.0"
] | 10 | 2018-07-31T10:56:21.000Z | 2019-10-07T08:05:21.000Z | /* Copyright 2017 The TensorFlow Authors. 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
Unless required by applicable law or a... | 41.753116 | 80 | 0.608379 | yennster |
33f7672afb5116b4662ee91006d93a9e073121b7 | 10,859 | cpp | C++ | app/src/main/cpp/sample/PortraitStayColorExample.cpp | volionamdp/NDK_OpenGLES_3_0 | 204b2b9ba8240c4153050da3331b0fb2b6dfe75f | [
"Apache-2.0"
] | 1,695 | 2019-08-09T01:24:00.000Z | 2022-03-31T13:12:28.000Z | app/src/main/cpp/sample/PortraitStayColorExample.cpp | codingwatching/NDK_OpenGLES_3_0 | 4875cdee3fa8722cf72c470913183085faefc5a4 | [
"Apache-2.0"
] | 7 | 2020-10-27T03:12:15.000Z | 2022-03-23T08:43:54.000Z | app/src/main/cpp/sample/PortraitStayColorExample.cpp | codingwatching/NDK_OpenGLES_3_0 | 4875cdee3fa8722cf72c470913183085faefc5a4 | [
"Apache-2.0"
] | 449 | 2019-09-02T05:11:15.000Z | 2022-03-30T06:12:01.000Z | /**
*
* Created by 公众号:字节流动 on 2022/4/18.
* https://github.com/githubhaohao/NDK_OpenGLES_3_0
* 最新文章首发于公众号:字节流动,有疑问或者技术交流可以添加微信 Byte-Flow ,领取视频教程, 拉你进技术交流群
*
* */
#include <gtc/matrix_transform.hpp>
#include "PortraitStayColorExample.h"
#include "../util/GLUtils.h"
PortraitStayColorExample::PortraitStayColorExam... | 33.207951 | 158 | 0.699328 | volionamdp |
33fe699357e02ad9843eb4a9bffa8c4c67edeafd | 3,821 | hpp | C++ | src/pretty_effect.hpp | scryptic86/gfx_demo | 8f744beb84522f1bc24617725a421a2f2b85aaca | [
"MIT"
] | 58 | 2021-05-10T23:25:06.000Z | 2022-03-22T00:59:04.000Z | src/pretty_effect.hpp | scryptic86/gfx_demo | 8f744beb84522f1bc24617725a421a2f2b85aaca | [
"MIT"
] | 3 | 2021-07-28T16:26:35.000Z | 2022-02-18T21:45:09.000Z | src/pretty_effect.hpp | scryptic86/gfx_demo | 8f744beb84522f1bc24617725a421a2f2b85aaca | [
"MIT"
] | 5 | 2021-07-16T12:00:48.000Z | 2022-02-14T02:04:06.000Z | /*
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#pragma once
#include <stdint.h>
#include ... | 40.221053 | 129 | 0.70793 | scryptic86 |
33ff09edd27d1f6d40c29c8033c7e16151f36648 | 91 | cpp | C++ | src/main.cpp | trexxet/PSO | 6cd159b94117e55534b3087e6971b4adda35f37c | [
"MIT"
] | null | null | null | src/main.cpp | trexxet/PSO | 6cd159b94117e55534b3087e6971b4adda35f37c | [
"MIT"
] | null | null | null | src/main.cpp | trexxet/PSO | 6cd159b94117e55534b3087e6971b4adda35f37c | [
"MIT"
] | 2 | 2020-03-02T15:53:24.000Z | 2020-06-22T09:06:23.000Z | #include "window/Window.h"
int main () {
Window window;
window.mainLoop();
return 0;
}
| 11.375 | 26 | 0.659341 | trexxet |
d506e885184ac0a0dc608690b07ac5e48ce7ed12 | 4,382 | hpp | C++ | Storage/Tape/Tape.hpp | ivanizag/CLK | e5d364c4ce20aaf6dbdf19ddce1879e91f4ddbc8 | [
"MIT"
] | 2 | 2018-09-11T14:59:09.000Z | 2018-09-12T09:39:46.000Z | Storage/Tape/Tape.hpp | MaddTheSane/CLK | 6252859ef5631c7ccbc33e95cf4d888727ff3856 | [
"MIT"
] | null | null | null | Storage/Tape/Tape.hpp | MaddTheSane/CLK | 6252859ef5631c7ccbc33e95cf4d888727ff3856 | [
"MIT"
] | null | null | null | //
// Tape.hpp
// Clock Signal
//
// Created by Thomas Harte on 18/01/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#ifndef Tape_hpp
#define Tape_hpp
#include <memory>
#include "../../ClockReceiver/ClockReceiver.hpp"
#include "../../ClockReceiver/ClockingHintSource.hpp"
#include "../TimedEventLo... | 27.049383 | 106 | 0.730717 | ivanizag |
d506ead310292411834fc41e58da72e7b772aa64 | 758 | cc | C++ | firmware/main.cc | Millisman/OCPP-NANO | e38db48c989e84b4d7eeaf1e90fcf9ef6c9cf5a5 | [
"Apache-2.0"
] | null | null | null | firmware/main.cc | Millisman/OCPP-NANO | e38db48c989e84b4d7eeaf1e90fcf9ef6c9cf5a5 | [
"Apache-2.0"
] | null | null | null | firmware/main.cc | Millisman/OCPP-NANO | e38db48c989e84b4d7eeaf1e90fcf9ef6c9cf5a5 | [
"Apache-2.0"
] | null | null | null | #include "mcu/mcu.h"
#include "mcu/watchdog.h"
#include "mcu/serial.h"
#include "gsm/modem_manager.h"
#include "ocpp/ocpp_man.h"
#include "app/man_time.h"
#include "event/loop.h"
#include "events.h"
static uint8_t rx_buff[512];
static uint8_t tx_buff[512];
int main() {
//std::cout.setf(std::ios::unitbuf);
SE... | 22.294118 | 79 | 0.618734 | Millisman |
d50963006eaefdbb3d210e9a2920c83c336726eb | 21,459 | cpp | C++ | Game/Springs.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 44 | 2018-07-08T16:44:53.000Z | 2022-02-06T14:07:30.000Z | Game/Springs.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 31 | 2019-03-24T16:00:38.000Z | 2022-02-24T20:23:18.000Z | Game/Springs.cpp | sjohal21/Floating-Sandbox | 0170e3696ed4f012f5f17fdbbdaef1af4117f495 | [
"CC-BY-4.0"
] | 24 | 2018-11-08T21:58:53.000Z | 2022-01-12T12:04:42.000Z | /***************************************************************************************
* Original Author: Gabriele Giuseppini
* Created: 2018-05-12
* Copyright: Gabriele Giuseppini (https://github.com/GabrieleGiuseppini)
***************************************************************... | 39.812616 | 141 | 0.691505 | sjohal21 |
d50bb384b143f01db7d151605fc11a6e73cd7bb6 | 1,778 | hpp | C++ | __unit_tests/gv_base_unit_test/unit_test_log.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | 2 | 2018-12-03T13:17:31.000Z | 2020-04-08T07:00:02.000Z | __unit_tests/gv_base_unit_test/unit_test_log.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | __unit_tests/gv_base_unit_test/unit_test_log.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | namespace unit_test_log
{
//the test is from poco
static gv_log* s_log = NULL;
class MyRunnable : public gv_runnable
{
public:
MyRunnable()
: _ran(false)
{
}
void run()
{
GV_PROFILE_EVENT(MyRunnable, 0);
gv_thread* pThread = gv_thread::current();
if (pThread)
_threadName = pThread->get_name();
int i... | 16.311927 | 100 | 0.625984 | dragonsn |
d50c799a9a01262db84728d004dc551dc514d47f | 14,484 | cpp | C++ | sources/gst-plugins/gst-nvinfer/gstnvinfer_meta_utils.cpp | xiaomaozhou26/deepstream-4.0.1 | 45f54ebe1db2546bd924b71cd06de1d9ad22e151 | [
"MIT"
] | 11 | 2020-01-20T02:08:57.000Z | 2022-02-25T05:35:15.000Z | sources/gst-plugins/gst-nvinfer/gstnvinfer_meta_utils.cpp | prat96/Deepstream-4.0 | dfb3d0b082a80f5fafe158d27289311f9ecd9b6f | [
"MIT"
] | 1 | 2020-04-06T13:06:34.000Z | 2020-04-06T13:06:34.000Z | sources/gst-plugins/gst-nvinfer/gstnvinfer_meta_utils.cpp | prat96/Deepstream-4.0 | dfb3d0b082a80f5fafe158d27289311f9ecd9b6f | [
"MIT"
] | 10 | 2020-02-01T06:44:33.000Z | 2021-06-04T06:56:42.000Z | /**
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this s... | 37.91623 | 151 | 0.727285 | xiaomaozhou26 |
d50ca4db3b173611b34e96d1284ad5266e1af917 | 1,520 | hpp | C++ | laser_scans_fusion/include/laser_scans_fusion/scan_fusion.hpp | Robotion-AI/Autobotware | 9930cff624c250eaf044e7dfa93587e7e3be89e3 | [
"Apache-2.0"
] | 17 | 2021-05-11T02:58:37.000Z | 2021-07-13T09:14:04.000Z | laser_scans_fusion/include/laser_scans_fusion/scan_fusion.hpp | Robotion-AI/ModuLiDAR | 9930cff624c250eaf044e7dfa93587e7e3be89e3 | [
"Apache-2.0"
] | 1 | 2021-05-12T04:12:35.000Z | 2021-05-18T12:32:06.000Z | laser_scans_fusion/include/laser_scans_fusion/scan_fusion.hpp | Robotion-AI/ModuLiDAR | 9930cff624c250eaf044e7dfa93587e7e3be89e3 | [
"Apache-2.0"
] | 3 | 2021-05-12T02:51:44.000Z | 2021-06-05T02:22:37.000Z | /*
* Desc: Laser Scan fusion.
* Author: khaled elmadawi
* mail: khalid.elmadawi@robotion.ai
* Date: 30 march 2021
*
* Copyright 2020 Robotion-AI. 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 m... | 33.043478 | 88 | 0.724342 | Robotion-AI |
d51297e81dc022998584a27fd03b693c79db36a1 | 6,972 | cpp | C++ | src/servicelistdb.cpp | Penny-Admixture/smileyCoin | 2dec63a08984a1fbd6fbdbb82d79a4483f019261 | [
"MIT"
] | 2 | 2021-06-12T07:38:49.000Z | 2021-06-16T00:03:28.000Z | src/servicelistdb.cpp | Penny-Admixture/smileyCoin | 2dec63a08984a1fbd6fbdbb82d79a4483f019261 | [
"MIT"
] | null | null | null | src/servicelistdb.cpp | Penny-Admixture/smileyCoin | 2dec63a08984a1fbd6fbdbb82d79a4483f019261 | [
"MIT"
] | null | null | null | //
// Created by Lenovo on 4/24/2020.
//
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developersg
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "servicelistdb.h"
#include "b... | 39.84 | 204 | 0.588784 | Penny-Admixture |
d5130d8983461ef7a544676e181b5c707a63a4c4 | 1,831 | hpp | C++ | libs/boost_1_72_0/boost/fusion/container/deque/front_extended_deque.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/fusion/container/deque/front_extended_deque.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/fusion/container/deque/front_extended_deque.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2005-2012 Joel de Guzman
Copyright (c) 2005-2006 Dan Marsden
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)
=... | 37.367347 | 80 | 0.697433 | henrywarhurst |
d514128d167743bf11b66fc8cfad143f3ded9a35 | 1,167 | cpp | C++ | qt/ApplicationArchitecture/CustomConfig_v1/abackend.cpp | ArboreusSystems/arboreus_examples | 17d39e18f4b2511c19f97d4e6c07ec9d7087fae8 | [
"BSD-3-Clause"
] | 17 | 2019-02-19T21:29:22.000Z | 2022-01-29T11:03:45.000Z | qt/ApplicationArchitecture/CustomConfig_v1/abackend.cpp | MbohBless/arboreus_examples | 97f0e25182bbc4b5ffab37c6157514332002aeee | [
"BSD-3-Clause"
] | null | null | null | qt/ApplicationArchitecture/CustomConfig_v1/abackend.cpp | MbohBless/arboreus_examples | 97f0e25182bbc4b5ffab37c6157514332002aeee | [
"BSD-3-Clause"
] | 9 | 2021-02-21T05:32:23.000Z | 2022-02-26T07:51:52.000Z | // ----------------------------------------------------------
/*!
\class ABackend
\title
\brief Template file classes/cpp/file.cpp
\list
\li @notice Template file classes/file.h
\li @copyright Arboreus (http://arboreus.systems)
\li @author Alexandr Kirilov (http://alexandr.kirilov.me)
\li @created 05/04/2021 a... | 13.892857 | 61 | 0.574979 | ArboreusSystems |
d514173b88292108380f88cb866c3565c034228b | 232 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/xio/tests/test_template_include.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/xio/tests/test_template_include.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/xio/tests/test_template_include.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #include <vnl/xio/vnl_xio_matrix.hxx>
#include <vnl/xio/vnl_xio_matrix_fixed.hxx>
#include <vnl/xio/vnl_xio_quaternion.hxx>
#include <vnl/xio/vnl_xio_vector.hxx>
#include <vnl/xio/vnl_xio_vector_fixed.hxx>
int main() { return 0; }
| 29 | 43 | 0.775862 | rdsouza10 |
d5186d74d92fb642c60cf33179c09de641e142d5 | 15,872 | cpp | C++ | src/c_glfont.cpp | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | src/c_glfont.cpp | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | src/c_glfont.cpp | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************
** DLSTORM Deadline's Code Storm Library
** /\
** ---- D/L \----
** \/
** License: BSD
** Copyright: 2020
** File: c_glfont.cpp
** Class: CGLFont
** Description: Fonts for OpenGL
** Author... | 37.17096 | 138 | 0.361706 | deadline-cxn |
d51a2adcadac7980566c9872d7d6fdd2f3ec196d | 23,096 | cpp | C++ | gra.cpp | TheDarkPhoenix/2DRacing | 249fd5fa3533f578557bca318b4577fca406f826 | [
"MIT"
] | null | null | null | gra.cpp | TheDarkPhoenix/2DRacing | 249fd5fa3533f578557bca318b4577fca406f826 | [
"MIT"
] | null | null | null | gra.cpp | TheDarkPhoenix/2DRacing | 249fd5fa3533f578557bca318b4577fca406f826 | [
"MIT"
] | null | null | null | #include "gra.h"
#include "si.h"
#include <SFML/Graphics.hpp>
#include <cstdio>
#include <string>
#include <cmath>
#include <fstream>
using namespace sf;
using namespace std;
Gra::Gra(RenderWindow& window) : world(b2Vec2(0, 0))
{
window.SetFramerateLimit(70);
Gra::NazwyTras.open("Trasy/trasy.txt");
if (G... | 38.365449 | 152 | 0.526628 | TheDarkPhoenix |
d51e713f2142a93529d4e0b16da18cf492ebc097 | 3,584 | cpp | C++ | vnext/Microsoft.ReactNative/Base/CoreUIManagers.cpp | CoDeRgAnEsh/react-native-windows | c99016ee963168de0088e5d03a22e1f85bf181f6 | [
"MIT"
] | 1 | 2021-11-09T10:25:13.000Z | 2021-11-09T10:25:13.000Z | vnext/Microsoft.ReactNative/Base/CoreUIManagers.cpp | CoDeRgAnEsh/react-native-windows | c99016ee963168de0088e5d03a22e1f85bf181f6 | [
"MIT"
] | 1 | 2020-10-12T19:39:41.000Z | 2020-10-12T19:39:41.000Z | vnext/Microsoft.ReactNative/Base/CoreUIManagers.cpp | CoDeRgAnEsh/react-native-windows | c99016ee963168de0088e5d03a22e1f85bf181f6 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include <IReactInstance.h>
#include <IUIManager.h>
#include <Modules/NativeUIManager.h>
#include <ViewManagerProvider.h>
// Standard View Managers
#include <Views/ActivityIndicatorViewManager.h>
#include <Views/D... | 45.948718 | 91 | 0.787109 | CoDeRgAnEsh |
d520f8873bb38be108e1aeb0db4be441ab93aa37 | 11,470 | cpp | C++ | src/kits/shared/SettingsMessage.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/kits/shared/SettingsMessage.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/kits/shared/SettingsMessage.cpp | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2008-2010, Stephan Aßmus <superstippi@gmx.de>.
* Copyright 1998, Eric Shepherd.
* All rights reserved. Distributed under the terms of the Be Sample Code
* license.
*/
//! Be Newsletter Volume II, Issue 35; September 2, 1998 (Eric Shepherd)
#include "SettingsMessage.h"
#include <new>
#include <Au... | 19.440678 | 80 | 0.710898 | Yn0ga |
d5224e5b615d71be30c25d1d5145b20814782be7 | 328 | cpp | C++ | pvl/abridged/math/numtheory/extended-euclidean.cpp | bullybutcher/progvar-library | 4d4b351c8a2540c522d00138e1bcf0edc528b540 | [
"MIT"
] | 3 | 2021-10-16T13:22:58.000Z | 2021-10-29T22:03:44.000Z | pvl/abridged/math/numtheory/extended-euclidean.cpp | bullybutcher/progvar-library | 4d4b351c8a2540c522d00138e1bcf0edc528b540 | [
"MIT"
] | 19 | 2021-11-27T14:40:00.000Z | 2022-03-30T07:14:59.000Z | pvl/abridged/math/numtheory/extended-euclidean.cpp | bullybutcher/progvar-library | 4d4b351c8a2540c522d00138e1bcf0edc528b540 | [
"MIT"
] | 2 | 2022-03-11T20:53:41.000Z | 2022-03-20T07:08:46.000Z | ll mod(ll x, ll m) { // use this instead of x % m
if (m == 0) return 0;
if (m < 0) m *= -1;
return (x%m + m) % m; // always nonnegative
}
ll extended_euclid(ll a, ll b, ll &x, ll &y) {
if (b==0) {x = 1; y = 0; return a;}
ll g = extended_euclid(b, a%b, x, y);
ll z = x - a/b*y;
x = y; y = z; return... | 27.333333 | 50 | 0.481707 | bullybutcher |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.