hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b45ea979df345cf23b7c7ea1ed0cd6a130dd70c5
7,239
hpp
C++
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
/// @file lahqr_schur22.hpp /// @author Thijs Steel, KU Leuven, Belgium /// Adapted from @see https://github.com/Reference-LAPACK/lapack/tree/master/SRC/dlanv2.f // // Copyright (c) 2013-2022, University of Colorado Denver. All rights reserved. // // This file is part of <T>LAPACK. // <T>LAPACK is free software: you ca...
32.461883
101
0.407377
thijssteel
b45f0016f7e0a1abeecc609efcacdbc8583a2e51
14,504
cpp
C++
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
/** For conditions of distribution and use, see copyright notice in LICENSE @file AssetsWindow.cpp @brief The main UI for managing asset storages and assets. */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "AssetsWindow.h" #include "AssetTreeWidget.h" #include "TreeWidgetUtils.h" ...
31.462039
136
0.659887
Adminotech
b46a12b3489a9f0045f59d392b977b4437fc612b
1,636
hpp
C++
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
// // Copyright (c) 2020 Erwin Rol <[email protected]> // // SPDX-License-Identifier: MIT // #ifndef NEDERROCK_SRC_AND_PARSER_NODE_HPP #define NEDERROCK_SRC_AND_PARSER_NODE_HPP #include "and_parser_node_pre.hpp" #include "separator_parser_node_pre.hpp" #include "equality_check_parser_node_pre.hpp" #include "token_st...
28.206897
65
0.762225
lowlander
b46b55e634ed4e6190b191941e67e4dc7bb06c37
5,496
cpp
C++
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
// NewEditBox.cpp : implementation file // #include "stdafx.h" #include "Magenta.h" #include "Constants.h" #include "Person.h" #include "NewEditBox.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////...
25.327189
96
0.637737
yohshee
b46f40112fb85b203e5177c158eb66bad8276fca
23,551
hh
C++
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
#pragma once #include <string> #include <list> #include <vector> /*! * \file lacze_do_gnuplota.hh * * Plik zawiera definicję klasy realizującej interfejs * komunikacyjny do programu gnuplot. */ /*! * \brief Moduł narzędzi umożliwiających połącznie z GNUPlotem * * Niniejsza przestrzeń nazw stanowi modu...
33.886331
91
0.651183
KPO-2020-2021
b4717b8d0a9e7a7820568a0ee2159fc863d9c59a
6,959
hh
C++
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
260
2017-03-02T19:57:51.000Z
2022-01-21T03:52:03.000Z
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
102
2017-03-03T00:42:56.000Z
2022-03-30T14:15:20.000Z
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
71
2017-03-02T20:22:33.000Z
2022-01-02T03:49:04.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
44.896774
79
0.470901
zhangxaochen
b472c958b2690811d723def0ab4a062b61ddae59
12,732
cpp
C++
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <[email protected]> wrote this file. ...
31.205882
100
0.572809
tilnewman
b4738fcb5e33aacf0e943ca446289dfcbd2cf839
18,214
cpp
C++
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
3
2019-01-15T07:40:33.000Z
2019-01-15T09:16:45.000Z
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
1
2019-10-25T10:35:29.000Z
2019-10-25T10:35:29.000Z
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
41.022523
120
0.613649
iicfcii
b4779ddd9029d12265fc09f22624ba8f8205dc2a
4,471
cpp
C++
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
37
2017-02-04T09:42:48.000Z
2021-02-17T14:59:15.000Z
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
120
2017-11-09T19:46:40.000Z
2022-01-20T18:26:23.000Z
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
109
2017-01-16T14:24:31.000Z
2022-03-18T21:10:07.000Z
#include <fc/thread/future.hpp> #include <fc/thread/spin_yield_lock.hpp> #include <fc/thread/thread.hpp> #include <fc/thread/unique_lock.hpp> #include <fc/exception/exception.hpp> #include <boost/assert.hpp> namespace fc { promise_base::promise_base( const char* desc ) :_ready(false), _blocked_thread(nullptr)...
31.70922
104
0.648624
Revolution-Populi
b4795dae218444764446204b4ddddc7b50eb5c3c
47,717
cc
C++
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
5
2015-02-26T07:47:26.000Z
2021-08-03T15:08:53.000Z
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
73
2015-11-12T15:36:48.000Z
2022-02-11T08:09:52.000Z
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
8
2015-09-11T08:37:55.000Z
2021-07-13T19:34:02.000Z
/* * Copyright (c) 2018, Ford Motor Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of condit...
40.472434
108
0.73959
Sohei-Suzuki-Nexty
b47d03c744f790f2be2d4b36804b0db8d951e0cd
1,262
cpp
C++
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
#include <cstdint> #include <stdexcept> #include <iostream> enum Side { NONE, LEFT, RIGHT }; class ChainLink { public: void append(ChainLink* rightPart) { if (this->right != NULL) throw std::logic_error("Link is already connected."); this->right = rightPart; rightPart->lef...
21.033333
66
0.538827
akhiltiwari13
b47f1a4bdafe07ec3dd893ab7c26441475ccc87b
2,817
cpp
C++
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/university
5561969b1b11678228aaf7e6660e8b1a93d10294
[ "WTFPL" ]
1
2018-06-03T17:48:50.000Z
2018-06-03T17:48:50.000Z
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
null
null
null
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
14
2019-04-07T21:27:09.000Z
2021-12-05T13:37:25.000Z
#include <iostream> bool bipartition(std::pair<size_t, size_t>* edges, size_t* hamilton_cycle, bool* partition, size_t edges_size, bool* visited, size_t current_index, bool first_part = true) { if (visited[current_index]) { return partition[current_index] == first_part; } visited[current_i...
35.2125
112
0.586084
nothingelsematters
b47fb2c62845996fb27441aaab474f3b6ed7726e
2,778
hpp
C++
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
50
2021-06-30T20:01:50.000Z
2021-11-28T16:21:26.000Z
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
#ifndef INTERLINCK_DELPHI_SYNTAX_STATEMENTS_DELPHIRAISESTATEMENTSYNTAX_H #define INTERLINCK_DELPHI_SYNTAX_STATEMENTS_DELPHIRAISESTATEMENTSYNTAX_H #include "interlinck/Core/Syntax/SyntaxVariant.hpp" #include "interlinck/Core/Types.hpp" #include "Core/Basic/Macros.hpp" #include "Delphi/Syntax/Statements/DelphiStatementS...
40.26087
132
0.719942
henrikfroehling
b480038da169d5118a8875c3d30acadae6284878
184
cpp
C++
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
#include <iostream> #include "Foo.h" using namespace std; int main (void) { Foo theFoo; cout << theFoo; theFoo.SetMsg("Hello World"); cout << theFoo; return 0; }
12.266667
31
0.608696
sspony
b48053bf9790f7fe0af1be9aa6984f5e050ac4a2
5,344
hpp
C++
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
583
2015-01-10T00:55:32.000Z
2022-03-25T12:24:30.000Z
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
1,573
2015-01-07T15:47:22.000Z
2022-03-31T11:48:03.000Z
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
145
2015-03-09T16:26:07.000Z
2022-02-15T12:53:23.000Z
#pragma once #include "abstract_rule.hpp" #include "expression/abstract_expression.hpp" #include "types.hpp" namespace opossum { class AbstractExpression; class AbstractLQPNode; class AliasNode; class AggregateNode; class BinaryPredicateExpression; class LQPSubqueryExpression; class PredicateNode; class ProjectionNo...
40.484848
118
0.732036
mrcl-tst
b4835ccb7a3c3fe7cab83e3b6246ac0a76449464
6,285
cc
C++
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
5
2020-06-19T03:22:24.000Z
2021-03-17T22:16:48.000Z
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
2
2020-07-08T12:34:59.000Z
2020-07-11T15:54:47.000Z
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
2
2019-08-24T00:06:36.000Z
2022-03-03T02:07:27.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
31.425
78
0.648846
heweiwill
b483edc29433ebcce8397fc2fe7b4556fa6df288
1,571
cpp
C++
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/scal.hpp> #include <gtest/gtest.h> #include <math/fwd/scal/fun/nan_util.hpp> TEST(AgradFwdPow, Fvar) { using stan::math::fvar; using std::isnan; using std::log; using std::pow; fvar<double> x(0.5, 1.0); double y = 5.0; fvar<double> a = pow(x, y); EXPECT_FLOAT_EQ(pow(0.5, 5.0),...
23.80303
76
0.602801
alashworth
b486e13ea20cff2c3d3b82c920400ce2eae2ea1c
13,660
cpp
C++
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard CosmeticCorrection Process Module Version 1.2.5 // -----------------...
21.21118
94
0.565813
fmeschia
b48bb453520fe2347c7ee858c1188bb783bf24d1
4,317
cpp
C++
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2014 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including co...
26.006024
243
0.682187
mokoi
b48c4d31ac1bcb213e103c329e5a28a441479e8b
23,581
cpp
C++
FFX_CAS/cas-samples/libs/cauldron/src/DX12/GLTF/GltfPbrPass.cpp
TonyJennifer/OpenSource
442e705eb42197ccdc44557a61caf91deebfcd05
[ "MIT" ]
2
2019-07-27T11:40:02.000Z
2021-04-30T05:16:13.000Z
src/DX12/GLTF/GltfPbrPass.cpp
swq0553/Cauldron
8530be0b7c65886726761944ec7855ce74d09db9
[ "MIT" ]
null
null
null
src/DX12/GLTF/GltfPbrPass.cpp
swq0553/Cauldron
8530be0b7c65886726761944ec7855ce74d09db9
[ "MIT" ]
null
null
null
// AMD AMDUtils code // // Copyright(c) 2018 Advanced Micro Devices, Inc.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 restriction, including without limitat...
45.261036
203
0.584284
TonyJennifer
b491fa6871156142217c1b7732510bbdfc49c210
3,040
hh
C++
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
#pragma once #include <map> #include <ostream> #include <boost/test/unit_test.hpp> #include "api/Packet.hh" #include "oxm/field_set.hh" #include "maple/Backend.hh" #include "maple/Flow.hh" namespace runos { class MockSwitch : public maple::Backend { using Flow = maple::Flow; using FlowPtr = maple::FlowPtr; ...
27.142857
80
0.536842
Alexey-Ershov
b493cd7548c9022d25a50a0e387a5b3d3e8e5e68
12,165
cpp
C++
Gui/gui/MainWindowBase.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
9
2016-06-25T15:52:05.000Z
2020-01-15T17:31:49.000Z
Gui/gui/MainWindowBase.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
null
null
null
Gui/gui/MainWindowBase.cpp
igui/OppositeRenderer
2442741792b3f0f426025c2015002694fab692eb
[ "MIT" ]
2
2018-10-17T18:33:37.000Z
2022-03-14T20:17:30.000Z
/* * Copyright (c) 2013 Opposite Renderer * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ #include "Application.hxx" #include "MainWindowBase.hxx" #include "renderer/OptixRenderer.h" #include <QString> #include <QMessageBox> #inclu...
32.013158
148
0.707028
igui
b4955daf50bfddcf5527694d94e5dbf83e7b6cb7
6,513
cxx
C++
applications/rtkdualenergyforwardmodel/rtkdualenergyforwardmodel.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkdualenergyforwardmodel/rtkdualenergyforwardmodel.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
applications/rtkdualenergyforwardmodel/rtkdualenergyforwardmodel.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
45.545455
141
0.758483
cyrilmory
a3335aaca6be045e10a2ce5d019d2de716834385
1,350
hpp
C++
NeuralNetworkCode/src/Stimulus/Stimulus.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Stimulus/Stimulus.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
NeuralNetworkCode/src/Stimulus/Stimulus.hpp
SFB1089/BrainCode
d7fab1f455c2c58f9be73be47e9f4538b426155c
[ "MIT" ]
null
null
null
#ifndef Stimulus_HPP #define Stimulus_HPP #include <algorithm> #include <string> #include <iostream> #include <vector> #include <random> #include <fstream> #include "../GlobalFunctions.hpp" #include "../NeuronPopSample.hpp" /* class Stimulus is a virtual base class for injecting a determined * current i...
30.681818
81
0.691852
SFB1089
a3340fae155e9100cf02236a6d99062b31766727
5,177
cxx
C++
Libraries/ITK/Testing/BoundaryShiftIntegral/itkBinaryIntersectWithPaddingImageFilterTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
Libraries/ITK/Testing/BoundaryShiftIntegral/itkBinaryIntersectWithPaddingImageFilterTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
Libraries/ITK/Testing/BoundaryShiftIntegral/itkBinaryIntersectWithPaddingImageFilterTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
28.761111
97
0.667568
NifTK
a3376be423828b25c6eda6fff30a56578c7bbbe5
3,235
cc
C++
lite/backends/x86/jit/gen_base.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/backends/x86/jit/gen_base.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/backends/x86/jit/gen_base.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
29.953704
80
0.683153
xw-github
a33939937f0e5327979204334bdaa92c6b3191cd
5,861
hpp
C++
vec-kernels/include/sctl/morton.hpp
ejyoo921/FMM3D
6aeb4031340c1aeca0754f0fd2b7ef8e754a449e
[ "Apache-2.0" ]
71
2019-06-03T21:22:37.000Z
2022-03-03T01:15:45.000Z
vec-kernels/include/sctl/morton.hpp
ejyoo921/FMM3D
6aeb4031340c1aeca0754f0fd2b7ef8e754a449e
[ "Apache-2.0" ]
14
2019-08-22T19:58:36.000Z
2022-02-08T19:01:06.000Z
vec-kernels/include/sctl/morton.hpp
ejyoo921/FMM3D
6aeb4031340c1aeca0754f0fd2b7ef8e754a449e
[ "Apache-2.0" ]
23
2019-09-13T21:30:35.000Z
2022-02-26T12:34:42.000Z
#ifndef _SCTL_MORTON_ #define _SCTL_MORTON_ #include SCTL_INCLUDE(common.hpp) #include <cstdint> #ifndef SCTL_MAX_DEPTH #define SCTL_MAX_DEPTH 15 #endif namespace SCTL_NAMESPACE { template <class ValueType> class Vector; template <Integer DIM = 3> class Morton { public: #if SCTL_MAX_DEPTH < 7 typedef uint8_t...
25.933628
125
0.513394
ejyoo921
a339fc4732c9173612ee2dc0011a9e451d9caf35
3,857
cpp
C++
test/test_ref_results/formatter_test.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
2
2021-08-13T01:00:49.000Z
2021-09-07T17:31:14.000Z
test/test_ref_results/formatter_test.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
test/test_ref_results/formatter_test.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
#include "formatter_test.h" static const int32_t veryveryveryveryveryverylong1 = 100; static const int32_t veryveryveryveryveryverylong2 = 100; static const int32_t veryveryveryveryveryverylong3 = 100; static const int32_t veryveryveryveryveryverylong4 = 100; // before class class tc final { // on class public: ...
33.25
449
0.600985
mdegirolami
a33a1f5edb4a1df7c78e3166bf2c5f0447f6fd4c
24,173
cpp
C++
src/parser.cpp
AllanCameron/PDFR
15abe85d853295258a30f63a8aaa09f40c772e6f
[ "MIT" ]
20
2019-02-14T12:22:17.000Z
2022-02-17T02:52:01.000Z
src/parser.cpp
AllanCameron/PDFR
15abe85d853295258a30f63a8aaa09f40c772e6f
[ "MIT" ]
2
2018-12-04T21:36:01.000Z
2019-07-25T21:17:02.000Z
src/parser.cpp
AllanCameron/PDFR
15abe85d853295258a30f63a8aaa09f40c772e6f
[ "MIT" ]
1
2020-03-19T20:16:59.000Z
2020-03-19T20:16:59.000Z
//---------------------------------------------------------------------------// // // // PDFR Parser implementation file // // // ...
33.855742
85
0.508998
AllanCameron
a33ef0c3de014f99c9a4dd6af4781002a66527fb
3,786
cpp
C++
ShaderBank.cpp
m3rt32/OpenGL-Playground
5dbf38dce53ee90a2e59953bedb83de59c270f0a
[ "Apache-2.0" ]
null
null
null
ShaderBank.cpp
m3rt32/OpenGL-Playground
5dbf38dce53ee90a2e59953bedb83de59c270f0a
[ "Apache-2.0" ]
null
null
null
ShaderBank.cpp
m3rt32/OpenGL-Playground
5dbf38dce53ee90a2e59953bedb83de59c270f0a
[ "Apache-2.0" ]
1
2020-04-22T22:30:22.000Z
2020-04-22T22:30:22.000Z
#include <iostream> #include <fstream> #include <sstream> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <vector> #include <glm.hpp> #include <gtc/matrix_transform.hpp> #include <gtc/matrix_access.hpp> class ShaderBank { public: ShaderBank(std::string vertexFile, std::string fragmentFile) { vertexShaderId = ...
24.584416
93
0.735605
m3rt32
a3423b5d7f97f8e1c2bef283aa025cb897bf25e9
1,014
cpp
C++
tests/decisionMaker/XML_test_load_parameters_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
tests/decisionMaker/XML_test_load_parameters_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
tests/decisionMaker/XML_test_load_parameters_decision_maker_v2/main.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
#include <math.h> #include <assert.h> #include <memory> #include <iomanip> #include <iostream> #include <fstream> #include <string> #include <chrono> #include <algorithm> #include <limits> #include "../../../data_structures/nep_model_enum_types.hpp" #include "../../../data_structures/decision_maker_behaviour_struct_t...
29.823529
87
0.770217
SimulationEverywhere
a34257fafa1f6103acf98bad3926e1a6d75fc991
2,687
cpp
C++
snowman.cpp
ItayMeiri/CCPEx_1B
a020e314416371bd891e46507ec1ad3cd836cd8d
[ "MIT" ]
null
null
null
snowman.cpp
ItayMeiri/CCPEx_1B
a020e314416371bd891e46507ec1ad3cd836cd8d
[ "MIT" ]
null
null
null
snowman.cpp
ItayMeiri/CCPEx_1B
a020e314416371bd891e46507ec1ad3cd836cd8d
[ "MIT" ]
null
null
null
#include "snowman.hpp" #include <iostream> namespace ariel { const int options = 4; const int required_seed_length = 8; std::array<std::string, options> hats = { " _===_", " ___\n .....", " _\n /_\\", " ___ \n (_*_)" }; std::array<std::string, options> noses = {",", ".", "_", " "}; std::array<s...
34.896104
112
0.563082
ItayMeiri
a34280ac3c7c8c2366bb0a8a2bafa26677fb2624
5,349
cpp
C++
GPRO-Graphics1/project/VisualStudio/GPRO-Graphics1/rawdata.cpp
rmMinusR/GPR-200
344d983a1a9cc9c1d2468cc2502a403e793eddf9
[ "Apache-2.0" ]
null
null
null
GPRO-Graphics1/project/VisualStudio/GPRO-Graphics1/rawdata.cpp
rmMinusR/GPR-200
344d983a1a9cc9c1d2468cc2502a403e793eddf9
[ "Apache-2.0" ]
null
null
null
GPRO-Graphics1/project/VisualStudio/GPRO-Graphics1/rawdata.cpp
rmMinusR/GPR-200
344d983a1a9cc9c1d2468cc2502a403e793eddf9
[ "Apache-2.0" ]
null
null
null
#include "rawdata.hpp" /* Copyright 2020 Robert S. Christensen 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 ...
28.301587
99
0.688353
rmMinusR
a34487532423d0ad62efb8a88d7810da5956de9b
8,948
cpp
C++
cpp/src/meshmatchcommand.cpp
luckylyk/cfxnodes
e787eb1974566ffc5f92976685cc3e1f2389839a
[ "BSD-3-Clause-Clear" ]
1
2020-06-27T07:11:35.000Z
2020-06-27T07:11:35.000Z
cpp/src/meshmatchcommand.cpp
luckylyk/cfxnodes
e787eb1974566ffc5f92976685cc3e1f2389839a
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/src/meshmatchcommand.cpp
luckylyk/cfxnodes
e787eb1974566ffc5f92976685cc3e1f2389839a
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "commands.h" #include <maya/MGlobal.h> #include <maya/MObject.h> #include <maya/MPlugArray.h> #include <maya/MDGModifier.h> #include <maya/MSyntax.h> #include <maya/MPlug.h> #include <maya/MSelectionList.h> #include <maya/MDagPath.h> #include <maya/MArgList.h> #include <maya/MArgParser.h> MeshMatchCommand:...
31.730496
84
0.646737
luckylyk
a348a44569e0006e2e267cf88baebecdb96cc484
1,610
cpp
C++
src/unittests/escaped_string_test.cpp
puremourning/netcoredbg
c34eaef68abe06197d03bc8c19282707cfc1adda
[ "MIT" ]
null
null
null
src/unittests/escaped_string_test.cpp
puremourning/netcoredbg
c34eaef68abe06197d03bc8c19282707cfc1adda
[ "MIT" ]
null
null
null
src/unittests/escaped_string_test.cpp
puremourning/netcoredbg
c34eaef68abe06197d03bc8c19282707cfc1adda
[ "MIT" ]
null
null
null
// Copyright (C) 2021 Samsung Electronics Co., Ltd. // See the LICENSE file in the project root for more information. #include <catch2/catch.hpp> #include <string> #include "string_view.h" #include "utils/escaped_string.h" #include "compile_test.h" using namespace netcoredbg; using string_view = Utility::string_view;...
30.961538
99
0.650311
puremourning
a34a803e86d6245e370b649a1d72d80213527f4c
8,973
cpp
C++
MMOCoreORB/src/server/zone/managers/skill/SkillModManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/managers/skill/SkillModManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/managers/skill/SkillModManager.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* Copyright <SWGEmu> See file COPYING for copying conditions. */ #include "SkillModManager.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/player/PlayerObject.h" #include "server/zone/objects/tangible/TangibleObject.h" #include "server/zone/objects/tangible/weapon/Weapo...
25.205056
104
0.680597
V-Fib
a34ad4f998d847b5be3c0fdda2930bf8d4540af6
134
hxx
C++
src/Providers/UNIXProviders/AGPVideoController/UNIX_AGPVideoController_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/AGPVideoController/UNIX_AGPVideoController_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/AGPVideoController/UNIX_AGPVideoController_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_AGPVIDEOCONTROLLER_PRIVATE_H #define __UNIX_AGPVIDEOCONTROLLER_PRIVATE_H #endif #endif
11.166667
43
0.858209
brunolauze
a34af2f1abb7ca39ebc7fb496cfc11f7d64d6422
17,043
cpp
C++
src/twins.cpp
sequencing/gvcftools
7e854392c94c63410a846d29a97b95a6f1435576
[ "BSL-1.0" ]
26
2015-11-30T18:53:11.000Z
2021-11-12T07:48:37.000Z
src/twins.cpp
sequencing/gvcftools
7e854392c94c63410a846d29a97b95a6f1435576
[ "BSL-1.0" ]
5
2015-08-06T18:32:55.000Z
2020-03-08T18:13:22.000Z
src/twins.cpp
ctsa/gvcftools
7e854392c94c63410a846d29a97b95a6f1435576
[ "BSL-1.0" ]
8
2015-07-20T09:53:07.000Z
2018-06-10T09:55:31.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2012 Illumina, Inc. // // 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 limit...
33.748515
372
0.598251
sequencing
a34b3aa8443cd09ba2da708b397080b3aa05e070
16,042
cpp
C++
components/homme/src/preqx_kokkos/cxx/cxx_f90_interface_preqx.cpp
oksanaguba/E3SM
3523b2bd017db92dcc84c4df29fa2b2c3473d3a9
[ "BSD-3-Clause" ]
null
null
null
components/homme/src/preqx_kokkos/cxx/cxx_f90_interface_preqx.cpp
oksanaguba/E3SM
3523b2bd017db92dcc84c4df29fa2b2c3473d3a9
[ "BSD-3-Clause" ]
11
2021-06-04T22:56:10.000Z
2022-03-29T14:23:55.000Z
components/homme/src/preqx_kokkos/cxx/cxx_f90_interface_preqx.cpp
oksanaguba/E3SM
3523b2bd017db92dcc84c4df29fa2b2c3473d3a9
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************** * HOMMEXX 1.0: Copyright of Sandia Corporation * This software is released under the BSD license * See the file 'COPYRIGHT' in the HOMMEXX/src/share/cxx directory ***********************************************************************...
44.437673
144
0.686136
oksanaguba
a34bd9cccfb95831c11f1c118ad0e12ba336cb66
94,219
cpp
C++
Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.UnityWebRequestWWWModule.cpp
OgiJr/SunBed
ea42007d57affe1421517cff6634e6412943f89f
[ "MIT" ]
null
null
null
Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.UnityWebRequestWWWModule.cpp
OgiJr/SunBed
ea42007d57affe1421517cff6634e6412943f89f
[ "MIT" ]
null
null
null
Split/Temp/il2cppOutput/il2cppOutput/UnityEngine.UnityWebRequestWWWModule.cpp
OgiJr/SunBed
ea42007d57affe1421517cff6634e6412943f89f
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> // UnityEngine.Networking.CertificateHandler struct CertificateHandler_tDA66C86D1302CE4266DBB078361F7A363C7B005E; // System.Void struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADA...
47.875508
334
0.843514
OgiJr
a3515a565993e1f29cd5faf45971285db135672d
2,080
cpp
C++
src/StepLibrary/MockMessageConsumer.cpp
dale-wilson/HSQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
2
2015-12-29T17:33:25.000Z
2021-12-20T02:30:44.000Z
src/StepLibrary/MockMessageConsumer.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
src/StepLibrary/MockMessageConsumer.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 Object Computing, Inc. // All rights reserved. // See the file license.txt for licensing information. #include <Steps/StepPch.hpp> #include "MockMessageConsumer.hpp" #include <Steps/StepFactory.hpp> using namespace HighQueue; using namespace Steps; namespace { StepFactory::Registrar<MockMess...
33.548387
164
0.725962
dale-wilson
a35666c1f20c292b7b9b6ac7dd821aab39493f75
1,341
cc
C++
sketches/sketch_vc.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
26
2019-11-26T08:36:15.000Z
2022-02-15T17:13:21.000Z
sketches/sketch_vc.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
1,215
2019-09-09T14:31:33.000Z
2022-03-30T20:20:14.000Z
sketches/sketch_vc.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
12
2019-09-08T00:03:05.000Z
2022-02-23T21:28:35.000Z
// runtime code struct VirtualContext { using virtual_context_id_t = int64_t; bool is_migrateable = false; virtual_context_id_t get_virtual_context_id(); }; struct VirtualContextMessage : vt::Message { }; // user code struct MyContext : VirtualContext { int my_data; MyContext() = default; }; struct MyM...
20.318182
81
0.698732
rbuch
a3574c4857679e9827022e9a53448e73d2f38ce8
1,202
cpp
C++
src/ioThreads.cpp
Aerijo/languageserver-tools
6834f3d96a5d73d975ce2714f18bf5a5383ab2e6
[ "MIT" ]
null
null
null
src/ioThreads.cpp
Aerijo/languageserver-tools
6834f3d96a5d73d975ce2714f18bf5a5383ab2e6
[ "MIT" ]
null
null
null
src/ioThreads.cpp
Aerijo/languageserver-tools
6834f3d96a5d73d975ce2714f18bf5a5383ab2e6
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <string> #include <rapidjson/document.h> #include "QueueManager.h" #include "library.h" bool isExitNotif (const Document &message) { return std::strcmp(message["method"].GetString(), "exit") == 0; } std::thread launchStdinLoop () { std::cin.tie(nullptr); r...
22.259259
67
0.569884
Aerijo
a358a7337a069e37e833cb52fb73237674d6d71e
3,531
cpp
C++
level_zero/core/test/unit_tests/mocks/mock_driver_handle.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/core/test/unit_tests/mocks/mock_driver_handle.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/core/test/unit_tests/mocks/mock_driver_handle.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
/* * Copyright (C) 2019-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "mock_driver_handle.h" namespace L0 { namespace ult { using MockDriverHandle = Mock<L0::ult::DriverHandle>; using namespace testing; using ::testing::Invoke; using ::testing::Return; Mock<DriverHandle>::Mock() { E...
32.694444
155
0.722741
8tab
a35bd4ae48b4c1e27fcaedf07b7445ae01f0cc20
638
cpp
C++
Camp_1-2562/05 String/Wordchain.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/05 String/Wordchain.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/05 String/Wordchain.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<stdio.h> #include<string.h> char a[1010],b[1010],c[1010]; int main(){ int i,n,j,cnt=0,ch=1,l; scanf("%d %d",&l,&n); for(i=0;i<l;i++){ scanf(" %c",&a[i]); } if(n==1){ for(j==0;j<l;j++){ printf("%c",a[j]); } return 0; } for(i=0;i<n-1;i++){ cnt=0; for(j=0;j<l;j++){ scanf(" %c",&b[j]); } ...
10.813559
29
0.440439
MasterIceZ
a35c2d00644ae9955391a748cd5afdd8d7e74129
892
cpp
C++
Sources/Common/Vertex.cpp
CubbyFlow/RenderFlow
c38686917ab526463430b05de78fafb85a35bd20
[ "MIT" ]
3
2021-07-07T13:39:01.000Z
2022-03-11T02:40:49.000Z
Sources/Common/Vertex.cpp
CubbyFlow/RenderFlow
c38686917ab526463430b05de78fafb85a35bd20
[ "MIT" ]
7
2021-07-08T02:50:03.000Z
2021-07-24T09:12:11.000Z
Sources/Common/Vertex.cpp
CubbyFlow/RenderFlow
c38686917ab526463430b05de78fafb85a35bd20
[ "MIT" ]
1
2021-07-21T20:30:21.000Z
2021-07-21T20:30:21.000Z
#include <Common/Vertex.hpp> namespace Common { std::size_t VertexHelper::GetNumberOfFloats(VertexFormat format) { std::size_t size = 0; if (static_cast<bool>(format & VertexFormat::Position3)) { size += 3; } if (static_cast<bool>(format & VertexFormat::Normal3)) { ...
21.756098
65
0.575112
CubbyFlow
a35cac64593a6d7e46f6a2cbad305982606666f2
125,501
cxx
C++
VTK/Filtering/vtkKdTree.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
VTK/Filtering/vtkKdTree.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
VTK/Filtering/vtkKdTree.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile$ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distrib...
25.989025
106
0.527805
matthb2
a36b5f6abfc7acf6acf42cd2ee5c2d16056e69c4
262
cpp
C++
src/main.cpp
ironoir/briqs
6224371c9ea4feec19fb970c2f4c8c85fa661124
[ "Apache-2.0" ]
3
2015-01-29T09:14:58.000Z
2015-03-02T01:13:05.000Z
src/main.cpp
ironoir/briqs
6224371c9ea4feec19fb970c2f4c8c85fa661124
[ "Apache-2.0" ]
null
null
null
src/main.cpp
ironoir/briqs
6224371c9ea4feec19fb970c2f4c8c85fa661124
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include "interpreter.h" int main(int argc, char *argv[]) { fstream fs(argv[1]); stringstream ss; ss << fs.rdbuf(); Interpreter interpreter(ss); cout << interpreter.eval() << endl; }
20.153846
39
0.641221
ironoir
a371f8c88a5b13f8b696404094ed079f2a9489bd
957
cc
C++
src/analyzer/protocol/modbus/Modbus.cc
simonhf/zeek
1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327
[ "Apache-2.0" ]
5
2020-08-07T10:26:04.000Z
2022-01-12T19:50:11.000Z
src/analyzer/protocol/modbus/Modbus.cc
simonhf/zeek
1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327
[ "Apache-2.0" ]
27
2020-02-28T22:29:21.000Z
2020-12-24T18:03:24.000Z
src/analyzer/protocol/modbus/Modbus.cc
simonhf/zeek
1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327
[ "Apache-2.0" ]
3
2020-05-25T20:14:38.000Z
2020-11-10T22:58:08.000Z
#include "Modbus.h" #include "analyzer/protocol/tcp/TCP_Reassembler.h" #include "events.bif.h" using namespace analyzer::modbus; ModbusTCP_Analyzer::ModbusTCP_Analyzer(Connection* c) : TCP_ApplicationAnalyzer("MODBUS", c) { interp = new binpac::ModbusTCP::ModbusTCP_Conn(this); } ModbusTCP_Analyzer::~ModbusTCP_...
20.804348
78
0.753396
simonhf
a3787328afafee1d594026f57bfbfdc55e4d4709
198
hpp
C++
effects/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
1
2021-07-10T10:06:23.000Z
2021-07-10T10:06:23.000Z
effects/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
null
null
null
effects/cfgFunctions.hpp
genesis92x/LambsMods
d7a281ef74b1927ea3e8aba1063feeab2a97593a
[ "Unlicense" ]
null
null
null
class cfgFunctions { class lambs_effects { tag = "lambs_effects"; class functions { file = "effects\functions"; class killed; }; }; };
22
40
0.484848
genesis92x
a378c53c7ffaaad8f269221dd7e02e65b1837e10
11,218
cp
C++
MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.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
MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.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
MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.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 Unless required by applicable law or agr...
28.18593
148
0.734712
mulberry-mail
a379251325c31268a3c747511b380893c6677eaa
2,716
cc
C++
Fleece/Tree/NodeRef.cc
tophatch/fleece
8853b610575c1a7d68681a792188bab9c0c1ec7d
[ "Apache-2.0" ]
134
2016-05-09T19:42:55.000Z
2022-01-16T13:05:18.000Z
Fleece/Tree/NodeRef.cc
tophatch/fleece
8853b610575c1a7d68681a792188bab9c0c1ec7d
[ "Apache-2.0" ]
70
2016-05-09T05:16:46.000Z
2022-03-08T19:43:30.000Z
Fleece/Tree/NodeRef.cc
tophatch/fleece
8853b610575c1a7d68681a792188bab9c0c1ec7d
[ "Apache-2.0" ]
32
2016-05-19T10:38:06.000Z
2022-01-30T22:45:25.000Z
// // NodeRef.cc // // Copyright 2018-Present Couchbase, Inc. // // Use of this software is governed by the Business Source License included // in the file licenses/BSL-Couchbase.txt. As of the Change Date specified // in that file, in accordance with the Business Source License, use of this // software will be govern...
33.95
97
0.611929
tophatch
a379bb3244fdb3bf6bb4a95ff875ce18d7cbe759
4,856
cpp
C++
mainwindow.cpp
danielScLima/RedBlackTree
cdb35c547dffa983d749f557a19937f083692208
[ "MIT" ]
null
null
null
mainwindow.cpp
danielScLima/RedBlackTree
cdb35c547dffa983d749f557a19937f083692208
[ "MIT" ]
null
null
null
mainwindow.cpp
danielScLima/RedBlackTree
cdb35c547dffa983d749f557a19937f083692208
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <fstream> #include <QDir> #include <QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); updateDotFile(); updateImage(); renderImage(); } MainWindow::~MainWindow() ...
23.12381
87
0.642916
danielScLima
a37bc38db07361f9d605d9f78f9aad9bb816c1a3
4,878
cpp
C++
aws-cpp-sdk-ec2/source/model/SpotPrice.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-ec2/source/model/SpotPrice.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-ec2/source/model/SpotPrice.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
32.959459
169
0.717097
ambasta
a37ee6b4441af2e3cae44896615383a39f5c5da2
4,299
cpp
C++
games/varooom-3d/src/fr_title_advices.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
null
null
null
games/varooom-3d/src/fr_title_advices.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
null
null
null
games/varooom-3d/src/fr_title_advices.cpp
taellinglin/butano
13b93c1296970262e047b728496908c036f7e789
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2020-2021 Gustavo Valiente [email protected] * zlib License, see LICENSE file. */ #include "fr_title_advices.h" #include "bn_display.h" #include "fr_common_stuff.h" namespace fr { namespace { constexpr bn::fixed text_y = (bn::display::height() / 2) - 16; constexpr bn::fi...
24.706897
114
0.599674
taellinglin
a37ff5a87a4bff37660011b41a0ea4f1dfce7571
6,333
cc
C++
cpp/core_v2/internal/simulation_user.cc
zhounewone/nearby-connections
4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707
[ "Apache-2.0" ]
null
null
null
cpp/core_v2/internal/simulation_user.cc
zhounewone/nearby-connections
4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707
[ "Apache-2.0" ]
null
null
null
cpp/core_v2/internal/simulation_user.cc
zhounewone/nearby-connections
4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
36.188571
78
0.620717
zhounewone
a380825bfe33d4a83a65d9664ee5e559c86cacf8
12,463
cc
C++
hefur/udp-server.cc
KrauseStefan/hefur
8cecf86acdc55a4dd3942041c1e50f7bbdec045f
[ "MIT" ]
null
null
null
hefur/udp-server.cc
KrauseStefan/hefur
8cecf86acdc55a4dd3942041c1e50f7bbdec045f
[ "MIT" ]
null
null
null
hefur/udp-server.cc
KrauseStefan/hefur
8cecf86acdc55a4dd3942041c1e50f7bbdec045f
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <netinet/in.h> #include <inttypes.h> #include <unistd.h> #include <fcntl.h> #include <poll.h> #if defined(__linux__) # include <endian.h> #elif defined(__FreeBSD__) || defined(__NetBSD__) # include <sys/endian.h> #elif defined(__OpenBSD__) # include <sys/types.h> # define be16toh(x) bet...
26.293249
87
0.566717
KrauseStefan
a38408321fbe5e69bb3868192bf33af5f2ee7bdc
700
hpp
C++
src/gui/addentrypointdialog.hpp
AndreaOrru/Gilgamesh
c688dcecd80236d2e62641ee4d157e1ef042c7d9
[ "BSD-2-Clause" ]
25
2015-11-27T01:47:24.000Z
2018-09-17T12:57:45.000Z
src/gui/addentrypointdialog.hpp
AndreaOrru/gilgamesh
c688dcecd80236d2e62641ee4d157e1ef042c7d9
[ "BSD-2-Clause" ]
122
2019-08-11T18:54:09.000Z
2020-05-31T08:43:44.000Z
src/gui/addentrypointdialog.hpp
AndreaOrru/Gilgamesh
c688dcecd80236d2e62641ee4d157e1ef042c7d9
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <QDialog> #include <string> #include "state.hpp" #include "types.hpp" class QGroupBox; class QLineEdit; class QRadioButton; class AddEntryPointDialog : public QDialog { Q_OBJECT public: AddEntryPointDialog(QWidget* parent = nullptr); std::string label; SubroutinePC pc; State state...
16.27907
49
0.741429
AndreaOrru
a38909d2f095c44db5be5bf31ba6f2a559e27d21
3,544
cpp
C++
Environment/ScriptBind_InteractiveObject.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
Environment/ScriptBind_InteractiveObject.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
Environment/ScriptBind_InteractiveObject.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
// Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved. /************************************************************************* ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Script bind functions for Crysis2 interactive object ---------------...
26.646617
123
0.720655
IvarJonsson
a38e1a72eadc727f0b2a78f8bbf1d764b6fb16f8
1,158
cpp
C++
chapter-10/10.22.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.22.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.22.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <iostream> #include <algorithm> #include <functional> using std::vector; using std::string; using std::cout; using std::endl; using std::sort; using std::find_if; using std::unique; using std::stable_sort; using std::for_each; using std::bind; using std::placeholders::_1; ...
21.849057
71
0.65544
zero4drift
a393e0b9118fad28efbb4b898055d1a1ca0237df
2,491
hpp
C++
include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.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:35 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...
60.756098
218
0.782818
Futuremappermydud
a397dfb912817cb6fcf1b8264c7d8789b37edcee
2,283
cpp
C++
src/esp/sensor/Sensor.cpp
xjwang-cs/habitat-sim
bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda
[ "MIT" ]
null
null
null
src/esp/sensor/Sensor.cpp
xjwang-cs/habitat-sim
bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda
[ "MIT" ]
null
null
null
src/esp/sensor/Sensor.cpp
xjwang-cs/habitat-sim
bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda
[ "MIT" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #include "Sensor.h" #include <Magnum/EigenIntegration/Integration.h> namespace esp { namespace sensor { Sensor::Sensor(scene::SceneNode& n...
28.898734
80
0.69032
xjwang-cs
a399b76c4b504295b9802677ef8c5c99e1ad0d97
5,867
cpp
C++
AudioMixer/InputVolAdjDlg.cpp
ray-x/AudioMixer
53d40543bdebcd60091e6952e8af43799e479e18
[ "MIT" ]
null
null
null
AudioMixer/InputVolAdjDlg.cpp
ray-x/AudioMixer
53d40543bdebcd60091e6952e8af43799e479e18
[ "MIT" ]
null
null
null
AudioMixer/InputVolAdjDlg.cpp
ray-x/AudioMixer
53d40543bdebcd60091e6952e8af43799e479e18
[ "MIT" ]
null
null
null
// InputVolAdjDlg.cpp : implementation file // #include "stdafx.h" #include "AudioMixer.h" #include "InputVolAdjDlg.h" #include "ConfData.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "Wait.h" ////////////////////////////////////////////////////////////////...
29.044554
123
0.737685
ray-x
a39ca26b1a5000913646455ab482038ed1fbeeb0
6,111
hpp
C++
cppcache/include/geode/CqQuery.hpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
cppcache/include/geode/CqQuery.hpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
cppcache/include/geode/CqQuery.hpp
mmartell/geode-native
fa6edf5d3ad83c78431f0c5e2da163b7a0df5558
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
31.994764
79
0.706595
mmartell
a39d99cd42f4ecbc321801e8124eb2ddbfd71c19
3,643
cpp
C++
testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp
qdsxinyee4/PatentsViewh
c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9
[ "BSD-3-Clause" ]
175
2020-10-21T15:15:18.000Z
2022-03-31T04:59:30.000Z
testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp
qdsxinyee4/PatentsViewh
c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9
[ "BSD-3-Clause" ]
1
2020-12-20T11:41:53.000Z
2020-12-21T04:49:33.000Z
testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp
qdsxinyee4/PatentsViewh
c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9
[ "BSD-3-Clause" ]
39
2020-10-26T03:23:18.000Z
2022-03-28T16:23:03.000Z
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redist...
32.81982
101
0.716442
qdsxinyee4
a3a3484d28bb82ccf5a7bdc27dfd0bb2ee37c611
462
cpp
C++
examples/insertion.cpp
uliana99/course
cd92a799fecc4f76d7ca858bf2904432ce1477ac
[ "MIT" ]
null
null
null
examples/insertion.cpp
uliana99/course
cd92a799fecc4f76d7ca858bf2904432ce1477ac
[ "MIT" ]
null
null
null
examples/insertion.cpp
uliana99/course
cd92a799fecc4f76d7ca858bf2904432ce1477ac
[ "MIT" ]
null
null
null
#include "insertion.hpp" void sortInsertion() { srand(time(NULL)); const int ARRAY_LEN = 20; const int INT_RANGE = 100; int *array = new int[ARRAY_LEN]; for (int i = 0; i < ARRAY_LEN; i ++) { array[i] = rand() % INT_RANGE; } messageInsertsort(array, ARRAY_LEN); insertsort(arr...
20.086957
42
0.61039
uliana99
a3a387e97ddff09bb34d8e3f8e5031f2412c153b
1,576
cpp
C++
Queue/Queue_using_linked_list.cpp
PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit
f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6
[ "BSD-3-Clause" ]
3
2021-05-21T17:24:18.000Z
2021-08-11T19:34:38.000Z
Queue/Queue_using_linked_list.cpp
PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit
f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6
[ "BSD-3-Clause" ]
null
null
null
Queue/Queue_using_linked_list.cpp
PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit
f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using namespace std; class Node{ public: int data; Node* next; }; /********************************************/ void Display(Node* n){ if(n == NULL){ cout<<"queue is empty"<<endl; return; } while(n != NULL){ cout<< n->data <<" "; n = n->next; } cout<<endl; } /**...
18.325581
55
0.466371
PreethiSamanthaBennet
a3a6ab70e9a8da56a3632890162606f4e69115f9
23,346
cc
C++
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
1,652
2018-01-24T03:19:58.000Z
2020-07-28T19:04:00.000Z
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
490
2018-01-24T00:55:38.000Z
2020-07-03T19:44:16.000Z
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
154
2018-01-31T05:57:33.000Z
2020-07-05T00:02:46.000Z
#include "working_files.h" #include "lex_utils.h" #include "position.h" #include <doctest/doctest.h> #include <loguru.hpp> #include <algorithm> #include <climits> #include <numeric> namespace { // When finding a best match of buffer line and index line, limit the max edit // distance. constexpr int kMaxDiff = 20; ...
34.231672
80
0.619678
Gei0r
a3abe0825d43446a485e0a85e7a0284493db7f98
10,043
hpp
C++
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
1
2018-12-05T07:38:25.000Z
2018-12-05T07:38:25.000Z
/******************************************************************************* * Copyright 2017-2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
34.159864
87
0.676192
rongjiecomputer
a3b4ee89424f67d63a8ea1d352e58a4eae87bf38
1,787
cxx
C++
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
null
null
null
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
null
null
null
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
1
2020-10-15T09:37:30.000Z
2020-10-15T09:37:30.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
27.492308
113
0.732513
heralex
a3b557d5f26cb826ff27092ec11059bda06abc1b
3,568
hpp
C++
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
$NetBSD$ Support SunOS/gcc. --- src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp.orig 2019-01-08 09:40:30.000000000 +0000 +++ src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp @@ -27,11 +27,65 @@ // For Sun Studio - implementation is in solaris_x86_64.il. +#ifdef __GNUC__ +inline int32_t _Atomic_add(int...
39.644444
109
0.60398
gco
a3b5885bf7f23b09f22f8cf9dfdc4f6a953e885f
8,034
cpp
C++
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
2
2018-04-30T15:52:05.000Z
2018-06-13T17:41:55.000Z
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
3
2018-06-03T18:57:42.000Z
2018-07-11T22:01:17.000Z
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
2
2018-03-31T06:34:01.000Z
2019-08-02T14:04:17.000Z
#include "Entity.h" namespace Engine { //[junk_enable /] char* CBaseEntity::GetPlayerName() { if (IsPlayer()) { static PlayerInfo Info; if (Interfaces::Engine()->GetPlayerInfo(EntIndex(), &Info)) return Info.m_szPlayerName; } return ""; } bool CBaseEntity::IsPlayer() { typedef bool(__thisc...
21.95082
140
0.698033
TsuuN
a3bb595b681a1020f6b32280e0c04a9a43c30f6d
1,408
cpp
C++
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
5
2020-09-30T08:55:48.000Z
2021-04-03T07:52:56.000Z
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
3
2021-03-30T20:25:09.000Z
2022-01-21T19:06:04.000Z
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
1
2021-09-16T21:38:24.000Z
2021-09-16T21:38:24.000Z
/// @file /// @copyright Copyright (c) 2017, Cycling '74 /// @author Timothy Place /// @license Usage of this file and its contents is governed by the MIT License #include "DspFilters/ChebyshevII.h" using namespace Dsp::ChebyshevII::Design; #include "../filter.h" class chebyshev : public filter<chebyshev,false,true...
23.466667
79
0.666903
Cycling74
a3bc8ac05a9886d30a06e6a796a664bbf19398c0
586
cpp
C++
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
4
2021-02-23T05:35:25.000Z
2021-06-08T06:11:06.000Z
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
4
2021-04-27T20:44:44.000Z
2021-06-30T18:07:10.000Z
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
1
2021-06-05T16:58:05.000Z
2021-06-05T16:58:05.000Z
/* * Copyright (c) 2021, Idan Horowitz <[email protected]> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/Map.h> namespace JS { Map* Map::create(GlobalObject& global_object) { return global_object.heap().allocate<Map>(global_object, *global_object.map_prototype()); } Map::Ma...
16.742857
93
0.667235
shubhdev
a3bf8722431af381ab7ceae9f5a2e5f51f01aaa8
1,947
cc
C++
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include "visualization/viz-data-collector.h" #include <mutex> #include <string> #include <tuple> #include <unordered_map> #include <Eigen/Core> #include <aslam/common/unique-id.h> #include <maplab-common/accessors.h> #include <maplab-common/macros.h> namespace visualization { namespace internal { const VizDataColle...
30.421875
77
0.761685
AdronTech
a3c0e0d4cd6ce5cf2e7792ebe09050e1a7d68791
13,465
cpp
C++
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
/** * @brief implementation of a power network used in calculations * * @file powerNet.cpp * @author Luiz Victor Linhares Rocha * @date 2018-09-22 * @copyright 2018 */ #include <utility> #include <iostream> #include "powerNet.hpp" #include "barra.hpp" #include "branch.hpp" #include "admitanceCalc.hpp" #include...
26.93
117
0.573932
BigsonLvrocha
a3c18d0f493cb5157d677e3983fad6681fbbe935
2,287
cpp
C++
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
30.905405
138
0.655444
phong-phuong
a3c35f4ff7c4c98db1e25d1e5388ea2d29568c6c
6,656
cpp
C++
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
1
2019-12-09T20:55:59.000Z
2019-12-09T20:55:59.000Z
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
null
null
null
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
null
null
null
#include "core.hpp" #include <cstdio> namespace tap { struct PeerObject::State { enum { DIRTY_FLAG = 1 << 0, REFERENCE_FLAG = 1 << 1, }; State() noexcept: key(-1), flags(0) { } State(Key key, unsigned int flags) noexcept: key(key), flags(flags) { } State &operator=(const State &other) noe...
22.562712
147
0.5628
tsavola
a3c706f89b16da99b8ea32c03afb32f138468697
11,377
cpp
C++
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
// This file automatically generated by create_export_module.py #include <NumpyEigenConverter.hpp> #define NUMPY_IMPORT_ARRAY_RETVAL // function prototypes void import_1_1_int(); void import_1_1_float(); void import_1_1_double(); void import_1_1_uchar(); void import_1_1_long(); void import_1_2_int(); void import_1_2_f...
22.48419
63
0.779379
huangqinjin
a3caad17378d6860b83421c5b3d16101ebebb670
8,814
hpp
C++
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJMGR_UTIL___SCORE_BUILDER_BASE__HPP #define OBJMGR_UTIL___SCORE_BUILDER_BASE__HPP /* $Id: score_builder_base.hpp 363131 2012-05-14 15:34:29Z whlavina $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * Nation...
40.246575
80
0.631382
OpenHero
a3cab4435bb899caf07684cb1186d74f0cc881bf
7,296
hpp
C++
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // An OTTrade is derived from OTCronItem. OTCron has a list of...
33.163636
80
0.653372
nopdotcom
a3caef25b7b1a37a13e79ffbfdfe68d9208ce590
420
cc
C++
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021 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 "net/quiche/common/platform/impl/quiche_test_impl.h" #include <string> namespace quiche { namespace test { std::string QuicheGetCommonSour...
23.333333
73
0.745238
fangqiuhang
a3ce12616f2db5403b6b07d17ddbc06382bc56a3
27,394
cpp
C++
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
5
2020-12-16T22:18:46.000Z
2022-03-26T08:39:51.000Z
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-29T04:03:15.000Z
2021-06-29T05:46:15.000Z
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-19T17:11:12.000Z
2021-07-09T06:58:47.000Z
/** \file \author Kenta Suzuki */ #include "MotionPlannerDialog.h" #include <cnoid/BodyItem> #include <cnoid/Button> #include <cnoid/CheckBox> #include <cnoid/ComboBox> #include <cnoid/EigenTypes> #include <cnoid/JointPath> #include <cnoid/MenuManager> #include <cnoid/MeshGenerator> #include <cnoid/MessageView> ...
32.767943
120
0.648865
k38-suzuki
a3ce53f1916fccb020472e811b0de84e1537d47e
676
cpp
C++
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
3
2020-01-29T18:26:37.000Z
2021-01-19T06:26:34.000Z
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
null
null
null
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
2
2019-03-06T03:40:42.000Z
2019-09-23T03:48:21.000Z
/*-------------------------------------------- Ternary search algorithm Finds the maximum/minimum value of any unimodal function Here is an algorithm for finding the maximum of a sample function f(x). Algorithm for finding the minimum value is symmetrical Time complexity - O(log(2/3)N) ---------------------------...
19.314286
46
0.523669
adiletabs
a3d01902f44a8f1741b9ccd3967232124a410b7c
1,318
hh
C++
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* WhetStone, Version 2.2 Release name: naka-to. Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (li...
24.867925
71
0.734446
fmyuan
a3d352f05f4ee9dec1206881dfec5836ea5bdb75
8,250
cpp
C++
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
1
2021-03-07T03:46:07.000Z
2021-03-07T03:46:07.000Z
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
null
null
null
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
5
2019-01-12T23:00:57.000Z
2021-03-24T20:55:12.000Z
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkImageInfo.h" #include "SkSafeMath.h" #include "SkReadBuffer.h" #include "SkWriteBuffer.h" // These values must be constant over revisions, though they can be rena...
35.25641
99
0.626909
CarbonBeta
a3d7ddd41c0ec2bafd914e5cf0b186ae55adffe8
12,697
cpp
C++
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
359
2015-01-01T17:17:17.000Z
2022-03-27T14:56:19.000Z
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
145
2015-05-01T05:53:31.000Z
2022-03-31T13:32:53.000Z
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
43
2015-06-09T11:30:11.000Z
2022-01-30T01:36:00.000Z
/** * Touhou Community Reliant Automatic Patcher * Main DLL * * ---- * * Logging functions. */ #include "thcrap.h" #include <io.h> #include <fcntl.h> #include <ThreadPool.h> // ------- // Globals // ------- static HANDLE log_file = INVALID_HANDLE_VALUE; static bool console_open = false; static ThreadPoo...
23.866541
137
0.664015
thpatch
a3da4e57b81d8242d0186108d50167262b330b48
1,873
cpp
C++
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
13
2017-10-24T08:50:28.000Z
2019-11-02T01:15:26.000Z
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
null
null
null
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
null
null
null
#include <fcntl.h> #include <unistd.h> #include "tcp_helper.h" SOCKET create_tcp_origin_sock() { return ::socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_TCP); } bool set_linger_sock(SOCKET fd, int onoff, int linger) { struct linger slinger; slinger.l_onoff = onoff ? 1 : 0; slinger.l_linger =...
18.184466
108
0.691404
zjkw
a3dfe593f9eeb59715fa46f302d216d959b755d3
46,253
cpp
C++
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
1
2019-01-25T13:31:44.000Z
2019-01-25T13:31:44.000Z
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
1
2019-03-24T03:45:30.000Z
2019-03-24T03:45:30.000Z
/** * @file src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp * @brief Class for .NET reconstructor. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <iostream> #include "retdec/utils/conversion.h" #include "retdec/utils/string.h" #include "retdec/fileformat/types/dot...
32.232056
191
0.737963
nimeshvaghasiya
9cb16744fe767b9314c64517359912c5cfdb800b
24,099
cpp
C++
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
/* * Main.cpp * * The main program of the PAPR product firmware. * * KEEP THE MAIN LOOP RUNNING AT ALL TIMES. DO NOT USE DELAY(). * Be careful - this firmware keeps running even when the user does "Power Off". * This code may need to run correctly for months at a time. Don't break this code! * All code must wo...
35.027616
161
0.612059
markshepherd
9cb5096edff0dbbc7f349a706892a37d794a4164
3,009
cpp
C++
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; using ll = int64_t; using ull = uint64_t; using pll = pair<ll, ll>; struct Random { mt19937 rd; Random() : rd((unsigned)chrono::steady_clock::now().time_since_epoch().count()) {} Random(int seed) : rd(seed) {} template<typ...
25.285714
83
0.504819
jinhan814
9cb56b68a5d296612853dc49467ce522135a89ed
2,955
cpp
C++
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
68
2015-01-17T05:41:58.000Z
2021-04-24T08:35:24.000Z
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
16
2015-01-02T19:36:06.000Z
2018-09-09T21:01:25.000Z
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
37
2015-02-04T04:23:00.000Z
2020-06-07T03:24:41.000Z
// Copyright (c) 2000, 2001, 2002, 2003 by David Scherer and others. // Copyright (c) 2003, 2004 by Jonathan Brandmeyer and others. // See the file license.txt for complete license terms. // See the file authors.txt for a complete list of contributors. #include "renderable.hpp" #include "material.hpp" namespa...
25.042373
77
0.701184
lebarsfa
9cb78d2faaba29f6af5c59fc1039441b986e299f
9,693
cpp
C++
test/gtest_unit/hook/select.cpp
zhcpku/libgo
4780002c9bfb4e710ab51951b064a04118d4a191
[ "MIT" ]
2,831
2015-12-24T03:21:07.000Z
2022-03-31T18:37:29.000Z
test/gtest_unit/hook/select.cpp
gswgit/libgo
4af17b7c67643c4d54aa354dcc77963ea07847d0
[ "MIT" ]
238
2016-01-26T03:35:35.000Z
2022-03-18T11:17:00.000Z
test/gtest_unit/hook/select.cpp
gswgit/libgo
4af17b7c67643c4d54aa354dcc77963ea07847d0
[ "MIT" ]
781
2015-12-24T04:28:34.000Z
2022-03-26T05:23:12.000Z
#include "test_server.h" #include <iostream> #include <unistd.h> #include <gtest/gtest.h> #include <sys/select.h> #include <time.h> #include <chrono> #include <boost/any.hpp> #include "coroutine.h" #include "../gtest_exit.h" #include "hook.h" using namespace std; using namespace co; ///select test points: // 1.timeout...
30.102484
97
0.588775
zhcpku
9cbabb8fe4f917122cdb1ee706eca3e48bfb803b
1,019
cpp
C++
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: int maximumGap(vector<int>& nums) { int n = nums.size(); if (n < 2) return 0; int maxNum = *max_element(nums.begin(), nums.end()); int minNum = *min_element(nums.begin(), nums.end()); if (maxNum == minNum) return 0; double bucketSize = (double...
39.192308
94
0.525025
cloudzfy
9cbdf76959e02f4f0ea1003b30ed05b043de9ede
31,578
cpp
C++
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
38.416058
104
0.586991
Xuxue1
9cbe30c285c0a5ceedf852f0e51262d3e9cefa12
9,915
hxx
C++
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 2011-03-06 // Created by: Sergey ZERCHANINOV // Copyright (c) 2011-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2...
42.012712
148
0.741503
mgreminger
9cbf95027924eb40ae799b2ba58d260f249d76e3
405
cpp
C++
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
1
2018-12-12T21:20:37.000Z
2018-12-12T21:20:37.000Z
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
null
null
null
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
1
2018-12-12T21:21:23.000Z
2018-12-12T21:21:23.000Z
#include "GameManager.h" #include <iostream> int main(int argc, char* args[]) { GameManager *ptr = new GameManager(); bool status = ptr->OnCreate(); if (status == true) { ptr->Run(); } else if (status == false) { /// You should have learned about stderr (std::cerr) in Operating Systems std::cerr << "Fatal ...
22.5
77
0.654321
adityadutta
9cc07313177f18bb06a2ce21d9ad1294e39fa0d5
1,636
hpp
C++
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * Thread Implementation * Copyright(C) 2003-2013 Jinhao([email protected]) * * 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) * * @file: nana/threads/thread.hpp */ #ifndef NANA_THREADS_THREAD_HPP #def...
19.47619
61
0.680318
gfannes
9cc1d9aa5ffe9e9c8a2e701fe211822c907f10ca
488
cpp
C++
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// 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! #include "config.h" #include "ClientQueryOptions.h" namespace blink { Cli...
20.333333
76
0.747951
gergul
9cc246112cbf1f8e0aca0977fa0fea216c914593
277
hpp
C++
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_FUN_IS_SPACE_DEF_HPP #define STAN_LANG_AST_FUN_IS_SPACE_DEF_HPP #include <stan/lang/ast/fun/is_space.hpp> namespace stan { namespace lang { bool is_space(char c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t'; } } } #endif
17.3125
61
0.624549
yizhang-cae