hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0c60a92576ffb67eda375efc157b70405f09a4a | 517 | hh | C++ | ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh | shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer | 8c9afe017769f9554706bcd267b6861c4c144999 | [
"MIT"
] | 216 | 2018-09-09T11:53:56.000Z | 2022-03-19T13:41:35.000Z | ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh | gaolinorange/Automatic-Unpaired-Shape-Deformation-Transfer | 8c9afe017769f9554706bcd267b6861c4c144999 | [
"MIT"
] | 13 | 2018-10-23T08:29:09.000Z | 2021-09-08T06:45:34.000Z | ACAP_linux/3rd/CoMISo/Config/GmmTypes.hh | shubhMaheshwari/Automatic-Unpaired-Shape-Deformation-Transfer | 8c9afe017769f9554706bcd267b6861c4c144999 | [
"MIT"
] | 41 | 2018-09-13T08:50:41.000Z | 2022-02-23T00:33:54.000Z | // (C) Copyright 2014 by Autodesk, Inc.
#ifndef GMMTYPES_HH_INCLUDED
#define GMMTYPES_HH_INCLUDED
#include <gmm/gmm_matrix.h>
namespace COMISO_GMM
{
// Matrix Types
typedef gmm::col_matrix< gmm::wsvector<double> > WSColMatrix;
typedef gmm::row_matrix< gmm::wsvector<double> > WSRowMatrix;
typedef gmm::col_matrix< ... | 24.619048 | 61 | 0.775629 | shubhMaheshwari |
b0c660c512a6f2da10b75c3025468a19d9e1952e | 4,461 | cpp | C++ | library/src/blas2/rocblas_syr.cpp | zjunweihit/rocBLAS | c8bda2d15a7772d810810492ebed616eec0959a5 | [
"MIT"
] | null | null | null | library/src/blas2/rocblas_syr.cpp | zjunweihit/rocBLAS | c8bda2d15a7772d810810492ebed616eec0959a5 | [
"MIT"
] | null | null | null | library/src/blas2/rocblas_syr.cpp | zjunweihit/rocBLAS | c8bda2d15a7772d810810492ebed616eec0959a5 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016-2019 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "rocblas_syr.hpp"
#include "logging.h"
#include "utility.h"
namespace
{
template <typename>
con... | 36.565574 | 93 | 0.401479 | zjunweihit |
37cef196e666250313bf06deb14449c4f2d79e8f | 2,001 | hpp | C++ | Math/include/Math/Vector3.hpp | Samahu/RayTracer | d5229ccc83944ec694c1601394c757f33d38a010 | [
"MIT"
] | 1 | 2019-05-16T12:25:46.000Z | 2019-05-16T12:25:46.000Z | Math/include/Math/Vector3.hpp | Samahu/RayTracer | d5229ccc83944ec694c1601394c757f33d38a010 | [
"MIT"
] | null | null | null | Math/include/Math/Vector3.hpp | Samahu/RayTracer | d5229ccc83944ec694c1601394c757f33d38a010 | [
"MIT"
] | null | null | null | #pragma once
template <typename T>
class Vector3
{
template <typename G>
friend Vector3<G> operator*(G t, const Vector3<G> v);
template <typename G>
friend Vector3<G> operator-(const Vector3<G> v);
public:
Vector3() {}
Vector3(T x, T y, T z)
{
e[0] = x;
e[1] = y;
e[2] = z;
}
// Data Accessors
T x() ... | 31.761905 | 115 | 0.577211 | Samahu |
37d0898a0b90fa8fa52aec17ed16dc1e2ccb95dc | 19,831 | cpp | C++ | trace_server/mainwindow.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | trace_server/mainwindow.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | trace_server/mainwindow.cpp | mojmir-svoboda/DbgToolkit | 590887987d0856032be906068a3103b6ce31d21c | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "ui_settings.h"
#include "ui_mixer.h"
#include "ui_help.h"
#include <server/server.h>
#include "connection.h"
#include <QTime>
#include <QShortcut>
#include <QFileDialog>
#include <QMessageBox>
#include <QTimer>
#include <QLabel>
#include <QDropEvent>
#include... | 30.415644 | 164 | 0.719984 | mojmir-svoboda |
37d3af49c4ddafa65c0d4e884152fee7ed8ff8f5 | 531 | hpp | C++ | data_structures/binary_indexed_tree.hpp | takata-daiki/algorithms | 299f7379a2acf8a3e14bc3e3de6509e821eec115 | [
"MIT"
] | null | null | null | data_structures/binary_indexed_tree.hpp | takata-daiki/algorithms | 299f7379a2acf8a3e14bc3e3de6509e821eec115 | [
"MIT"
] | null | null | null | data_structures/binary_indexed_tree.hpp | takata-daiki/algorithms | 299f7379a2acf8a3e14bc3e3de6509e821eec115 | [
"MIT"
] | 1 | 2019-12-11T06:45:30.000Z | 2019-12-11T06:45:30.000Z | #pragma once
#include <bits/stdc++.h>
using namespace std;
// 0-indexed
template <typename T>
struct BinaryIndexedTree {
int n;
vector<T> data;
BinaryIndexedTree(int _n) : n(_n) { data.assign(n + 1, 0); }
inline void add(int k, T x) {
assert(0 <= k && k < n);
for (int i = k + 1; i <= ... | 22.125 | 64 | 0.467043 | takata-daiki |
37d5fc55409c387b14f1801f5564ab0d9e1c7583 | 3,119 | cpp | C++ | src/110106 Interpreter.cpp | Lyken17/CMPT-409 | f65f15d8fecd5a0ca37868265ee28879e4c79d0b | [
"Apache-2.0"
] | null | null | null | src/110106 Interpreter.cpp | Lyken17/CMPT-409 | f65f15d8fecd5a0ca37868265ee28879e4c79d0b | [
"Apache-2.0"
] | null | null | null | src/110106 Interpreter.cpp | Lyken17/CMPT-409 | f65f15d8fecd5a0ca37868265ee28879e4c79d0b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <sstream>
#include <cmath>
#include <string>
#include <cassert>
using namespace std;
#ifndef BUFSIZ
#define BUFSIZ 1024
#endif
int StoI(string s)
{
int R;
R = (s[0] - '0')*100;
R += (s[1]- '0')*10;
R += (s[2]- '0');
return R;
}
string ItoS(int I)
{
string R = "0... | 23.992308 | 76 | 0.361975 | Lyken17 |
37d72bddaa07451aef4b61788ddf7c4a3d36c5c6 | 4,397 | cpp | C++ | velox/experimental/codegen/ast/BinaryExpressions.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 672 | 2021-09-22T16:45:58.000Z | 2022-03-31T13:42:31.000Z | velox/experimental/codegen/ast/BinaryExpressions.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 986 | 2021-09-22T17:02:52.000Z | 2022-03-31T23:57:25.000Z | velox/experimental/codegen/ast/BinaryExpressions.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 178 | 2021-09-22T17:27:47.000Z | 2022-03-31T03:18:37.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 34.085271 | 78 | 0.649079 | vancexu |
37d8580822150dd4c9d38b6fd0e9dfe833bd5f81 | 347 | cpp | C++ | Cpp_Programs/races/20180828T/rectangle.cpp | xiazeyu/OI_Resource | 1de0ab9a84ee22ae4edb612ddeddc712c3c38e56 | [
"Apache-2.0"
] | 2 | 2018-10-01T09:03:35.000Z | 2019-05-24T08:53:06.000Z | Cpp_Programs/races/20180828T/rectangle.cpp | xiazeyu/OI_Resource | 1de0ab9a84ee22ae4edb612ddeddc712c3c38e56 | [
"Apache-2.0"
] | null | null | null | Cpp_Programs/races/20180828T/rectangle.cpp | xiazeyu/OI_Resource | 1de0ab9a84ee22ae4edb612ddeddc712c3c38e56 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
long dp[50][50][2500], n, m, k;
int main(){
// freopen("rectangle.in", "r", stdin);
// freopen("rectangle.out", "w", stdout);
scanf("%ld%ld%ld", &n, &m, &k);
dp[2][2][4] = 1;
for(long i = 3; i <= n; i++)
for(long j = 3; j <= m; j++)
for(long l = 4; l... | 18.263158 | 43 | 0.489914 | xiazeyu |
37d88105fde9b11c78ff54e67d93ee7bdaeff2a4 | 786 | cc | C++ | emu-tun/model/epoll_thread.cc | SoonyangZhang/ns3-emu-tun | c7b1ba1612d2a859c433471e3d4a913c9c6940a2 | [
"MIT"
] | null | null | null | emu-tun/model/epoll_thread.cc | SoonyangZhang/ns3-emu-tun | c7b1ba1612d2a859c433471e3d4a913c9c6940a2 | [
"MIT"
] | null | null | null | emu-tun/model/epoll_thread.cc | SoonyangZhang/ns3-emu-tun | c7b1ba1612d2a859c433471e3d4a913c9c6940a2 | [
"MIT"
] | null | null | null | #include "epoll_thread.h"
namespace ns3{
EpollThread::~EpollThread(){
if(running_){
Stop();
}
}
void EpollThread::Run(){
while(running_){
ExecuteTask();
epoll_server_.WaitForEventsAndExecuteCallbacks();
}
ExecuteTask();
}
EpollServer *EpollThread::epoll_server()... | 23.117647 | 67 | 0.611959 | SoonyangZhang |
37d9245748144b5c539b3f9489bd9a2a2cba8505 | 2,754 | cpp | C++ | src/xtd.core/src/xtd/diagnostics/stack_trace.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | src/xtd.core/src/xtd/diagnostics/stack_trace.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | src/xtd.core/src/xtd/diagnostics/stack_trace.cpp | leanid/xtd | 2e1ea6537218788ca08901faf8915d4100990b53 | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #include "../../../include/xtd/environment.h"
#include "../../../include/xtd/diagnostics/stack_trace.h"
#include <call_stack.h>
using namespace xtd;
using namespace xtd::diagnostics;
stack_trace::stack_trace() : stack_trace("", METHODS_TO_SKIP, false) {
}
stack_trace::stack_trace(bool need_file_info) : stack_trace("... | 41.727273 | 303 | 0.743646 | ExternalRepositories |
37da12953d7e3f15254dea73a9fd24e120b5be98 | 516 | cpp | C++ | Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp | Olioliver98/C- | f47db3c3aab37387b9e4f227c910e9cc8359729e | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp | Olioliver98/C- | f47db3c3aab37387b9e4f227c910e9cc8359729e | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio_40 Punto-De-Venta-Parte 1/Menu.cpp | Olioliver98/C- | f47db3c3aab37387b9e4f227c910e9cc8359729e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void menu()
{
int opciones = 0;
while (true)
{
system("cls");
cout<<"********";
cout<<" MENU ";
cout<<"********";
cout<<"\n";
cout<<"1 - Bebidas calientes "<< endl;
cout<<"2 - Bebidas fri... | 15.176471 | 46 | 0.381783 | Olioliver98 |
37dac42d78cbb9c2ae16f49539785ffd0079d3f2 | 806 | cpp | C++ | src/testing/pi-puck/front_camera_tags_leds/controller.cpp | dcat52/argos3 | 16b1e1e36e33b01aa58154ef4cdda5f341dcd158 | [
"MIT"
] | null | null | null | src/testing/pi-puck/front_camera_tags_leds/controller.cpp | dcat52/argos3 | 16b1e1e36e33b01aa58154ef4cdda5f341dcd158 | [
"MIT"
] | null | null | null | src/testing/pi-puck/front_camera_tags_leds/controller.cpp | dcat52/argos3 | 16b1e1e36e33b01aa58154ef4cdda5f341dcd158 | [
"MIT"
] | null | null | null | /**
*
* @author Michael Allwright <mallwright@learnrobotics.io>
*/
#include "controller.h"
#include <argos3/plugins/robots/pi-puck/control_interface/ci_pipuck_front_camera_sensor.h>
namespace argos {
/****************************************/
/****************************************/
void CTestControl... | 22.388889 | 92 | 0.478908 | dcat52 |
37e0f2bdc0d6a7444ca760b5d884c0fe454046f8 | 51,754 | cc | C++ | components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_snippets/breaking_news/breaking_news_gcm_app_handler.h"
#include <memory>
#include <string>
#include "base/bind_helpers.h"
#inc... | 43.164304 | 80 | 0.719075 | zipated |
37e1931190d64244ff3d28aa080814216cb300aa | 675 | cpp | C++ | source/+test-geometry/Line.cpp | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | source/+test-geometry/Line.cpp | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | source/+test-geometry/Line.cpp | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | #include "Test.h"
#include "Line.h"
TEST_MODULE_DEPENDENCIES (Line2, "Tuple")
TEST_CASE(Line2) {
//Log::Scope scope (Log::TRACE);
Vector2 a (0, 2);
Vector2 b (1, 1);
auto line = Line<f8, 2>::fromTwoPoints (a, b);
Vector2 pt = line.pointAt (2);
TEST_TRUE(line.isOnLine (a));
TEST_TRUE(lin... | 21.09375 | 64 | 0.601481 | brettonw |
37e34ac82766584c4a6e24d9d06ce78a71321a68 | 1,571 | cpp | C++ | Source/FactoryGame/FGCrashSiteDebris.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGCrashSiteDebris.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGCrashSiteDebris.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | // This file has been automatically generated by the Unreal Header Implementation tool
#include "FGCrashSiteDebris.h"
FDebrisMesh::FDebrisMesh(){ }
FDebrisActor::FDebrisActor(){ }
FDebrisItemDrop::FDebrisItemDrop(){ }
TSubclassOf< class UFGItemDescriptor > FDebrisItemDrop::GetItemClass() const{ return TSubclassOf<cla... | 47.606061 | 129 | 0.819223 | iam-Legend |
37e61a50af20180e06b1d1104cf6b94ecbcdc8a0 | 1,130 | cc | C++ | iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | 1 | 2022-02-08T02:24:08.000Z | 2022-02-08T02:24:08.000Z | iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | null | null | null | iridium/files/patch-content_utility_utility__blink__platform__with__sandbox__support__impl.cc | behemoth3663/ports_local | ad57042ae62c907f9340ee696f468fdfeb562a8b | [
"BSD-3-Clause"
] | null | null | null | --- content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2019-12-16 21:50:48 UTC
+++ content/utility/utility_blink_platform_with_sandbox_support_impl.cc
@@ -9,7 +9,7 @@
#if defined(OS_MACOSX)
#include "content/child/child_process_sandbox_support_impl_mac.h"
-#elif defined(OS_LINUX)
+#elif define... | 37.666667 | 100 | 0.777876 | behemoth3663 |
37e79a1c3f67ac628512d20dd1cb1f2f75528b12 | 12,305 | cxx | C++ | PWGHF/hfe/AliHFEtofPIDqa.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGHF/hfe/AliHFEtofPIDqa.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGHF/hfe/AliHFEtofPIDqa.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors are ... | 37.745399 | 160 | 0.689395 | maroozm |
37e7ba8bf91e9d9b672453a70efbb0f2ad541322 | 15,792 | cpp | C++ | src/c++/main/blocksplit.cpp | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 315 | 2015-07-21T13:53:30.000Z | 2022-03-17T02:01:19.000Z | src/c++/main/blocksplit.cpp | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 147 | 2015-11-26T03:06:24.000Z | 2022-03-28T18:22:33.000Z | src/c++/main/blocksplit.cpp | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 124 | 2015-07-21T13:55:14.000Z | 2022-03-23T17:34:31.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2010-2015 Illumina, Inc.
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the ab... | 29.462687 | 170 | 0.43826 | nh13 |
37e9182df25e9d343427151ede6c9cac2e904ccd | 3,373 | hxx | C++ | admin/select/src/filtermanager.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/select/src/filtermanager.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/select/src/filtermanager.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1994 - 1998.
//
// File: FilterManager.hxx
//
// Contents: Declaration of class used to create LDAP and WinNT filters
//
// Classes: CFilterManager
//
... | 22.945578 | 78 | 0.546101 | npocmaka |
37f2405b71af9bcbca1a80d1a58f2ae5e2bdd00e | 585 | cpp | C++ | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefnEntity.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // smtc_TmplFuncDefnEntity.cpp
//
#include "smtc_TmplFuncDefnEntity.h"
#ifndef LZZ_ENABLE_INLINE
#include "smtc_TmplFuncDefnEntity.inl"
#endif
// semantic
#include "smtc_EntityVisitor.h"
#define LZZ_INLINE inline
namespace smtc
{
TmplFuncDefnEntity::TmplFuncDefnEntity (TmplFuncDefnPtr const & tmpl_func_defn)
: m... | 19.5 | 81 | 0.748718 | SuperDizor |
37f3093cb79be3be8dd4fc11c307eb79889b347e | 1,870 | cpp | C++ | tools/qiangbao.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | tools/qiangbao.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | tools/qiangbao.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <string>
#include <thread>
#include <vector>
using namespace std;
#include "ctrlclaw.hpp"
#include "log.hpp"
#include "qiangbaoword.hpp"
#include "textpump.hpp"
vector<string> parseUTF8(const string &words);
void parseBytes(const vector... | 22.261905 | 67 | 0.700535 | WatorVapor |
37f314c12b2a3eb0087b242bd4ce857c312b0939 | 668 | cpp | C++ | Fluid Render/Fluid Render/BilateralNormalFBO.cpp | freehyan/Graphics | a7b0f111c1012ae56a64e592489583a718eb5cfe | [
"MIT"
] | 47 | 2017-07-05T04:03:16.000Z | 2021-01-22T07:06:05.000Z | Fluid Render/Fluid Render/BilateralNormalFBO.cpp | freehyan/Graphics | a7b0f111c1012ae56a64e592489583a718eb5cfe | [
"MIT"
] | null | null | null | Fluid Render/Fluid Render/BilateralNormalFBO.cpp | freehyan/Graphics | a7b0f111c1012ae56a64e592489583a718eb5cfe | [
"MIT"
] | 3 | 2017-08-23T12:52:16.000Z | 2021-11-15T08:47:57.000Z | #include "BilateralNormalFBO.h"
#include <Cooler/ProductFactory.h>
Cooler::CProductFactory<CBilateralNormalFBO> theCreater("BILATERAL_NORMAL_FBO");
CBilateralNormalFBO::CBilateralNormalFBO()
{
}
CBilateralNormalFBO::~CBilateralNormalFBO()
{
}
//***********************************************************
//FUNCTION:... | 29.043478 | 140 | 0.693114 | freehyan |
37fc8857262b0402b0b96098267c1617cb3f0a7d | 221 | hpp | C++ | dep.hpp | imamhs/Lnect | af3e9a436ac8dad5c0f345fb2196243ad049c810 | [
"Zlib",
"MIT"
] | null | null | null | dep.hpp | imamhs/Lnect | af3e9a436ac8dad5c0f345fb2196243ad049c810 | [
"Zlib",
"MIT"
] | 1 | 2019-03-17T17:18:31.000Z | 2019-03-17T17:18:31.000Z | dep.hpp | imamhs/Lnect | af3e9a436ac8dad5c0f345fb2196243ad049c810 | [
"Zlib",
"MIT"
] | 1 | 2020-12-18T10:36:41.000Z | 2020-12-18T10:36:41.000Z | /*
* File: dep.hpp
* Author: imam
*
* Created on 6 January 2016, 9:16 AM
*/
#ifndef DEP_HPP
#define DEP_HPP
#define MAX_KINECTS 4 // maximum number of kinects for application to work on
#endif /* DEP_HPP */
| 14.733333 | 79 | 0.660633 | imamhs |
37fc886bd3676bcf3af3a843d249e7f6e442dda0 | 23,799 | cpp | C++ | cppbwh_test.cpp | ntllct/CPPBWH | abae472ca70a5d75b0caf838a32f7c995a30e3c8 | [
"MIT"
] | null | null | null | cppbwh_test.cpp | ntllct/CPPBWH | abae472ca70a5d75b0caf838a32f7c995a30e3c8 | [
"MIT"
] | null | null | null | cppbwh_test.cpp | ntllct/CPPBWH | abae472ca70a5d75b0caf838a32f7c995a30e3c8 | [
"MIT"
] | null | null | null | // Copyright (c) 2018 Alexander Alexeev [ntllct@protonmail.com]
// g++ -std=c++14 -m64 -O2 -mavx cppbwh_test.cpp -o cppbwh_test
#include <iostream>
#include <cstddef>
#include <iomanip>
#include <cstring>
#include <algorithm>
#include <random>
#include <chrono>
#include "cppbwh.hpp"
std::mt19937_64 random64;
using... | 32.962604 | 155 | 0.650447 | ntllct |
37fd30c0d1ecdcd7e9a26af19cdc641a1a2dde06 | 3,571 | cpp | C++ | 2021A/DirectX/Exp_3/Draw_Index/MyD3D.cpp | Magic-Xin/Luogu | d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6 | [
"MIT"
] | 15 | 2020-10-08T06:59:38.000Z | 2021-11-30T11:20:22.000Z | 2021A/DirectX/Exp_3/Draw_Index/MyD3D.cpp | Magic-Xin/Luogu | d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6 | [
"MIT"
] | 1 | 2022-03-12T01:00:59.000Z | 2022-03-12T01:00:59.000Z | 2021A/DirectX/Exp_3/Draw_Index/MyD3D.cpp | Magic-Xin/Luogu | d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6 | [
"MIT"
] | 2 | 2021-02-08T11:30:20.000Z | 2021-05-31T06:47:34.000Z | //////////////////////////////////////////////////////////////////////////////////////////////////
//
// File: MyD3D.cpp
//
// Author: Song Wei (C) All Rights Reserved
//
// System: 3.20 GHz Intel® Core™ Quad CPU, a GeForce GT 770 graphics card, 4 GB RAM, Windows 7.
//
// Desc: Provides utility functions for simplif... | 23.649007 | 99 | 0.640997 | Magic-Xin |
37fde8a751c3cdff49d8ef0ff9b6e84bb32c1d1f | 242 | hpp | C++ | include/Pomdog/Math/PlaneIntersectionType.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | include/Pomdog/Math/PlaneIntersectionType.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | include/Pomdog/Math/PlaneIntersectionType.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#pragma once
#include <cstdint>
namespace Pomdog {
enum class PlaneIntersectionType : std::uint8_t {
Front,
Back,
Intersecting,
};
} // namespace Pomdog
| 15.125 | 71 | 0.702479 | ValtoForks |
53000f9a0ce22b21078b06f1b9ab11e95d0a820f | 299 | cpp | C++ | C-Plus-Plus/Cstring/strcpy.cpp | 19-1-skku-oss/2019-1-OSS-L2 | 40cef694a9442b983da080d23913f34641b2fa4d | [
"MIT"
] | null | null | null | C-Plus-Plus/Cstring/strcpy.cpp | 19-1-skku-oss/2019-1-OSS-L2 | 40cef694a9442b983da080d23913f34641b2fa4d | [
"MIT"
] | 25 | 2019-05-28T09:49:06.000Z | 2019-06-07T14:27:53.000Z | C-Plus-Plus/Cstring/strcpy.cpp | 19-1-skku-oss/2019-1-OSS-L2 | 40cef694a9442b983da080d23913f34641b2fa4d | [
"MIT"
] | 1 | 2019-12-08T11:00:31.000Z | 2019-12-08T11:00:31.000Z | #include <iostream>
using namespace std;
char *strcpy(char *dest, char *source)
{
int i;
for ( i = 0; source[i]; i++)
dest[i] = source[i];
dest[i] = NULL;
return dest;
}
int main()
{
char input[100];
cin >> input;
char dest[100];
strcpy(dest, input);
cout << dest << endl;
return 0;
}
| 13.590909 | 38 | 0.602007 | 19-1-skku-oss |
53012f959af5c2219f32f43974608addf2b5c66e | 3,134 | cpp | C++ | prog/c-cpp/chat_software_tuto_zero/chat_client/tutoZero_chat_Network/form.cpp | gribdesbois/prog-backup | a394a392d32c550caf97119456aec1546bc8fbe1 | [
"MIT"
] | null | null | null | prog/c-cpp/chat_software_tuto_zero/chat_client/tutoZero_chat_Network/form.cpp | gribdesbois/prog-backup | a394a392d32c550caf97119456aec1546bc8fbe1 | [
"MIT"
] | null | null | null | prog/c-cpp/chat_software_tuto_zero/chat_client/tutoZero_chat_Network/form.cpp | gribdesbois/prog-backup | a394a392d32c550caf97119456aec1546bc8fbe1 | [
"MIT"
] | null | null | null | #include "form.h"
#include "ui_form.h"
Form::Form(QWidget *parent) :
QWidget(parent),
ui(new Ui::Form)
{
ui->setupUi(this);
socket = new QTcpSocket(this);
connect(socket, SIGNAL(readyRead()), this, SLOT(donneesRecues()));
connect(socket, SIGNAL(connected()), this, SLOT(connecte()));
conn... | 31.34 | 180 | 0.671666 | gribdesbois |
53013599454db24ddbae543202649f4b0f74a08c | 10,674 | hpp | C++ | Lib/Chip/Unknown/STMicro/STM32F334x/HRTIM_Master.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 376 | 2015-07-17T01:41:20.000Z | 2022-03-26T04:02:49.000Z | Lib/Chip/Unknown/STMicro/STM32F334x/HRTIM_Master.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 59 | 2015-07-03T21:30:13.000Z | 2021-03-05T11:30:08.000Z | Lib/Chip/Unknown/STMicro/STM32F334x/HRTIM_Master.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 53 | 2015-07-14T12:17:06.000Z | 2021-06-04T07:28:40.000Z | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//High Resolution Timer: Master Timers
namespace HrtimMasterMcr{ ///<Master Timer Control Register
using Addr = Register::Address<0x40017400,0x11c000c0,0x00000000,unsigned>;
///Burst DMA Update
constexpr Register::Field... | 72.612245 | 127 | 0.699082 | cjsmeele |
530167d404dee6c84a3bb28d489f71c1f73ad6f5 | 934 | cpp | C++ | kernel/hw/pc/idt/idt.cpp | MTGos/mtgos | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | 2 | 2018-01-04T18:11:39.000Z | 2020-03-12T17:54:13.000Z | kernel/hw/pc/idt/idt.cpp | MTGos/kernel | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | 10 | 2017-02-05T11:09:45.000Z | 2017-02-08T13:42:14.000Z | kernel/hw/pc/idt/idt.cpp | MTGos/kernel | 270f4932565eb3fe074cacc8c55c41103fa0a371 | [
"BSD-2-Clause"
] | null | null | null | #include "idt.hpp"
extern "C" void intr_stub_0();
IDT_entry entries[256];
void setIDTEntry(int i, void *entry) {
uintptr_t p = (uintptr_t)entry;
entries[i].offset0 = (uint16_t)p;
p >>= 16;
#ifndef __x86_64__
entries[i].selector = 0x8;
#else
entries[i].selector = 0x28;
#endif
entries[i].zero = 0;... | 25.944444 | 73 | 0.605996 | MTGos |
5303243764d7f79279fe5347e66b77e1a5887c71 | 14,591 | cpp | C++ | core/thirdparty/ovf/src/ovf.cpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 92 | 2016-10-02T16:17:27.000Z | 2022-02-22T11:23:49.000Z | core/thirdparty/ovf/src/ovf.cpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 590 | 2016-09-24T12:46:36.000Z | 2022-03-24T18:27:18.000Z | core/thirdparty/ovf/src/ovf.cpp | ddkn/spirit | 8e51bcdd78ee05d433d000c7e389fe1e6c3716bc | [
"MIT"
] | 46 | 2016-09-26T07:20:17.000Z | 2022-02-17T19:55:17.000Z | #include "ovf.h"
#include <detail/helpers.hpp>
#include <detail/parse.hpp>
#include <detail/write.hpp>
#include <fmt/format.h>
void ovf_file_initialize(struct ovf_file * ovf_file_ptr, const char * filename)
try
{
// Initialize the struct
ovf_file_ptr->file_name = strdup(filename);
ovf_file_ptr->version ... | 27.02037 | 118 | 0.621548 | ddkn |
5306717d1e472a5606e6ee902bc5b09a3d079641 | 4,896 | cpp | C++ | bot-battles/src/server/StartStateServer.cpp | Sandruski/bot-battles | 05ad3b5a490830b48b574d1d2bd2c3be320afd88 | [
"MIT"
] | null | null | null | bot-battles/src/server/StartStateServer.cpp | Sandruski/bot-battles | 05ad3b5a490830b48b574d1d2bd2c3be320afd88 | [
"MIT"
] | null | null | null | bot-battles/src/server/StartStateServer.cpp | Sandruski/bot-battles | 05ad3b5a490830b48b574d1d2bd2c3be320afd88 | [
"MIT"
] | null | null | null | #include "StartStateServer.h"
#include "FSM.h"
#include "GameServer.h"
#include "GameplayComponent.h"
#include "ServerComponent.h"
#include "WindowComponent.h"
namespace sand {
//----------------------------------------------------------------------------------------------------
std::string StartStateServer::GetName... | 36 | 173 | 0.573734 | Sandruski |
530c3b4f77632b37fa7654385cfc3256f7262f22 | 1,963 | hh | C++ | block/sorted_array.hh | duynguyen-ori75/learning | 903a6d9f59b2d08a237b45487ac12052123a0bd5 | [
"MIT"
] | 2 | 2021-03-27T17:11:37.000Z | 2021-04-14T17:24:32.000Z | block/sorted_array.hh | duynguyen-ori75/learning | 903a6d9f59b2d08a237b45487ac12052123a0bd5 | [
"MIT"
] | null | null | null | block/sorted_array.hh | duynguyen-ori75/learning | 903a6d9f59b2d08a237b45487ac12052123a0bd5 | [
"MIT"
] | 1 | 2021-03-27T17:11:43.000Z | 2021-03-27T17:11:43.000Z | #include <algorithm>
#include <vector>
class SortedArray {
private:
std::vector<int> data_;
int maxSize_, currentSize_;
std::pair<int, int> cellPayload(int index) {
return std::make_pair(this->data_[index * 2], this->data_[index * 2 + 1]);
}
int lookUp(int key) {
int low = 0;
int high = curren... | 29.742424 | 78 | 0.573102 | duynguyen-ori75 |
53135981d29773a1ed9030c17764f8eba518ec6c | 185 | hpp | C++ | engine/core/include/debug.hpp | redstrate/prism | acb6c5306c6f60088744191f3d3d8713fc6950bd | [
"MIT"
] | 18 | 2020-08-11T18:13:49.000Z | 2022-03-08T21:42:54.000Z | engine/core/include/debug.hpp | redstrate/prism | acb6c5306c6f60088744191f3d3d8713fc6950bd | [
"MIT"
] | 11 | 2020-08-27T12:37:48.000Z | 2022-02-21T05:17:03.000Z | engine/core/include/debug.hpp | redstrate/prism | acb6c5306c6f60088744191f3d3d8713fc6950bd | [
"MIT"
] | 1 | 2020-12-08T14:01:48.000Z | 2020-12-08T14:01:48.000Z | #pragma once
#include <string_view>
void draw_console();
void draw_debug_ui();
void load_debug_options();
void save_debug_options();
std::string_view get_shader_source_directory();
| 15.416667 | 47 | 0.789189 | redstrate |
53162e76b695dcac0abafade96d28c6c5785ca7d | 1,529 | cpp | C++ | lib/generator/object/trees/defaults/MegaRedwoodTree.cpp | NetherGamesMC/noiselib | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 14 | 2021-08-16T18:58:30.000Z | 2022-02-13T01:12:31.000Z | lib/generator/object/trees/defaults/MegaRedwoodTree.cpp | NetherGamesMC/ext-vanillagenerator | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 2 | 2021-06-21T15:10:01.000Z | 2021-07-19T01:48:00.000Z | lib/generator/object/trees/defaults/MegaRedwoodTree.cpp | NetherGamesMC/ext-vanillagenerator | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 3 | 2021-06-21T02:10:39.000Z | 2021-08-04T01:36:08.000Z | #include "MegaRedwoodTree.h"
void MegaRedwoodTree::Initialize(Random &random, BlockTransaction &txn) {
MegaJungleTree::Initialize(random, txn);
SetHeight(static_cast<int_fast32_t>(random.NextInt(15) + random.NextInt(3)) + 13);
SetType(MAGIC_NUMBER_SPRUCE);
SetLeavesHeight(static_cast<int_fast32_t>(random.Next... | 33.977778 | 135 | 0.725311 | NetherGamesMC |
53175fef90dc2da0612ef58649995f659c16ace9 | 1,638 | cpp | C++ | TransimsNet/Write_Turn.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | TransimsNet/Write_Turn.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | TransimsNet/Write_Turn.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Write_Turn.cpp - Write the Turn Prohibition File
//*********************************************************
#include "TransimsNet.hpp"
#include "Turn_File.hpp"
//---------------------------------------------------------
// Write_Turn
//-----------------... | 26.419355 | 92 | 0.562882 | kravitz |
53184101cce46c77f942e454fb9b899f11155216 | 3,137 | hpp | C++ | boost/numeric/mtl/utility/make_copy_or_reference.hpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 24 | 2019-03-26T15:25:45.000Z | 2022-03-26T10:00:45.000Z | lib/mtl4/boost/numeric/mtl/utility/make_copy_or_reference.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2020-04-17T12:35:32.000Z | 2021-03-03T15:46:25.000Z | lib/mtl4/boost/numeric/mtl/utility/make_copy_or_reference.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 10 | 2019-12-01T13:40:30.000Z | 2022-01-14T08:39:54.000Z | // Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
// 2008 Dresden University of Technology and the Trustees of Indiana University.
// 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and A... | 33.021053 | 103 | 0.740198 | lit-uriy |
531b5e31586f0ae9a3dcbe0d23a71e2ae0338500 | 6,556 | cxx | C++ | main/oox/source/drawingml/textcharacterpropertiescontext.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/oox/source/drawingml/textcharacterpropertiescontext.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/oox/source/drawingml/textcharacterpropertiescontext.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* 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 y... | 37.678161 | 205 | 0.663209 | Grosskopf |
5320a449b99a0b9b72e6eea6794928401694a678 | 232 | cpp | C++ | modules/math/source/blub/math/log/global.cpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 96 | 2015-02-02T20:01:24.000Z | 2021-11-14T20:33:29.000Z | modules/math/source/blub/math/log/global.cpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 12 | 2016-06-04T15:45:30.000Z | 2020-02-04T11:10:51.000Z | modules/math/source/blub/math/log/global.cpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 19 | 2015-09-22T01:21:45.000Z | 2020-09-30T09:52:27.000Z | #include "global.hpp"
#include "blub/core/string.hpp"
using namespace blub::math::log;
using namespace blub;
BLUB_LOG_GLOBAL_LOGGER_INIT(global, blub::log::logger)
{
blub::log::logger result("math");
return result;
}
| 13.647059 | 54 | 0.706897 | qwertzui11 |
53231c25a00b5bd467b4a61051c9304900ecb9fa | 19,304 | cpp | C++ | source/mclib/packet.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/mclib/packet.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/mclib/packet.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //---------------------------------------------------------------------------
//
// Packet.cpp -- File contains the actual code for the Packet File class
//
//---------------------------------------------------------------------------//
// Copyright (C) Microsoft Corporation. All rights reserved. //
//=... | 26.699862 | 104 | 0.573249 | mechasource |
53247f8dfcfca4171f798f44346a34220a409956 | 4,635 | hpp | C++ | src/main/resources/main/includes/MovableText.hpp | yildiz-online/module-graphic-ogre | 8f45fbfd3984d3f9f3143767de5b211e9a9c525f | [
"MIT"
] | null | null | null | src/main/resources/main/includes/MovableText.hpp | yildiz-online/module-graphic-ogre | 8f45fbfd3984d3f9f3143767de5b211e9a9c525f | [
"MIT"
] | 8 | 2018-11-19T20:41:21.000Z | 2021-12-03T03:03:51.000Z | src/main/resources/main/includes/MovableText.hpp | yildiz-online/module-graphic-ogre | 8f45fbfd3984d3f9f3143767de5b211e9a9c525f | [
"MIT"
] | null | null | null | /**
* File: MovableText.h
*
* description: This create create a billboarding object that display a text.
*
* @author 2003 by cTh see gavocanov@rambler.ru
* @update 2006 by barraq see nospam@barraquand.com
* @update 2012 to work with newer versions of OGRE by MindCalamity <mindcalamity@gmail.com>
* - See... | 25.893855 | 94 | 0.650054 | yildiz-online |
5326794321e921c189b889ceaa47c41624e094e9 | 16,977 | cxx | C++ | ds/adsi/ldap/extension.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/adsi/ldap/extension.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/adsi/ldap/extension.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: libmain.cxx
//
// Contents: LibMain for ADs.dll
//
// Functions: LibMain, DllGetClassObject
//
// History: 25-Oct-94 Kris... | 23.22435 | 90 | 0.553396 | npocmaka |
532ad4842704c1ea5256794b665fdba4f7e6c046 | 2,327 | cpp | C++ | src/rollingchecksum.cpp | sandin/vfs | c3547982e17ee424eea6399c2c3862d23faf64d5 | [
"MIT"
] | null | null | null | src/rollingchecksum.cpp | sandin/vfs | c3547982e17ee424eea6399c2c3862d23faf64d5 | [
"MIT"
] | null | null | null | src/rollingchecksum.cpp | sandin/vfs | c3547982e17ee424eea6399c2c3862d23faf64d5 | [
"MIT"
] | null | null | null | #include "rollingchecksum.h"
using namespace vfs;
#define ADD1(buffer, i) \
{ \
s1 += buffer[i]; \
s2 += s1; \
}
#define ADD2(buffer, i) \
ADD1(buffer, i); \
ADD1(buffer, i + 1);
#define ADD4(buffer, i) \
ADD2(buffer, i); \
ADD2(buffer, i + ... | 22.592233 | 77 | 0.502793 | sandin |
532ca3c95bed76e5f1dd034d35ae7dc6cc562e24 | 1,469 | cpp | C++ | Sorting/quick-sort.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | Sorting/quick-sort.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | Sorting/quick-sort.cpp | divyanshu013/algorithm-journey | 8dc32daa732f16099da148bb8669778d4ef3172a | [
"MIT"
] | null | null | null | /*******************************************************************************
Quick sort
==========
Ref - http://quiz.geeksforgeeks.org/quick-sort/
--------------------------------------------------------------------------------
Problem
=======
Classic old quick sort.
-------------------------------------------... | 19.586667 | 80 | 0.381892 | divyanshu013 |
532ec47c6251e00bd15b8cf905a2e4481aad2f95 | 7,431 | cpp | C++ | dockerfiles/gaas_tutorial_2/GAAS/software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/geometry/example_half_edge_mesh.cpp | hddxds/scripts_from_gi | afb8977c001b860335f9062464e600d9115ea56e | [
"Apache-2.0"
] | 2 | 2019-04-10T14:04:52.000Z | 2019-05-29T03:41:58.000Z | software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/geometry/example_half_edge_mesh.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | null | null | null | software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/geometry/example_half_edge_mesh.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | 1 | 2021-12-20T06:54:41.000Z | 2021-12-20T06:54:41.000Z | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... | 31.75641 | 102 | 0.599785 | hddxds |
5331499b9235c169f20b8d531761c180854084f5 | 8,705 | cpp | C++ | src/libgeo/si.cpp | transpixel/TPQZcam | b44a97d44b49e9aa76c36efb6e4102091ff36c67 | [
"MIT"
] | 1 | 2017-06-01T00:21:16.000Z | 2017-06-01T00:21:16.000Z | src/libgeo/si.cpp | transpixel/TPQZcam | b44a97d44b49e9aa76c36efb6e4102091ff36c67 | [
"MIT"
] | 3 | 2017-06-01T00:26:16.000Z | 2020-05-09T21:06:27.000Z | libgeo/si.cpp | transpixel/tpqz | 2d8400b1be03292d0c5ab74710b87e798ae6c52c | [
"MIT"
] | null | null | null | //
//
// MIT License
//
// Copyright (c) 2020 Stellacore Corporation.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to ... | 24.383754 | 72 | 0.653418 | transpixel |
533701c4844948c192103c881ae49b407fc972ec | 2,805 | cpp | C++ | src/nietacka/event/GameEvent.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | src/nietacka/event/GameEvent.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | src/nietacka/event/GameEvent.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | //
// Created by Piotr Jander on 22/08/2017.
//
#include <sstream>
#include "GameEvent.h"
#include "../crc32c.h"
#include "PixelEvent.h"
#include "PlayerEliminatedEvent.h"
#include "GameOverEvent.h"
#include "NewGameEvent.h"
#include "../Exceptions.h"
std::unique_ptr<GameEvent> GameEvent::read(ReadBuffer &readBuffer... | 31.875 | 124 | 0.630303 | PiotrJander |
53376b589d20ca7205de812d1662d4199954e404 | 3,758 | cpp | C++ | src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp | Robotics-BUT/Atlas-Fusion | 3237f65d84a2686c5a20b89def4b706d89744ffb | [
"MIT"
] | 15 | 2020-10-27T01:38:05.000Z | 2021-09-21T07:27:01.000Z | src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp | Robotics-BUT/Atlas-Fusion | 3237f65d84a2686c5a20b89def4b706d89744ffb | [
"MIT"
] | 2 | 2021-06-02T11:54:38.000Z | 2021-10-05T13:05:29.000Z | src/atlas_fusion/src/algorithms/pointcloud/PointCloudExtrapolator.cpp | Robotics-BUT/Atlas-Fusion | 3237f65d84a2686c5a20b89def4b706d89744ffb | [
"MIT"
] | 4 | 2021-04-10T09:12:47.000Z | 2021-04-27T15:33:27.000Z | /*
* Copyright 2020 Brno University of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, ... | 47.56962 | 135 | 0.659393 | Robotics-BUT |
5338331888132a1f22692026f400c0bfa1f21d34 | 7,298 | cpp | C++ | lower_app/source/ApplicationThread.cpp | Imx6ull-app/remote_manage | 509afcb900f485b809f1008393cdc0cbafcda441 | [
"Apache-2.0"
] | 5 | 2020-08-06T16:35:22.000Z | 2021-07-06T13:33:15.000Z | lower_app/source/ApplicationThread.cpp | Imx6ull-app/remote_manage | 509afcb900f485b809f1008393cdc0cbafcda441 | [
"Apache-2.0"
] | null | null | null | lower_app/source/ApplicationThread.cpp | Imx6ull-app/remote_manage | 509afcb900f485b809f1008393cdc0cbafcda441 | [
"Apache-2.0"
] | 6 | 2020-08-25T04:59:30.000Z | 2022-03-04T08:56:49.000Z | /*
* File : app_task.cpp
* appliction task
* COPYRIGHT (C) 2020, zc
*
* Change Logs:
* Date Author Notes
* 2020-5-12 zc the first version
* 2020-5-20 zc Code standardization
*/
/**
* @addtogroup IMX6ULL
*/
/*@{*/
#include "../driver/Led.h"
#include "../driv... | 23.391026 | 122 | 0.503837 | Imx6ull-app |
533c6c1de3ba67d0a7fae0c73bcef8affb5a48fe | 499 | cpp | C++ | 74_Meta/src/Main.cpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 74_Meta/src/Main.cpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 74_Meta/src/Main.cpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | #include "Fibonacci.h"
#include "Euclid.h"
#include <iostream>
int main(int argc, char const *argv[]) {
int resFib = fibonacci<10>::res;
int resGCD = euclid<1071, 462>::res;
int resFibConst = fibonacciConst(10);
int resGCDConst = euclidConst(1071, 462);
std::cout << "Fibonacci: " << resFib << std::endl;
std::c... | 23.761905 | 61 | 0.641283 | jonixis |
53407e87f88b3041243c068815a24f8ea9304667 | 35,426 | cpp | C++ | attacker/SSL/MeituanPatch.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | null | null | null | attacker/SSL/MeituanPatch.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | null | null | null | attacker/SSL/MeituanPatch.cpp | satadriver/attacker | 24e4434d8a836e040e48df195f2ca8919ab52609 | [
"Apache-2.0"
] | 1 | 2022-03-20T03:21:00.000Z | 2022-03-20T03:21:00.000Z | #include "MeituanPatch.h"
#include "letvPlugin.h"
#include "../HttpUtils.h"
#include "../cipher/CryptoUtils.h"
#include "../Public.h"
#include "sslPublic.h"
int MeiTuanPatch::isMeiTuan(string url, string host) {
if (host.find("api.meituan.com") != -1 && url.find("/appupdate/patch/list?") != -1)
{
return TRUE;
}
... | 258.583942 | 27,704 | 0.843589 | satadriver |
53479a023c918212211b95bff1281f82aad4e87a | 3,335 | hpp | C++ | src/key/key_wallet_master.hpp | feitebi/main-chain | d4f2c4bb99b083d6162614a9a6b684c66ddf5d88 | [
"MIT"
] | 1 | 2018-01-17T05:08:32.000Z | 2018-01-17T05:08:32.000Z | src/key/key_wallet_master.hpp | feitebi/main-chain | d4f2c4bb99b083d6162614a9a6b684c66ddf5d88 | [
"MIT"
] | null | null | null | src/key/key_wallet_master.hpp | feitebi/main-chain | d4f2c4bb99b083d6162614a9a6b684c66ddf5d88 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013-2014 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt)
*
* This file is part of coinpp.
*
* coinpp is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
... | 26.468254 | 76 | 0.498951 | feitebi |
c727e5b26e42093c19b0bc581913339b67469357 | 457,170 | cpp | C++ | ribbon.cpp | lordgnu/wxPHP | 368a75c893039e5eaa31bc1ee38e341991039f3f | [
"PHP-3.01"
] | 1 | 2019-02-07T23:18:31.000Z | 2019-02-07T23:18:31.000Z | ribbon.cpp | lordgnu/wxPHP | 368a75c893039e5eaa31bc1ee38e341991039f3f | [
"PHP-3.01"
] | null | null | null | ribbon.cpp | lordgnu/wxPHP | 368a75c893039e5eaa31bc1ee38e341991039f3f | [
"PHP-3.01"
] | null | null | null | /*
* @author Mário Soares
* @contributors Jefferson González
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @note
* This file was auto-generated by the wxPHP source maker
*/
#include "php_wxwidgets.h"
#include "appmanagement.h"
#include "cfg.h"
#include "bookctrl.h"
#i... | 32.953939 | 10,035 | 0.710565 | lordgnu |
c729287ec2820448277920d026269c719f0df736 | 6,508 | cpp | C++ | bithorded/router/router.cpp | zidz/bithorde | dbaa67eb0ddfa7d28e5325d87428c1b0225d598b | [
"Apache-2.0"
] | null | null | null | bithorded/router/router.cpp | zidz/bithorde | dbaa67eb0ddfa7d28e5325d87428c1b0225d598b | [
"Apache-2.0"
] | null | null | null | bithorded/router/router.cpp | zidz/bithorde | dbaa67eb0ddfa7d28e5325d87428c1b0225d598b | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2012 <copyright holder> <email>
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 la... | 29.315315 | 153 | 0.720652 | zidz |
c72f9e2e9f4699cc9f0285e149da90723ddd30e5 | 12,932 | cpp | C++ | graphfilter/src/datafilter.cpp | intel/tsdv | 02409a1c23fd3c5c652c2d02a96ee190c12d5919 | [
"Apache-2.0"
] | 6 | 2016-04-20T23:23:42.000Z | 2018-03-06T02:47:40.000Z | graphfilter/src/datafilter.cpp | intel/tsdv | 02409a1c23fd3c5c652c2d02a96ee190c12d5919 | [
"Apache-2.0"
] | null | null | null | graphfilter/src/datafilter.cpp | intel/tsdv | 02409a1c23fd3c5c652c2d02a96ee190c12d5919 | [
"Apache-2.0"
] | 2 | 2019-11-02T04:55:28.000Z | 2021-02-20T10:59:48.000Z | /*
* Copyright (c) 2015, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
#ifdef ANDROID
#define LOG_TAG "DataFilter"
#include <android/log.h>
#def... | 45.858156 | 164 | 0.558073 | intel |
c73245a8a063aeeda4865f0d2fc5a49a0ea5f122 | 1,859 | cc | C++ | src/fifo.cc | fabiocody/AOS_Project | 5f95c3748a09361bf75882e1d722592ab17d93aa | [
"Unlicense"
] | null | null | null | src/fifo.cc | fabiocody/AOS_Project | 5f95c3748a09361bf75882e1d722592ab17d93aa | [
"Unlicense"
] | null | null | null | src/fifo.cc | fabiocody/AOS_Project | 5f95c3748a09361bf75882e1d722592ab17d93aa | [
"Unlicense"
] | null | null | null | // fifo.cc
#include "fifo.h"
Fifo::Fifo(const char *filename):
buffer_size(CHUNK_SIZE) {
fifoname = strdup(filename);
mkfifo(filename, S_IRUSR | S_IWUSR);
fd = open(filename, O_RDWR);
if (fd == 0) {
perror("Cannot open FIFO");
unlink(filename);
exit(1);
}
buffe... | 25.121622 | 67 | 0.620764 | fabiocody |
c734444850ca0b3531b782fabf1f063300503178 | 477 | cpp | C++ | _site/Competitive Programming/UVa/UVa10943.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 1 | 2019-06-10T04:39:49.000Z | 2019-06-10T04:39:49.000Z | _site/Competitive Programming/UVa/UVa10943.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 2 | 2021-09-27T23:34:07.000Z | 2022-02-26T05:54:27.000Z | _site/Competitive Programming/UVa/UVa10943.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 3 | 2019-06-23T14:15:08.000Z | 2019-07-09T20:40:58.000Z | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
ll N, K;
ll dp[105][105];
ll cal(ll sum, ll len){
if(sum == N && len == K){
return 1;
}
else if(sum > N){
return 0;
}
if(len > K){
return 0;
}
if(dp[sum][len] != -1){
return dp[sum][len];
}
ll ans = 0;
for(ll i = sum; i <= N; i++){
... | 14.029412 | 30 | 0.515723 | anujkyadav07 |
c7393cbc0f655951a5d5dc6573f7d2cd915b2bee | 8,955 | cpp | C++ | jni/love/src/modules/keyboard/sdl/Keyboard.cpp | ultimateprogramer/love2d-admob-android | 5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13 | [
"Xnet",
"X11"
] | 1 | 2021-02-26T02:29:31.000Z | 2021-02-26T02:29:31.000Z | jni/love/src/modules/keyboard/sdl/Keyboard.cpp | ultimateprogramer/love2d-admob-android | 5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13 | [
"Xnet",
"X11"
] | null | null | null | jni/love/src/modules/keyboard/sdl/Keyboard.cpp | ultimateprogramer/love2d-admob-android | 5f6fa8c2b5cb7743c2df4c2c04ea91540a2b0a13 | [
"Xnet",
"X11"
] | 1 | 2021-06-22T10:59:48.000Z | 2021-06-22T10:59:48.000Z | /**
* Copyright (c) 2006-2014 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... | 31.311189 | 79 | 0.733445 | ultimateprogramer |
c73b589c4a6cf600ea10252a2e2012eab4c06104 | 989 | cpp | C++ | Src/17.cpp | ZHIHAO93/TAIS | 0aab66f0dde965ed051a649b431d31941d136250 | [
"MIT"
] | null | null | null | Src/17.cpp | ZHIHAO93/TAIS | 0aab66f0dde965ed051a649b431d31941d136250 | [
"MIT"
] | null | null | null | Src/17.cpp | ZHIHAO93/TAIS | 0aab66f0dde965ed051a649b431d31941d136250 | [
"MIT"
] | null | null | null | // TAIS03, LUIS ARROYO Y ZHIHAO ZHENG
#include <iostream>
#include <fstream>
#include "Navegar.h"
using namespace std;
// O(n), siendo n el numero de enlaces
void ponerEnlace(NavegarWeb &web){
int M;
cin >> M;
int v, w, valor;
for (int i = 0; i < M; i++)
{
cin >> v >> w >> valor;
web.ponerEnlace... | 16.483333 | 43 | 0.578362 | ZHIHAO93 |
c73cf78c3843f574b08ee148adced418d13ec3ae | 4,391 | cpp | C++ | msdb/src/array/array.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | 2 | 2021-08-31T12:43:16.000Z | 2021-12-13T13:49:19.000Z | msdb/src/array/array.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | 3 | 2021-09-09T17:23:31.000Z | 2021-09-09T19:14:50.000Z | msdb/src/array/array.cpp | KUDB/MSDB | 19e89d1d9c09c57b242737f0634ac30b4c8ecfd7 | [
"MIT"
] | null | null | null | #include <pch.h>
#include <array/array.h>
#include <util/math.h>
#include <util/logger.h>
namespace msdb
{
namespace core
{
arrayBase::arrayBase(pArrayDesc desc)
: chunkBitmap_()
{
this->desc_ = desc;
this->chunkBitmap_ = std::make_shared<bitmap>(desc_->dimDescs_->getChunkSpace().area(), false);
}
arrayBase::~array... | 25.235632 | 96 | 0.670918 | KUDB |
c742c1f6b561b6772a2046f8b7490744bc78e096 | 1,604 | hh | C++ | src/cxx/include/data/AggregatedBclFileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 5 | 2021-06-07T12:36:11.000Z | 2022-02-08T09:49:02.000Z | src/cxx/include/data/AggregatedBclFileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 1 | 2022-03-01T23:55:57.000Z | 2022-03-01T23:57:15.000Z | src/cxx/include/data/AggregatedBclFileReader.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | null | null | null | /**
* BCL to FASTQ file converter
* Copyright (c) 2007-2017 Illumina, Inc.
*
* This software is covered by the accompanying EULA
* and certain third party copyright/licenses, and any user of this
* source file is bound by the terms therein.
*
* \file TileBclFileReader.hh
*
* \brief Declaration of BCL reader f... | 28.140351 | 82 | 0.642768 | sbooeshaghi |
c743a759588c916f54a2697485a326917abaea28 | 2,485 | cc | C++ | test/generic.cc | imkaywu/open3DCV | 33ef0507e565bce2ccff7409ff35a8970e6eed2d | [
"BSD-3-Clause"
] | 37 | 2018-07-30T15:34:29.000Z | 2022-01-10T22:50:39.000Z | test/generic.cc | imkaywu/open3DCV | 33ef0507e565bce2ccff7409ff35a8970e6eed2d | [
"BSD-3-Clause"
] | 1 | 2020-10-09T17:51:42.000Z | 2020-11-11T19:41:06.000Z | test/generic.cc | imkaywu/open3DCV | 33ef0507e565bce2ccff7409ff35a8970e6eed2d | [
"BSD-3-Clause"
] | 14 | 2017-12-03T15:24:01.000Z | 2021-09-16T02:13:31.000Z | extern "C" {
#include <stdlib.h>
#include <stdio.h>
#include "vl/generic.h"
#include "vl/pgm.h"
#include "vl/sift.h"
}
#include <iostream>
#include "image.h"
int main(int argc, const char * argv[]) {
std::string fname = "/Users/BlacKay/Documents/Projects/Images/test/mandrill.pgm";
FILE *in = 0;
vl_uint8... | 28.238636 | 85 | 0.517103 | imkaywu |
c7476c3eb20d5bcc4f8c39599975f1ec7b11cc2c | 898 | cc | C++ | tests/unittests/lite_test.cc | manavrion/segment_tree | 20e3513395c8b9c28994817e7df76aa85e41ed85 | [
"MIT"
] | null | null | null | tests/unittests/lite_test.cc | manavrion/segment_tree | 20e3513395c8b9c28994817e7df76aa85e41ed85 | [
"MIT"
] | 2 | 2020-09-08T22:39:12.000Z | 2020-10-02T11:02:08.000Z | tests/unittests/lite_test.cc | manavrion/segment_tree | 20e3513395c8b9c28994817e7df76aa85e41ed85 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2020 Ruslan Manaev (manavrion@gmail.com)
// This file is part of the segment_tree header-only library.
//
#include <gtest/gtest.h>
#include "manavrion/segment_tree/mapped_segment_tree.h"
#include "manavrion/segment_tree/naive_segment_tree.h"
#include "manavrion/segment_tree/segment_tree.h"
using ... | 26.411765 | 75 | 0.713808 | manavrion |
c747f63a9033349bdf261f259316708993beb7e1 | 5,190 | cpp | C++ | MyWin32App/MainWnd.cpp | HyundongHwang/MyShellHookTest | ddce2f43d699759d91cd7bfdae9631feae399ddd | [
"MIT"
] | null | null | null | MyWin32App/MainWnd.cpp | HyundongHwang/MyShellHookTest | ddce2f43d699759d91cd7bfdae9631feae399ddd | [
"MIT"
] | null | null | null | MyWin32App/MainWnd.cpp | HyundongHwang/MyShellHookTest | ddce2f43d699759d91cd7bfdae9631feae399ddd | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "MainWnd.h"
MainWnd* MainWnd::s_pCurrent = NULL;
MainWnd::MainWnd()
{
s_pCurrent = this;
}
MainWnd::~MainWnd()
{
}
LRESULT MainWnd::_On_WM_CREATE(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
USES_CONVERSION;
auto x = 0;
auto y = 0;
auto w = 500;
... | 26.615385 | 160 | 0.663006 | HyundongHwang |
c74a061a7bb051079e7292243d7efdb3feac3062 | 1,100 | cpp | C++ | src/sdk/client/network_service.cpp | proximax-storage/cpp-xpx-chain-sdk | ff562e8a089849eb0b7f8edc83ad61c7a2728f34 | [
"Apache-2.0"
] | 1 | 2019-12-06T06:55:37.000Z | 2019-12-06T06:55:37.000Z | src/sdk/client/network_service.cpp | proximax-storage/cpp-xpx-chain-sdk | ff562e8a089849eb0b7f8edc83ad61c7a2728f34 | [
"Apache-2.0"
] | null | null | null | src/sdk/client/network_service.cpp | proximax-storage/cpp-xpx-chain-sdk | ff562e8a089849eb0b7f8edc83ad61c7a2728f34 | [
"Apache-2.0"
] | null | null | null | /**
*** Copyright 2019 ProximaX Limited. All rights reserved.
*** Use of this source code is governed by the Apache 2.0
*** license that can be found in the LICENSE file.
**/
#include "xpxchaincpp/client/network_service.h"
#include <infrastructure/utils/deserialization_json.h>
#include <infrastructure/network/http.h>
... | 33.333333 | 90 | 0.737273 | proximax-storage |
c74a0b9fa83fc56225d5a694228f2c1b94ca1638 | 8,030 | cpp | C++ | graph_utils/src/graph_utils.cpp | guo-zixuan/exploration-project | 2ecd3a68dc92f8461f262c7860fa2de6a5e812b4 | [
"MIT"
] | null | null | null | graph_utils/src/graph_utils.cpp | guo-zixuan/exploration-project | 2ecd3a68dc92f8461f262c7860fa2de6a5e812b4 | [
"MIT"
] | null | null | null | graph_utils/src/graph_utils.cpp | guo-zixuan/exploration-project | 2ecd3a68dc92f8461f262c7860fa2de6a5e812b4 | [
"MIT"
] | null | null | null | #include "graph_utils.h"
#include <queue>
#include <vector>
#include <misc_utils/misc_utils.h>
#include <bits/stdc++.h>
#include <math.h>
#define INF 0x3f3f3f3f // integer infinity
#define PI 3.14159265358979323846
using namespace std;
namespace graph_utils_ns {
// Function for getting the shortest path on a graph ... | 32.510121 | 80 | 0.626899 | guo-zixuan |
c74afdd9d5447229d14a92324ba3401704677439 | 6,236 | cpp | C++ | cpp/src/ui_less.cpp | kn65op/cli-toolkit | f31a9d738cb7e262abb3162dae3d77d78602ea67 | [
"BSD-3-Clause"
] | null | null | null | cpp/src/ui_less.cpp | kn65op/cli-toolkit | f31a9d738cb7e262abb3162dae3d77d78602ea67 | [
"BSD-3-Clause"
] | null | null | null | cpp/src/ui_less.cpp | kn65op/cli-toolkit | f31a9d738cb7e262abb3162dae3d77d78602ea67 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2006-2013, Alexis Royer, http://alexis.royer.free.fr/CLI
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 abo... | 37.341317 | 158 | 0.552919 | kn65op |
c74b2c79ee2bb1bb519eacf91ddc11b568a961c9 | 647 | cpp | C++ | Kodovi/src/main.cpp | ssttefann/Visualizing-Sorting-Algorithms | 0946bb8e743ef98e318db3c8f478898447520937 | [
"MIT"
] | null | null | null | Kodovi/src/main.cpp | ssttefann/Visualizing-Sorting-Algorithms | 0946bb8e743ef98e318db3c8f478898447520937 | [
"MIT"
] | null | null | null | Kodovi/src/main.cpp | ssttefann/Visualizing-Sorting-Algorithms | 0946bb8e743ef98e318db3c8f478898447520937 | [
"MIT"
] | null | null | null | //============================================================================
// Name : main.cpp
// Author :Stefan Kandic
// Date : 8.1.2018.
// Copyright :
// Description : module only responsible for the start of the program
//====================================================================... | 17.972222 | 79 | 0.483771 | ssttefann |
c74c099370bc967aa16046d04f450386ff09b0c3 | 14,828 | cpp | C++ | src/dict/dictWord.cpp | objectx/Paraphrase | 02c44405efc8604428ed362893ace50104298021 | [
"MIT"
] | null | null | null | src/dict/dictWord.cpp | objectx/Paraphrase | 02c44405efc8604428ed362893ace50104298021 | [
"MIT"
] | null | null | null | src/dict/dictWord.cpp | objectx/Paraphrase | 02c44405efc8604428ed362893ace50104298021 | [
"MIT"
] | null | null | null | #include "externals.h"
#include "typedValue.h"
#include "stack.h"
#include "word.h"
#include "context.h"
static bool colon(const char *inName,Context& inContext,bool inDefineShortend);
static bool compileValue(Context& inContext,TypedValue& inLambda);
static bool constant(const char *inName,Context& inContext,bool inO... | 29.83501 | 83 | 0.707648 | objectx |
c757b3b7c0a178e9dc5c34c01e1d0b8b1da636dd | 5,367 | cpp | C++ | UI/BitmapCatalog.cpp | HaikuArchives/WhisperBeNet | 56515401b1eab401a3b2390196f85d70aedaaedf | [
"MIT"
] | 1 | 2021-01-09T14:59:21.000Z | 2021-01-09T14:59:21.000Z | UI/BitmapCatalog.cpp | HaikuArchives/WhisperBeNet | 56515401b1eab401a3b2390196f85d70aedaaedf | [
"MIT"
] | null | null | null | UI/BitmapCatalog.cpp | HaikuArchives/WhisperBeNet | 56515401b1eab401a3b2390196f85d70aedaaedf | [
"MIT"
] | 2 | 2015-01-04T10:10:39.000Z | 2020-10-26T08:58:28.000Z | /***********************************************************************************************\
* BeNetBitmapCatalog.cpp *
*************************************************************************************************
* Programmer par: Patrick Henri *
* Derniere modification: 17-03-... | 38.06383 | 97 | 0.484069 | HaikuArchives |
c75b8f6dc620adf01ebc97733ab40ce6c88b1c77 | 435 | cpp | C++ | ianlmk/cs161a/c++/misc/zybooks7.2.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | null | null | null | ianlmk/cs161a/c++/misc/zybooks7.2.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | 1 | 2022-03-25T18:34:47.000Z | 2022-03-25T18:35:23.000Z | ianlmk/cs161a/c++/misc/zybooks7.2.cpp | ianlmk/cs161 | 7a50740d1642ca0111a6d0d076b600744552a066 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
string word = "words";
cout << "\n\n2 number combos" << endl;
for (int i = 0; i < word.length() ; ++i) {
cout << word[i] << ",";
for (int x = i; x > word.length(); x--) {
cout << word[x] << ",";
for (int y = x; y < wor... | 17.4 | 47 | 0.452874 | ianlmk |
c75c39292fde09061c83d84e1d1c77ca842dbc71 | 2,353 | cpp | C++ | OgreCWrapper/Src/ManagedRenderTargetListener.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | OgreCWrapper/Src/ManagedRenderTargetListener.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | OgreCWrapper/Src/ManagedRenderTargetListener.cpp | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | #include "StdAfx.h"
class ManagedRenderTargetListener : Ogre::RenderTargetListener
{
public:
ManagedRenderTargetListener(NativeAction preRenderTargetUpdateCb, NativeAction postRenderTargetUpdateCb, NativeAction preViewportUpdateCb, NativeAction postViewportUpdateCb, NativeAction viewportAddedCb, NativeAction v... | 32.680556 | 311 | 0.822354 | AnomalousMedical |
c75c3e8d3776c3977dfeef364cff002732cda124 | 7,297 | hpp | C++ | include/nonstd/fifo-set.hpp | cjxgm/fifo-map | 714f57b5de6aeab88cd00a0c0def9ae368851dba | [
"MIT"
] | null | null | null | include/nonstd/fifo-set.hpp | cjxgm/fifo-map | 714f57b5de6aeab88cd00a0c0def9ae368851dba | [
"MIT"
] | null | null | null | include/nonstd/fifo-set.hpp | cjxgm/fifo-map | 714f57b5de6aeab88cd00a0c0def9ae368851dba | [
"MIT"
] | null | null | null | #pragma once
// A hash set that guarantees iteration in insertion-order for C++14 or above.
// Or you can say, "a FIFO-ordered duplication-free container" if you feel like it.
//
// It's basically an `std::forward_list` of values,
// with a lookup index built using `std::unordered_map`.
//
// It's a drop-in replacement... | 29.905738 | 100 | 0.521036 | cjxgm |
c75d10916f644b9347ac9371979a620158399f8f | 3,001 | cxx | C++ | main/sw/source/ui/table/rowht.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sw/source/ui/table/rowht.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sw/source/ui/table/rowht.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* 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 y... | 25.649573 | 104 | 0.688437 | Grosskopf |
c75d9bba4880f0d536589fcbf0ef236d3655c50b | 3,628 | cpp | C++ | cpp/godot-cpp/src/gen/InputMap.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/src/gen/InputMap.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/src/gen/InputMap.cpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #include "InputMap.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
#include "InputEvent.hpp"
namespace godot {
InputMap *InputMap::_singleton = NULL;
InputMap::InputMap() {
_owner = godot::api->godot_global_get_sing... | 39.868132 | 113 | 0.791621 | GDNative-Gradle |
c75e5403bac8737812337909399e723929a4171c | 1,692 | cpp | C++ | carpi_master/src/comm/comm_server.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | 2 | 2020-06-07T16:47:20.000Z | 2021-03-20T10:41:34.000Z | carpi_master/src/comm/comm_server.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | carpi_master/src/comm/comm_server.cpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | #include <common_utils/error.hpp>
#include "comm_server.hpp"
namespace carpi {
LOGGER_IMPL(CommServer);
CommServer::CommServer() {
_server = std::make_shared<bluetooth::BluetoothServer>(0x01);
_network_thread = std::thread{[=]() { network_runner(); }};
}
void CommServer::shutdown_acce... | 29.684211 | 112 | 0.521868 | Yanick-Salzmann |
c75f86e06ccc6dc9584efbdffd9456c5d9b48991 | 1,734 | cpp | C++ | vol2/valid-number/valid-number.cpp | zeyuanxy/LeetCode | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | 3 | 2015-12-07T05:40:08.000Z | 2018-12-17T18:39:15.000Z | vol2/valid-number/valid-number.cpp | zeyuanxy/leet-code | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | null | null | null | vol2/valid-number/valid-number.cpp | zeyuanxy/leet-code | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | null | null | null | class Solution {
public:
bool isNumber(const char *s) {
int start = 0, end = 0;
int len = strlen(s), ePos = -1, pPos = -1;
for(start = 0; start < len; ++ start)
if(s[start] != ' ')
break;
for(end = len - 1; end >= 0; -- end)
if(s[end] != ' ')
... | 34.68 | 123 | 0.340254 | zeyuanxy |
c75f9c1a3ad094e5958f95b370a65ae9dafced56 | 12,714 | hpp | C++ | src/circular_list.hpp | mrtryhard/circular_list | 47807fd5025e93b5978011a0927a20b084229d26 | [
"BSD-3-Clause"
] | null | null | null | src/circular_list.hpp | mrtryhard/circular_list | 47807fd5025e93b5978011a0927a20b084229d26 | [
"BSD-3-Clause"
] | 1 | 2018-03-19T22:52:13.000Z | 2018-03-19T22:52:13.000Z | src/circular_list.hpp | mrtryhard/circular_list | 47807fd5025e93b5978011a0927a20b084229d26 | [
"BSD-3-Clause"
] | null | null | null | #ifndef MRT_CONTAINERS_CIRCULAR_LIST_HPP_
#define MRT_CONTAINERS_CIRCULAR_LIST_HPP_
#include <algorithm>
#include <cstddef>
#include <initializer_list>
#include <iterator>
namespace mrt {
namespace containers {
namespace {
template<typename T, typename size_type = std::size_t>
T* ... | 33.195822 | 147 | 0.471606 | mrtryhard |
c75fc01f8fd87b552cf23271ec96e323eee96c2d | 2,232 | hpp | C++ | external/boost_1_60_0/qsboost/range/size.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/range/size.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/range/size.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | // Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is subject to 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)
//
// For more information, see http://www.boost.org/libs/rang... | 28.987013 | 89 | 0.702957 | wouterboomsma |
c763f174c1bf57f3f95c19b6bab7bc7a91ef7619 | 3,552 | hpp | C++ | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/delete_key_operation.hpp | chidozieononiwu/azure-sdk-for-cpp | 7d9032fcc815523231d6ff3e1d96d6212e94b079 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief A long-running operation for deleting a Key.
*
*/
#pragma once
#include <azure/core/http/http.hpp>
#include <azure/core/operation.hpp>
#include <azure/core/operation_status.hpp>
#include <azure/core/... | 32.888889 | 99 | 0.679054 | chidozieononiwu |
c7647b4f780373217243e89f92ca89defb522190 | 30,114 | cpp | C++ | DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp | zxyinz/DeepLearningForBlueShark | 025206aa7450b7ec86ebab9ca2bbcabe4421af91 | [
"MIT"
] | null | null | null | DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp | zxyinz/DeepLearningForBlueShark | 025206aa7450b7ec86ebab9ca2bbcabe4421af91 | [
"MIT"
] | null | null | null | DeepLearningToolKit/Toolkit/Core/Mathematics/SanMathematicsVector.cpp | zxyinz/DeepLearningForBlueShark | 025206aa7450b7ec86ebab9ca2bbcabe4421af91 | [
"MIT"
] | null | null | null | #include"SanMathematicsVector.h"
using namespace std;
using namespace San;
using namespace San::Mathematics;
San::Mathematics::stSPOINT2::stSPOINT2(const sfloat x, const sfloat y)
:x(x), y(y)
{
}
San::Mathematics::stSPOINT2::~stSPOINT2()
{
}
San::Mathematics::stSPOINT3::stSPOINT3(const sfloat x, const sfloat y, const ... | 26.696809 | 105 | 0.666667 | zxyinz |
c767b18c7a6b51dd2930424a54034f3514980fcd | 4,628 | cpp | C++ | src/2011-03-27_Median_of_Two_Sorted_Arrays.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | 3 | 2015-02-12T01:11:37.000Z | 2015-11-08T08:00:24.000Z | src/2011-03-27_Median_of_Two_Sorted_Arrays.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | null | null | null | src/2011-03-27_Median_of_Two_Sorted_Arrays.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | null | null | null | /*
*
* Copyright (c) 2014, weizhenwei
* 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, this
* list of condi... | 32.363636 | 87 | 0.547753 | weizhenwei |
c76862bb4504fc81e9ee9f6ee533b12dda5a492d | 7,416 | cpp | C++ | limbo/src/tests/test_kernel.cpp | yjjuan/automl_cplusplus | 7c427584ed94915b549d31a2097f952c3cfdef36 | [
"Apache-2.0"
] | 2 | 2020-12-08T09:45:56.000Z | 2021-09-27T17:52:18.000Z | limbo/src/tests/test_kernel.cpp | yjjuan/automl_cplusplus | 7c427584ed94915b549d31a2097f952c3cfdef36 | [
"Apache-2.0"
] | null | null | null | limbo/src/tests/test_kernel.cpp | yjjuan/automl_cplusplus | 7c427584ed94915b549d31a2097f952c3cfdef36 | [
"Apache-2.0"
] | null | null | null | //| Copyright Inria May 2015
//| This project has received funding from the European Research Council (ERC) under
//| the European Union's Horizon 2020 research and innovation programme (grant
//| agreement No 637972) - see http://www.resibots.eu
//|
//| Contributor(s):
//| - Jean-Baptiste Mouret (jean-baptiste.moure... | 32.96 | 180 | 0.674218 | yjjuan |
c76949b7596a99dac83e31edef8d490298f98b31 | 614 | cpp | C++ | Potion.cpp | DoesItEvenMatter123/PSIO_Project | 469bd139999e082f758d4158da67aa3f5b7823fe | [
"MIT"
] | null | null | null | Potion.cpp | DoesItEvenMatter123/PSIO_Project | 469bd139999e082f758d4158da67aa3f5b7823fe | [
"MIT"
] | null | null | null | Potion.cpp | DoesItEvenMatter123/PSIO_Project | 469bd139999e082f758d4158da67aa3f5b7823fe | [
"MIT"
] | null | null | null | #include "Including.h"
#include "Potion.h"
Potion::Potion()
{
setTexture();
potion.setScale(2, 2);
vy = 118;
}
Potion::~Potion()
{
}
void Potion::setTexture()
{
if (!potionTexture.loadFromFile("red-potion.png"))
{
std::cout << "Error";
}
potion.setTexture(potionTexture);
}
void Potion::Draw(sf::RenderWin... | 13.347826 | 57 | 0.674267 | DoesItEvenMatter123 |
c76c1ea3fc694b248492a124fa587e2365324771 | 10,783 | cpp | C++ | jabberbot.cpp | JonathanGuthrie/affirmation-bot | 5cb955953ebfa0f0fe3ac59a88927568884b8ce3 | [
"Apache-2.0"
] | null | null | null | jabberbot.cpp | JonathanGuthrie/affirmation-bot | 5cb955953ebfa0f0fe3ac59a88927568884b8ce3 | [
"Apache-2.0"
] | null | null | null | jabberbot.cpp | JonathanGuthrie/affirmation-bot | 5cb955953ebfa0f0fe3ac59a88927568884b8ce3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010 Jonathan R. Guthrie
*
* 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... | 34.450479 | 357 | 0.660855 | JonathanGuthrie |
c771696033451def3fbcbe3b6dde92cc98444e69 | 586 | hpp | C++ | include/Client/EntityDropGenerator.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/EntityDropGenerator.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/EntityDropGenerator.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | #ifndef CLIENT_ENTITYDROPGENERATOR_HPP
#define CLIENT_ENTITYDROPGENERATOR_HPP
#include <map>
#include <functional>
#include <memory>
#include <Client/EntityFactory.hpp>
#include <glm/vec3.hpp>
namespace Client
{
class EntityDropGenerator
{
public:
EntityDropGenerator(EntityFactory *factory... | 20.928571 | 56 | 0.663823 | maximaximal |
c7732b6b1531d2d7cd7a5f99629f040fb73dd2ab | 771 | cpp | C++ | lib/src/cyber/mouse.cpp | yuri-sevatz/cyberpunk-cpp | b0c9a95c012660bfd21c24ac3a69287330d3b3bd | [
"BSD-2-Clause"
] | 5 | 2021-06-12T10:29:58.000Z | 2022-03-03T13:21:57.000Z | lib/src/cyber/mouse.cpp | yuri-sevatz/cyber_breach | b0c9a95c012660bfd21c24ac3a69287330d3b3bd | [
"BSD-2-Clause"
] | null | null | null | lib/src/cyber/mouse.cpp | yuri-sevatz/cyber_breach | b0c9a95c012660bfd21c24ac3a69287330d3b3bd | [
"BSD-2-Clause"
] | 1 | 2021-02-21T09:45:37.000Z | 2021-02-21T09:45:37.000Z | #include <cyber/mouse.hpp>
#include <Windows.h>
void mouse_move(cv::Point2l p) {
std::array<INPUT,1> input;
ZeroMemory(input.data(), sizeof(decltype(input)::value_type) * input.size());
input[0].type = INPUT_MOUSE;
input[0].mi.dx = p.x;
input[0].mi.dy = p.y;
input[0].mi.dwFlags = M... | 30.84 | 82 | 0.651102 | yuri-sevatz |
c775ef9325ed8bfde5ebed6d84ba498222d00ef0 | 3,105 | hpp | C++ | apex_containers/include/apex_containers/set.hpp | ZhenshengLee/apex_containers | 9c671dc5726961abb8cdf795c20215e62c88b2d7 | [
"Apache-2.0"
] | null | null | null | apex_containers/include/apex_containers/set.hpp | ZhenshengLee/apex_containers | 9c671dc5726961abb8cdf795c20215e62c88b2d7 | [
"Apache-2.0"
] | null | null | null | apex_containers/include/apex_containers/set.hpp | ZhenshengLee/apex_containers | 9c671dc5726961abb8cdf795c20215e62c88b2d7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Apex.AI, 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 41.4 | 97 | 0.763285 | ZhenshengLee |
c775f25bc927067d2612dadea383cbe0805f1c0b | 950 | cc | C++ | test/option_test.cc | bzEq/kl | 92de2c1db5ca4bb6c38a632cda7a80d2c9823841 | [
"BSD-3-Clause"
] | null | null | null | test/option_test.cc | bzEq/kl | 92de2c1db5ca4bb6c38a632cda7a80d2c9823841 | [
"BSD-3-Clause"
] | null | null | null | test/option_test.cc | bzEq/kl | 92de2c1db5ca4bb6c38a632cda7a80d2c9823841 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017 Kai Luo <gluokai@gmail.com>. All rights reserved.
// Use of this source code is governed by the BSD license that can be found in
// the LICENSE file.
#include <iostream>
#include <memory>
#include <string>
#include "kl/option.h"
#include "kl/testkit.h"
namespace {
class O {};
kl::Option<int> Fo... | 17.592593 | 78 | 0.612632 | bzEq |
c777d02bb828423ba2d2c9fca58fd18e396d3691 | 4,783 | cc | C++ | src/Router/patShortestPathGeneral.cc | godosou/smaroute | e2ccc9492dff54c8ef5c74d5309d2b06758ba342 | [
"MIT"
] | 4 | 2015-02-23T16:02:52.000Z | 2021-03-26T17:58:53.000Z | src/Router/patShortestPathGeneral.cc | godosou/smaroute | e2ccc9492dff54c8ef5c74d5309d2b06758ba342 | [
"MIT"
] | null | null | null | src/Router/patShortestPathGeneral.cc | godosou/smaroute | e2ccc9492dff54c8ef5c74d5309d2b06758ba342 | [
"MIT"
] | 5 | 2015-02-23T16:05:59.000Z | 2017-05-04T16:13:16.000Z | /*
* patShortestPathGeneral.cc
*
* Created on: Nov 1, 2011
* Author: jchen
*/
#include "patShortestPathGeneral.h"
#include "patRoadBase.h"
#include "patConst.h"
#include "patGpsDDR.h"
#include "patDisplay.h"
#include "patMeasurementDDR.h"
patShortestPathGeneral::patShortestPathGeneral(patNetworkBase* a_netw... | 31.675497 | 126 | 0.703742 | godosou |
c77b1dddc26953ac10f3edd7acda8ab315f2317a | 7,002 | cpp | C++ | CAD/Drawing.cpp | danheeks/PyCAD | 711543aaa88c88a82d909f329b6ee36a9b96ae79 | [
"BSD-3-Clause"
] | 17 | 2018-07-30T17:38:02.000Z | 2022-02-03T10:35:38.000Z | CAD/Drawing.cpp | danheeks/PyCAD | 711543aaa88c88a82d909f329b6ee36a9b96ae79 | [
"BSD-3-Clause"
] | 2 | 2020-06-11T10:29:06.000Z | 2020-06-11T15:42:00.000Z | CAD/Drawing.cpp | danheeks/PyCAD | 711543aaa88c88a82d909f329b6ee36a9b96ae79 | [
"BSD-3-Clause"
] | null | null | null | // Drawing.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include <stdafx.h>
#include "Drawing.h"
#include "HeeksObj.h"
#include "HeeksColor.h"
#include "Property.h"
#include "DigitizeMode.h"
#include "Viewport.h"
#include "KeyCod... | 24.3125 | 115 | 0.687232 | danheeks |
c781ccd303a756ba70c178a55d4c162a1efcfeda | 2,837 | cpp | C++ | src/option_parse.cpp | leapmotion/libuvcxx | c5aa8c6adad31baba9f067c3d8451b8483557334 | [
"Apache-2.0"
] | 10 | 2018-12-21T04:43:40.000Z | 2021-12-17T00:41:39.000Z | src/option_parse.cpp | leapmotion/libuvcxx | c5aa8c6adad31baba9f067c3d8451b8483557334 | [
"Apache-2.0"
] | 5 | 2019-05-09T22:35:45.000Z | 2021-03-12T17:23:44.000Z | src/option_parse.cpp | leapmotion/libuvcxx | c5aa8c6adad31baba9f067c3d8451b8483557334 | [
"Apache-2.0"
] | 13 | 2019-08-01T12:15:24.000Z | 2022-02-09T07:09:29.000Z | //
// option_parse.cpp - easy-to-use command-line parser
//
// Richard Cownie, Leap Motion, 2019-04-18
//
// Copyright (c) Leap Motion 2019. All rights reserved.
//
#include "option_parse.h"
#include <cstdio>
#include <cstring>
namespace leap {
OptionParse::OptionParse(int argc, char** argv) :
argc_(... | 23.065041 | 82 | 0.546352 | leapmotion |
c787cb4307b3afb300cc30d5c66163cd911b1db1 | 1,137 | hpp | C++ | benchmarks/pantheios.hpp | ashgen/reckless | a50429f3819c92b1276c6023f3befafd90ab25b6 | [
"MIT"
] | 1 | 2021-07-09T11:21:46.000Z | 2021-07-09T11:21:46.000Z | benchmarks/pantheios.hpp | dheeraj7r/reckless | d18804e0bd2c05cb1cb31bbf2eef8709e45455cc | [
"MIT"
] | null | null | null | benchmarks/pantheios.hpp | dheeraj7r/reckless | d18804e0bd2c05cb1cb31bbf2eef8709e45455cc | [
"MIT"
] | null | null | null | #include <pantheios/pantheios.hpp>
#include <pantheios/frontends/fe.simple.h>
#include <pantheios/backends/bec.file.h>
#include <pantheios/inserters/character.hpp>
#include <pantheios/inserters/integer.hpp>
#include <pantheios/inserters/real.hpp>
#ifdef LOG_ONLY_DECLARE
#else
extern "C" char const PANTHEIOS_FE_PROCESS... | 43.730769 | 246 | 0.728232 | ashgen |
c789913689e24b3a3d3509f22929c52bce923747 | 3,957 | cpp | C++ | deps/mozjs/src/jsapi-tests/testArgumentsObject.cpp | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 2,494 | 2015-02-11T04:34:13.000Z | 2022-03-31T14:21:47.000Z | deps/mozjs/src/jsapi-tests/testArgumentsObject.cpp | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 685 | 2015-02-11T17:14:26.000Z | 2021-04-13T09:58:39.000Z | deps/mozjs/src/jsapi-tests/testArgumentsObject.cpp | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 442 | 2015-02-12T13:45:46.000Z | 2022-03-21T05:28:05.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.... | 34.710526 | 85 | 0.600202 | ktrzeciaknubisa |
c78baa675a8f0fd8123f7d851d3358c325d64cb8 | 1,276 | cpp | C++ | src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/WaitForActionFinishedAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | #include <KYEngine/SceneTimelineInfo.h>
#include <KYEngine/Private/AnimSceneActions/WaitForActionFinishedAction.h>
#include <KYEngine/Utility/TiXmlHelper.h>
const std::string WaitForActionFinishedAction::XML_NODE = "wait-for-action-finished";
WaitForActionFinishedAction::WaitForActionFinishedAction()
{
}
WaitForActi... | 25.019608 | 91 | 0.775862 | heltena |
c78edeb424cd45f73309489e60109cc7f646de84 | 1,358 | cc | C++ | leetcode/78_subsets.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/78_subsets.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | leetcode/78_subsets.cc | norlanliu/algorithm | 1684db2631f259b4de567164b3ee866351e5b1b6 | [
"MIT"
] | null | null | null | /*
* =====================================================================================
*
* Filename: 78_subsets.cc
*
* Description:
*
* Version: 1.0
* Created: 04/01/2015 10:09:16 PM
* Revision: none
* Compiler: gcc
*
* Author: (Qi Liu), liuqi.edward@g... | 21.555556 | 101 | 0.4757 | norlanliu |
c78fa936a91d02b8c3f3a3c7af6bafee5a607dc4 | 2,766 | cc | C++ | Estructuras/LazyST.cc | joaquingx/Competitive | 09ddc7e06c4428c21bb9de31a846a8364ea038d1 | [
"MIT"
] | 1 | 2018-01-15T09:13:52.000Z | 2018-01-15T09:13:52.000Z | Estructuras/LazyST.cc | joaquingx/Competitive | 09ddc7e06c4428c21bb9de31a846a8364ea038d1 | [
"MIT"
] | null | null | null | Estructuras/LazyST.cc | joaquingx/Competitive | 09ddc7e06c4428c21bb9de31a846a8364ea038d1 | [
"MIT"
] | 1 | 2018-01-15T09:13:51.000Z | 2018-01-15T09:13:51.000Z | #include <bits/stdc++.h>
#define MAXN int(1e5)
using namespace std;
// Based on https://www.hackerearth.com/practice/notes/segment-tree-and-lazy-propagation/
int A[MAXN],tree[4*MAXN],lazy[4*MAXN];
void build(int node, int start, int end)
{
if(start == end)
{
// Leaf node will have a single element
... | 31.431818 | 102 | 0.497831 | joaquingx |
c79023a9fe05d4a6200b4ddc889e4239dc6498e9 | 717 | cpp | C++ | concurrency/call_once.cpp | miaogen123/daily-coding | 5d7f463ad1fee5e512aeb36206526b53b9a781f6 | [
"MIT"
] | 19 | 2018-07-06T06:53:56.000Z | 2022-01-01T16:36:26.000Z | concurrency/call_once.cpp | miaogen123/daily-coding | 5d7f463ad1fee5e512aeb36206526b53b9a781f6 | [
"MIT"
] | null | null | null | concurrency/call_once.cpp | miaogen123/daily-coding | 5d7f463ad1fee5e512aeb36206526b53b9a781f6 | [
"MIT"
] | 17 | 2019-03-27T23:18:43.000Z | 2021-01-18T11:17:57.000Z | #include<iostream>
#include<thread>
#include<mutex>
#include<vector>
#include<string>
using namespace std;
class TestCallOnce
{
public:
TestCallOnce(){}
void init(){
hello=new temp;
std::cout<<"i'm initing\n";
}
int getvi1(){
call_once(IsInitFlag, init, this);
cout<<"1 out "<<hello->vi[1];
return hell... | 15.933333 | 41 | 0.65272 | miaogen123 |
c79403c084bed9899b2cbdd2441962b0fdf49e2b | 4,172 | cpp | C++ | third-party/Empirical/tests/tools/keyname_utils.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | third-party/Empirical/tests/tools/keyname_utils.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | third-party/Empirical/tests/tools/keyname_utils.cpp | koellingh/empirical-p53-simulator | aa6232f661e8fc65852ab6d3e809339557af521b | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "third-party/Catch/single_include/catch2/catch.hpp"
#include "emp/tools/keyname_utils.hpp"
#include <sstream>
#include <iostream>
#include <string>
TEST_CASE("Test keyname_utils", "[tools]")
{
// test unpack
emp::keyname::unpack_t goal{
{"seed", "100"... | 24.397661 | 72 | 0.495686 | koellingh |
c794aa85ee79c418bf6e8c73b90e98d7702b9495 | 1,133 | cc | C++ | caffe2/binaries/speed_benchmark.cc | 123chengbo/caffe2 | 0a68778916f3280b5292fce0d74b73b70fb0f7e8 | [
"BSD-3-Clause"
] | 1 | 2017-03-13T01:38:16.000Z | 2017-03-13T01:38:16.000Z | caffe2/binaries/speed_benchmark.cc | will001/caffe2 | 0a68778916f3280b5292fce0d74b73b70fb0f7e8 | [
"BSD-3-Clause"
] | null | null | null | caffe2/binaries/speed_benchmark.cc | will001/caffe2 | 0a68778916f3280b5292fce0d74b73b70fb0f7e8 | [
"BSD-3-Clause"
] | 1 | 2020-03-19T08:48:39.000Z | 2020-03-19T08:48:39.000Z | #include "caffe2/core/init.h"
#include "caffe2/core/operator.h"
#include "caffe2/proto/caffe2.pb.h"
#include "caffe2/utils/proto_utils.h"
#include "caffe2/core/logging.h"
CAFFE2_DEFINE_string(net, "", "The given net to benchmark.");
CAFFE2_DEFINE_string(init_net, "",
"The given net to initialize a... | 40.464286 | 94 | 0.736981 | 123chengbo |