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
7860829129a999328b3a2995193f66bc81521620
17,725
cpp
C++
01.Firmware/components/FabGL/src/dispdrivers/vga8controller.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
5
2022-02-14T03:12:57.000Z
2022-03-06T11:58:31.000Z
01.Firmware/components/FabGL/src/dispdrivers/vga8controller.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
null
null
null
01.Firmware/components/FabGL/src/dispdrivers/vga8controller.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
4
2022-02-23T07:00:59.000Z
2022-03-10T03:58:11.000Z
/* Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - <http://www.fabgl.com> Copyright (c) 2019-2021 Fabrizio Di Vittorio. All rights reserved. * Please contact fdivitto2013@gmail.com if you need a commercial license. * This library and related software is available under GPL v3. FabGL is free soft...
35.238569
195
0.58708
POMIN-163
78613da29777b6ec5af661d665e495f94b0cdf06
632
hxx
C++
private/inet/mshtml/btools/pdlparse/headers.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/mshtml/btools/pdlparse/headers.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/mshtml/btools/pdlparse/headers.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1992 - 1995. // // File: Common header file for the tlmunge application. // //---------------------------------------------------------------------------- #de...
25.28
79
0.511076
King0987654
7863338e45ff34591a0e68e687a47bce1ce37839
7,540
cc
C++
test/server/lds_api_test.cc
icaas/envoy
6cb0983a1ce74c55aaf0124bd2227be8f9efa2de
[ "Apache-2.0" ]
null
null
null
test/server/lds_api_test.cc
icaas/envoy
6cb0983a1ce74c55aaf0124bd2227be8f9efa2de
[ "Apache-2.0" ]
1
2017-11-22T09:35:42.000Z
2017-11-22T09:35:42.000Z
test/server/lds_api_test.cc
icaas/envoy
6cb0983a1ce74c55aaf0124bd2227be8f9efa2de
[ "Apache-2.0" ]
null
null
null
#include "common/config/utility.h" #include "common/http/message_impl.h" #include "server/lds_api.h" #include "test/mocks/server/mocks.h" #include "test/test_common/utility.h" #include "gmock/gmock.h" using testing::InSequence; using testing::Invoke; using testing::Return; using testing::_; namespace Envoy { names...
32.5
99
0.669894
icaas
7866a0da7550efea185ab866b554d69716cce978
2,940
cpp
C++
mv/mvHashTable.cpp
scharlton2/modelviewer-mf6
87f3e5daad747e5d81d48b19a8cdc4377df4effb
[ "CC0-1.0" ]
1
2022-03-29T15:10:14.000Z
2022-03-29T15:10:14.000Z
mv/mvHashTable.cpp
scharlton2/modelviewer-mf6
87f3e5daad747e5d81d48b19a8cdc4377df4effb
[ "CC0-1.0" ]
17
2022-01-12T19:58:41.000Z
2022-03-28T22:45:56.000Z
mv/mvHashTable.cpp
scharlton2/modelviewer-mf6
87f3e5daad747e5d81d48b19a8cdc4377df4effb
[ "CC0-1.0" ]
3
2022-01-09T06:17:53.000Z
2022-03-31T21:50:06.000Z
#include "mvHashTable.h" #include <string.h> #include <stdlib.h> // This must be below vtkStandardNewMacro #if defined(_DEBUG) && defined(MV_DEBUG_MEMORY_LEAKS) #include <afx.h> #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif mvHashTable::mvHashTable() { for (int i = 0; i < 64; i...
20.416667
77
0.561905
scharlton2
786741811d75451c0ef4e60401bbaaf967b62a0b
782
cpp
C++
src/aquarius2/proxy/internal/ProxyTaskRunner.cpp
kirino17/ecef
b9214aec0462db26718fca1cdcc9add200fabfb8
[ "BSD-3-Clause" ]
60
2018-09-29T05:08:07.000Z
2022-03-05T19:44:20.000Z
src/aquarius2/proxy/internal/ProxyTaskRunner.cpp
c3358/ecef
b9214aec0462db26718fca1cdcc9add200fabfb8
[ "BSD-3-Clause" ]
4
2018-11-19T07:47:56.000Z
2020-12-30T05:06:21.000Z
src/aquarius2/proxy/internal/ProxyTaskRunner.cpp
c3358/ecef
b9214aec0462db26718fca1cdcc9add200fabfb8
[ "BSD-3-Clause" ]
27
2018-10-29T17:30:53.000Z
2022-03-29T01:48:24.000Z
#include "ProxyTaskRunner.h" #include "include/cef_task.h" AQUA_PROXY_AUTO_CONSTRUCTOR(ProxyTaskRunner, CefTaskRunner); bool ProxyTaskRunner::IsValid() { return _rawptr != nullptr; } bool ProxyTaskRunner::IsSame(shrewd_ptr<ProxyTaskRunner> runner) { ASSERTQ(false); if (!runner || !ORIGIN(CefTaskRunner, runner)) {...
25.225806
96
0.773657
kirino17
786881120b776d9efd73468b373ef5426dbb9a5e
3,756
cpp
C++
src/HTTPSConnection.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
null
null
null
src/HTTPSConnection.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
null
null
null
src/HTTPSConnection.cpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
2
2022-01-26T19:47:32.000Z
2022-02-28T15:15:07.000Z
#include "HTTPSConnection.hpp" namespace httpsserver { HTTPSConnection::HTTPSConnection(ResourceResolver * resResolver): HTTPConnection(resResolver) { _ssl = NULL; } HTTPSConnection::~HTTPSConnection() { // Close the socket closeConnection(); } bool HTTPSConnection::isSecure() { return true; } /** * In...
29.34375
102
0.676784
abelsensors
786a78d7380a854fd3d3a381bac5aef7b89cd772
6,844
cpp
C++
Engine/Src/SFCore/Stream/SFCompressedStream.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFCore/Stream/SFCompressedStream.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFCore/Stream/SFCompressedStream.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2017 Kyungkun Ko // // Author : KyungKun Ko // // Description : SFFileOutputStream // // //////////////////////////////////////////////////////////////////////////////// #include "SFCorePCH.h" #incl...
24.442857
130
0.658533
blue3k
786c97dc34dedea198cee61e226c943b97dd71b7
7,083
cpp
C++
lib-artnet/src/artnetnodehandlepoll.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
null
null
null
lib-artnet/src/artnetnodehandlepoll.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
null
null
null
lib-artnet/src/artnetnodehandlepoll.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
null
null
null
/** * @file artnetnodehandlepoll.cpp * */ /** * Art-Net Designed by and Copyright Artistic Licence Holdings Ltd. */ /* Copyright (C) 2021 by Arjan van Vught mailto:info@orangepi-dmx.nl * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
33.56872
200
0.744176
rodb70
786dd5d02d624ac18db58aa650e858a9791aee61
10,431
cc
C++
pfile_select.cc
Marvin182/pfile-utilities
0e5c0f03e0b17ae27b38dfd09a0eb3e21a5c3f7e
[ "FSFAP" ]
3
2016-04-01T07:02:29.000Z
2018-11-07T08:20:23.000Z
pfile_select.cc
Marvin182/pfile-utilities
0e5c0f03e0b17ae27b38dfd09a0eb3e21a5c3f7e
[ "FSFAP" ]
1
2016-02-07T22:24:52.000Z
2016-02-07T22:24:52.000Z
pfile_select.cc
Marvin182/pfile-utilities
0e5c0f03e0b17ae27b38dfd09a0eb3e21a5c3f7e
[ "FSFAP" ]
null
null
null
/* $Header: /u/drspeech/repos/pfile_utils/pfile_select.cc,v 1.1.1.1 2002/11/08 19:47:08 bdecker Exp $ This program selects an arbitrary subset set of features from each frame of a pfile and creates a new pfile with that subset in each frame. Jeff Bilmes <bilmes@cs.berkeley.edu> */ #include <stdl...
26.884021
102
0.498418
Marvin182
786fdf368360fadb927ee403dc8f4a035948cc74
1,270
cc
C++
src/eval/wermain.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/eval/wermain.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
src/eval/wermain.cc
nrc-cnrc/Portage-SMT-TAS
73f5a65de4adfa13008ea9a01758385c97526059
[ "MIT" ]
null
null
null
/** * @author Aaron Tikuisis / Samuel Larkin * @file wermain.cc * @brief Program for computing mWER or mPER score. * * $Id$ * * Evaluation Module * * A program for computing mWER or mPER score. Naturally, this can be done using bestwer * with 1-best lists, but this interface allows the test sentences to be ...
27.021277
90
0.725984
nrc-cnrc
7871a5dd8ee69e8260d15f039970b611709091c1
13,189
cpp
C++
src/gigablast/IndexReadInfo.cpp
fossabot/kblast
37b89fd6ba5ce429be5a69e2c6160da8a6aa21e6
[ "Apache-2.0" ]
null
null
null
src/gigablast/IndexReadInfo.cpp
fossabot/kblast
37b89fd6ba5ce429be5a69e2c6160da8a6aa21e6
[ "Apache-2.0" ]
null
null
null
src/gigablast/IndexReadInfo.cpp
fossabot/kblast
37b89fd6ba5ce429be5a69e2c6160da8a6aa21e6
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2000-2014 Matt Wells // Copyright 2004-2013 Gigablast, Inc. // Copyright 2013 Web Research Properties, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obta...
36.333333
75
0.636288
fossabot
7871f51084cb1bee410708a8f73538b6ccd2d244
4,701
hh
C++
trex/domain/EnumDomain.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
trex/domain/EnumDomain.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
trex/domain/EnumDomain.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
/* -*- C++ -*- */ /** @file "EnumDomain.hh" * @brief string values enumeration domain * * This file defines the EnumDamain class. * * The EnumDomain is a specialization in order to declare domains * based on string values. * * @author Frederic Py <fpy@mbari.org> * @ingroup domains */ /**********************...
34.313869
82
0.640289
miatauro
7872d60fa999bc937958663007629d3cfa44c8e9
377
cpp
C++
source/mazegenerator/AldousBroder.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
source/mazegenerator/AldousBroder.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
source/mazegenerator/AldousBroder.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
#include <mazegenerator/AldousBroder.h> GridPtr AldousBroder::on(GridPtr grid) { auto cell = grid->randomCell(); auto unvisited = grid->size() - 1; while (unvisited > 0) { auto neighbor = randomElement(cell->neighbours.getAll()); if (neighbor->getLinks().empty()) { cell->link(neighbor); unvi...
22.176471
61
0.633952
danielplawrence
7872f56e147aef75e7167389ae9219914fabd136
6,111
cpp
C++
tests/unit_tests/parser/math_char.cpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
4
2021-04-02T02:52:05.000Z
2021-12-11T00:42:35.000Z
tests/unit_tests/parser/math_char.cpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
tests/unit_tests/parser/math_char.cpp
cpp-niel/mfl
d22d698b112b95d102150d5f3a5f35d8eb7fb0f3
[ "MIT" ]
null
null
null
#include "parser/parse.hpp" #include "framework/doctest.hpp" #include "framework/node_types_are.hpp" namespace mfl::parser { TEST_SUITE("parse math char") { TEST_CASE("parse a single math_char") { const auto expected = math_char{.kind = item_kind::bin, .family = font_family::roman,...
41.013423
121
0.56341
cpp-niel
787684df66343e26e77f78b610a3cfb2ebed1297
7,199
cpp
C++
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialPlayerSpawner.cpp
eddyrainy/UnrealGDK
eb86c58d23d55e74b584b91c2d35702ba08448be
[ "MIT" ]
null
null
null
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialPlayerSpawner.cpp
eddyrainy/UnrealGDK
eb86c58d23d55e74b584b91c2d35702ba08448be
[ "MIT" ]
null
null
null
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialPlayerSpawner.cpp
eddyrainy/UnrealGDK
eb86c58d23d55e74b584b91c2d35702ba08448be
[ "MIT" ]
null
null
null
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #include "Interop/SpatialPlayerSpawner.h" #include "Engine/Engine.h" #include "Engine/LocalPlayer.h" #include "Kismet/GameplayStatics.h" #include "TimerManager.h" #include "EngineClasses/SpatialNetDriver.h" #include "Interop/Connection/SpatialWorkerConnecti...
37.300518
135
0.786498
eddyrainy
787769516d0b62fa502730cfd0eefc6d75d7adc8
12,373
cpp
C++
arduino/portable/sketchbook/libraries/IRremoteESP8266/test/ir_Amcor_test.cpp
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
118
2019-03-27T02:15:59.000Z
2022-03-18T16:42:42.000Z
arduino/portable/sketchbook/libraries/IRremoteESP8266/test/ir_Amcor_test.cpp
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
26
2019-04-17T16:39:30.000Z
2021-11-06T11:55:42.000Z
arduino/portable/sketchbook/libraries/IRremoteESP8266/test/ir_Amcor_test.cpp
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
58
2019-04-16T06:52:45.000Z
2022-03-08T01:57:08.000Z
// Copyright 2019 David Conran #include "IRac.h" #include "ir_Amcor.h" #include "IRrecv.h" #include "IRrecv_test.h" #include "IRsend.h" #include "IRsend_test.h" #include "IRutils.h" #include "gtest/gtest.h" TEST(TestUtils, Housekeeping) { ASSERT_EQ("AMCOR", typeToString(decode_type_t::AMCOR)); ASSERT_EQ(decode_ty...
35.150568
86
0.693769
devshop2019
787ed3e2cee4aa3564d9393294f93613ef20eee7
11,227
hpp
C++
srrg2_core/src/srrg_image/image.hpp
srrg-sapienza/srrg2_core
56c1f8305f2a9918b7e7c581d83d394ffb7ea50e
[ "BSD-3-Clause" ]
5
2020-03-11T14:36:13.000Z
2021-09-09T09:01:15.000Z
srrg2_core/src/srrg_image/image.hpp
srrg-sapienza/srrg2_core
56c1f8305f2a9918b7e7c581d83d394ffb7ea50e
[ "BSD-3-Clause" ]
1
2020-06-07T17:25:04.000Z
2020-07-15T07:36:10.000Z
srrg2_core/src/srrg_image/image.hpp
srrg-sapienza/srrg2_core
56c1f8305f2a9918b7e7c581d83d394ffb7ea50e
[ "BSD-3-Clause" ]
2
2020-11-30T08:17:53.000Z
2021-06-19T05:07:07.000Z
namespace srrg2_core { template <class Scalar_, ImageType ImageType_, int NumChannels_> void Image_<Scalar_, ImageType_, NumChannels_>::toCv(cv::Mat& dest_) const { dest_.create(this->rows(), this->cols(), ImageType_); for (size_t r = 0; r < this->rows(); ++r) { CVVecType* dest_ptr = dest_.ptr<CVV...
37.175497
112
0.591253
srrg-sapienza
787eee1092a6141b0f5f5fafd6655b1a3d9fe031
6,636
cxx
C++
Libs/Widgets/GUI/Midas3TreeViewClient.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Widgets/GUI/Midas3TreeViewClient.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Widgets/GUI/Midas3TreeViewClient.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2011 Kitware 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....
29.757848
114
0.66953
midasplatform
787f0b85b45535b03e7667b10d86a331eb5581a6
808
cpp
C++
reddit-v1-user-agent.cpp
JulienRaynal/orca
0ab3f232273209d48a088fc5d050a4e4b35c6c58
[ "MIT" ]
null
null
null
reddit-v1-user-agent.cpp
JulienRaynal/orca
0ab3f232273209d48a088fc5d050a4e4b35c6c58
[ "MIT" ]
null
null
null
reddit-v1-user-agent.cpp
JulienRaynal/orca
0ab3f232273209d48a088fc5d050a4e4b35c6c58
[ "MIT" ]
null
null
null
#include <stdarg.h> #include "orka-user-agent.hpp" #include "reddit-v1-user-agent.hpp" #define BASE_API_URL "https://www.reddit.com/api/v1" namespace reddit { namespace v1 { namespace user_agent { void init(struct dati *ua, char *username, char *password) { ua_init(&ua->common, BASE_API_URL); ua->username = ...
17.565217
54
0.689356
JulienRaynal
7880b4f9b41e4fb3a106344dc0116fc606fc25f1
862
hpp
C++
src/stan/algorithms/hmc/nuts/dense_e_nuts.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/algorithms/hmc/nuts/dense_e_nuts.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/algorithms/hmc/nuts/dense_e_nuts.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MCMC_HMC_NUTS_DENSE_E_NUTS_HPP #define STAN_MCMC_HMC_NUTS_DENSE_E_NUTS_HPP #include "base_nuts.hpp" #include "stan/algorithms/hmc/hamiltonians/dense_e_point.hpp" #include "stan/algorithms/hmc/hamiltonians/dense_e_metric.hpp" #include "stan/algorithms/hmc/integrators/expl_leapfrog.hpp" namespace stan { ...
31.925926
67
0.684455
alashworth
78826290f321ee189b0aa63aaf2dab191978de52
6,002
hpp
C++
src/direct_conv.hpp
dblalock/conv
90ef25db56a1f8855b8aa4950acd3b57499700d5
[ "Apache-2.0" ]
null
null
null
src/direct_conv.hpp
dblalock/conv
90ef25db56a1f8855b8aa4950acd3b57499700d5
[ "Apache-2.0" ]
null
null
null
src/direct_conv.hpp
dblalock/conv
90ef25db56a1f8855b8aa4950acd3b57499700d5
[ "Apache-2.0" ]
null
null
null
// // direct_conv.hpp // Copyright © 2019 D Blalock. All rights reserved. // #ifndef _direct_conv_hpp #define _direct_conv_hpp #include <assert.h> #include <stdio.h> #include "arrayview.hpp" #include "dtype_traits.hpp" // only allow valid convolution template<class DataT, class CoeffT, class ResultT=typename...
35.514793
82
0.570477
dblalock
788506ffa89bf819a0e5979bc17f1ad21947cf41
1,986
cpp
C++
src/activation.cpp
NicolasMakaroff/MLMVN
7a4941f57862c74173c755b6ffc48789c049baec
[ "MIT" ]
null
null
null
src/activation.cpp
NicolasMakaroff/MLMVN
7a4941f57862c74173c755b6ffc48789c049baec
[ "MIT" ]
null
null
null
src/activation.cpp
NicolasMakaroff/MLMVN
7a4941f57862c74173c755b6ffc48789c049baec
[ "MIT" ]
null
null
null
#include "activation.hpp" /** Short class for different activation functions */ // Discrete activation function std::string activation::getType(){ return "ToDo"; } void activation::setType(std::string type){ } std::complex<double> activation::NonPeriodicDiscrete(std::complex<double> z_, int categories){...
32.032258
104
0.618328
NicolasMakaroff
788802120fed832a426fba6c4d259e8035b2592b
1,730
cpp
C++
test/unit/core-sigcxx/trackable-test.cpp
zhanggyb/skland
055d91a6830b95d248d407c37a8a2fa20b148efd
[ "Apache-2.0" ]
20
2017-01-11T05:59:18.000Z
2019-08-17T03:21:38.000Z
test/unit/core-sigcxx/trackable-test.cpp
zhanggyb/skland
055d91a6830b95d248d407c37a8a2fa20b148efd
[ "Apache-2.0" ]
null
null
null
test/unit/core-sigcxx/trackable-test.cpp
zhanggyb/skland
055d91a6830b95d248d407c37a8a2fa20b148efd
[ "Apache-2.0" ]
3
2017-03-03T17:37:10.000Z
2018-08-08T12:44:23.000Z
// // Created by zhanggyb on 16-9-19. // #include "trackable-test.hpp" #include <skland/core/sigcxx.hpp> #include "subject.hpp" #include "observer.hpp" using namespace skland; using namespace skland::core; TEST_F(TrackableTest, slot_1) { Subject subject; Observer observer; subject.signal1().Connect(&observe...
24.366197
71
0.726012
zhanggyb
788ad416c7b1689e0f5bff361fcca8d74906e439
8,088
cc
C++
src/tim/lite/execution.cc
2019dj/TIM-VX
b3e52591f412d95a2deeebc7e2d8aca2bc909352
[ "MIT" ]
118
2021-01-12T01:56:25.000Z
2022-03-30T09:50:58.000Z
src/tim/lite/execution.cc
2019dj/TIM-VX
b3e52591f412d95a2deeebc7e2d8aca2bc909352
[ "MIT" ]
114
2021-01-29T08:21:43.000Z
2022-03-28T11:58:10.000Z
src/tim/lite/execution.cc
2019dj/TIM-VX
b3e52591f412d95a2deeebc7e2d8aca2bc909352
[ "MIT" ]
56
2021-01-12T02:42:53.000Z
2022-03-24T02:15:20.000Z
/**************************************************************************** * * Copyright (c) 2021 Vivante 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 ...
35.165217
92
0.626978
2019dj
788b5c0535f873b84ea32b2127dc7b46ab26ace6
1,821
cpp
C++
test.cpp
martinjrobins/binder_aboria_test
28d28d8b4ad5d2fe1612101ff2d684469f82e438
[ "BSD-3-Clause" ]
null
null
null
test.cpp
martinjrobins/binder_aboria_test
28d28d8b4ad5d2fe1612101ff2d684469f82e438
[ "BSD-3-Clause" ]
null
null
null
test.cpp
martinjrobins/binder_aboria_test
28d28d8b4ad5d2fe1612101ff2d684469f82e438
[ "BSD-3-Clause" ]
null
null
null
#include "Aboria/src/Aboria.h" const size_t N = 100; const unsigned seed = 0; const bool write_out = false; /* * set parameters */ const int timesteps = 1e3; const double r_cut = std::sqrt(3.0/N); const double c = 1e-3; /* * Create a 2d particle container type with one * additional variable "velocity", represe...
22.207317
61
0.622735
martinjrobins
788c8b959e0067c449f323b80847b4c8d0aa7a9c
14,844
cpp
C++
0.52/GraySvr/CCharNPCStatus.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
2
2020-12-22T17:03:14.000Z
2021-07-31T23:59:05.000Z
0.52/GraySvr/CCharNPCStatus.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
null
null
null
0.52/GraySvr/CCharNPCStatus.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
4
2021-04-21T19:43:48.000Z
2021-10-07T00:38:23.000Z
// // CCharNPCStatus.cpp // Copyright Menace Software (www.menasoft.com). // // Test things to judge what an NPC might be thinking. (want to do) // But take no actions here. // #include "graysvr.h" // predef header. CREID_TYPE CChar::NPC_GetAllyGroupType(CREID_TYPE idTest) // static { switch ( idTest ) { case CREI...
24.215334
125
0.662018
Jhobean
788dc407836449d0a88ff1a33ac18da7b3e01336
6,580
hpp
C++
include/networkit/distance/SSSP.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
null
null
null
include/networkit/distance/SSSP.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
null
null
null
include/networkit/distance/SSSP.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
1
2020-02-05T17:39:47.000Z
2020-02-05T17:39:47.000Z
/* * SSSP.h * * Created on: 15.04.2014 * Author: cls */ #ifndef NETWORKIT_DISTANCE_SSSP_HPP_ #define NETWORKIT_DISTANCE_SSSP_HPP_ #include <set> #include <stack> #include <networkit/base/Algorithm.hpp> #include <networkit/graph/Graph.hpp> #include <networkit/auxiliary/Multiprecision.hpp> #include <tlx/def...
30.604651
80
0.641793
kmc-kk
788f980d758134bc6b129b68777207879d27a34a
2,026
cpp
C++
Uva/Uva_AC/11060 - Beverages.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
3
2018-05-11T07:33:20.000Z
2020-08-30T11:02:02.000Z
Uva/Uva_AC/11060 - Beverages.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
1
2018-05-11T18:10:26.000Z
2018-05-12T18:00:28.000Z
Uva/Uva_AC/11060 - Beverages.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
null
null
null
/*************************************************** * Problem name : 11060 - Beverages.cpp * OJ : Uva * Result : AC * Date : 00-03-17 * Problem Type : Graph * Author Name : Saikat Sharma * University : CSE, MBSTU ***************************************************/ #include<iostream>...
23.835294
80
0.404245
Saikat-S
789106182bdd80f969e04fe21ae67ed1fc1bdb7b
2,734
cpp
C++
dev/Gems/ScriptCanvas/Code/Editor/Undo/ScriptCanvasUndoCache.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
2
2020-06-27T12:13:44.000Z
2020-06-27T12:13:46.000Z
dev/Gems/ScriptCanvas/Code/Editor/Undo/ScriptCanvasUndoCache.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
dev/Gems/ScriptCanvas/Code/Editor/Undo/ScriptCanvasUndoCache.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
31.425287
127
0.668983
BadDevCode
7893e6195a9e4a7f3ac7f7fd9aef8a5f1cc02fbc
8,134
cpp
C++
aws-cpp-sdk-chime-sdk-meetings/source/model/EngineTranscribeSettings.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-chime-sdk-meetings/source/model/EngineTranscribeSettings.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-chime-sdk-meetings/source/model/EngineTranscribeSettings.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime-sdk-meetings/model/EngineTranscribeSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; n...
30.578947
173
0.801205
Nexuscompute
7894ed955d679957b3814246ccd588735a194ab9
2,748
cc
C++
cc/puzzle_6_1/main.cc
craig-chasseur/aoc2019
e2bed89deef4cabc37ff438dd7d26efe0187500b
[ "MIT" ]
null
null
null
cc/puzzle_6_1/main.cc
craig-chasseur/aoc2019
e2bed89deef4cabc37ff438dd7d26efe0187500b
[ "MIT" ]
null
null
null
cc/puzzle_6_1/main.cc
craig-chasseur/aoc2019
e2bed89deef4cabc37ff438dd7d26efe0187500b
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <string> #include <type_traits> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "cc/util/check.h" namespace { class OrbitGraph { public: OrbitGraph() = ...
26.941176
79
0.663028
craig-chasseur
7896682deb89ff1aa82cf5cbceb3fe2e3f9a7c02
8,692
cpp
C++
src/SVArduino/sv_client.cpp
Sundiverr/SVisual
0b652efbd6ebb16db7d2a618db6f4ee8203e6310
[ "MIT" ]
1
2019-04-30T20:51:02.000Z
2019-04-30T20:51:02.000Z
src/SVArduino/sv_client.cpp
Sundiverr/SVisual
0b652efbd6ebb16db7d2a618db6f4ee8203e6310
[ "MIT" ]
null
null
null
src/SVArduino/sv_client.cpp
Sundiverr/SVisual
0b652efbd6ebb16db7d2a618db6f4ee8203e6310
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <string.h> #include <Ethernet.h> #include <WiFi.h> #include "MsTimer2.h" #include "SVClient.h" #include "sv_auxFunc.h" #include "sv_structurs.h" #include "sv_binTree.h" #include "sv_objClient.h" namespace svisual{ sv_client objCln; // connect to server of ethernet // module ...
23.240642
147
0.614933
Sundiverr
a191cf87e7fada8b971263fb2092c140eb4d46b8
3,359
hpp
C++
src/utility/gpu/memory.hpp
OpenJij/OpenJij
9ed58500ef47583bc472410d470bb2dd4bfec74a
[ "Apache-2.0" ]
61
2019-01-05T13:37:10.000Z
2022-03-11T02:11:08.000Z
src/utility/gpu/memory.hpp
OpenJij/OpenJij
9ed58500ef47583bc472410d470bb2dd4bfec74a
[ "Apache-2.0" ]
79
2019-01-29T09:55:20.000Z
2022-02-19T04:06:20.000Z
src/utility/gpu/memory.hpp
OpenJij/OpenJij
9ed58500ef47583bc472410d470bb2dd4bfec74a
[ "Apache-2.0" ]
21
2019-01-07T07:55:10.000Z
2022-03-08T14:27:23.000Z
// Copyright 2021 Jij 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 agre...
32.61165
101
0.526347
OpenJij
a1924d66b6469f2ae62602ade94a7d77f3517822
5,912
cpp
C++
utility/unittest/ssl_test.cpp
infinitEnigma/beam
5aa354cf62d88c53001509498e4949143dc41c3b
[ "Apache-2.0" ]
1
2020-03-11T07:13:22.000Z
2020-03-11T07:13:22.000Z
utility/unittest/ssl_test.cpp
infinitEnigma/beam
5aa354cf62d88c53001509498e4949143dc41c3b
[ "Apache-2.0" ]
null
null
null
utility/unittest/ssl_test.cpp
infinitEnigma/beam
5aa354cf62d88c53001509498e4949143dc41c3b
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
34.17341
163
0.60318
infinitEnigma
a193afdaf01e9a9dcae051407bfb8a3d8c8021bf
7,707
cc
C++
third_party/proto/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
acidburn0zzz/kythe
6cd4e9c81a1158de43ec783607a4d7edd9b7e4a0
[ "Apache-2.0" ]
283
2015-01-27T22:43:26.000Z
2022-02-14T11:50:18.000Z
third_party/proto/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
google/shipshape
2435b8fb856bca4366ac0ca3350532d0e5e290fd
[ "Apache-2.0" ]
104
2015-02-02T22:59:58.000Z
2019-02-06T20:09:42.000Z
third_party/proto/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
acidburn0zzz/kythe
6cd4e9c81a1158de43ec783607a4d7edd9b7e4a0
[ "Apache-2.0" ]
48
2015-02-26T18:03:06.000Z
2022-02-25T21:42:27.000Z
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
40.350785
92
0.68042
acidburn0zzz
a1984dd2049ff58d36fd086e7b632059ee98fb0c
766
cpp
C++
leetcode.com/0526 Beautiful Arrangement/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0526 Beautiful Arrangement/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0526 Beautiful Arrangement/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <unordered_map> #include <vector> using namespace std; class Solution { private: vector<unordered_map<int, int>> dp; int n; int dfs(int i, int visited) { if (i == 0) return 1; if (dp[i].count(visited)) return dp[i][visited]; int res = 0; for (int ii = 1; ii <= n; ++...
18.682927
52
0.541775
sky-bro
a19c1feb89cd5072eeadf195f6df4c5a8b2e7406
664
cpp
C++
src/ai/la/WordEntrySetEnumerator.cpp
name212/GrammarEngine
1912809d6a19977c9d2fff88279b76a6152b659d
[ "MIT" ]
55
2015-04-11T17:39:27.000Z
2022-01-07T17:52:22.000Z
src/ai/la/WordEntrySetEnumerator.cpp
name212/GrammarEngine
1912809d6a19977c9d2fff88279b76a6152b659d
[ "MIT" ]
17
2017-11-22T13:31:11.000Z
2021-06-06T08:30:43.000Z
src/ai/la/WordEntrySetEnumerator.cpp
qwazer/GrammarEngine
08e1eb7bdfd77f29a51a7063848d74b9171291c4
[ "MIT" ]
28
2015-05-21T08:27:31.000Z
2022-02-24T21:42:36.000Z
#include <lem/macros.h> #include <lem/solarix/LS_ResultSet.h> #include <lem/solarix/LA_WordEntrySet.h> #include <lem/solarix/WordEntrySetEnumerator.h> using namespace Solarix; WordEntrySetEnumerator::WordEntrySetEnumerator(LS_ResultSet *RS, WordEntrySet *Sets) : rs(RS), sets(Sets) { } WordEntrySetEnu...
19.529412
85
0.698795
name212
a19c31810ae6bfc920d8ec7ed2c6bf1c6c64a09a
17,060
cpp
C++
library/colorizer/colors.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
4
2020-06-24T06:07:52.000Z
2021-04-16T22:58:09.000Z
library/colorizer/colors.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
6
2020-02-18T22:12:29.000Z
2020-02-18T22:31:26.000Z
library/colorizer/colors.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
1
2020-10-17T09:28:08.000Z
2020-10-17T09:28:08.000Z
#include "colors.h" #include <util/stream/output.h> #include <util/generic/singleton.h> #include <util/system/env.h> #include <cstdlib> #if defined(_unix_) #include <unistd.h> #endif using namespace NColorizer; namespace { constexpr TStringBuf ToStringBufC(NColorizer::EAnsiCode x) { switch(x) { ...
33.715415
113
0.631419
ZhekehZ
a19d9aef5e4a0f702e430e8784e0341cc94f7327
1,377
cc
C++
ash/accessibility/layer_animation_info.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/accessibility/layer_animation_info.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/accessibility/layer_animation_info.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2018 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/accessibility/layer_animation_info.h" #include "base/numerics/ranges.h" namespace ash { void ComputeOpacity(LayerAnimationInfo* animation...
35.307692
73
0.730574
mghgroup
a19fa2a8eff8db9c5c04613fed870614a94347b2
6,787
cpp
C++
menoh/mkldnn/operator/gemm.cpp
yuhonghong66/menoh
cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402
[ "MIT" ]
284
2018-06-21T02:00:08.000Z
2021-11-22T07:50:22.000Z
menoh/mkldnn/operator/gemm.cpp
yuhonghong66/menoh
cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402
[ "MIT" ]
174
2018-06-21T06:01:57.000Z
2020-12-28T06:26:55.000Z
menoh/mkldnn/operator/gemm.cpp
yuhonghong66/menoh
cdb33dfc8ba4c8dbb4c2bc70aae4f52433116402
[ "MIT" ]
33
2018-06-21T04:19:17.000Z
2020-05-08T12:51:55.000Z
#include <menoh/mkldnn/operator/gemm.hpp> #include <tuple> #include <mkldnn.hpp> #include <menoh/utility.hpp> #include <menoh/model_core.hpp> #include <menoh/mkldnn/operator/common.hpp> #include <menoh/mkldnn/utility.hpp> namespace menoh_impl { namespace mkldnn_backend { primitive_factory_return_type ...
44.071429
80
0.576543
yuhonghong66
a19fe84c7caf56ff12b25b503d87badbabcdbd25
517
cpp
C++
CSC/CSC114/GaddisExamples/Chapter07/Pr7-26.cpp
HNSS-US/DelTech
a424da4e10ec0a33caaa6ed1c1d78837bdc6b0a2
[ "MIT" ]
null
null
null
CSC/CSC114/GaddisExamples/Chapter07/Pr7-26.cpp
HNSS-US/DelTech
a424da4e10ec0a33caaa6ed1c1d78837bdc6b0a2
[ "MIT" ]
null
null
null
CSC/CSC114/GaddisExamples/Chapter07/Pr7-26.cpp
HNSS-US/DelTech
a424da4e10ec0a33caaa6ed1c1d78837bdc6b0a2
[ "MIT" ]
null
null
null
// This program demonstrates the range-based for loop with a vector. #include <iostream> #include <vector> using namespace std; int main() { // Define a vector. vector<int> numbers(5); // Get values for the vector elements. for (int &val : numbers) { cout << "Enter an integer value...
21.541667
69
0.586074
HNSS-US
a1a030f9b52b3ef39f22e46a70648f76e0b7e65b
7,916
cpp
C++
core/src/command/mgdrawlines.cpp
rhcad/touchvg-v0.6
8b349ecd66b2363eec96e20873267aad9ed67ff1
[ "RSA-MD" ]
1
2016-06-14T06:22:50.000Z
2016-06-14T06:22:50.000Z
core/src/command/mgdrawlines.cpp
rhcad/touchvg-v0.6
8b349ecd66b2363eec96e20873267aad9ed67ff1
[ "RSA-MD" ]
null
null
null
core/src/command/mgdrawlines.cpp
rhcad/touchvg-v0.6
8b349ecd66b2363eec96e20873267aad9ed67ff1
[ "RSA-MD" ]
null
null
null
// mgdrawlines.cpp: 实现折线绘图命令类 // Copyright (c) 2004-2012, Zhang Yungui // License: LGPL, https://github.com/rhcad/touchvg #include "mgdrawlines.h" #include <mgshapet.h> #include <mgbasicsp.h> #include <mgbase.h> // MgCmdDrawLines // MgCmdDrawLines::MgCmdDrawLines() { } MgCmdDrawLines::~MgCmdDrawLines() { } bool Mg...
28.577617
95
0.596008
rhcad
a1a1876062598adbc42bd7560ba6a73446d6cf79
6,932
cpp
C++
src/server/UI/mainwindow.cpp
afrostalin/FireNET
212bd7b0bf5a3ceef4c19fe527c7f23e624e296b
[ "BSL-1.0" ]
27
2015-12-22T20:29:12.000Z
2021-06-05T18:25:27.000Z
src/server/UI/mainwindow.cpp
afrostalin/FireNET
212bd7b0bf5a3ceef4c19fe527c7f23e624e296b
[ "BSL-1.0" ]
36
2015-06-14T15:17:19.000Z
2017-12-28T16:01:02.000Z
src/server/UI/mainwindow.cpp
afrostalin/FireNET
212bd7b0bf5a3ceef4c19fe527c7f23e624e296b
[ "BSL-1.0" ]
14
2016-01-14T11:15:47.000Z
2021-05-04T20:24:46.000Z
// Copyright (C) 2014-2018 Ilya Chernetsov. All rights reserved. Contacts: <chernecoff@gmail.com> // License: https://github.com/afrostalin/FireNET/blob/master/LICENSE #include "global.h" #include "mainwindow.h" #include "ui_mainwindow.h" #include "UILogger.h" #include "Core/tcpserver.h" #include "Core/remoteserver.h...
19.526761
187
0.626659
afrostalin
a1a390163209fc24307cf3f4a05998994df8a667
3,362
cpp
C++
bench/DeferredCanvasBench.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-05-19T08:53:12.000Z
2017-08-28T11:59:26.000Z
bench/DeferredCanvasBench.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
bench/DeferredCanvasBench.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBenchmark.h" #include "SkDeferredCanvas.h" #include "SkDevice.h" #include "SkString.h" class DeferredCanvasBench : public SkBenchmark { public: DeferredCanvasB...
29.491228
106
0.670732
coltorchen
a1a5bf8ec26af205c0c77690845648cfac1e7195
2,800
hpp
C++
engine/include/xe/core/gpu.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/core/gpu.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/core/gpu.hpp
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
// // Created by FLXR on 9/3/2019. // #ifndef XE_GPU_HPP #define XE_GPU_HPP #include <atomic> #include <thread> #include <mutex> #include <memory> #include <xe/params.hpp> #include <xe/core/object.hpp> #include <xe/graphics/display_list.hpp> namespace xe { class Window; namespace gpu { class Backend; } ...
23.931624
98
0.682143
trbflxr
a1a83c496fd4fa0387691cb075c57de2dce3b370
54,360
cpp
C++
src/AstTransforms.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
src/AstTransforms.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
src/AstTransforms.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /**************************************************...
40.567164
110
0.568727
ohamel-softwaresecure
a1a8c85c1f7b3d62f3f30a48b8fbd866d8b10cf0
1,034
hpp
C++
archive/stan/src/stan/lang/generator/generate_functions.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/stan/lang/generator/generate_functions.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/stan/lang/generator/generate_functions.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_GENERATOR_GENERATE_FUNCTIONS_HPP #define STAN_LANG_GENERATOR_GENERATE_FUNCTIONS_HPP #include <stan/lang/ast.hpp> #include <stan/lang/generator/generate_function.hpp> #include <stan/lang/generator/generate_function_functor.hpp> #include <ostream> #include <vector> namespace stan { namespa...
30.411765
72
0.662476
alashworth
a1a8de673e4f10886904777f9fd9a0b377280823
4,501
cpp
C++
export/release/macos/obj/src/flixel/addons/ui/AnchorPoint.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
export/release/macos/obj/src/flixel/addons/ui/AnchorPoint.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/flixel/addons/ui/AnchorPoint.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_flixel_addons_ui_AnchorPoint #include <flixel/addons/ui/AnchorPoint.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_6681d3195fadcae2_3_new,"flixel.addons.ui.AnchorPoint","new",0x37a3eddc,"flixel.addons.ui.AnchorPoint.new","flixel/addons/ui/AnchorPoint.hx",3,0xb41...
31.921986
183
0.726061
EnvyBun
a1a90dc1533b7570351c9dd13fb9cb09937f641d
2,520
cpp
C++
Server/src/Gws/GwsQueryEngine/GwsCsQueryProcessor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Server/src/Gws/GwsQueryEngine/GwsCsQueryProcessor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Server/src/Gws/GwsQueryEngine/GwsCsQueryProcessor.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
24.466019
89
0.653968
achilex
a1ab2e219487c47362a61a460f9a0d29f9b1c3f4
5,289
cpp
C++
src/qt/src/corelib/kernel/qsharedmemory_symbian.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/src/corelib/kernel/qsharedmemory_symbian.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/src/corelib/kernel/qsharedmemory_symbian.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees...
30.051136
104
0.668557
jefleponot
a1aca8b2ffeffa32bf53033618e889958492cebb
682
cpp
C++
C++/0929-Unique-Email-Addresses/soln.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0929-Unique-Email-Addresses/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0929-Unique-Email-Addresses/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
auto desyncio = []() { std::ios::sync_with_stdio(false); cin.tie(nullptr); return nullptr; }(); class Solution { public: int numUniqueEmails(vector<string>& emails) { unordered_set<string> ans; for(auto email : emails) ans.insert(encode(email)); return ans.size(); } ...
26.230769
74
0.568915
wyaadarsh
a1adaa2f8524b211108b887544a6b7cfcdb6110b
1,368
hpp
C++
utils/timer.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
29
2019-11-18T14:25:05.000Z
2022-02-10T07:21:48.000Z
utils/timer.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
2
2021-03-17T03:17:38.000Z
2021-04-11T04:06:23.000Z
utils/timer.hpp
BowenforGit/Grasper
268468d6eb0a56e9a4815c0c1d7660b06bf8a1f7
[ "Apache-2.0" ]
6
2019-11-21T18:04:15.000Z
2022-03-01T02:48:50.000Z
/* Copyright 2019 Husky Data Lab, CUHK Authors: Hongzhi Chen (hzchen@cse.cuhk.edu.hk) */ #ifndef TIMER_HPP_ #define TIMER_HPP_ #include <emmintrin.h> #include <sys/time.h> #include <unistd.h> #include <stdint.h> #include <string> #include <vector> class timer { public: static uint64_t get_usec() { stru...
24
77
0.646199
BowenforGit
a1af8186be2dd8773350cad537b2b66c78d1b447
15,833
cpp
C++
CLR/Libraries/CorLib/corlib_native_System_BitConverter.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
null
null
null
CLR/Libraries/CorLib/corlib_native_System_BitConverter.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
null
null
null
CLR/Libraries/CorLib/corlib_native_System_BitConverter.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
1
2019-12-03T05:37:43.000Z
2019-12-03T05:37:43.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
34.569869
201
0.739152
valoni
a1b260e5b269b5281a133e02563deca98851b6e5
16,949
cpp
C++
stage0/src/library/compiler/eager_lambda_lifting.cpp
tballmsft/lean4
fb57b73e1f07828fa9aad91c2112bf072b3e79f2
[ "Apache-2.0" ]
1,538
2019-04-25T11:00:03.000Z
2022-03-30T02:35:48.000Z
stage0/src/library/compiler/eager_lambda_lifting.cpp
tballmsft/lean4
fb57b73e1f07828fa9aad91c2112bf072b3e79f2
[ "Apache-2.0" ]
812
2019-05-20T09:15:21.000Z
2022-03-31T16:36:04.000Z
stage0/src/library/compiler/eager_lambda_lifting.cpp
tballmsft/lean4
fb57b73e1f07828fa9aad91c2112bf072b3e79f2
[ "Apache-2.0" ]
168
2019-04-25T12:49:34.000Z
2022-03-29T05:07:14.000Z
/* Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "runtime/flet.h" #include "kernel/instantiate.h" #include "kernel/abstract.h" #include "kernel/for_each_fn.h" #include "kernel/type_checker.h" #inc...
39.693208
130
0.545755
tballmsft
a1b2e5e3b5b52f7ae039aca17d05455453205755
1,052
hpp
C++
main/mainDefs.hpp
v1993/generators
78b4a106b83ac8604d826d4751f7ab38c1ccdbd4
[ "MIT" ]
null
null
null
main/mainDefs.hpp
v1993/generators
78b4a106b83ac8604d826d4751f7ab38c1ccdbd4
[ "MIT" ]
null
null
null
main/mainDefs.hpp
v1993/generators
78b4a106b83ac8604d826d4751f7ab38c1ccdbd4
[ "MIT" ]
null
null
null
#ifndef I_V_MAIN_DEFS #define I_V_MAIN_DEFS #pragma once #include <iostream> #include <fstream> #include <algorithm> #include <iterator> #include <exception> #include <vector> #include <string> #include <memory> //#include <filesystem> #include <cstdlib> #include <boost/any.hpp> #include <boost/bind.hpp> #include <b...
21.916667
76
0.715779
v1993
a1b37a666bed1ebcd5d4f2a5bc4b50fca33cea65
17,857
cc
C++
CSG_GGeo/CSG_GGeo_Convert.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
CSG_GGeo/CSG_GGeo_Convert.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
CSG_GGeo/CSG_GGeo_Convert.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
#include <iostream> #include <iomanip> #include <vector> #include "SStr.hh" #include "SSys.hh" #include "NP.hh" #include "NGLMExt.hpp" #include "GLMFormat.hpp" #include "Opticks.hh" #include "GGeo.hh" #include "GGeoLib.hh" #include "GParts.hh" #include "GMergedMesh.hh" #include "GBndLib.hh" #include "GScintillatorLi...
28.077044
136
0.609453
hanswenzel
a1b5e70bbad8fd9f7fffe7c81048dcbe14a0ed83
602
cpp
C++
AppBase/CameraMenu.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
AppBase/CameraMenu.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
AppBase/CameraMenu.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
#include "CameraMenu.h" #include "imgui.h" #include "../UI/IModel.h" #include "../UI/ICanvas.h" using namespace Crystal::UI; void CameraMenu::show() { if (ImGui::BeginMenu("Camera")) { if (ImGui::MenuItem("Fit")) { canvas->fitCamera(model->getBoundingBox()); } if (ImGui::MenuItem("XY")) { c...
20.758621
49
0.606312
SatoshiMabuchi
a1b638e5f264494033ad687cdfe9c9fd76bdd1c9
2,345
cpp
C++
lib/asmjit/test/asmjit_test_perf.cpp
diegocarba99/bangheera
2aa92584a66fe2736c312eee099e14357003c3c3
[ "MIT" ]
1
2021-05-22T21:18:44.000Z
2021-05-22T21:18:44.000Z
lib/asmjit/test/asmjit_test_perf.cpp
diegocarba99/bangheera
2aa92584a66fe2736c312eee099e14357003c3c3
[ "MIT" ]
null
null
null
lib/asmjit/test/asmjit_test_perf.cpp
diegocarba99/bangheera
2aa92584a66fe2736c312eee099e14357003c3c3
[ "MIT" ]
3
2021-03-12T10:41:03.000Z
2022-02-12T02:33:45.000Z
// AsmJit - Machine code generation for C++ // // * Official AsmJit Home Page: https://asmjit.com // * Official Github Repository: https://github.com/asmjit/asmjit // // Copyright (c) 2008-2020 The AsmJit Authors // // This software is provided 'as-is', without any express or implied // warranty. In no event will the...
33.5
87
0.696802
diegocarba99
a1bc7563a7c3370940798cc8c3c53c58edaaa59a
6,089
cc
C++
arch/x86_64/cpu/idt.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2019-08-01T03:16:31.000Z
2022-02-17T06:52:26.000Z
arch/x86_64/cpu/idt.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
32
2018-03-26T20:10:44.000Z
2020-07-13T03:01:42.000Z
arch/x86_64/cpu/idt.cc
PoisonNinja/quark
0cc2b8191f0c5cbd856caac688bfdac54a7d3369
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
1
2018-08-29T21:31:06.000Z
2018-08-29T21:31:06.000Z
#include <arch/cpu/idt.h> namespace cpu { namespace x86_64 { namespace idt { constexpr size_t num_entries = 256; static struct idt::entry entries[num_entries]; static struct idt::descriptor descriptor = { .limit = sizeof(struct idt::entry) * num_entries - 1, .offset = reinterpret_cast<addr_t>(&entries), }; ...
44.445255
78
0.69371
PoisonNinja
a1bc7a13c0e2e7017ae8b30cb0f24653cfff79c3
1,613
cpp
C++
2DGames/Shader.cpp
A12134/Hope3
dbeb4393c8da04171828d53e2a6e0c74f76ef680
[ "MIT" ]
null
null
null
2DGames/Shader.cpp
A12134/Hope3
dbeb4393c8da04171828d53e2a6e0c74f76ef680
[ "MIT" ]
null
null
null
2DGames/Shader.cpp
A12134/Hope3
dbeb4393c8da04171828d53e2a6e0c74f76ef680
[ "MIT" ]
null
null
null
#include "Shader.h" #include <sstream> #include <fstream> #include <iostream> Shader::Shader(EShaderType type, GLint ID) { this->mShaderType = type; this->mShaderAddress = glCreateShader(ID); std::string tmpType; switch (type) { case EShaderType::EVertexShader: tmpType = "Vertex Shader"; break; case EShade...
23.720588
111
0.701798
A12134
a1bd086cf7a22259f2b2b1b22d7a9f6a7cb4f317
3,581
cpp
C++
src/simpcl/src/filters/unstable/handmade_icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
17
2020-01-08T14:35:05.000Z
2021-12-09T12:30:07.000Z
src/simpcl/src/filters/unstable/handmade_icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
2
2020-01-31T16:31:48.000Z
2022-03-09T12:49:53.000Z
src/simpcl/src/filters/unstable/handmade_icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
7
2020-01-08T21:28:58.000Z
2021-12-03T06:00:05.000Z
// Iterative Closest Point Algorithm // FIXME: Publishing nothing // ERROR: // Import dependencies #include <ros/ros.h> #include <string> #include <iostream> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl_conversions/pcl_conversions.h> #include <sensor_msgs/Poin...
32.853211
103
0.615191
senceryazici
a1be68374077513c0b6fd6e2fc407e01106d81f3
4,447
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/range/test/algorithm_test/find.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
libs/boost/libs/range/test/algorithm_test/find.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/range/test/algorithm_test/find.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
// Boost.Range library // // Copyright Neil Groves 2009. 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/ran...
33.689394
106
0.619069
Wultyc
a1bf87a5426ddfa6e124424ac1eb9f47c638ed6f
3,238
cpp
C++
Medium/0955-delete-columns-to-make-sorted-ii.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
Medium/0955-delete-columns-to-make-sorted-ii.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
Medium/0955-delete-columns-to-make-sorted-ii.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
class Solution { public: int minDeletionSize(vector<string>& A) { if (A.empty()) { return 0; } int len = A[0].size(); int deleted = 0; queue<Node> q; q.emplace(0, A.size() - 1); queue<Node> backup = q; for (int currentCharId =...
30.838095
90
0.340951
sandychn
a1c0a81a3b8a42ea547054688fe62665450e8873
210,373
cxx
C++
inetcore/mshtml/src/site/base/element2.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/mshtml/src/site/base/element2.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/mshtml/src/site/base/element2.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------- // // File: element2.cxx // // Contents: Element class // // Classes: CElement // //------------------------------------------------------------------------ #include "headers.hxx" #pragma MARK_DATA(__FILE__) #pragma MA...
30.256436
150
0.484696
npocmaka
a1c0c5f96d90c4408bd5b6606ecf6b999782adc8
25,353
cc
C++
xic/src/fileio/fio_chd_read.cc
bernardventer/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
3
2020-01-26T14:18:52.000Z
2020-12-09T20:07:22.000Z
xic/src/fileio/fio_chd_read.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
null
null
null
xic/src/fileio/fio_chd_read.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
2
2020-01-26T14:19:02.000Z
2021-08-14T16:33:28.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
27.617647
80
0.427721
bernardventer
a1c2ca47070a833745f663e2e5ce94dd43862854
102
cpp
C++
src/main.cpp
xue2sheng/probeHTTP
d0792d01b34331c085297ae8d67209e70cbf11f5
[ "MIT" ]
null
null
null
src/main.cpp
xue2sheng/probeHTTP
d0792d01b34331c085297ae8d67209e70cbf11f5
[ "MIT" ]
null
null
null
src/main.cpp
xue2sheng/probeHTTP
d0792d01b34331c085297ae8d67209e70cbf11f5
[ "MIT" ]
null
null
null
#include "main_function.h" int main(int argc, char** argv) { return main_function(argc, argv); }
14.571429
37
0.686275
xue2sheng
a1c5e7d56a30b109a44d8d3fbd86bdb48d7da3a1
968
hpp
C++
MadEngine/Utility/DrawBatch.hpp
Fs02/Volge-TheSurvivor
cbbdf660e3357c99ff106587f5d6783b267f6e92
[ "MIT" ]
2
2016-11-11T13:19:03.000Z
2019-04-21T21:03:09.000Z
MadEngine/Utility/DrawBatch.hpp
Fs02/Volge-TheSurvivor
cbbdf660e3357c99ff106587f5d6783b267f6e92
[ "MIT" ]
25
2015-07-09T03:57:16.000Z
2015-07-09T03:57:17.000Z
MadEngine/Utility/DrawBatch.hpp
Fs02/Volge-TheSurvivor
cbbdf660e3357c99ff106587f5d6783b267f6e92
[ "MIT" ]
null
null
null
#ifndef _DRAWBATCH_HPP_ #define _DRAWBATCH_HPP_ #include <SFML/Graphics.hpp> #include <Box2D/Box2D.h> #include "../Manager/Resource.hpp" namespace Mad { namespace Utility { class DrawBatch { private: sf::RenderWindow* m_TargetWindow; sf::Font *m_Font; sf::Text *m_Text; sf::Sprite *m_Sprite; ...
22.511628
205
0.668388
Fs02
a1c6269469e60c8b6132b98c8d2352b6c46e165e
11,892
cpp
C++
tests/helics/shared_library/SystemTests.cpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
tests/helics/shared_library/SystemTests.cpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
tests/helics/shared_library/SystemTests.cpp
corinnegroth/HELICS
b8eda371b081a7d391d019c14bba5cf5042ae590
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017-2020, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #include <gtest/gtest.h> /** these test cases test out the value conv...
34.77193
114
0.698116
corinnegroth
a1ca9c462dbf20a7558631e0dc412b5bc1c0f408
16,778
cpp
C++
MMVII/src/CalcDescriptPCar/cAimeTieP.cpp
micmacIGN/micmac
558a0d104bc07150b2ff1fe2d5fb952b8f70088d
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
MMVII/src/CalcDescriptPCar/cAimeTieP.cpp
Pandinosaurus/micmac
4aba7eb1b330d5dfd87afdb88ce40ac3372aff26
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
MMVII/src/CalcDescriptPCar/cAimeTieP.cpp
Pandinosaurus/micmac
4aba7eb1b330d5dfd87afdb88ce40ac3372aff26
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
#include "include/MMVII_all.h" #include "include/MMVII_Tpl_Images.h" #include "include/MMVII_2Include_Serial_Tpl.h" namespace MMVII { /** Map the interval [-1,1] to itself, the parameter : * Steep fix the derivate in 0 * Exp fix the power and hence concavity/convexity */ class cConcavexMapP1M1 : public cFc...
29.748227
127
0.578794
micmacIGN
a1cc477d604f68047f9571a22d6dfc115e3d547b
515
hpp
C++
include/RadonFramework/Core/Common/StringCache.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/Core/Common/StringCache.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/Core/Common/StringCache.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_CORE_COMMON_STRING_CACHE_HPP #define RF_CORE_COMMON_STRING_CACHE_HPP #if _MSC_VER > 1000 #pragma once #endif #include <RadonFramework/Core/Types/String.hpp> namespace RadonFramework::Core::Common { namespace StringCache { void Exchange(const char*** newValues); const char* Find(const RF_Type::Stri...
21.458333
51
0.803883
tak2004
a1ccb14dc216c5f0a8fb37a7bb08e32bea3ec4ca
2,557
cpp
C++
UVa Online Judge/10389 - Subway.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
2
2019-03-19T23:59:48.000Z
2019-03-21T20:13:12.000Z
UVa Online Judge/10389 - Subway.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
UVa Online Judge/10389 - Subway.cpp
SamanKhamesian/ACM-ICPC-Problems
c68c04bee4de9ba9f30e665cd108484e0fcae4d7
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <cctype> #include <iomanip> #include <cstring> #include <string> #include <queue> #include <cmath> using namespace std; #define WALK 0.006 #define SUBW 0.0015 #define INFI (long double)1e9 const long double Eps = 1e-7; struct point { long double ...
16.712418
92
0.544388
SamanKhamesian
a1ce13a6c5962bf423e750f0229e4b420462a2bf
491
cpp
C++
features/template_variadic/variadic_indices.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
20
2017-07-22T19:06:39.000Z
2021-07-12T06:46:24.000Z
features/template_variadic/variadic_indices.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
null
null
null
features/template_variadic/variadic_indices.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
7
2018-05-20T10:26:07.000Z
2021-07-12T04:11:18.000Z
#include<iostream> #include<vector> template<typename T> void print(const T &type) { std::cout << type << "\n"; } template<typename T, typename... Args> void print(const T &type, Args... args) { print(type); print(args...); } template<typename Container, typename... Index> void PrintIndex(const Container...
19.64
63
0.610998
lostjared
a1d06389b7bd6dcf7f945d6fdd69a646aa587b27
96
hpp
C++
src/include/zap/zap/link_type.hpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
src/include/zap/zap/link_type.hpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
src/include/zap/zap/link_type.hpp
chybz/zap
ccc67d85def09faa962e44b9e36ca414207d4ec3
[ "MIT" ]
null
null
null
#pragma once namespace zap { enum class link_type { static_, shared_, auto_ }; }
7.384615
20
0.614583
chybz
a1d19cfed61ec6c099a2b17710400ce994312802
4,556
cc
C++
src/ifmap/ifmap_link_table.cc
atsgen/tf-controller
9321889cdd3d7108980cc88937b2e82956502cc5
[ "Apache-2.0" ]
37
2020-09-21T10:42:26.000Z
2022-01-09T10:16:40.000Z
src/ifmap/ifmap_link_table.cc
atsgen/tf-controller
9321889cdd3d7108980cc88937b2e82956502cc5
[ "Apache-2.0" ]
null
null
null
src/ifmap/ifmap_link_table.cc
atsgen/tf-controller
9321889cdd3d7108980cc88937b2e82956502cc5
[ "Apache-2.0" ]
21
2020-08-25T12:48:42.000Z
2022-03-22T04:32:18.000Z
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "ifmap/ifmap_link_table.h" #include <boost/bind.hpp> #include "db/db.h" #include "db/db_graph.h" #include "db/db_table_partition.h" #include "ifmap/ifmap_link.h" #include "ifmap/ifmap_log.h" #include "ifmap/ifmap_log_types.h" using na...
31.42069
96
0.648595
atsgen
a1d23da6ebe8495374f3e2892bb4ea359db0c4e7
238
cpp
C++
NOI[OpenJudge]/1.5/1.5.17.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
NOI[OpenJudge]/1.5/1.5.17.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
NOI[OpenJudge]/1.5/1.5.17.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
//Code By HeRaNO #include <cstdio> using namespace std; unsigned long long f[50]; int n; int main() { scanf("%d", &n); f[1] = 1; f[2] = 1; for (int i = 3; i <= n; i++) f[i] = f[i - 1] + f[i - 2]; printf("%llu", f[n]); return 0; }
14.875
29
0.512605
HeRaNO
a1d37aebb3345ec07e322121904b998dae0a9b19
1,749
hpp
C++
libs/chain/include/chain/transaction_validity_period.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/chain/include/chain/transaction_validity_period.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/chain/include/chain/transaction_validity_period.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
31.232143
94
0.630646
chr15murray
a1d5707639f0daa4f2e331829fb4c178322a1c31
305
cpp
C++
SopadeLetras/Jogo.cpp
EduardaSRBastos/LetterSoup
454483576be3b98cf948851e07db11ea1bd11712
[ "MIT" ]
null
null
null
SopadeLetras/Jogo.cpp
EduardaSRBastos/LetterSoup
454483576be3b98cf948851e07db11ea1bd11712
[ "MIT" ]
null
null
null
SopadeLetras/Jogo.cpp
EduardaSRBastos/LetterSoup
454483576be3b98cf948851e07db11ea1bd11712
[ "MIT" ]
null
null
null
#include "Jogo.h" Jogo::Jogo() { } Jogo::Jogo(int x, int y) { jogador.SetPontos(0); jogo.Inicio(x, y); } void Jogo::Iniciar() { int a = 10; while (a > 0) { cout << a-- << " -----------------" << endl << endl; Jogar(); } } int Jogo::Jogar() { jogo.Ver(); return 0; } Jogo::~Jogo() { }
8.714286
55
0.47541
EduardaSRBastos
a1d62f509b21abbd42d831b8ba08dec4879fb832
1,939
cpp
C++
debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
#include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/Identifier.h" #include "mlir/IR/Location.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/OperationSupport.h" mlir::MLIRContext Context; auto Identifier = mlir::Identifier::get("foo", &Context); mlir::OperationName Operati...
45.093023
78
0.729758
kubamracek
a1d6ed359a5434174af968feddee70c89eff2936
3,138
cpp
C++
src/drivers/velodyne_node/test/src/test_listener.cpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
4
2020-12-04T00:38:42.000Z
2022-02-24T05:48:58.000Z
src/drivers/velodyne_node/test/src/test_listener.cpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
null
null
null
src/drivers/velodyne_node/test/src/test_listener.cpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
1
2020-12-04T00:38:56.000Z
2020-12-04T00:38:56.000Z
// Copyright 2017-2018 the Autoware Foundation // // 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...
26.369748
96
0.707776
jiangtaojiang
a1d812bb46c6be94fade97fbf3a08d52abc52911
176
cc
C++
Mu2eInterfaces/src/Detector.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
1
2021-06-23T22:09:28.000Z
2021-06-23T22:09:28.000Z
Mu2eInterfaces/src/Detector.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
Mu2eInterfaces/src/Detector.cc
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
null
null
null
// // A base class for detector components. // // // Original author Rob Kutschke // #include "Mu2eInterfaces/inc/Detector.hh" namespace mu2e { Detector::~Detector() { } }
12.571429
41
0.676136
lborrel
a1d9745a4f73ccce5e92be9972b27a19bcca81e1
2,311
cpp
C++
polarexpress/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
4
2018-09-30T15:06:49.000Z
2020-12-09T06:50:25.000Z
polarexpress/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
null
null
null
polarexpress/data/generator.cpp
csecutsc/utscode2
469367528cc5697e0c5c0ccee28420591335d899
[ "Unlicense" ]
1
2021-06-17T04:10:51.000Z
2021-06-17T04:10:51.000Z
#define DEBUG 0 #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iostream> #include <sstream> #include <vector> using namespace std; typedef pair<int, int> pii; // Random number in range [lo, hi] for nonnegative lo and hi. int rand(int lo, int h...
17.246269
78
0.478581
csecutsc
a1dada7333cd80ba19e1a59872552536579d95c4
844
cpp
C++
acm/cf/20151230/c.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
17
2016-01-01T12:57:25.000Z
2022-02-06T09:55:12.000Z
acm/cf/20151230/c.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
null
null
null
acm/cf/20151230/c.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
8
2018-12-27T01:31:49.000Z
2022-02-06T09:55:12.000Z
//行列分开求,否则会因为行列之间相互关联,无法快速求解 #include<bits/stdc++.h> using namespace std; const int maxn = 550; char s[maxn][maxn]; int ha[maxn][maxn]; int li[maxn][maxn]; int main(){ int h,w; cin>>h>>w;getchar(); memset(s,'#',sizeof(s)); memset(ha,0,sizeof(ha)); memset(li,0,sizeof(li)); for(int i= 1;i<=h;i++){ for (int j=1;j...
19.627907
50
0.483412
xiaohuihuigh
a1e4d4554caac9b49c27ed7ec25327fba7719c0e
24,684
cpp
C++
src/astar_planner.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
1
2022-02-22T02:45:40.000Z
2022-02-22T02:45:40.000Z
src/astar_planner.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
null
null
null
src/astar_planner.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
null
null
null
#include <pathfinder/astar_planner.hpp> namespace pathfinder { bool Node::operator==(const Node &other) const { return key == other.key; } bool Node::operator!=(const Node &other) const { return key != other.key; } bool Node::operator<(const Node &other) const { if (total_cost == other.total_cost) { retu...
30.212974
160
0.641266
ctu-mrs
a1e5b7f8bd26367ca383772e733c8fe56d66b807
21,498
hpp
C++
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebSockHandler.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebSockHandler.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebSockHandler.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCWebSrvC_WorkerThread.hpp // // AUTHOR: Dean Roddey // // CREATED: 091/17/2014 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https:...
38.805054
92
0.480789
MarkStega
a1e742125da361c97429c542c5eb95321b50bdaf
885
cpp
C++
serialization/serialize-std-vector/3-explicit-def-save-and-load-func/program.cpp
gusenov/examples-boost
32b4ed38f9895e6a1300edd7c4a076e8ed4c6145
[ "MIT" ]
1
2021-12-25T21:35:41.000Z
2021-12-25T21:35:41.000Z
serialization/serialize-std-vector/3-explicit-def-save-and-load-func/program.cpp
gusenov/examples-boost
32b4ed38f9895e6a1300edd7c4a076e8ed4c6145
[ "MIT" ]
null
null
null
serialization/serialize-std-vector/3-explicit-def-save-and-load-func/program.cpp
gusenov/examples-boost
32b4ed38f9895e6a1300edd7c4a076e8ed4c6145
[ "MIT" ]
null
null
null
#include <fstream> #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include "Info.hpp" int main(int argc, char** argv) { Info info; info.AddFilename("ThisFile.txt"); info.AddFilename("ThatFile.txt"); info.AddFilename("OtherFile.txt"); // Сохранить данные об им...
23.289474
76
0.633898
gusenov
a1e7f2bc1226637cb782d8b33c1f88b6d3169518
2,394
cpp
C++
src/spotf2_batched.cpp
i3drobotics/magma
3fde2beb1811ec8994bed5153e55fb0490b051fc
[ "BSD-3-Clause" ]
null
null
null
src/spotf2_batched.cpp
i3drobotics/magma
3fde2beb1811ec8994bed5153e55fb0490b051fc
[ "BSD-3-Clause" ]
null
null
null
src/spotf2_batched.cpp
i3drobotics/magma
3fde2beb1811ec8994bed5153e55fb0490b051fc
[ "BSD-3-Clause" ]
null
null
null
/* -- MAGMA (version 2.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date @author Azzam Haidar @author Tingxing Dong @author Ahmad Abdelfattah @generated from src/zpotf2_batched.cpp, normal z -> s, Sat Ma...
30.692308
132
0.555973
i3drobotics
a1e90bc2bc7e7fdca27db25d2eba83be60da4bb5
5,733
cxx
C++
Modules/Core/Common/src/itkNumericTraits.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/Core/Common/src/itkNumericTraits.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/Core/Common/src/itkNumericTraits.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
42.783582
119
0.672423
arobert01
a1ea663a89960f519afbf0257153d3e5f45d352f
6,411
cpp
C++
jen/src/jen/parsing.cpp
BrunoSilvaFreire/JenErator
65f93d4a4324643acf0386c1516bc6a3505522ff
[ "MIT" ]
1
2019-04-30T22:03:26.000Z
2019-04-30T22:03:26.000Z
jen/src/jen/parsing.cpp
BrunoSilvaFreire/JenErator
65f93d4a4324643acf0386c1516bc6a3505522ff
[ "MIT" ]
null
null
null
jen/src/jen/parsing.cpp
BrunoSilvaFreire/JenErator
65f93d4a4324643acf0386c1516bc6a3505522ff
[ "MIT" ]
null
null
null
#include <utility> #include <cassert> #include <fstream> #include "tokenization.cpp" #include <jen/cpp/preprocessors.h> #include <vector> #include <functional> #include <jen/utilities/strings.h> namespace jen { #define PARSING_STATE_PARAMS size_t &i, std::vector<CXXToken> &tokens, CXXTranslationUnit &unit, const Par...
33.565445
125
0.518172
BrunoSilvaFreire
a1eba7956acba4fa1010653e468a6c7223506b36
52,932
cpp
C++
src/ledger/LedgerTxn.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/ledger/LedgerTxn.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/ledger/LedgerTxn.cpp
iotbda/iotchain-core
74094a7853d2591cdfa79aa4a9459f6036008b2d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "ledger/LedgerTxn.h" #include "crypto/Hex.h" #include "crypto/KeyUtils.h" #include "cr...
26.308151
80
0.614298
iotbda
a1ece040b78f3331820ba38d3599e78508bee0d0
4,916
cpp
C++
pre-main/provision/COMPONENT_AWSIOT_PKCS11PSA/provision_psa.cpp
OpenNuvoton/NuMaker-mbed-AWS-IoT-CSDK-OTA-example
81e535a84d42811f63cd2a53280e5292e877d914
[ "Apache-2.0" ]
2
2021-09-21T08:18:03.000Z
2022-01-25T00:56:11.000Z
pre-main/provision/COMPONENT_AWSIOT_PKCS11PSA/provision_psa.cpp
OpenNuvoton/NuMaker-mbed-AWS-IoT-CSDK-OTA-example
81e535a84d42811f63cd2a53280e5292e877d914
[ "Apache-2.0" ]
null
null
null
pre-main/provision/COMPONENT_AWSIOT_PKCS11PSA/provision_psa.cpp
OpenNuvoton/NuMaker-mbed-AWS-IoT-CSDK-OTA-example
81e535a84d42811f63cd2a53280e5292e877d914
[ "Apache-2.0" ]
3
2021-09-30T09:35:00.000Z
2022-03-25T09:12:04.000Z
/* * AWS IoT Device SDK for Embedded C 202012.01 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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...
38.108527
83
0.682059
OpenNuvoton
a1ed99a949bae294bc8d8e06284c85325597642c
2,435
cc
C++
src/foundation/memory/allocators/eastl_allocator.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
11
2017-12-19T14:33:02.000Z
2022-03-26T00:34:48.000Z
src/foundation/memory/allocators/eastl_allocator.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2018-05-28T10:32:32.000Z
2018-05-28T10:32:35.000Z
src/foundation/memory/allocators/eastl_allocator.cc
ProjectSulphur/ProjectSulphur
cb9ee8298f5020fda4a9130802e72034408f050f
[ "Apache-2.0" ]
1
2021-01-25T11:31:57.000Z
2021-01-25T11:31:57.000Z
#include "eastl_allocator.h" #include "allocator.h" #include "../memory.h" #include "foundation/utils/macro.h" namespace sulphur { namespace foundation { //-------------------------------------------------------------------------- EASTLAllocator::EASTLAllocator(const char* pName) : allocator_(&Memory...
27.055556
80
0.439425
ProjectSulphur
a1f02e2c05ff3c1e0d7d91a180bb903d8659241d
917
cpp
C++
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/MinSFI/Utils.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/MinSFI/Utils.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/MinSFI/Utils.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
//===-- Utils.cpp - Helper functions for MinSFI passes --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
31.62069
80
0.604144
slightperturbation
a1f15fa1142745877dfecc1ffc9baba9c8a3e427
3,785
cpp
C++
src/OpenSpaceToolkit/Physics/Time/Scale.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
7
2020-03-30T11:51:11.000Z
2022-02-02T15:20:44.000Z
src/OpenSpaceToolkit/Physics/Time/Scale.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
24
2018-06-25T08:06:39.000Z
2020-01-05T20:34:02.000Z
src/OpenSpaceToolkit/Physics/Time/Scale.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
3
2020-03-05T18:18:38.000Z
2020-07-02T05:06:53.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Physics /// @file OpenSpaceToolkit/Physics/Time/Scale.cpp /// @author Lucas Brémond <lucas@loftorbi...
21.384181
161
0.321532
robinpdm
a1f2250e18d72029f01f87e09e9c7c2d4fe45b40
230
cpp
C++
Gfg/C++/swap using bitwise operator.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Gfg/C++/swap using bitwise operator.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Gfg/C++/swap using bitwise operator.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
#include <iostream> using namespace std; int main() { int x ,y; cin>>x>>y; //swapping using bitwise operator x = x^y; y = x^y; x = x^y; cout << x << " " << y << "\n"; return 0; } //Input:2 3 //Output:3 2
12.105263
35
0.5
abdzitter
a1f32114d46d4b4ca99ed7d8e7b1031fa61e501e
30,239
cpp
C++
code/engine.vc2008/xrGame/ActorCondition.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrGame/ActorCondition.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrGame/ActorCondition.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "actorcondition.h" #include "actor.h" #include "actorEffector.h" #include "inventory.h" #include "level.h" #include "sleepeffector.h" #include "game_base.h" #include "xrserver.h" #include "ai_space.h" #include "script_callback_ex.h" #include "script_game_object.h" #include "game_object_spac...
30.058648
146
0.742518
Pavel3333
a1f4f7725b51ad6793e983719ea643a489d8cd04
790
cpp
C++
main2.cpp
if025-pm-unpsjb/tp4-2019-lpc1768-LucasAbella29
0af6a6a7f35536269347a6229c62cee309a2fe38
[ "MIT" ]
null
null
null
main2.cpp
if025-pm-unpsjb/tp4-2019-lpc1768-LucasAbella29
0af6a6a7f35536269347a6229c62cee309a2fe38
[ "MIT" ]
null
null
null
main2.cpp
if025-pm-unpsjb/tp4-2019-lpc1768-LucasAbella29
0af6a6a7f35536269347a6229c62cee309a2fe38
[ "MIT" ]
null
null
null
/* * main2.cpp * * Created on: Nov 12, 2019 * Author: lucas */ #include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx DigitalOut turningLed(LED1); int main() { DigitalOut leds[] = {LED1,LED2,LED3,LED4}; int selectedLed = 0; pc.printf("Programa iniciado!\n"); while(1) { if(pc.readab...
18.809524
55
0.424051
if025-pm-unpsjb
a1f5246c375442961850889b23ae3f4ea7593837
5,960
cpp
C++
src/mongo/s/type_collection.cpp
sl33nyc/mongo
29b847376258b1fabb117e7da66b2f6ad7b58a25
[ "Apache-2.0" ]
null
null
null
src/mongo/s/type_collection.cpp
sl33nyc/mongo
29b847376258b1fabb117e7da66b2f6ad7b58a25
[ "Apache-2.0" ]
null
null
null
src/mongo/s/type_collection.cpp
sl33nyc/mongo
29b847376258b1fabb117e7da66b2f6ad7b58a25
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2012 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
35.903614
111
0.609899
sl33nyc
a1f592f9152a3a3afa4b020679845bdce3a37e25
228,972
cpp
C++
td/telegram/Td.cpp
luckydonald-backup/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
1
2021-04-18T08:59:02.000Z
2021-04-18T08:59:02.000Z
td/telegram/Td.cpp
devitsyn/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
null
null
null
td/telegram/Td.cpp
devitsyn/td
71d03f39c364367a8a7c51f783a41099297de826
[ "BSL-1.0" ]
null
null
null
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2017 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "td/telegram/Td.h" #include "td/db/binlog/BinlogEve...
35.080742
120
0.717433
luckydonald-backup
a1f6235c803a04d7814cf8423b86c75aa3b3baeb
1,862
cpp
C++
2/P2/P2/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
2/P2/P2/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
2/P2/P2/main.cpp
swy20190/Leetcode-Cracker
3b80eacfa63983d5fcc50442f0813296d5c1af94
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) { ListNod...
21.905882
60
0.56015
swy20190
a1f67b8bccc32c13947f4ec52684de0baea78821
1,797
cpp
C++
src/utils.cpp
sethbrin/cpp-htslib
cc216955c0cac3ac4d57e5d6e86f09037e3cffb6
[ "MIT" ]
null
null
null
src/utils.cpp
sethbrin/cpp-htslib
cc216955c0cac3ac4d57e5d6e86f09037e3cffb6
[ "MIT" ]
null
null
null
src/utils.cpp
sethbrin/cpp-htslib
cc216955c0cac3ac4d57e5d6e86f09037e3cffb6
[ "MIT" ]
null
null
null
// // Created by zp on 9/3/16. // #include "easehts/utils.h" #include <algorithm> #include <random> namespace ncic { namespace easehts { namespace utils { void tokenize(const std::string &s, char c, std::vector<std::string> *res) { auto end = s.end(); auto start = end; for (auto it = s.begin(); it != end; ...
23.96
78
0.597663
sethbrin