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
3155e10af3c1704e0df9dfbdde68de005ebd019d
3,457
cpp
C++
src/util/ObjLoader.cpp
Daniel-F-Parker/pt-three-ways
f3f576495468a2701f2a036943f425b52f5874eb
[ "MIT" ]
166
2019-04-30T16:19:34.000Z
2022-03-28T12:36:39.000Z
src/util/ObjLoader.cpp
Daniel-F-Parker/pt-three-ways
f3f576495468a2701f2a036943f425b52f5874eb
[ "MIT" ]
3
2019-10-12T05:34:43.000Z
2021-12-16T22:32:22.000Z
src/util/ObjLoader.cpp
Daniel-F-Parker/pt-three-ways
f3f576495468a2701f2a036943f425b52f5874eb
[ "MIT" ]
20
2019-04-30T19:43:27.000Z
2022-03-03T18:41:25.000Z
#include "ObjLoader.h" #include <algorithm> #include <fstream> #include <string> double impl::asDouble(std::string_view sv) { return std::stod(std::string(sv)); // This is dreadful } int impl::asInt(std::string_view sv) { return std::stoi(std::string(sv)); // This is dreadful } size_t impl::asIndex(std::string_...
31.715596
80
0.601388
Daniel-F-Parker
3159dcc072cfe7603a0b898331bb25d20e8ec184
9,599
cpp
C++
test/saber/amd/test_saber_func_activation_AMD.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
test/saber/amd/test_saber_func_activation_AMD.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
test/saber/amd/test_saber_func_activation_AMD.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 Anakin Authors, Inc. 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 app...
35.420664
186
0.546411
vin-huang
315a3bb7fd1d73e96853f93ab44bcba72e156be1
17,191
cpp
C++
004.cpp
Mateorid/BI-PA2
0f77d20f061f1cad2829a2401c8891a63333629d
[ "MIT" ]
null
null
null
004.cpp
Mateorid/BI-PA2
0f77d20f061f1cad2829a2401c8891a63333629d
[ "MIT" ]
null
null
null
004.cpp
Mateorid/BI-PA2
0f77d20f061f1cad2829a2401c8891a63333629d
[ "MIT" ]
null
null
null
#ifndef __PROGTEST__ #include <cstring> #include <cstdlib> #include <cstdio> #include <cassert> #include <cctype> #include <cmath> #include <iostream> #include <iomanip> #include <sstream> using namespace std; #endif /* __PROGTEST__ */ ///Transaction class class CTransaction { public: char *a...
34.041584
224
0.582979
Mateorid
315ba1f51a51fb7205726bf7db0ff5f0286d4f87
4,260
cpp
C++
Manipulator.cpp
gligneul/Bump-Mapping-Demo
a41ba1ee277c5151d4e075bd81a08b0baafb9db2
[ "MIT" ]
1
2020-05-09T03:27:17.000Z
2020-05-09T03:27:17.000Z
Manipulator.cpp
gligneul/Bump-Mapping-Demo
a41ba1ee277c5151d4e075bd81a08b0baafb9db2
[ "MIT" ]
null
null
null
Manipulator.cpp
gligneul/Bump-Mapping-Demo
a41ba1ee277c5151d4e075bd81a08b0baafb9db2
[ "MIT" ]
1
2020-06-25T12:16:50.000Z
2020-06-25T12:16:50.000Z
/* * The MIT License (MIT) * * Copyright (c) 2016 Gabriel de Quadros Ligneul * * 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 r...
30.647482
81
0.619718
gligneul
315e3bb665c4053b5bddbff0fdbc5fe8c1f931d8
267,079
hpp
C++
src/realm/sync/noinst/root_certs.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
977
2016-09-27T12:54:24.000Z
2022-03-29T08:08:47.000Z
src/realm/sync/noinst/root_certs.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
2,265
2016-09-27T13:01:26.000Z
2022-03-31T17:55:37.000Z
src/realm/sync/noinst/root_certs.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
154
2016-09-27T14:02:56.000Z
2022-03-27T14:51:00.000Z
/******************************************************************************* * * This header file contains a list of SSL root certificates. The certificates * are copied from the node.js git repository src/node_root_certs.h. node.js * itself obtains its list of certificates from * Mozilla's CA certificate sto...
67.410146
131
0.905713
aleyooop
31633206d9697cc67a73f5c3e2d4ec6da5bdf350
1,690
cc
C++
SimG4Core/PhysicsLists/src/CMSFTFPNeutronBuilder.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
SimG4Core/PhysicsLists/src/CMSFTFPNeutronBuilder.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
SimG4Core/PhysicsLists/src/CMSFTFPNeutronBuilder.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
#include "SimG4Core/PhysicsLists/interface/CMSFTFPNeutronBuilder.hh" #include "G4ParticleDefinition.hh" #include "G4ParticleTable.hh" #include "G4ProcessManager.hh" #include "G4NeutronInelasticCrossSection.hh" #include "G4SystemOfUnits.hh" CMSFTFPNeutronBuilder::CMSFTFPNeutronBuilder(G4bool quasiElastic) { theMin =...
24.492754
75
0.786391
nistefan
3168b7db7aa96c8d25222a94a9d48d76bf5cd535
2,372
hpp
C++
test/include/gtest_basisforminimumfrobeniusnormmodel.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
3
2019-08-04T20:18:00.000Z
2021-06-22T23:50:27.000Z
test/include/gtest_basisforminimumfrobeniusnormmodel.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
null
null
null
test/include/gtest_basisforminimumfrobeniusnormmodel.hpp
snowpac/snowpac
ff4c6a83e01fc4ef6a78cf9ff9bf9358f972b305
[ "BSD-2-Clause" ]
null
null
null
#include "gtest/gtest.h" #include "MonomialBasisForMinimumFrobeniusNormModel.hpp" //-------------------------------------------------------------------------------- class Wrapper_MonomialBasisForMinimumFrobeniusNormModel { public: int basisformfnmodel_test1 ( ) { int dim = 2; MonomialBasisForMinim...
34.376812
96
0.46543
snowpac
316c1a9018109912461144885417ac335af3ddec
2,683
cpp
C++
11_Exam_Preparation_Exam_2021/03_reverse_list.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
2
2021-10-31T18:32:47.000Z
2022-01-28T08:58:34.000Z
11_Exam_Preparation_Exam_2021/03_reverse_list.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
11_Exam_Preparation_Exam_2021/03_reverse_list.cpp
NaskoVasilev/Data-Structures-And-Algorithms
1a4dba588df7e88498fddda9c04a8832f8c0dad8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Node { int data; Node *next; }; struct List { Node *head = nullptr; Node *tail = nullptr; void add(int value) { Node *temp = new Node; temp->data = value; temp->next = nullptr; if (head == nullptr and tail == nullpt...
19.302158
55
0.440924
NaskoVasilev
316d4ea4ab5a2e01527f46aefddfb99a9b64db8b
877
cpp
C++
homework3.7/homework3.7.cpp
Valero4ca/individual-tasks
04aa20f3363543d4602ada0625aa99198f04dfac
[ "MIT" ]
null
null
null
homework3.7/homework3.7.cpp
Valero4ca/individual-tasks
04aa20f3363543d4602ada0625aa99198f04dfac
[ "MIT" ]
null
null
null
homework3.7/homework3.7.cpp
Valero4ca/individual-tasks
04aa20f3363543d4602ada0625aa99198f04dfac
[ "MIT" ]
null
null
null
#include <iostream> int main() { setlocale(LC_ALL, "RUS"); int** M, strnum; int m_size,sum=0; std::cout << "Введите размер матрицы:"; std::cin >> m_size; srand(time(0)); M = new int* [m_size]; for (int i = 0; i < m_size; i++) { M[i] = new int[m_size]; for (int j = 0; j < m_size; j++) { M[i][j]...
15.945455
56
0.477765
Valero4ca
3176fdd0cf7dfac7a65aee9825988953358de025
8,043
cc
C++
src/chrome/renderer/extensions/content_watcher.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome/renderer/extensions/content_watcher.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/renderer/extensions/content_watcher.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 2012 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 "chrome/common/extensions/extension_messages.h" #include "chrome/renderer/extensions/chrome_v8_context.h" #include "chrome/renderer/extension...
37.760563
79
0.696879
jxjnjjn
3177781186d170db4889c23cee98e2bf158e71d0
6,309
cpp
C++
src/apps/src/example_slam.cpp
smarc-project/bathymetric_slam
87bc336eee9d978b75a588fccdbbc2d3c1c0edc7
[ "BSD-3-Clause" ]
2
2020-03-03T09:20:06.000Z
2021-06-01T02:59:41.000Z
src/apps/src/example_slam.cpp
smarc-project/bathymetric_slam
87bc336eee9d978b75a588fccdbbc2d3c1c0edc7
[ "BSD-3-Clause" ]
null
null
null
src/apps/src/example_slam.cpp
smarc-project/bathymetric_slam
87bc336eee9d978b75a588fccdbbc2d3c1c0edc7
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2019 Ignacio Torroba (torroba@kth.se) * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
42.918367
758
0.707719
smarc-project
317799301f217304b5b834efac4932ee6a50649d
24,524
cc
C++
src/mlio/csv_reader.cc
babak2520/ml-io
87bedf9537959260723ed0419a0803c76e015ef5
[ "Apache-2.0" ]
69
2019-10-14T18:55:50.000Z
2022-02-28T05:50:39.000Z
src/mlio/csv_reader.cc
cbalioglu/ml-io
d79a895c3fe5e10f0f832cfdcee5a73058abb7c7
[ "Apache-2.0" ]
18
2019-11-16T12:45:40.000Z
2022-01-29T03:47:52.000Z
src/mlio/csv_reader.cc
cbalioglu/ml-io
d79a895c3fe5e10f0f832cfdcee5a73058abb7c7
[ "Apache-2.0" ]
16
2019-10-24T22:35:51.000Z
2021-09-03T18:23:04.000Z
/* * Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not use this file except in compliance with the License. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the...
32.310935
143
0.609852
babak2520
317cc3e33bfe480ffda502a1aa3ef5a5871e5334
414
hpp
C++
include/IOHandling/CommandLineUI.hpp
wndouglas/SudokuSolverNew
a4e57e97979932ef1ad390cbd0497ee1b603e6eb
[ "MIT" ]
null
null
null
include/IOHandling/CommandLineUI.hpp
wndouglas/SudokuSolverNew
a4e57e97979932ef1ad390cbd0497ee1b603e6eb
[ "MIT" ]
null
null
null
include/IOHandling/CommandLineUI.hpp
wndouglas/SudokuSolverNew
a4e57e97979932ef1ad390cbd0497ee1b603e6eb
[ "MIT" ]
null
null
null
#ifndef COMMAND_LINE_UI_HPP #define COMMAND_LINE_UI_HPP #include "UserInterface.hpp" #include <string> namespace SSLib { class CommandLineUI : public UserInterface { public: void Run(); CommandLineUI(std::string filePath, int numRows = 9, int numCols = 9); private: class Comma...
18.818182
78
0.68599
wndouglas
31834871849006fc4dafb514529e24550e26dbf8
614
hpp
C++
ext/src/java/security/Key.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/security/Key.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/security/Key.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/security/fwd-POI.hpp> #include <java/io/Serializable.hpp> struct java::security::Key : public virtual ::java::io::Serializable { ...
27.909091
97
0.701954
pebble2015
31848105b9355983fc77e0ad53a2a1c44562324c
2,412
hpp
C++
lab2/demo/computer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
2
2015-10-08T15:07:07.000Z
2017-09-17T10:08:36.000Z
lab2/demo/computer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
lab2/demo/computer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
#ifndef _COMPUTER_HPP_ #define _COMPUTER_HPP_ //************************************************************************ #include <string> #include <vector> //************************************************************************ class Employee; //*****************************************************************...
22.333333
74
0.366086
zaychenko-sergei
318770274b1a4fb28b8406e557a30ca0780742ed
15,945
cpp
C++
src/joedb/io/Interpreter.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
89
2015-11-19T17:32:54.000Z
2021-12-14T18:52:09.000Z
src/joedb/io/Interpreter.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
7
2017-01-18T16:00:38.000Z
2021-12-25T20:55:04.000Z
src/joedb/io/Interpreter.cpp
Remi-Coulom/joedb
adb96600d9c2dd796684a5fee8f969c3e9fef456
[ "MIT" ]
9
2015-11-21T03:29:27.000Z
2021-10-03T14:49:08.000Z
#include "joedb/Writable.h" #include "joedb/is_identifier.h" #include "joedb/io/Interpreter.h" #include "joedb/interpreter/Database.h" #include "joedb/io/dump.h" #include "joedb/io/json.h" #include "joedb/io/Interpreter_Dump_Writable.h" #include "joedb/io/SQL_Dump_Writable.h" #include "joedb/io/type_io.h" #include "joe...
28.022847
88
0.521229
Remi-Coulom
31878ed65ea5acdc653dc9a8e9b966babfa48bc8
989
cpp
C++
Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp
laycnc/UnrealDevMenu
a41d31b6f28e2b4c81d830f743fb7a8948a00a83
[ "MIT" ]
null
null
null
Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp
laycnc/UnrealDevMenu
a41d31b6f28e2b4c81d830f743fb7a8948a00a83
[ "MIT" ]
null
null
null
Source/UnrealDevMenu/Private/Adapter/DevMenuAdapterInt_DevMenuParam.cpp
laycnc/UnrealDevMenu
a41d31b6f28e2b4c81d830f743fb7a8948a00a83
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Adapter/DevMenuAdapterInt_DevMenuParam.h" #include "DevMenuSubsystem.h" #include "DevParamSubsystem.h" UDevMenuAdapterInt_DevMenuParam::UDevMenuAdapterInt_DevMenuParam( const FObjectInitializer& ObjectInitializer) : Super...
27.472222
78
0.766431
laycnc
318de7f1c716354eb64556f65c199ad6f3d74ed1
5,279
hpp
C++
modules/core/trigonometric/include/nt2/toolbox/trigonometric/functions/simd/common/impl/invtrig/f_invtrig.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/core/trigonometric/include/nt2/toolbox/trigonometric/functions/simd/common/impl/invtrig/f_invtrig.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
modules/core/trigonometric/include/nt2/toolbox/trigonometric/functions/simd/common/impl/invtrig/f_invtrig.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * Copyright 2003-2010 LASMEA UMR 6602 CNRS/U.B.P * Copyright 2009-2010 LRI UMR 8623 CNRS/Univ Paris Sud XI * * Distributed under the Boost Software License, Version 1.0. * See accompanying f...
40.922481
102
0.604092
timblechmann
318eddaca0d233835aca06f80ce0c75a00611230
20,248
cc
C++
computer_vision/focus_lane_detection/InversePerspectiveMapping.cc
rajnikant1010/EVAutomation
a9e27e8916fd6dfc060dac1496a3b2f327ef6322
[ "BSD-2-Clause" ]
3
2019-06-13T02:41:49.000Z
2021-02-13T15:42:36.000Z
computer_vision/focus_lane_detection/InversePerspectiveMapping.cc
rajnikant1010/EVAutomation
a9e27e8916fd6dfc060dac1496a3b2f327ef6322
[ "BSD-2-Clause" ]
null
null
null
computer_vision/focus_lane_detection/InversePerspectiveMapping.cc
rajnikant1010/EVAutomation
a9e27e8916fd6dfc060dac1496a3b2f327ef6322
[ "BSD-2-Clause" ]
8
2017-02-24T02:17:28.000Z
2021-04-22T08:25:00.000Z
/*** * \file InversePerspectiveMapping.cc * \author Mohamed Aly <malaa@caltech.edu> * \date 11/29/2006 */ #include "InversePerspectiveMapping.hh" #include "CameraInfoOpt.h" #include <iostream> #include <math.h> #include <assert.h> #include <list> using namespace std; #include <cv.h> #include <highgui.h> namesp...
33.084967
120
0.667375
rajnikant1010
318f1ac70f9e7a90c3d39152e6033b511bec486b
3,013
hpp
C++
src/cpu/aarch64/jit_op_imm_check.hpp
Takumi-Honda/oneDNN
7550f71b8fc6ea582b11d2c459e2df1aa605322b
[ "Apache-2.0" ]
1
2020-12-24T02:32:43.000Z
2020-12-24T02:32:43.000Z
src/cpu/aarch64/jit_op_imm_check.hpp
Takumi-Honda/oneDNN
7550f71b8fc6ea582b11d2c459e2df1aa605322b
[ "Apache-2.0" ]
null
null
null
src/cpu/aarch64/jit_op_imm_check.hpp
Takumi-Honda/oneDNN
7550f71b8fc6ea582b11d2c459e2df1aa605322b
[ "Apache-2.0" ]
1
2020-08-19T06:15:19.000Z
2020-08-19T06:15:19.000Z
#ifndef JIT_OP_IMM_CHECK_HPP #define JIT_OP_IMM_CHECK_HPP #define ADDMAX 4095 #define LDRMAX 255 #define LDRMIN (-256) #define STRMAX 255 #define STRMIN (-256) #define LD1RWMAX 252 #define LD1WMIN (-8) #define LD1WMAX 7 #define PRFMMAX 32760 #define PRFMMIN 0 #define PRFWMAX 31 #define PRFWMIN (-32) namespace dnnl { ...
32.75
88
0.683372
Takumi-Honda
318ff375d0b7119fc9bc578c0109671aafb739d0
911
hpp
C++
include/util/font.hpp
Sokolmish/coursework_1
94422cc11ab46da4f09d7f0dae67c7a111935582
[ "MIT" ]
2
2021-03-30T20:20:01.000Z
2022-01-08T21:46:39.000Z
include/util/font.hpp
Sokolmish/coursework_1
94422cc11ab46da4f09d7f0dae67c7a111935582
[ "MIT" ]
null
null
null
include/util/font.hpp
Sokolmish/coursework_1
94422cc11ab46da4f09d7f0dae67c7a111935582
[ "MIT" ]
null
null
null
#ifndef __FONT_H__ #define __FONT_H__ #include "glew.hpp" #include <string> #include <map> #include <glm/vec3.hpp> #include "shader.hpp" class Font { private: struct Character { int width, height; int bearingX, bearingY; GLuint advance; int atlasX, atla...
21.690476
122
0.628979
Sokolmish
3192eceaf08713fcc7b6289ccf24958444f58147
101
cpp
C++
NFComm/NFEventProcessPlugin/dllmain.cpp
lindianyin/NoahGameFrame
2ba0949b142c5b0ffb411423c9a7b321a1f01ee7
[ "Apache-2.0" ]
null
null
null
NFComm/NFEventProcessPlugin/dllmain.cpp
lindianyin/NoahGameFrame
2ba0949b142c5b0ffb411423c9a7b321a1f01ee7
[ "Apache-2.0" ]
null
null
null
NFComm/NFEventProcessPlugin/dllmain.cpp
lindianyin/NoahGameFrame
2ba0949b142c5b0ffb411423c9a7b321a1f01ee7
[ "Apache-2.0" ]
1
2018-07-15T07:30:03.000Z
2018-07-15T07:30:03.000Z
#include "NFComm/NFPluginModule/NFPlatform.h" #if NF_PLATFORM == NF_PLATFORM_WIN #endif
11.222222
46
0.70297
lindianyin
319349fc860ebfef7ae612db2e0f9e040c9705cb
1,115
hpp
C++
src/doll-house-lights/Keypad.hpp
haizaar/doll-house-lights
fe6bfc57a98915d68c2cb2f3fbf608e8893adc4f
[ "Apache-2.0" ]
1
2019-07-13T13:18:36.000Z
2019-07-13T13:18:36.000Z
src/doll-house-lights/Keypad.hpp
haizaar/doll-house-lights
fe6bfc57a98915d68c2cb2f3fbf608e8893adc4f
[ "Apache-2.0" ]
6
2019-06-26T15:01:17.000Z
2019-07-18T14:55:46.000Z
src/doll-house-lights/Keypad.hpp
haizaar/doll-house-lights
fe6bfc57a98915d68c2cb2f3fbf608e8893adc4f
[ "Apache-2.0" ]
1
2019-07-07T20:10:02.000Z
2019-07-07T20:10:02.000Z
#pragma once namespace dhl { namespace keypad { enum Keys { Power = 0xFF02FD, ColorCopy = 0xFFD02F, ColorPaste = 0xFFE01F, RoomOn = 0xFF3AC5, RoomOff = 0XFFBA45, // Colors // Numbers mean x/y button index from bottom left side // of the keypad color block Color11 = 0xFF18E7, Color12 = 0xFF9867...
17.698413
56
0.661883
haizaar
31971dd13ffab9e73faf7dc620d2cee92627fab8
2,683
cpp
C++
Game/interfaces/objectmanager.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
3
2020-10-30T13:26:34.000Z
2020-12-08T13:21:34.000Z
Game/interfaces/objectmanager.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
15
2020-12-10T18:13:20.000Z
2021-06-08T10:37:51.000Z
Game/interfaces/objectmanager.cpp
Moppa5/pirkanmaan-valloitus
725dd1a9ef29dcd314faa179124541618dc8e5bf
[ "MIT" ]
null
null
null
#include "objectmanager.hh" #include "iostream" namespace Game { ObjectManager::ObjectManager() { } ObjectManager::~ObjectManager() { } std::vector<std::shared_ptr<Course::TileBase> > ObjectManager::getTiles( const std::vector<Course::Coordinate> &coordinates) { std::vector<std::shared_ptr<Course::TileB...
23.955357
80
0.597838
Moppa5
31981524703aae7356068ccd7dac566cca992780
3,270
hpp
C++
include/tudocomp/io/InputRestrictions.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
17
2017-03-04T13:04:49.000Z
2021-12-03T06:58:20.000Z
include/tudocomp/io/InputRestrictions.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
27
2016-01-22T18:31:37.000Z
2021-11-27T10:50:40.000Z
include/tudocomp/io/InputRestrictions.hpp
JZentgraf/tudocomp
3a4522e3089716e4483b935e74aaae56cc547589
[ "ECL-2.0", "Apache-2.0" ]
16
2017-03-14T12:46:51.000Z
2021-06-25T18:19:50.000Z
#pragma once #include <tudocomp/util.hpp> namespace tdc {namespace io { /// Describes a set of restrictions placed on input data. /// /// Restrictions include illigal bytes in the input (called escape bytes here), /// and wether the input needs to be null terminated. class InputRestrictions { ...
33.030303
114
0.587462
JZentgraf
3198d5e8d73fa515aa353645b272ea1ba168f86d
4,026
hpp
C++
example/p0059/ring_span.hpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
5
2020-06-06T20:33:43.000Z
2020-11-03T01:21:20.000Z
example/p0059/ring_span.hpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
null
null
null
example/p0059/ring_span.hpp
breese/trial.circular
8b8269c1ba90f1cb3c7a8970a27ccb149069ed24
[ "BSL-1.0" ]
null
null
null
#ifndef TRIAL_CIRCULAR_EXAMPLE_P0056_RING_SPAN_HPP #define TRIAL_CIRCULAR_EXAMPLE_P0056_RING_SPAN_HPP /////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2019 Bjorn Reese <breese@users.sourceforge.net> // // Distributed under the Boost Software License, Version 1.0. // ...
27.387755
159
0.640586
breese
3199d2e8bfa8ea1a9ef38b0d80c947b8c92e8272
656
hpp
C++
pomdog/input/win32/keyboard_win32.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/input/win32/keyboard_win32.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/input/win32/keyboard_win32.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #pragma once #include "pomdog/application/system_events.hpp" #include "pomdog/input/keyboard.hpp" #include "pomdog/input/keyboard_state.hpp" #include "pomdog/platform/win32/prerequisites_win32.hpp" namespace pomdog::detail::win32 { class KeyboardWin32 final ...
26.24
126
0.785061
mogemimi
31a01022b3a4ce12140b792b71e99a0ecef3d0f6
3,099
cpp
C++
ncnn/segment.cpp
russelldj/BiSeNet
d29fa741ad5275fab9e1bfc237b02811acf73b98
[ "MIT" ]
966
2018-12-13T12:11:18.000Z
2022-03-31T14:13:55.000Z
ncnn/segment.cpp
russelldj/BiSeNet
d29fa741ad5275fab9e1bfc237b02811acf73b98
[ "MIT" ]
214
2019-01-25T10:06:24.000Z
2022-03-22T01:55:28.000Z
ncnn/segment.cpp
russelldj/BiSeNet
d29fa741ad5275fab9e1bfc237b02811acf73b98
[ "MIT" ]
247
2019-03-04T11:39:06.000Z
2022-03-30T05:45:56.000Z
#include "net.h" #include "mat.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <random> #include <algorithm> #include <stdio.h> #include <vector> using std::string; using std::vector; using cv::Mat; vector<vector<uint8...
26.262712
72
0.557922
russelldj
31a5987c73a51102dece38f015f90ac9238528f9
1,773
cpp
C++
bench/seidel_2d.cpp
dongchen-coder/locMarkov
584f06a3ca257d156be44a9f604df2850a42b436
[ "MIT" ]
null
null
null
bench/seidel_2d.cpp
dongchen-coder/locMarkov
584f06a3ca257d156be44a9f604df2850a42b436
[ "MIT" ]
null
null
null
bench/seidel_2d.cpp
dongchen-coder/locMarkov
584f06a3ca257d156be44a9f604df2850a42b436
[ "MIT" ]
null
null
null
#include "./utility/mc_kth.h" int TSTEPS; int N; #define A_OFFSET 0 void seidel_2d_trace(double* A) { int t, i, j; vector<int> idx; for (t = 0; t <= TSTEPS - 1; t++) for (i = 1; i<= N - 2; i++) for (j = 1; j <= N - 2; j++) { idx.clear(); idx.push_back(t); idx.push_back(i); idx.push_back(...
29.55
196
0.494078
dongchen-coder
31a798947c457f546920712973a23c2661e6c0de
25,601
cpp
C++
src/drivers/ddragon.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/ddragon.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/ddragon.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/* Double Dragon, Double Dragon (bootleg) & Double Dragon II By Carlos A. Lozano & Rob Rosenbrock Help to do the original drivers from Chris Moore Sprite CPU support and additional code by Phil Stroffolino Sprite CPU emulation, vblank support, and partial sound code by Ernesto Corvi. Dipswitch to dd2 by Marco Cassili....
28.508909
106
0.66349
pierrelouys
b3b1c6cd8b0c19f45ef96384553f6f32f80319b4
33,662
cxx
C++
test/vr/vr_emulator.cxx
lintianfang/cleaning_cobotics
26ccba618aec0b1176fcfc889e95ed5320ccbe75
[ "BSD-3-Clause" ]
1
2020-07-26T10:54:41.000Z
2020-07-26T10:54:41.000Z
test/vr/vr_emulator.cxx
lintianfang/cleaning_cobotics
26ccba618aec0b1176fcfc889e95ed5320ccbe75
[ "BSD-3-Clause" ]
null
null
null
test/vr/vr_emulator.cxx
lintianfang/cleaning_cobotics
26ccba618aec0b1176fcfc889e95ed5320ccbe75
[ "BSD-3-Clause" ]
null
null
null
#include "vr_emulator.h" #include <cgv/math/ftransform.h> #include <cgv/math/pose.h> #include <cgv/utils/scan.h> #include <cgv/gui/key_event.h> #include <cgv/gui/trigger.h> #include <cgv_reflect_types/math/fvec.h> #include <cgv_reflect_types/math/quaternion.h> #include <cg_vr/vr_server.h> #include <cgv/utils/convert_st...
38.295791
238
0.690007
lintianfang
b3b4f65e828c04c289f535b9375d1353a9ca41f2
984
cpp
C++
platform_bionic-android-vts-12.0_r2/tests/netinet_ip_icmp_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
1
2019-05-04T02:30:08.000Z
2019-05-04T02:30:08.000Z
platform_bionic-android-vts-12.0_r2/tests/netinet_ip_icmp_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
platform_bionic-android-vts-12.0_r2/tests/netinet_ip_icmp_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.741935
75
0.720528
webos21
b3b72217ed5fa497f0f2907df96208ad90276ed9
1,142
cpp
C++
src/mainproc.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/mainproc.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/mainproc.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#include "mainproc.hpp" #include "object/scene/mgr.hpp" #include "output.hpp" #include "sharedata.hpp" #include "effect/if.hpp" #include "imgui_sdl2.hpp" #include "spine/src/profiler.hpp" namespace rev { // ---------------- MainProc ---------------- const bool detail::c_pauseDefault = false; bool MainProc::runU(con...
20.763636
46
0.623468
degarashi
b3c278091b3794774aeff57b4a9787e6df8bc089
1,682
cpp
C++
src/palette.cpp
fengjixuchui/idatag
1c7d6bb52a326bb7b6c3eae0139dcb70bd024a09
[ "MIT" ]
45
2019-06-05T13:23:17.000Z
2022-02-17T21:08:14.000Z
src/palette.cpp
agatignol/idatag
91d1cb8fde525d7a9dc7e8a9f2f6317c5046d43a
[ "MIT" ]
null
null
null
src/palette.cpp
agatignol/idatag
91d1cb8fde525d7a9dc7e8a9f2f6317c5046d43a
[ "MIT" ]
9
2019-06-09T11:10:42.000Z
2020-12-15T10:21:43.000Z
#include "palette.hpp" Idatag_palette::Idatag_palette(const std::vector<std::string>& feeders) { this->feeders = feeders; srand(static_cast <unsigned> (time(0))); this->generate_colours(32); this->associate_colours(); } void Idatag_palette::refresh_feeders(const std::vector<std::string>& feeders) { this->feed...
20.765432
77
0.695006
fengjixuchui
b3c3a420237d63a51117377385b953d6ad645299
8,728
cpp
C++
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. // DO NOT MODIFY! // This file has been generated from the Jinja2 template in // third_part...
43.422886
226
0.785747
metux
b3c580ccdbb9bead65c38388e4dd60d5c04fa8cc
2,551
cpp
C++
Interpolation/test/Interpolation/test_interpolation_functions_2.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Interpolation/test/Interpolation/test_interpolation_functions_2.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Interpolation/test/Interpolation/test_interpolation_functions_2.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
// Copyright (c) 2003 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // // Author(s) : Julia Floetotto #include <CGAL/_test_interpolation_functions_2.cpp> #include <CGAL/Exact_predi...
34.945205
90
0.672285
ffteja
b3c588d96f55fef4285cdaec68f40b3cc79245b0
445
cpp
C++
src/main/cpp/ExpandedTemplates.cpp
DaltonMcCart/csc232-lab04
f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d
[ "MIT" ]
null
null
null
src/main/cpp/ExpandedTemplates.cpp
DaltonMcCart/csc232-lab04
f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d
[ "MIT" ]
null
null
null
src/main/cpp/ExpandedTemplates.cpp
DaltonMcCart/csc232-lab04
f1bcacb6b006f968c3a3c1f3dc59ec1c242e162d
[ "MIT" ]
null
null
null
/** * CSC232 - Data Structures with C++ * Missouri State University, Fall 2017 * * @file ExpandedTemplates.cpp * @authors Jim Daehn <jdaehn@missouristate.edu> */ #include "ArrayBag.cpp" #include "BumpStrategy.cpp" #include "DoublingStrategy.cpp" #include "ResizableArrayBag.cpp" template class ResizableArrayB...
26.176471
48
0.768539
DaltonMcCart
b3c6afcf7c44b4a789c868d7631567e24162b92c
3,864
cpp
C++
lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
grayed/lumina
0a5b8e32467c9c388d74a53ed69aed8275a10098
[ "BSD-3-Clause" ]
null
null
null
lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
grayed/lumina
0a5b8e32467c9c388d74a53ed69aed8275a10098
[ "BSD-3-Clause" ]
null
null
null
lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp
grayed/lumina
0a5b8e32467c9c388d74a53ed69aed8275a10098
[ "BSD-3-Clause" ]
1
2021-03-23T12:26:44.000Z
2021-03-23T12:26:44.000Z
#include "AppLauncherPlugin.h" #include "../../LSession.h" AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID){ QVBoxLayout *lay = new QVBoxLayout(); this->setLayout(lay); lay->setContentsMargins(0,0,0,0); button = new QToolButton(this); button->setToolButtonStyle(Qt:...
42.933333
107
0.686335
grayed
b3c6d50bf36856ccc0ce2c27888f8178a1235900
3,383
cpp
C++
src/tdme/network/udpclient/NIOUDPClientMessage.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/network/udpclient/NIOUDPClientMessage.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/network/udpclient/NIOUDPClientMessage.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/network/udpclient/NIOUDPClientMessage.h> #include <string.h> #include <string> #include <sstream> #include <tdme/network/udpclient/NIOUDPClient.h> #include <tdme/utils/Console.h> #include <tdme/utils/Time.h> #include <tdme/utils/IntEncDec.h> using tdme::network::udpclient::NIOUDPClientMessage; using...
25.246269
168
0.74431
mahula
b3cfdefdb3ad4981889009e76ba8632698a7e9a0
1,506
hpp
C++
src/graphics/Texture.hpp
Nephet/CPP_project
1ae2890611e190ea44f403afa7fe9658c5147f4e
[ "libtiff", "Libpng", "BSD-3-Clause" ]
null
null
null
src/graphics/Texture.hpp
Nephet/CPP_project
1ae2890611e190ea44f403afa7fe9658c5147f4e
[ "libtiff", "Libpng", "BSD-3-Clause" ]
null
null
null
src/graphics/Texture.hpp
Nephet/CPP_project
1ae2890611e190ea44f403afa7fe9658c5147f4e
[ "libtiff", "Libpng", "BSD-3-Clause" ]
null
null
null
/* Arrogance Engine: a simple SDL/OpenGL game engine for Desktop and Android. Copyright (C) 2012 William James Dyce This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or...
28.415094
74
0.720452
Nephet
b3d155968502bfb85abdacca972fdd40e0033df1
261
cpp
C++
src/hal/DummyLogicOutput.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
src/hal/DummyLogicOutput.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
src/hal/DummyLogicOutput.cpp
MarcelGehrig2/eeros-vt1
c1a8fa5329c98a89b97af2738bb6a674b6890704
[ "Apache-2.0" ]
null
null
null
#include <eeros/hal/DummyLogicOutput.hpp> using namespace eeros::hal; DummyLogicOutput::DummyLogicOutput(std::string id) : PeripheralOutput<bool>(id) { } bool DummyLogicOutput::get() { return value; } void DummyLogicOutput::set(bool val) { value = val; }
18.642857
83
0.739464
MarcelGehrig2
b3d3d81061efa2e2e73c2031648ebd4c46dbbfa1
4,524
cpp
C++
Service_Create_Description.cpp
srlemke/Oficina
5460191cf8f46351ac7f33c35798cb2ebb45c2f9
[ "MIT" ]
null
null
null
Service_Create_Description.cpp
srlemke/Oficina
5460191cf8f46351ac7f33c35798cb2ebb45c2f9
[ "MIT" ]
null
null
null
Service_Create_Description.cpp
srlemke/Oficina
5460191cf8f46351ac7f33c35798cb2ebb45c2f9
[ "MIT" ]
1
2017-08-25T16:21:10.000Z
2017-08-25T16:21:10.000Z
#include "Service_Create_Description.h" #include "ui_Service_Create_Description.h" #include "System_Services_and_Info.h" #include "QMessageBox" #include "QSqlQueryModel" #include "QSqlQuery" #include "QSqlError" #include "QSettings" Service_Create_Description::Service_Create_Description(QWidget *parent) : QDialog...
33.264706
176
0.68855
srlemke
b3d415564cecb727c00ff547a6812a1aaf0217c0
2,370
cc
C++
scope.cc
dox4/mqcc
1721171ae2ab0d2d32b3bd63abd25cea05d7a5ed
[ "MIT" ]
null
null
null
scope.cc
dox4/mqcc
1721171ae2ab0d2d32b3bd63abd25cea05d7a5ed
[ "MIT" ]
null
null
null
scope.cc
dox4/mqcc
1721171ae2ab0d2d32b3bd63abd25cea05d7a5ed
[ "MIT" ]
null
null
null
#include "scope.h" #include "type.h" #include <cstdint> #include <sstream> using namespace std; // Object *Scope::resolve_name(const std::string_view &name) { // if (_vars.find(name) != _vars.end()) // return _vars.at(name); // return nullptr; // } // // Object *Scope::resolve_name_in_local(const std:...
31.6
92
0.656962
dox4
b3d7795fde867a52ea2d1d16c1600f8ca4112b10
1,506
cpp
C++
aws-cpp-sdk-networkmanager/source/model/ListConnectPeersRequest.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-networkmanager/source/model/ListConnectPeersRequest.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-networkmanager/source/model/ListConnectPeersRequest.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/networkmanager/model/ListConnectPeersRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #in...
22.477612
70
0.692563
perfectrecall
b3e2f1bcd9bf2a1f524b0de551095d9768045815
566
cpp
C++
Solutions/MOVIEWKN.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
1
2022-03-26T09:38:02.000Z
2022-03-26T09:38:02.000Z
Solutions/MOVIEWKN.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
Solutions/MOVIEWKN.cpp
nikramakrishnan/codechef-solutions
f7ab2199660275e972a387541ecfc24fd358e03e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int t,n; cin>>t; while(t--){ cin>>n; int l[n],r[n],s,sum=0,index,rtrack; for(int i=0;i<n;i++){ cin>>l[i]; } for(int i=0;i<n;i++){ cin>>r[i]; } for(int j=0;j<n;j++){ s=l[j]+r[j]; if(s>sum){ index=j...
17.151515
39
0.362191
nikramakrishnan
b3e31323602dc9606ca0557b0dbe82b9a45cdeeb
728
cc
C++
webm_parser/tests/bit_utils_test.cc
hustwei/libwebm
9732ae991efb71aced4267d4794918279e362d99
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
webm_parser/tests/bit_utils_test.cc
hustwei/libwebm
9732ae991efb71aced4267d4794918279e362d99
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
webm_parser/tests/bit_utils_test.cc
hustwei/libwebm
9732ae991efb71aced4267d4794918279e362d99
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2016 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing projec...
29.12
70
0.748626
hustwei
b3e4eabc9ed73b28a0fa0faca70c16898beba9a9
3,974
cc
C++
plugins/lpcm/Decoder.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
75
2015-04-26T11:22:07.000Z
2022-02-12T17:18:37.000Z
plugins/lpcm/Decoder.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
7
2016-05-31T21:56:01.000Z
2019-09-15T06:25:28.000Z
plugins/lpcm/Decoder.cc
bsdelf/mous
eb59b625d0ba8236f3597ae6015d9215cef922cf
[ "BSD-2-Clause" ]
19
2015-09-23T01:50:15.000Z
2022-02-12T17:18:41.000Z
#include <inttypes.h> #include <fstream> #include <cstring> using namespace std; #include <plugin/DecoderProto.h> using namespace mous; #include "Common.h" #define SAMPLES_PER_BLOCK 200; namespace { struct Self { ifstream input_stream; WavHeader wav_header; size_t raw_data_offset = 0; ...
26.317881
101
0.672874
bsdelf
b3e991a95081e21723fe5331b9a639eef2c44a19
8,780
cpp
C++
src/RestClient/Api.build/__constants.cpp
shasha79/nectm
600044a6fe2c3a73e0d9327bc85883831a26dcae
[ "Apache-2.0" ]
3
2020-02-28T21:42:44.000Z
2021-03-12T13:56:16.000Z
src/RestClient/Api.build/__constants.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
src/RestClient/Api.build/__constants.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-03-26T16:05:11.000Z
2020-08-06T16:35:39.000Z
/* * Copyright (c) 2020 Pangeanic SL. * * This file is part of NEC TM * (see https://github.com/shasha79/nectm). * * 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 copy...
45.257732
104
0.756492
shasha79
b3eeee7a52016d38c834cd157e131d417bb2bd27
503
cpp
C++
11.14-conditionalExplicit2/main.cpp
andreasfertig/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
107
2021-04-13T12:43:06.000Z
2022-03-30T05:07:16.000Z
11.14-conditionalExplicit2/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
1
2021-04-13T12:59:30.000Z
2021-04-13T13:02:55.000Z
11.14-conditionalExplicit2/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
29
2021-04-13T18:07:03.000Z
2022-03-28T13:44:01.000Z
// Copyright (c) Andreas Fertig. // SPDX-License-Identifier: MIT #include <type_traits> struct B {}; struct A { A() = default; explicit A(const B&) {} operator B() const { return {}; }; }; template<typename T> struct Wrapper { template<typename U> explicit(not std::is_convertible_v<U, T>) Wrapper(const U&...
16.225806
62
0.640159
andreasfertig
b3efe4877963bfd472b8285c831409d0ae8fbf9f
71
cpp
C++
lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Positioning/Qt5Positioning_QGeoPositionInfoSourceFactoryPoll_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
#include <QtPlugin> Q_IMPORT_PLUGIN(QGeoPositionInfoSourceFactoryPoll)
23.666667
50
0.887324
samlior
b3f26fd221d93d345ba4f0d9062817accd73e191
27,164
cpp
C++
src/rpcpopnode.cpp
POPChainFoundation/PopChain-Original
a99f5fbdf6ca96a281491482530c20a4c5915492
[ "MIT" ]
20
2018-04-28T06:38:05.000Z
2018-07-28T04:44:42.000Z
src/rpcpopnode.cpp
POPChainFoundation/PopChain-Original
a99f5fbdf6ca96a281491482530c20a4c5915492
[ "MIT" ]
2
2018-05-15T15:14:36.000Z
2018-05-18T00:51:48.000Z
src/rpcpopnode.cpp
POPChainFoundation/PopChain-Original
a99f5fbdf6ca96a281491482530c20a4c5915492
[ "MIT" ]
7
2018-05-15T12:28:19.000Z
2018-08-23T04:59:39.000Z
// // Copyright (c) 2017-2018 The Popchain Core Developers #include "activepopnode.h" #include "popsend.h" #include "init.h" #include "main.h" #include "popnode-payments.h" #include "popnode-sync.h" #include "popnodeconfig.h" #include "popnodeman.h" #include "rpcserver.h" #include "util.h" #include "utilmoneystr.h" #...
39.540029
191
0.579664
POPChainFoundation
b3f4c206d7fa5261ceede5e32247d22886c44204
2,385
cc
C++
elements/grid/linktestreceiver.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/grid/linktestreceiver.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/grid/linktestreceiver.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
/* * linktestreceiver.{cc,hh} -- receive and print link test packets * Douglas S. J. De Couto * * Copyright (c) 1999-2002 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), ...
26.797753
83
0.716981
MacWR
b3f826ae7c02e1f54afd80f7e631f3e8a504861f
1,361
cpp
C++
exercicio15/exercicio15/exercicio15.cpp
LucasRafaelBalduino/exercicio
411d4f0f87c70fcf6a216dcfc86089ee190b481e
[ "MIT" ]
1
2019-11-27T17:37:42.000Z
2019-11-27T17:37:42.000Z
exercicio15/exercicio15/exercicio15.cpp
LucasRafaelBalduino/exercicio
411d4f0f87c70fcf6a216dcfc86089ee190b481e
[ "MIT" ]
null
null
null
exercicio15/exercicio15/exercicio15.cpp
LucasRafaelBalduino/exercicio
411d4f0f87c70fcf6a216dcfc86089ee190b481e
[ "MIT" ]
null
null
null
// exercicio15.cpp : Este arquivo contém a função 'main'. A execução do programa começa e termina ali. // #include "pch.h" #include <iostream> // Dados um inteiro x e um inteiro não - negativo n, calcular x n int LerNumero() { printf_s("Digite um numero: \n"); int numero; scanf_s("%d", &numero); return numero; } ...
31.651163
178
0.713446
LucasRafaelBalduino
b3f9c6bd1a5ef7bee261f3d3f81ea4ea26c6cb8d
1,515
cpp
C++
demos/dox/stream/lexical_cast.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
2
2016-10-28T07:43:39.000Z
2018-01-02T17:54:33.000Z
demos/dox/stream/lexical_cast.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
1
2018-01-15T20:15:35.000Z
2018-01-15T20:15:35.000Z
demos/dox/stream/lexical_cast.cpp
h-2/SeqAnHTS
a1923897fe1bd359136cfd09f0d4c245978c0fce
[ "BSD-3-Clause" ]
2
2015-06-17T11:44:36.000Z
2015-11-20T13:09:16.000Z
#include <iostream> #include <string> #include <seqan/sequence.h> #include <seqan/stream.h> using namespace seqan; int main() { // interpret string literal as int int x = 0; // successful cast std::cout << "success=" << lexicalCast(x, "123") << ", x=" << x << "\n"; // unsuccessful cast std::c...
28.055556
89
0.525413
h-2
b6000e7132dceeb5c6a2e995611586bfdd517272
28,103
cxx
C++
gui/CameraView.cxx
quantumech3/TeleSculptor
921bf6911052ec77ac1cb15885cc49a90e473a61
[ "BSD-3-Clause" ]
1
2021-05-25T23:13:21.000Z
2021-05-25T23:13:21.000Z
gui/CameraView.cxx
quantumech3/TeleSculptor
921bf6911052ec77ac1cb15885cc49a90e473a61
[ "BSD-3-Clause" ]
null
null
null
gui/CameraView.cxx
quantumech3/TeleSculptor
921bf6911052ec77ac1cb15885cc49a90e473a61
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2017-2018 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
29.488982
80
0.605985
quantumech3
b6032e4f09510093be59c500f1a63805270743c0
11,087
hpp
C++
engine/primitives/vector_prims.hpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
27
2020-06-05T15:39:31.000Z
2022-01-07T05:03:01.000Z
engine/primitives/vector_prims.hpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
1
2021-02-12T04:51:40.000Z
2021-02-12T04:51:40.000Z
engine/primitives/vector_prims.hpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
4
2021-02-12T04:39:55.000Z
2021-11-15T08:00:06.000Z
#ifndef VECTOR_PRIMITIVES_H_ #define VECTOR_PRIMITIVES_H_ namespace zhetapi { /** * @brief Default vector constructor. */ template <class T> Vector <T> ::Vector() : Matrix <T> () {} /** * @brief Size constructor. Components are initialized to 0 or the default value * of T. * * @param len size of the vector. *...
18.447587
82
0.603409
Venkster123
b6034d816e5d5dc4609714006cc4d0016ebcfcee
4,891
cpp
C++
src/SerialPort.cpp
Nodens-LOTGA/CircuitTester
23438f49651f537c43cd78f64e61c2a5024ec8c8
[ "MIT" ]
null
null
null
src/SerialPort.cpp
Nodens-LOTGA/CircuitTester
23438f49651f537c43cd78f64e61c2a5024ec8c8
[ "MIT" ]
null
null
null
src/SerialPort.cpp
Nodens-LOTGA/CircuitTester
23438f49651f537c43cd78f64e61c2a5024ec8c8
[ "MIT" ]
null
null
null
#include "SerialPort.h" #include <QDebug> SerialPort::~SerialPort() { close(); } bool SerialPort::open(std::string portName, bool overlapped, BaudRate baud, DataBits dataBits) { if (opened) return (true); hComm = CreateFile(portName.c_str(), GENERIC_READ | GENERIC_WRITE, 0, 0, ...
28.271676
78
0.645471
Nodens-LOTGA
b604aae12b49d34359b1ea993537d4fcfcb00837
14,347
cpp
C++
src/consensus/concord_commands_handler.cpp
jagveer-loky/concord
50d5e0d1b51f075935d868fa069c6d5e40573728
[ "Apache-2.0" ]
74
2019-09-16T11:05:10.000Z
2021-11-08T10:26:53.000Z
src/consensus/concord_commands_handler.cpp
jagveer-loky/concord
50d5e0d1b51f075935d868fa069c6d5e40573728
[ "Apache-2.0" ]
27
2019-10-15T22:08:01.000Z
2021-04-29T13:18:12.000Z
src/consensus/concord_commands_handler.cpp
jagveer-loky/concord
50d5e0d1b51f075935d868fa069c6d5e40573728
[ "Apache-2.0" ]
19
2019-09-15T08:59:45.000Z
2021-07-28T22:47:50.000Z
// Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // // Shim between generic KVB and Concord-specific commands handlers. #include "concord_commands_handler.hpp" #include "hash_defs.h" #include "time/time_contract.hpp" #include <opentracing/tracer.h> #include <promethe...
39.306849
80
0.643828
jagveer-loky
b60952b51ac8baa4eaad52702ed8cad4c36f38f8
11,164
cc
C++
ash/common/system/ime/tray_ime_chromeos.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
ash/common/system/ime/tray_ime_chromeos.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
ash/common/system/ime/tray_ime_chromeos.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/common/system/ime/tray_ime_chromeos.h" #include <vector> #include "ash/common/material_design/material_design_controller.h" #include "...
31.626062
80
0.722949
google-ar
b60c6f9fe24da8d32dbd8e243006841eb7425cf8
15,861
cpp
C++
examples/mnist/widget.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2021-05-14T15:03:03.000Z
2021-12-05T08:31:38.000Z
examples/mnist/widget.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
null
null
null
examples/mnist/widget.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2020-08-13T15:44:05.000Z
2021-06-07T16:16:53.000Z
#include "widget.h" #include "ui_widget.h" #include "layer.h" #include "helpers.h" #include <limits> #include "mnist/mnist_reader.hpp" #include "mnist/mnist_utils.hpp" #include <QPixmap> #include <QImage> #include <QMutexLocker> #include <QStringListModel> #include <QChart> #include <QChartView> #include <QFileDialog>...
34.18319
145
0.638421
eidelen
b60d25eb5bb86b963f49ce82ecbb875f12ea1490
282
cpp
C++
sources/templates/main_variadic.cpp
zussel/cpp-overview
8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf
[ "MIT" ]
null
null
null
sources/templates/main_variadic.cpp
zussel/cpp-overview
8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf
[ "MIT" ]
null
null
null
sources/templates/main_variadic.cpp
zussel/cpp-overview
8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf
[ "MIT" ]
null
null
null
#include <iostream> template<typename T> T adder(T v) { return v; } template<typename T, typename... Args> T adder(T first, Args... args) { return first + adder(args...); } int main() { std::cout << "1 + 2 + 3 + 8 + 7 = " << adder(1, 2, 3, 8, 7) << "\n"; return 0; }
15.666667
72
0.542553
zussel
b60e8294133f1846ffb00d0bc1e5015955d7e28f
10,680
cpp
C++
Maple/src/Game.cpp
Bentzkast/Maple
8137dd2c91a9ee7460ca524c87bbedadee271f9e
[ "Apache-2.0" ]
null
null
null
Maple/src/Game.cpp
Bentzkast/Maple
8137dd2c91a9ee7460ca524c87bbedadee271f9e
[ "Apache-2.0" ]
null
null
null
Maple/src/Game.cpp
Bentzkast/Maple
8137dd2c91a9ee7460ca524c87bbedadee271f9e
[ "Apache-2.0" ]
null
null
null
#include "Game.h" #include "MainMenu.h" #include "Game_Internal.h" #include <stdio.h> #include <memory.h> // TODO WIN / LOSE(x) CONDITION.... // TODO SIMPLE BOSSS // TODO MAIN MENU // TODO SOUND // TODO enemy projectile... struct Player { Vec2 pos, vel, acc, half_size; float fire_rate; float timer; int hit_points...
30.340909
189
0.712734
Bentzkast
b60f4ea2efe14b1a10c9d41c0286932807d983de
1,782
cpp
C++
examples/plugin_test.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
36
2015-01-19T09:31:42.000Z
2021-06-16T02:52:31.000Z
examples/plugin_test.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
3
2015-01-13T01:29:56.000Z
2017-05-25T14:55:18.000Z
examples/plugin_test.cpp
Tomasu/LuaGlue
9db477ef1447048822042164445c2f5d027b37d8
[ "Zlib" ]
5
2015-08-23T05:33:07.000Z
2017-09-21T19:36:40.000Z
#include <LuaGlue/LuaGlue.h> #ifndef _WIN32 #include <dlfcn.h> #endif #include <errno.h> #include <string.h> #include "LuaPluginBase.h" #ifdef _WIN32 #include <windows.h> #define RTLD_LAZY 0 static void *dlopen(const char *filename, int) { return (void *)LoadLibrary(filename); } static const char *dlerror(void) { ...
18.757895
168
0.682941
Tomasu
b60fa9bdd2c68c56817e25be912f5cadfd008cf4
781
hpp
C++
include/dca/math/geometry/tetrahedron_mesh/simplex.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
include/dca/math/geometry/tetrahedron_mesh/simplex.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
include/dca/math/geometry/tetrahedron_mesh/simplex.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Peter Staar (taa@zurich.ibm.com) // // This class represents a simplex (= edge-cor...
23.666667
96
0.741357
PMDee
b60fc1b93deef1cc856287ed80cc8cacdb810d95
4,181
hpp
C++
utf_conv.hpp
iwongdotcn/string_utils
66ac546cdc5cb69b3504ad45ce343fb43124c763
[ "MIT" ]
1
2020-09-11T08:21:26.000Z
2020-09-11T08:21:26.000Z
utf_conv.hpp
iwongdotcn/string_utils
66ac546cdc5cb69b3504ad45ce343fb43124c763
[ "MIT" ]
null
null
null
utf_conv.hpp
iwongdotcn/string_utils
66ac546cdc5cb69b3504ad45ce343fb43124c763
[ "MIT" ]
null
null
null
#ifndef BASIC_STRING_UTILS_UTF_CONV_HPP_HEADER #define BASIC_STRING_UTILS_UTF_CONV_HPP_HEADER #ifdef _MSC_VER #pragma once #endif // _MSC_VER #include "config.hpp" #include <cstring> #include <string> #include <locale> #include <codecvt> #if defined(_WIN32) || defined(_WINDOWS) #ifndef WIN32_LEAN_AND_MEAN #define WIN3...
25.035928
91
0.66563
iwongdotcn
b6100e7641bf19bb2faab2f1c7e842c7984a6623
3,666
cpp
C++
tiny-test/BinaryBufferTests.cpp
aizuon/tiny-coin
cfe1ae680bc95db855e554a12ffc3adf948b6f8b
[ "MIT" ]
1
2021-05-07T03:21:50.000Z
2021-05-07T03:21:50.000Z
tiny-test/BinaryBufferTests.cpp
aizuon/tiny-coin
cfe1ae680bc95db855e554a12ffc3adf948b6f8b
[ "MIT" ]
null
null
null
tiny-test/BinaryBufferTests.cpp
aizuon/tiny-coin
cfe1ae680bc95db855e554a12ffc3adf948b6f8b
[ "MIT" ]
null
null
null
#include "pch.hpp" #include <cstdint> #include <string> #include <vector> #include "../tiny-lib/BinaryBuffer.hpp" #include "gtest/gtest.h" TEST(BinaryBufferTest, PrimitiveReadWrite) { BinaryBuffer buffer; bool b_real = true; buffer.Write(b_real); bool b_read = false; ASSERT_TRUE(buffer.Read(b_read)); EXPECT_E...
22.9125
72
0.719585
aizuon
b6146fc4aa8e95e4568155b9fb4c3b880ceb22cb
2,432
inl
C++
src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
3
2019-11-26T05:33:47.000Z
2020-05-18T06:49:41.000Z
src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
src/FiniteDeque/FiniteDeque/src/FiniteDeque.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
#ifndef _FINITE_DEQUE_H__ #define _FINITE_DEQUE_H__ #include "FiniteDeque.h" template <class Type> FiniteDeque<Type>::FiniteDeque() : m_finite(0) { } template <class Type> void FiniteDeque<Type>::setFinite(size_t num, FiniteType finiteType) { m_finite = num; m_finiteType = finiteType; } template...
16.544218
69
0.611431
xylsxyls
b61720910476b352dcf98ca52864274266f6f4dd
602
cpp
C++
2.Easy/evenOrOddNumberOfFactors.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
36
2020-09-25T15:03:23.000Z
2020-10-08T14:25:53.000Z
2.Easy/evenOrOddNumberOfFactors.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
212
2020-09-25T13:15:59.000Z
2020-10-12T20:35:05.000Z
2.Easy/evenOrOddNumberOfFactors.cpp
vachan-maker/Edabit-Solutions
b8598f15b981b58d42bf5220042b7e0e576bb668
[ "MIT" ]
240
2020-09-25T13:20:02.000Z
2020-10-12T04:20:47.000Z
/* Problem-Task : This function will return "even" if a number has an even number of factors and "odd" if a number has an odd number of factors. * Problem Link : https://edabit.com/challenge/zaHon4mMJJorEhBXx */ #include <iostream> using namespace std; char *factor_group(int n) { int i, c = 0; for (i = 1; i <...
24.08
144
0.578073
vachan-maker
b61a190ffee6254de7e211a1039c5640f5564eb8
3,408
cpp
C++
Modules/ZeroMQSink/src/ZeroMQSink.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
2
2017-12-11T01:07:45.000Z
2021-08-21T20:57:04.000Z
Modules/ZeroMQSink/src/ZeroMQSink.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
null
null
null
Modules/ZeroMQSink/src/ZeroMQSink.cpp
slashdotted/PomaPure
c469efba9813b4b897129cff9699983c3f90b24b
[ "BSD-3-Clause" ]
1
2017-08-29T17:53:20.000Z
2017-08-29T17:53:20.000Z
/* * Copyright (C)2015,2016,2017 Amos Brocco (amos.brocco@supsi.ch) * Scuola Universitaria Professionale della * Svizzera Italiana (SUPSI) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are perm...
37.866667
134
0.713908
slashdotted
b61ec93041dd9c79cd9dcd68f7e4f7b83d0c00fc
2,835
cpp
C++
src/DataStructureOutput.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
src/DataStructureOutput.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
src/DataStructureOutput.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
#include "DataStructureOutput.hpp" static int indent = 0; llvm::raw_ostream& operator<<(llvm::raw_ostream& os, const std::vector<llvm::CallInst*>& callInsts) { os << "[\n"; ++indent; for(llvm::CallInst* callInst : callInsts) { for (int i = 0; i < indent; ++i) { os << " "; } ...
29.226804
159
0.536155
evan1026
b624e105a36a3a5472f30f8ae3cb23f6e6c71a25
2,056
hpp
C++
src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/entity-system/factories/entities/entity-instance-builder-factory/EntityInstanceBuilderFactory.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#pragma once #include "entity-system/builders/entities/entity-instance-builder/EntityInstanceBuilder.hpp" #include "entity-system/managers/entities/entity-instance-manager/EntityInstanceManager.hpp" #include "entity-system/managers/entities/entity-type-manager/EntityTypeManager.hpp" namespace inexor::entity_system { ...
38.792453
125
0.773346
inexorgame
b625d8c177cfe5f2aecfeb988e5372c52709bf09
7,554
hpp
C++
src/SFML/Network/UdpSocket.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
src/SFML/Network/UdpSocket.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
src/SFML/Network/UdpSocket.hpp
frc3512/Robot-2016
a3f8b6f6c9cb9f7ddddc7f05581178dc3494ae86
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages ...
37.211823
106
0.507678
frc3512
b627d88716f820ac3de46b722fd83f2422b71366
1,902
hpp
C++
include/codegen/include/Zenject/MemoryPoolSettings.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/MemoryPoolSettings.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/MemoryPoolSettings.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:44 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
38.816327
119
0.712934
Futuremappermydud
b6294c01892010ec490e862d3b9d3cea57666e94
3,896
cc
C++
src/sys/fuzzing/framework/coverage/event-queue-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2022-02-24T16:24:29.000Z
2022-02-25T22:33:10.000Z
src/sys/fuzzing/framework/coverage/event-queue-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2022-03-01T01:12:04.000Z
2022-03-01T01:17:26.000Z
src/sys/fuzzing/framework/coverage/event-queue-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia 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 "src/sys/fuzzing/framework/coverage/event-queue.h" #include <lib/zx/eventpair.h> #include <stdint.h> #include <zircon/types.h> #include <thread>...
29.515152
88
0.720996
allansrc
b629dfb8c5a5f2f04af2320271e845d3f41f555f
88
cpp
C++
data-structures/dictionary/Principal.cpp
lucaspetry/algorithms-and-data-structures
104d79923f856fde218ad37f285643d42b2379cc
[ "MIT" ]
null
null
null
data-structures/dictionary/Principal.cpp
lucaspetry/algorithms-and-data-structures
104d79923f856fde218ad37f285643d42b2379cc
[ "MIT" ]
null
null
null
data-structures/dictionary/Principal.cpp
lucaspetry/algorithms-and-data-structures
104d79923f856fde218ad37f285643d42b2379cc
[ "MIT" ]
null
null
null
#include "Menu.h" int main() { Menu menu; menu.executar(); return 0; }
8
18
0.522727
lucaspetry
b62a3f3b71ae94493aa8736fea27f9f64c4ad082
4,472
cpp
C++
src/plugins/opencv/sequence.cpp
LIUJUN-liujun/possumwood
745e48eb44450b0b7f078ece81548812ab1ccc63
[ "MIT" ]
1
2020-10-06T08:40:10.000Z
2020-10-06T08:40:10.000Z
src/plugins/opencv/sequence.cpp
LIUJUN-liujun/possumwood
745e48eb44450b0b7f078ece81548812ab1ccc63
[ "MIT" ]
null
null
null
src/plugins/opencv/sequence.cpp
LIUJUN-liujun/possumwood
745e48eb44450b0b7f078ece81548812ab1ccc63
[ "MIT" ]
null
null
null
#include "sequence.h" #include "tools.h" namespace possumwood { namespace opencv { Sequence::Sequence(std::size_t size) : m_sequence(size) { } Sequence Sequence::clone() const { Sequence result; for(auto& f : m_sequence) result.add(f->clone()); return result; } Sequence::Item& Sequence::add(const cv::Mat& f...
21.814634
107
0.641324
LIUJUN-liujun
b62ca17712456ea5c82eedabe92a32b2d5cc2b17
768
cpp
C++
leetcode/0074_Search_a_2D_Matrix/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0074_Search_a_2D_Matrix/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0074_Search_a_2D_Matrix/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
/** * Copyright (C) 2021 All rights reserved. * * FileName :result.cpp * Author :C.K * Email :theck17@163.com * DateTime :2021-04-23 19:03:01 * Description : */ #include <algorithm> //STL 通用算法 #include <string> //字符串类 #include <vector> //STL 动态数组容器...
19.692308
63
0.477865
theck17
b62e6a9a4e62b46c98468d9c17b7451e6774c650
78
hpp
C++
MicroApplicationWIthMiddleware/src/MyApp.hpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
MicroApplicationWIthMiddleware/src/MyApp.hpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
MicroApplicationWIthMiddleware/src/MyApp.hpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
#ifndef MYAPP_HPP_ #define MYAPP_HPP_ class MyApp {}; #endif // !MYAPP_HPP_
11.142857
21
0.730769
RomanoViolet
b62ed9bfe3dc390086763d1ab68bb2437f99591d
6,691
hxx
C++
inetsrv/query/h/recogniz.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/h/recogniz.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/h/recogniz.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Copyright (C) 1991-1992, Microsoft Corporation. // // File: RECOGNIZ.HXX // // Contents: Expression to cursor converter // // Classes: CScanRst // // History: 16-Sep-94 BartoszM Created // //----------...
26.551587
84
0.489463
npocmaka
b6303ce84194de9791193e9d2b22171944eaa0a4
9,025
hpp
C++
programs/remcli/attribute_helpers.hpp
Remmeauth/core
578996ce408ca0adbe6a6b895177199017ee907b
[ "MIT" ]
140
2019-07-01T13:13:06.000Z
2021-11-23T12:50:39.000Z
programs/remcli/attribute_helpers.hpp
Remmeauth/core
578996ce408ca0adbe6a6b895177199017ee907b
[ "MIT" ]
26
2019-07-12T09:07:36.000Z
2020-05-20T20:33:06.000Z
programs/remcli/attribute_helpers.hpp
Remmeauth/core
578996ce408ca0adbe6a6b895177199017ee907b
[ "MIT" ]
7
2019-08-30T08:29:46.000Z
2020-07-30T15:35:10.000Z
#pragma once #include <set> #include <string> #include <vector> #include <eosio/chain/chain_id_type.hpp> #include <fc/variant.hpp> #include <fc/io/json.hpp> #include <multibase/basic_codec.h> #include <multibase/multibase.h> enum class data_type : int32_t { Boolean = 0, Int, LargeInt, ChainAccount, UTFString, DateT...
31.336806
143
0.573407
Remmeauth
b6303d475cc78d399e938beb0558a1fab6ca533b
2,170
cpp
C++
dynamic/ejudge/visual_path.cpp
odanchen/cpp
1354481220a52ee9140b15bbaac6c6e8569fd93f
[ "MIT" ]
2
2021-09-28T14:03:23.000Z
2022-01-28T14:39:18.000Z
dynamic/ejudge/visual_path.cpp
odanchen/cpp
1354481220a52ee9140b15bbaac6c6e8569fd93f
[ "MIT" ]
null
null
null
dynamic/ejudge/visual_path.cpp
odanchen/cpp
1354481220a52ee9140b15bbaac6c6e8569fd93f
[ "MIT" ]
null
null
null
#include<iostream> using namespace::std; void fill_border(int size, int matrix[][252]) { int row = 0, col = 0; for (row = 0, col = 0; col <= size + 1; col++) matrix[row][col] = 2000; for (row = 0, col = size + 1; row <= size + 1; row++) matrix[row][col] = 2000; for (row ...
20.666667
102
0.45023
odanchen
ac099d28d400120887658ad23ab2253a9f7bb451
4,684
cpp
C++
starter-stack/Lib/rcsc/geom/angle_deg.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/Lib/rcsc/geom/angle_deg.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/Lib/rcsc/geom/angle_deg.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
// -*-c++-*- /*! \file angle_deg.cpp \brief Degree wrapper class Source File. */ /* *Copyright: Copyright (C) 2004 Hidehisa Akiyama This code 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; eit...
23.897959
74
0.52626
InsperDynamics
ac09c0d4f8bedb90a410b981cb2dda44a3fc9f56
2,964
cpp
C++
main/mac/SslHelp.cpp
semmerson/hycast
683f10a6a8b47501ecf4f2e619e7b64c039f4f1c
[ "Apache-2.0" ]
null
null
null
main/mac/SslHelp.cpp
semmerson/hycast
683f10a6a8b47501ecf4f2e619e7b64c039f4f1c
[ "Apache-2.0" ]
12
2017-03-29T21:39:38.000Z
2017-12-07T18:09:09.000Z
main/mac/SslHelp.cpp
semmerson/hycast
683f10a6a8b47501ecf4f2e619e7b64c039f4f1c
[ "Apache-2.0" ]
2
2018-06-29T16:57:13.000Z
2020-09-28T20:03:29.000Z
/** * SSL helper functions. * * File: SslHelp.cpp * Created on: Mar 29, 2021 * Author: Steven R. Emmerson <emmerson@ucar.edu> * * Copyright 2021 University Corporation for Atmospheric Research * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file excep...
27.192661
79
0.604926
semmerson
ac0b3d11371675a35562094eff498195e06d707f
498
hpp
C++
includes/Inventory.hpp
AndrewLester/final-project-cyborgwizards
1b6abfb759e2dda0ea368a6798cae5b354c5bb75
[ "Unlicense" ]
null
null
null
includes/Inventory.hpp
AndrewLester/final-project-cyborgwizards
1b6abfb759e2dda0ea368a6798cae5b354c5bb75
[ "Unlicense" ]
null
null
null
includes/Inventory.hpp
AndrewLester/final-project-cyborgwizards
1b6abfb759e2dda0ea368a6798cae5b354c5bb75
[ "Unlicense" ]
null
null
null
#ifndef INVENTORY_HPP #define INVENTORY_HPP #include <stdexcept> #include <vector> class Item; class Inventory { private: std::vector<Item*> inventory; size_t max_size_; size_t curr_idx_; public: static Inventory* Instance(); void AddItem(Item* item); void RemoveItem(Item* item); size_t GetSize(); ...
17.785714
31
0.718876
AndrewLester
ac0c25ddeb48078ccc2743e4b6bf88518a064b3e
615
cpp
C++
chp1/prg_exercise1.cpp
ja8eer/C-PRIME-PLUS-6th-edi-
8682e1c5b4183a706589265a52ad89673103d8c9
[ "Apache-2.0" ]
null
null
null
chp1/prg_exercise1.cpp
ja8eer/C-PRIME-PLUS-6th-edi-
8682e1c5b4183a706589265a52ad89673103d8c9
[ "Apache-2.0" ]
null
null
null
chp1/prg_exercise1.cpp
ja8eer/C-PRIME-PLUS-6th-edi-
8682e1c5b4183a706589265a52ad89673103d8c9
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////// //Write a C++ program that displays your name// //and address (or if you value your privacy, // //a fictitious name and address). // ///////////////////////////created by jabeer/// privacy, a fictitious name and address). #include<iostream> using namespace std; i...
24.6
47
0.569106
ja8eer
ac0c66b546d311777d74a8920814dd819e9589fa
464
cpp
C++
LeetCode/FindSmallestLetterGreaterThanTarget.cpp
CRAZYGEEKS04/competitive-programming-1
f27b8a718761b7bfeb8ff9e294398ca1a294cb5d
[ "MIT" ]
1
2020-10-12T07:09:03.000Z
2020-10-12T07:09:03.000Z
LeetCode/FindSmallestLetterGreaterThanTarget.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
1
2020-10-10T16:14:54.000Z
2020-10-10T16:14:54.000Z
LeetCode/FindSmallestLetterGreaterThanTarget.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
null
null
null
class Solution { public: char nextGreatestLetter(vector<char>& letters, char target) { int lo = 0, hi = letters.size() - 1; if(letters[hi] <= target) return letters[0]; while(hi - lo > 1) { int mid = lo + (hi - lo) / 2; if(letters[mid] > target) ...
29
66
0.459052
CRAZYGEEKS04
ac0d834820ac220a3fb68420cdbd80a378f364d9
1,007
cpp
C++
src/mrt/compiler-rt/src/panic.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
5
2019-09-02T04:44:52.000Z
2021-11-08T12:23:51.000Z
src/mrt/compiler-rt/src/panic.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
2
2020-07-21T01:22:01.000Z
2021-12-06T08:07:16.000Z
src/mrt/compiler-rt/src/panic.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
4
2019-09-02T04:46:52.000Z
2020-09-10T11:30:03.000Z
/* * Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved. * * OpenArkCompiler is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THI...
25.820513
88
0.677259
MapleSystem
ac0e7f894d80e4555b9c780c844cc817b0d3eb69
843
cpp
C++
fdistance.cpp
MrBlu1204/CPP-Programs
3fce7d86d988cef4f000a0045bd0a299018ad4f2
[ "Apache-2.0" ]
1
2020-10-31T11:16:39.000Z
2020-10-31T11:16:39.000Z
fdistance.cpp
MrBlu1204/CPP-Programs
3fce7d86d988cef4f000a0045bd0a299018ad4f2
[ "Apache-2.0" ]
null
null
null
fdistance.cpp
MrBlu1204/CPP-Programs
3fce7d86d988cef4f000a0045bd0a299018ad4f2
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; class dist { int km; int m; int cm; public: void setvalue() { cout<<"Enter km: "; cin>>km; cout<<"Enter m: "; cin>>m; cout<<"Enter cm: "; cin>>cm; } friend dist operator+(dist &, dist &); void display() { cout<<km<<"kilometers, "<<m<<"meters &...
15.611111
65
0.561091
MrBlu1204
ac0f429c4a1e6ed5d47e12898a784aba48899e3f
3,457
cpp
C++
libs/libSocketHandler/src/SocketHandler.cpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.cpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.cpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
#include "SocketHandler.hpp" #include <iostream> using boost::asio::ip::tcp; void sendSocketTcp(boost::asio::ip::tcp::socket* socket_, char* data, int nbBytes, boost::system::error_code* err) { boost::asio::const_buffers_1 buff(data, nbBytes); boost::asio::write(*socket_, buff, *err); } void readSocketTcp(boos...
18.89071
114
0.667342
maxDcb
ac1397a0911572fcaa3f4b7500815e82355ee492
2,072
cpp
C++
modules/type/complex/linalg/unit/scalar/det.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/type/complex/linalg/unit/scalar/det.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/type/complex/linalg/unit/scalar/det.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
40.627451
80
0.594595
psiha
ac146da0e4596b5cb2e4e1707fe9d5c588d7e5f4
1,235
cpp
C++
Sources/Post/Filters/FilterLensflare.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Post/Filters/FilterLensflare.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Post/Filters/FilterLensflare.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
#include "FilterLensflare.hpp" #include "Scenes/Scenes.hpp" namespace acid { FilterLensflare::FilterLensflare(const Pipeline::Stage &pipelineStage) : PostFilter(pipelineStage, {"Shaders/Post/Default.vert", "Shaders/Post/Lensflare.frag"}) { } void FilterLensflare::Render(const CommandBuffer &commandBuffer) { // Upd...
32.5
103
0.77004
dreadris
ac1680994fd198da9a67ea9c6c4c4134d81c19bf
512
cpp
C++
lib/Motor/Motor.cpp
industrial-robotics-lab/omni-platform
7c2e2efe63958074f62a8c4ddc250ecdb5388225
[ "MIT" ]
null
null
null
lib/Motor/Motor.cpp
industrial-robotics-lab/omni-platform
7c2e2efe63958074f62a8c4ddc250ecdb5388225
[ "MIT" ]
null
null
null
lib/Motor/Motor.cpp
industrial-robotics-lab/omni-platform
7c2e2efe63958074f62a8c4ddc250ecdb5388225
[ "MIT" ]
1
2022-03-28T16:27:12.000Z
2022-03-28T16:27:12.000Z
#include "Arduino.h" #include "Motor.h" Motor::Motor(unsigned int number) { motor = new AF_DCMotor(number); } Motor::~Motor() { delete motor; } void Motor::setValue(int value) { int allowedValue = constrain(value, -255, 255); if (abs(allowedValue) < 70) allowedValue = 0; if (allowedValue == 0) { motor->ru...
24.380952
49
0.648438
industrial-robotics-lab
ac16cdb7393b7c760b45a1a33629464792337225
1,053
cpp
C++
cpp/211.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
cpp/211.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
cpp/211.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#include <algorithm> #include <iostream> #include <sstream> #include <cstring> #include <cstdlib> #include <climits> #include <cmath> #include <bitset> #include <vector> #include <queue> #include <stack> #include <set> #include <map> #define REP(i,a) for(int i=0;i<(a);i++) #define FOR(i,a,b) for(int i=(a);i<(b);i++) #...
21.06
50
0.580247
kylekanos
ac1989b73c95b81b0bd91d6e6e093431ef887e33
3,045
cp
C++
Win32/Sources/Support/Text/CSetNumberEdit.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Support/Text/CSetNumberEdit.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Support/Text/CSetNumberEdit.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
24.36
125
0.656814
mulberry-mail
ac20fe6380d7bb68f1a290a43cc3092e8589b68d
285
cpp
C++
Baekjoon/14467.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/14467.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/14467.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(void) { vector<int> arr(11, -1); int n, num, p, cnt = 0; cin >> n; while (n--) { cin >> num >> p; if (arr[num] == -1) arr[num] = p; else if (arr[num] != p) arr[num] = p, cnt++; } cout << cnt; }
14.25
25
0.512281
Twinparadox
ac240cd938b7ae424477b8d4ad8513fb093a2807
2,155
cpp
C++
Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInputBehaviorController/RotateObjectBehavior.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInputBehaviorController/RotateObjectBehavior.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/Tools/AtomToolsFramework/Code/Source/Viewport/ViewportInputBehaviorController/RotateObjectBehavior.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AtomToolsFramework/Viewport/ViewportInputBehaviorController/RotateObjectBehavior.h> #inc...
35.916667
113
0.712297
BreakerOfThings
ac260938e056f0c9ce33acde01b024231d5195c1
3,643
cc
C++
src/mlio/streams/file_input_stream.cc
babak2520/ml-io
87bedf9537959260723ed0419a0803c76e015ef5
[ "Apache-2.0" ]
69
2019-10-14T18:55:50.000Z
2022-02-28T05:50:39.000Z
src/mlio/streams/file_input_stream.cc
cbalioglu/ml-io
d79a895c3fe5e10f0f832cfdcee5a73058abb7c7
[ "Apache-2.0" ]
18
2019-11-16T12:45:40.000Z
2022-01-29T03:47:52.000Z
src/mlio/streams/file_input_stream.cc
cbalioglu/ml-io
d79a895c3fe5e10f0f832cfdcee5a73058abb7c7
[ "Apache-2.0" ]
16
2019-10-24T22:35:51.000Z
2021-09-03T18:23:04.000Z
/* * Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not use this file except in compliance with the License. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the ...
25.475524
90
0.624485
babak2520
ac2691ec4348b79ddd634ec380ba89adc1d216a8
2,256
cpp
C++
algorithmforcpp/backtracking/rat_maze.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
algorithmforcpp/backtracking/rat_maze.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
algorithmforcpp/backtracking/rat_maze.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
/************************************************************************* > File Name: rat_maze.cpp > Author: yoghourt->ilvcr > Mail: liyaoliu@foxmail.com @@ ilvcr@outlook.com > Created Time: 2018年07月18日 星期三 14时24分11秒 > Description: A Maze is given as N*N binary matrix of blocks where source block is the uppe...
26.541176
86
0.525709
ilvcr
ac29df4cd00fcd043e9a7b30349bfc560a33b0df
2,787
cpp
C++
app/src/main/cpp/mixing/MixingIO.cpp
atikur-rabbi/fast-mixer
7b471e102aacb9cdf75af5c7775d18d10e584ff1
[ "CC0-1.0" ]
47
2020-07-16T21:21:37.000Z
2022-03-02T00:18:00.000Z
app/src/main/cpp/mixing/MixingIO.cpp
iftenet/fast-mixer
9e834d6ebed0b1dd63fe8688f8bf614e19a8467f
[ "CC0-1.0" ]
1
2020-09-29T06:48:22.000Z
2020-10-10T17:40:50.000Z
app/src/main/cpp/mixing/MixingIO.cpp
iftenet/fast-mixer
9e834d6ebed0b1dd63fe8688f8bf614e19a8467f
[ "CC0-1.0" ]
10
2020-07-19T10:07:21.000Z
2022-02-11T07:03:20.000Z
// // Created by asalehin on 9/9/20. // #include "MixingIO.h" #include "../utils/Utils.h" MixingIO::MixingIO() { Player* player = new Player(); mPlayer.reset(move(player)); } shared_ptr<FileDataSource> MixingIO::readFile(string filename, int fd) { AudioProperties targetProperties{ .channelCou...
25.805556
94
0.714747
atikur-rabbi
ac2aeb03bd5834c7947e636aee57ef97b5e4d8ba
5,340
cpp
C++
src/plugins/firebase/util.cpp
bmcbarron/flutter-pi
8a6796c813aea282c6d40bebb9d1f7641bf1dc45
[ "MIT" ]
null
null
null
src/plugins/firebase/util.cpp
bmcbarron/flutter-pi
8a6796c813aea282c6d40bebb9d1f7641bf1dc45
[ "MIT" ]
null
null
null
src/plugins/firebase/util.cpp
bmcbarron/flutter-pi
8a6796c813aea282c6d40bebb9d1f7641bf1dc45
[ "MIT" ]
null
null
null
#include "util.h" #include <inttypes.h> #include <sys/syscall.h> #include <unistd.h> #include <cassert> long gettid() { return syscall(SYS_gettid); } #define INDENT_STRING " " int __stdPrint(std_value *value, int indent) { switch (value->type) { case kStdPreEncoded: fprintf(stderr, "enco...
27.106599
83
0.588202
bmcbarron