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
f58556ede8696afedb94d37d8f9a456486b89674
6,305
cpp
C++
modules/basegl/algorithm/imageconvolution.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
1
2018-04-07T14:30:29.000Z
2018-04-07T14:30:29.000Z
modules/basegl/algorithm/imageconvolution.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
modules/basegl/algorithm/imageconvolution.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2016-2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
42.315436
98
0.648692
liu3xing3long
f585e7241f39e3fbbe7260ebabf3270189f1610f
4,627
cpp
C++
libs/log/example/doc/sinks_xml_file.cpp
HelloSunyi/boost_1_54_0
429fea793612f973d4b7a0e69c5af8156ae2b56e
[ "BSL-1.0" ]
7
2015-03-03T15:45:12.000Z
2021-04-25T03:37:17.000Z
libs/log/example/doc/sinks_xml_file.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
1
2015-09-05T12:23:01.000Z
2015-09-05T12:23:01.000Z
libs/log/example/doc/sinks_xml_file.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
2
2017-07-28T17:38:16.000Z
2018-04-30T05:37:32.000Z
/* * Copyright Andrey Semashev 2007 - 2013. * 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 <stdexcept> #include <string> #include <iostream> #include <boost/shared_ptr.hpp> #i...
30.24183
153
0.625027
HelloSunyi
f5884bb8f6fd88d870fdbd3d009c2c38ac43f8f1
28,108
cc
C++
src/ServerConfig.cc
srmainwaring/ign-gazebo
c473a08ea3a8cc73a9fb722efb08772abcf48dfe
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ServerConfig.cc
srmainwaring/ign-gazebo
c473a08ea3a8cc73a9fb722efb08772abcf48dfe
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ServerConfig.cc
srmainwaring/ign-gazebo
c473a08ea3a8cc73a9fb722efb08772abcf48dfe
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Open Source Robotics 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 appl...
29.997866
80
0.59773
srmainwaring
f588fba044454b25731d2a5babd568d573654fda
12,610
cpp
C++
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2022-02-24T07:36:59.000Z
2022-02-24T07:36:59.000Z
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
null
null
null
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2021-12-09T15:44:10.000Z
2021-12-09T15:44:10.000Z
// Copyright 2021 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 or a...
33.806971
92
0.727201
ruvus
f58b8b8ed78ab4e2e8a07025bb0b54ddc60bd931
1,349
cpp
C++
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
1
2020-04-26T10:28:41.000Z
2020-04-26T10:28:41.000Z
#include <iostream> #include <fstream> using namespace std; ifstream ifs; struct node { int data; node *next; }; node *createLinkList(int n) { node *head = new node; node *current = head; int dat = 0; for (int i = 0; i < n; i += 1) { ifs >> dat; current->data = dat; if (i != n - 1) { node *next = ...
14.052083
61
0.58043
Smithienious
f58bc06edf3f00bb3c33dd86ab1d5c698dfb2179
740
cc
C++
src/lidar_sim/apps/glMapEditor.cc
Enigmatisms/LiDARSim2D
92992c281672ae8892ce9355bf1e417ea6cf706c
[ "BSD-3-Clause" ]
5
2021-10-17T00:55:24.000Z
2022-03-29T05:59:49.000Z
src/lidar_sim/apps/glMapEditor.cc
Enigmatisms/ParticleFilter
92992c281672ae8892ce9355bf1e417ea6cf706c
[ "BSD-3-Clause" ]
null
null
null
src/lidar_sim/apps/glMapEditor.cc
Enigmatisms/ParticleFilter
92992c281672ae8892ce9355bf1e417ea6cf706c
[ "BSD-3-Clause" ]
null
null
null
#include "gl/viewer.hpp" #include "gl/glMap.h" #include "utils/mapEdit.h" void makeMapBorder(Walls& walls) { Wall border; border.emplace_back(1200, 0, 0); border.emplace_back(0, 0, 0); border.emplace_back(0, 900, 0); border.emplace_back(1200, 900, 0); border.emplace_back(30, 30, 0); border...
27.407407
71
0.652703
Enigmatisms
f58c2231face6a37661e160650d6ee2b4e7ebb5f
7,960
cpp
C++
driver_files/src/Driver/HMDDevice.cpp
justinliang1020/AirPose
e651883f0e9c33fee0d7180d118b2456d54705e4
[ "MIT" ]
28
2021-06-15T21:06:01.000Z
2022-03-31T02:20:25.000Z
driver_files/src/Driver/HMDDevice.cpp
gergelyszaz/AirPose
9ba902b29aeaae6aa0eed4fdb4d7ea63014d546e
[ "MIT" ]
16
2021-10-30T21:24:31.000Z
2021-11-21T15:12:08.000Z
driver_files/src/Driver/HMDDevice.cpp
gergelyszaz/AirPose
9ba902b29aeaae6aa0eed4fdb4d7ea63014d546e
[ "MIT" ]
2
2021-09-10T13:15:15.000Z
2022-01-16T01:51:21.000Z
#include "HMDDevice.hpp" #include <Windows.h> PoseVRDriver::HMDDevice::HMDDevice(std::string serial):serial_(serial) { } std::string PoseVRDriver::HMDDevice::GetSerial() { return this->serial_; } void PoseVRDriver::HMDDevice::Update() { if (this->device_index_ == vr::k_unTrackedDeviceIndexInvalid) re...
35.695067
172
0.690955
justinliang1020
f58dd8aa820c864c8f89624f653d346e798698a3
4,902
cc
C++
src/tir/ir/function.cc
cli99/tvm
6c6e873a1325a32418108daad6e38f3df8c37660
[ "Apache-2.0" ]
null
null
null
src/tir/ir/function.cc
cli99/tvm
6c6e873a1325a32418108daad6e38f3df8c37660
[ "Apache-2.0" ]
null
null
null
src/tir/ir/function.cc
cli99/tvm
6c6e873a1325a32418108daad6e38f3df8c37660
[ "Apache-2.0" ]
1
2022-03-02T16:24:54.000Z
2022-03-02T16:24:54.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 ...
36.311111
100
0.675031
cli99
f58e68715c7e0dc39bc9fce281b2e2b812f16124
3,658
cpp
C++
Plugins/org.blueberry.ui.qt/src/internal/intro/berryViewIntroAdapterPart.cpp
gaoxiaojun/minircp
fe20201a768515cd0387f0b76a16c0c766cf939d
[ "BSD-3-Clause" ]
5
2015-05-27T06:57:53.000Z
2020-03-12T21:08:23.000Z
Plugins/org.blueberry.ui.qt/src/internal/intro/berryViewIntroAdapterPart.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Plugins/org.blueberry.ui.qt/src/internal/intro/berryViewIntroAdapterPart.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
29.983607
117
0.666758
gaoxiaojun
f591f76aa9a9b3d4737ffd18385afff19d88dede
359
cpp
C++
config/src/vespa/config/print/configdatabuffer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,054
2017-08-11T07:58:38.000Z
2022-03-31T22:32:15.000Z
config/src/vespa/config/print/configdatabuffer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,854
2017-08-10T20:19:25.000Z
2022-03-31T19:04:23.000Z
config/src/vespa/config/print/configdatabuffer.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
541
2017-08-10T18:51:18.000Z
2022-03-11T03:18:56.000Z
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "configdatabuffer.h" #include <vespa/vespalib/data/slime/slime.h> namespace config { ConfigDataBuffer::ConfigDataBuffer() : _slime(std::make_unique<vespalib::Slime>()) { } ConfigDataBuffer::~ConfigD...
23.933333
104
0.743733
Anlon-Burke
f592a71e54548674f08d1c1ba8cdc6b11b68d3e6
28,338
hpp
C++
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
43.198171
122
0.649058
anbratu
f592cba1aa5c92fe820cbceed75f181233d318e5
902
cpp
C++
Engine/Plugins/Runtime/Synthesis/Source/SynthesisEditor/Private/EpicSynth1PresetBank.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Runtime/Synthesis/Source/SynthesisEditor/Private/EpicSynth1PresetBank.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Runtime/Synthesis/Source/SynthesisEditor/Private/EpicSynth1PresetBank.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "EpicSynth1PresetBank.h" #include "SynthComponents/EpicSynth1Component.h" #include "UObject/ObjectMacros.h" #include "UObject/Object.h" UClass* FAssetTypeActions_ModularSynthPresetBank::GetSupportedClass() const { return UModularSynthPresetBank::S...
32.214286
167
0.818182
windystrife
f5933b011ba63be0e9947627c5f263c62da7056f
5,231
cpp
C++
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
59
2016-04-13T20:18:50.000Z
2022-01-24T00:46:16.000Z
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
3
2016-11-19T18:33:49.000Z
2022-01-24T00:43:10.000Z
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
7
2016-05-01T02:58:05.000Z
2021-09-17T02:20:19.000Z
/* Copyright 2005-2016 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundat...
41.848
130
0.66125
umetaman
f593c1a79a0d63012e1b82c7e73138654f643a27
10,546
cpp
C++
contrib/libpoco/Foundation/testsuite/src/BasicEventTest.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
111
2015-01-13T18:14:31.000Z
2022-02-20T14:26:55.000Z
contrib/libpoco/Foundation/testsuite/src/BasicEventTest.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
54
2015-02-23T16:57:41.000Z
2021-02-19T08:16:27.000Z
contrib/libpoco/Foundation/testsuite/src/BasicEventTest.cpp
189569400/ClickHouse
0b8683c8c9f0e17446bef5498403c39e9cb483b8
[ "Apache-2.0" ]
26
2015-01-17T13:07:56.000Z
2021-12-02T07:43:29.000Z
// // BasicEventTest.cpp // // $Id: //poco/1.4/Foundation/testsuite/src/BasicEventTest.cpp#2 $ // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "BasicEventTest.h" #include "DummyDelegate.h" #include "CppUnit/TestCalle...
23.913832
99
0.714868
189569400
f5958c43110a7b5d25be2c39fe2e1e008476944d
842
cpp
C++
java/app/src/main/cpp/CXSparse/Source/cs_cholsol_ci.cpp
thatmooglie/epilepsy-detection
8d9b4451190db5ba9781a19d0c97b9a411fbb8d6
[ "MIT" ]
28
2020-03-12T03:25:30.000Z
2022-02-21T07:22:44.000Z
java/app/src/main/cpp/CXSparse/Source/cs_cholsol_ci.cpp
thatmooglie/epilepsy-detection
8d9b4451190db5ba9781a19d0c97b9a411fbb8d6
[ "MIT" ]
2
2020-05-07T18:13:58.000Z
2021-01-07T20:26:00.000Z
java/app/src/main/cpp/CXSparse/Source/cs_cholsol_ci.cpp
thatmooglie/epilepsy-detection
8d9b4451190db5ba9781a19d0c97b9a411fbb8d6
[ "MIT" ]
10
2020-04-10T02:14:39.000Z
2021-01-17T14:00:53.000Z
#include "cs.h" /* x=A\b where A is symmetric positive definite; b overwritten with solution */ CS_INT cs_cholsol(CS_INT order, const cs* A, CS_ENTRY* b) { CS_ENTRY* x; css* S; csn* N; CS_INT n, ok; if (!CS_CSC(A) || !b) { return (0); } /* check inputs */ n = A->n; S = cs_schol(o...
31.185185
79
0.483373
thatmooglie
f595936fa2415f4fd4f84723cd7ca17c1f20799a
234
cc
C++
simple-test-program/test.cc
gusenov/examples-gtest
4c2da11aea2d114fe5f7a33c84aed6495b4aaa19
[ "MIT" ]
1
2021-12-25T21:35:54.000Z
2021-12-25T21:35:54.000Z
simple-test-program/test.cc
gusenov/examples-gtest
4c2da11aea2d114fe5f7a33c84aed6495b4aaa19
[ "MIT" ]
null
null
null
simple-test-program/test.cc
gusenov/examples-gtest
4c2da11aea2d114fe5f7a33c84aed6495b4aaa19
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <string> TEST(FooTest, Foo) { std::string foo("foo"); EXPECT_STREQ("foo", foo.c_str()); } int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
18
41
0.653846
gusenov
f5961e8f0d68ed56253795151ded30646697bee3
887
cpp
C++
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
#include <moja/datarepository/landunitinfo.h> #include <moja/test/mockaspatialtileinfo.h> #include <boost/test/unit_test.hpp> using moja::datarepository::LandUnitInfo; using moja::test::MockAspatialTileInfo; BOOST_AUTO_TEST_SUITE(LandUnitInfoTests); BOOST_AUTO_TEST_CASE(datarepository_LandUnitInfo_Const...
30.586207
101
0.750846
YevenLourance
f59645bf0540bba3ebef773575b6b8a761f92080
12,541
cpp
C++
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
35.030726
137
0.728889
ORNL-BTRIC
f5973e76be760ccb5431975049488c77d9bf4592
638
cpp
C++
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-01-31T10:22:29.000Z
2021-08-29T08:25:12.000Z
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
6
2020-09-30T19:01:49.000Z
2020-12-17T15:10:54.000Z
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-09-21T14:19:32.000Z
2021-09-15T03:06:41.000Z
// // code_1.cpp // Algorithm // // Created by Mohd Shoaib Rayeen on 23/11/18. // Copyright © 2018 Shoaib Rayeen. All rights reserved. // #include <iostream> using namespace std; int kthSmallest(int arr[], int n, int k) { sort(arr, arr+n); return arr[k-1]; } int main() { int n; cout << "\nEnter ...
18.764706
78
0.523511
Jatin-Goyal5
60d6724ded3faac6c89df2a481c3676b9c87b110
925
cpp
C++
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { private: vector<TreeNode*> constructTree(int l, int r) { vector<TreeNode*> ans; if (l > r) { ...
25.694444
61
0.537297
tsenmu
60d826675a40b7b77af03c245ec391d50e0c87d9
4,925
hpp
C++
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
41
2016-03-19T02:31:54.000Z
2022-01-20T13:23:20.000Z
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
4
2017-07-18T21:17:45.000Z
2020-09-17T02:54:52.000Z
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
22
2016-03-17T14:14:36.000Z
2022-03-28T10:33:19.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2013. 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) // // See http://www.boost.org/libs/contain...
31.369427
90
0.655431
fduffy
60d82f9ea1605997d1fa082bb16e6bc9a8d02a9a
7,234
cpp
C++
hmi_sdk/UIShare/UI/Slider/Slider.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
4
2016-09-21T12:36:24.000Z
2020-10-29T01:45:03.000Z
hmi_sdk/UIShare/UI/Slider/Slider.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
7
2016-06-01T01:21:44.000Z
2017-11-03T08:18:23.000Z
hmi_sdk/UIShare/UI/Slider/Slider.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
8
2017-08-29T10:51:50.000Z
2021-03-24T10:19:11.000Z
#include "Slider.h" #include "QHBoxLayout" #include "QVBoxLayout" #include "UI/Config/Config.h" #include "Common/AppBase.h" Slider::Slider(AppListInterface * pList, QWidget *parent) : AppBase(pList, parent),m_iPos(0),m_bDynamic(false) { InitLayout(); connect(&m_timer,SIGNAL(timeout()),this,SLOT(ti...
29.769547
148
0.621371
APCVSRepo
60d8989a920e906e24ec3684360cf394dfcf6513
47,612
cpp
C++
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
498
2018-01-25T00:14:48.000Z
2020-04-03T16:21:44.000Z
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2021-2022 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...
43.205082
80
0.608943
cfRod
60d9059ece51cd24e336ac5ee1826e2a584293f4
307
hxx
C++
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#pragma once #include "appplex-conf.hxx" #ifdef MOD_SWS_DROP_DOWN_LIST_TST #include "mws-mod.hxx" class mod_sws_drop_down_list_tst : public mws_mod { public: static mws_sp<mod_sws_drop_down_list_tst> nwi(); virtual void build_sws() override; private: mod_sws_drop_down_list_tst(); }; #endif
14.619048
51
0.765472
indigoabstract
60db821a92f86bbc26237642c9e518a42ace9403
5,349
cpp
C++
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining a...
22.56962
92
0.673584
Scriptkiddi
60dc323d8adce98e1d3c9d35cc26ada21b77c606
1,722
cc
C++
atom/browser/net/url_request_string_job.cc
Jeket/electron
f41cce96a3afa8c4cf6fe57f9ec904502abed524
[ "MIT" ]
7
2018-02-05T11:43:49.000Z
2022-02-09T20:28:20.000Z
atom/browser/net/url_request_string_job.cc
Jeket/electron
f41cce96a3afa8c4cf6fe57f9ec904502abed524
[ "MIT" ]
1
2018-04-03T23:04:37.000Z
2018-04-03T23:04:37.000Z
atom/browser/net/url_request_string_job.cc
Jeket/electron
f41cce96a3afa8c4cf6fe57f9ec904502abed524
[ "MIT" ]
2
2017-08-25T18:58:44.000Z
2019-10-22T14:59:04.000Z
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/net/url_request_string_job.h" #include <string> #include "atom/common/atom_constants.h" #include "net/base/net_errors.h" namespace atom { URLRequestStringJob...
28.7
76
0.713705
Jeket
60dc566e97861e559e5f744a595e973d2fd05a11
7,141
cc
C++
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
1
2019-12-23T20:23:43.000Z
2019-12-23T20:23:43.000Z
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
1
2020-04-22T01:47:46.000Z
2020-04-22T01:47:46.000Z
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
39.236264
80
0.734071
5GApp
60dccdae8ea56b5fd5247873927f82ccd820f6e7
3,650
cpp
C++
src/project 1/Venda.cpp
daviddias99/pharmacy-chain-feup-aeda
d4fa732570f3539828a4c4191d733661dfa4fb9c
[ "MIT" ]
null
null
null
src/project 1/Venda.cpp
daviddias99/pharmacy-chain-feup-aeda
d4fa732570f3539828a4c4191d733661dfa4fb9c
[ "MIT" ]
null
null
null
src/project 1/Venda.cpp
daviddias99/pharmacy-chain-feup-aeda
d4fa732570f3539828a4c4191d733661dfa4fb9c
[ "MIT" ]
null
null
null
#include "Venda.h" Venda::Venda(uint cID, string client, uint eID, string empreg, string farm, string time) : idCliente(cID), nomeCliente(client), idEmpregado(eID), nomeEmpregado(empreg), nomeFarmacia(farm) { preco = 0; if (time == "") { this->timestamp_venda = Timestamp(); } else { this->timestamp_venda = Ti...
21.856287
189
0.62274
daviddias99
60de989362d80602f82c1e9ce89708866107e400
14,767
hxx
C++
Modules/Nonunit/Review/include/itkRegionBasedLevelSetFunction.hxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
1
2021-08-19T14:33:55.000Z
2021-08-19T14:33:55.000Z
Modules/Nonunit/Review/include/itkRegionBasedLevelSetFunction.hxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
null
null
null
Modules/Nonunit/Review/include/itkRegionBasedLevelSetFunction.hxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
1
2022-02-16T08:20:20.000Z
2022-02-16T08:20:20.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...
37.575064
120
0.707659
arobert01
60dee2530edceb806c0a2d4f9e00ec189021786d
9,708
cpp
C++
src/dev/btietz/tgRBString.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
148
2015-01-08T22:44:00.000Z
2022-03-19T18:42:48.000Z
src/dev/btietz/tgRBString.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
107
2015-01-02T16:41:42.000Z
2021-06-14T22:09:19.000Z
src/dev/btietz/tgRBString.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
86
2015-01-06T07:02:36.000Z
2022-02-28T17:36:14.000Z
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
28.979104
85
0.626494
wvat
60e185b99620b37ab58388bc558cc2db494aaa54
7,909
cpp
C++
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
1
2019-07-13T03:36:11.000Z
2019-07-13T03:36:11.000Z
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { namespace PropertyViewUi { const cstr cLocation = "EditorUi/PropertyView"; Tweakable(float, ObjectSize, Pixels(24), cLocation); // Size of objects Tweakable(float, PropertySize, Pixels(20), cLocation); // Size of each property wid...
24.335385
119
0.706916
RyanTylerRae
60e2788527ed01a599fa809c6a1f49167236d0aa
486
cpp
C++
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
/* * timer.cpp * * Created on: 2015年9月3日 * Author: gavinlli */ #include "timer.h" #include <stdio.h> timer::timer() { // TODO Auto-generated constructor stub start(); } timer::~timer() { // TODO Auto-generated destructor stub } void timer::start() { gettimeofday( &m_start, NULL); } int timer::get_ti...
15.1875
90
0.654321
ligavin
60e3e59bd360f21b7706c8e52dd1f38325b0eca2
8,220
cpp
C++
src/esp/gfx/PbrDrawable.cpp
vauduong/habitat-sim
08f5dcae8cb9e94e0985f8134affdb0e8ce1cc2c
[ "MIT" ]
1
2021-03-03T22:17:53.000Z
2021-03-03T22:17:53.000Z
src/esp/gfx/PbrDrawable.cpp
vauduong/habitat-sim
08f5dcae8cb9e94e0985f8134affdb0e8ce1cc2c
[ "MIT" ]
1
2021-12-20T20:36:46.000Z
2021-12-20T20:36:46.000Z
src/esp/gfx/PbrDrawable.cpp
vauduong/habitat-sim
08f5dcae8cb9e94e0985f8134affdb0e8ce1cc2c
[ "MIT" ]
3
2021-06-16T19:42:39.000Z
2021-12-16T16:53:38.000Z
// 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 "PbrDrawable.h" #include <Corrade/Containers/ArrayViewStl.h> #include <Corrade/Utility/FormatStl.h> #include <Magnum/GL/Renderer.h>...
37.706422
79
0.688078
vauduong
60e4f5770fc568b86fcf87e11b9894989b363963
5,326
cpp
C++
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gtest/gtest.h> #include "framework/integration_framework/integration_test_framework.hpp" #include "integration/acceptance/acceptance_fixture.hpp" using namespace integration_framework; using namespace shared...
33.496855
80
0.68344
coderintherye
60ea2a29a841e1e17d40941f86a0c9b44396435d
273
cpp
C++
wrapper/Lua/methods/Helper.cpp
arrayfire/arrayfire-lua
5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec
[ "BSD-3-Clause" ]
10
2015-09-21T07:20:20.000Z
2019-07-29T10:36:50.000Z
wrapper/Lua/methods/Helper.cpp
arrayfire/arrayfire-lua
5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec
[ "BSD-3-Clause" ]
3
2015-09-20T06:15:41.000Z
2017-02-27T01:38:04.000Z
wrapper/Lua/methods/Helper.cpp
arrayfire/arrayfire_lua
5cd1e7702cd37d3bae60cfbc819c01cda1d0f6ec
[ "BSD-3-Clause" ]
5
2015-09-21T10:12:43.000Z
2021-03-05T02:07:50.000Z
#include "../methods.h" #include "../template/out_in.h" // static const struct luaL_Reg helper_methods[] = { OUTIN_ARG(cast, af_dtype), OUTIN(isinf), OUTIN(iszero), { NULL, NULL } }; int Helper (lua_State * L) { luaL_register(L, NULL, helper_methods); return 0; }
15.166667
49
0.673993
arrayfire
60eadec343c01187f38466d14ec8d8a7cd56cdfc
18,616
cpp
C++
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
1
2019-10-12T12:07:01.000Z
2019-10-12T12:07:01.000Z
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
null
null
null
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
1
2019-12-04T17:45:29.000Z
2019-12-04T17:45:29.000Z
#include "game_code/puzzle_data.hpp" #include "game_code/game.hpp" #include "game_code/grid.hpp" #include "game_code/card.hpp" #include "game_code/puzzle.hpp" #include "game_code/alien.hpp" #include "game_code/walking_alien.hpp" #include "game_code/black_bird.hpp" #include "game_code/butterfly.hpp" #include "game_code/...
29.409163
102
0.538408
zimspy007
60ebdecbb33d45a182fe10debff0c30be64326d6
4,950
cpp
C++
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
1
2019-05-14T07:38:25.000Z
2019-05-14T07:38:25.000Z
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
1
2018-08-23T12:40:56.000Z
2018-08-23T12:40:56.000Z
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file networkmaterial.cpp * @author Lorenz Esch <[email protected]>; * Matti Hamalainen <[email protected]> * @version 1.0 * @date January, 2017 * * @section LICENSE ...
50.510204
152
0.512727
MagCPP
60ec177ca5e627bef410fbbde50345d25401a309
6,304
cpp
C++
android/jni/com/mapswithme/maps/taxi/TaxiManager.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
android/jni/com/mapswithme/maps/taxi/TaxiManager.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
android/jni/com/mapswithme/maps/taxi/TaxiManager.cpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#include "com/mapswithme/maps/Framework.hpp" #include "com/mapswithme/core/jni_helper.hpp" #include "partners_api/taxi_provider.hpp" namespace { jclass g_productClass; jclass g_taxiManagerClass; jclass g_taxiInfoClass; jclass g_taxiInfoErrorClass; jmethodID g_taxiInfoConstructor; jmethodID g_taxiInfoErrorConstructor;...
41.748344
119
0.699873
ruilin
60ed2726f07b48d025023c8a7013c9efef8bba93
921
hpp
C++
15_GameLoopsUserInput/lve_model.hpp
vladiant/VulkanTutorial
9b1be76c2130e1a771c1b92557541dba55fa0ff7
[ "MIT" ]
null
null
null
15_GameLoopsUserInput/lve_model.hpp
vladiant/VulkanTutorial
9b1be76c2130e1a771c1b92557541dba55fa0ff7
[ "MIT" ]
null
null
null
15_GameLoopsUserInput/lve_model.hpp
vladiant/VulkanTutorial
9b1be76c2130e1a771c1b92557541dba55fa0ff7
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "lve_device.hpp" #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE #include <glm/glm.hpp> namespace lve { class LveDevice; class LveModel { public: struct Vertex { glm::vec3 position; glm::vec3 color; static std::vector<VkVertexInputBindingDescri...
20.466667
80
0.751357
vladiant
60eec60018467016f3b41e2931e782248998080f
21,511
cpp
C++
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
1
2019-11-25T04:54:55.000Z
2019-11-25T04:54:55.000Z
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
null
null
null
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
49.111872
120
0.653247
asuonpaa
60efdfc55aaa66a4e13017dad0f7d11df599b474
11,689
cc
C++
zircon/system/ulib/ftl/ftln/ndm-driver.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
3
2021-09-02T07:21:06.000Z
2022-03-12T03:20:10.000Z
zircon/system/ulib/ftl/ftln/ndm-driver.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
null
null
null
zircon/system/ulib/ftl/ftln/ndm-driver.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
2
2022-02-25T12:22:49.000Z
2022-03-12T03:20:10.000Z
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/ftl/ndm-driver.h> #include <stdarg.h> #include <zircon/assert.h> #include <memory> #include <optional> #include "ftl.h" #include "ftl_priva...
30.361039
98
0.695611
liexusong
60f0c82f8c9af612e75f5ef9960dbc8b1ca8c3d3
12,684
hpp
C++
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_ATOMIC_DETAIL_BASE_HPP #define BOOST_ATOMIC_DETAIL_BASE_HPP // Copyright (c) 2009 Helge Bahmann // // 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) // Base class definition and fallback implemen...
24.725146
99
0.622044
juslee
60f468280dabfd003c3f29bd05c07f724b45b4ac
911
hpp
C++
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
#pragma once #include "Object.hpp" #include <vector> class KeyValueDatabase : public Object { public: KeyValueDatabase(const std::string& name, const std::string& location, const std::string& extension); void add_entry(const std::pair<std::string, int>& entry); int get_value(const std::string& key) cons...
28.46875
105
0.712404
nia-flo
60f544e61753fe9be01c6bfe6caff72dc3cfbed1
320
cpp
C++
C++/zigZagPattern.cpp
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
1
2021-10-09T11:48:21.000Z
2021-10-09T11:48:21.000Z
C++/zigZagPattern.cpp
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
null
null
null
C++/zigZagPattern.cpp
Chanchal2125/Hacktoberfest2021_PatternMaking
c962f1e93f45a97351fbffc49ed1fc526741d772
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(int argc, char *argv[]) { int c; cin>>c; int r = 3; for(int i=1; i<=r; i++){ for(int j=1; j<=c; j++){ if((j+i)%4==0){ cout<<"*"; } else if((j%4==0 && i==2)){ cout<<"*"; } else{ cout<<" "; } } cout<<endl; } return 0; }
11.034483
32
0.428125
Chanchal2125
60f784ab8f262a7bbaab47844a0b93133bd1444b
189
hpp
C++
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
2
2021-04-13T15:38:42.000Z
2021-06-13T16:12:11.000Z
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
1
2021-06-07T08:14:24.000Z
2021-06-07T08:14:44.000Z
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
null
null
null
#pragma once #include <type_traits> #include <riw/concepts/integral.hpp> namespace riw { template <class Type> concept signed_integral = riw::integral<Type> && std::is_signed_v<Type>; }
17.181818
72
0.746032
SachiSakurane
60f9c89cdcc144305597557c7d60663853036b26
979
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <Snippet3> #using <System.dll> #using <System.Messaging.dll> using namespace System; using namespace System::Messaging; // placeholder; see complete definition elsewhere in this section public ref class Order { public: int itemId; int quantity; String^ address; void ShipItems(){} }...
20.829787
66
0.6476
hamarb123
60fb49517674a641dcb6cfb9ed7be53c047bee15
6,978
cc
C++
chrome/browser/apps/app_service/built_in_chromeos_apps.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/apps/app_service/built_in_chromeos_apps.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/apps/app_service/built_in_chromeos_apps.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/apps/app_service/built_in_chromeos_apps.h" #include <utility> #include <vector> #include "ash/public/cpp/app_list/app_list_metr...
39.874286
84
0.691745
sarang-apps
60fb7467cd56855f2f511e3fd6c6023de48b5585
11,302
hpp
C++
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: HMUI.CircleSli...
63.494382
332
0.750133
Fernthedev
60fbe922ed8a64b7ceae9b263b0cb60e2a62e301
119
cpp
C++
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include "MapSpin.hpp" #include <wx/spinctrl.h> MapSpin::MapSpin() { //ctor } MapSpin::~MapSpin() { //dtor }
9.153846
24
0.596639
EnjoMitch
60fc05cd42d75e31402cc1252b989149b56c63fa
5,365
hpp
C++
modules/core/elliptic/include/nt2/toolbox/elliptic/functions/scalar/ellipke.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/core/elliptic/include/nt2/toolbox/elliptic/functions/scalar/ellipke.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
modules/core/elliptic/include/nt2/toolbox/elliptic/functions/scalar/ellipke.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
35.529801
85
0.459273
timblechmann
60fdd3353c1bec13e9aba440f1f8d2410a5768c7
345
cpp
C++
src_db/base_io_stream/OutputStream.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_db/base_io_stream/OutputStream.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_db/base_io_stream/OutputStream.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * OutputStream.cpp * * Created on: 2018/04/19 * Author: iizuka */ #include "debug/debugMacros.h" #include "OutputStream.h" namespace alinous { OutputStream::OutputStream() { } OutputStream::~OutputStream() { } void OutputStream::write(const char* buffer, int size) { write(buffer, 0, size); } }...
13.269231
56
0.657971
alinous-core
8801d684bd26fb6bcbb6b3c1be97d0e1658c1342
901
cpp
C++
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
4
2022-02-25T05:53:12.000Z
2022-03-21T02:42:39.000Z
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
null
null
null
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> const int N = 1e5 + 5; int arr[N]; // arr, [start, end], k int quickSelection(int *arr, int start, int end, int k) { // exit condition if (start >= end) return arr[start]; int left = start - 1, right = end + 1; int pivot = arr[(left + right) >> 1]; while (left <...
21.452381
74
0.473918
digSelf
88028aa144f2dcf090153252157a1b9b46e13279
8,707
cc
C++
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
52
2018-11-12T06:39:35.000Z
2022-03-08T05:31:27.000Z
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
2
2018-12-04T08:35:40.000Z
2020-10-22T16:17:39.000Z
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
17
2019-03-11T01:17:16.000Z
2022-02-21T00:44:47.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
37.530172
80
0.653153
aeverall
8802ea92bd86d33480b6eac24195b90b8613c4a0
10,662
cpp
C++
LearnVideoToolBox/Tutorial05-LiveSample/LearnLIVE/Pods/LFLiveKit/LFLiveKit/coder/H264/LFNALUnit.cpp
xuyushiguang/video_audio
06290205568d5bd6981be06d6fa4b97bbebca63d
[ "MIT" ]
50
2017-01-22T20:10:31.000Z
2020-11-18T08:24:48.000Z
LearnVideoToolBox/Tutorial05-LiveSample/LearnLIVE/Pods/LFLiveKit/LFLiveKit/coder/H264/LFNALUnit.cpp
xuyushiguang/video_audio
06290205568d5bd6981be06d6fa4b97bbebca63d
[ "MIT" ]
4
2017-03-10T15:23:25.000Z
2019-01-07T17:51:06.000Z
LearnVideoToolBox/Tutorial05-LiveSample/LearnLIVE/Pods/LFLiveKit/LFLiveKit/coder/H264/LFNALUnit.cpp
xuyushiguang/video_audio
06290205568d5bd6981be06d6fa4b97bbebca63d
[ "MIT" ]
21
2017-03-14T10:03:16.000Z
2018-08-31T16:15:24.000Z
// // NALUnit.cpp // // Implementation of Basic parsing of H.264 NAL Units // // Geraint Davies, March 2004 // // Copyright (c) GDCL 2004-2008 http://www.gdcl.co.uk/license.htm #include "LFNALUnit.h" // --- core NAL Unit implementation ------------------------------ LFNALUnit::LFNALUnit() : m_pStart(NULL), ...
25.087059
95
0.518008
xuyushiguang
8802ec4a570f0f3dc44f28ca128c2d8668595f6e
7,243
cpp
C++
src/kre/ParticleSystemParameters.cpp
sweetkristas/hex_test
c29f8ad781e580bc80f43addcfce654e08ca0bc4
[ "MIT" ]
6
2017-11-16T06:07:37.000Z
2020-06-26T20:24:01.000Z
src/kre/ParticleSystemParameters.cpp
sweetkristas/hex_test
c29f8ad781e580bc80f43addcfce654e08ca0bc4
[ "MIT" ]
null
null
null
src/kre/ParticleSystemParameters.cpp
sweetkristas/hex_test
c29f8ad781e580bc80f43addcfce654e08ca0bc4
[ "MIT" ]
3
2017-04-11T15:42:54.000Z
2018-07-07T09:48:56.000Z
/* Copyright (C) 2013-2014 by Kristina Simpson <[email protected]> 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 pur...
27.229323
104
0.670717
sweetkristas
880645a72ed6c6aba599567a2a8e11188d975479
3,378
cxx
C++
tomviz/operators/OperatorResult.cxx
sukhsung/tomviz
b5ab44440be94476093206672e527c54098b58c7
[ "BSD-3-Clause" ]
null
null
null
tomviz/operators/OperatorResult.cxx
sukhsung/tomviz
b5ab44440be94476093206672e527c54098b58c7
[ "BSD-3-Clause" ]
null
null
null
tomviz/operators/OperatorResult.cxx
sukhsung/tomviz
b5ab44440be94476093206672e527c54098b58c7
[ "BSD-3-Clause" ]
null
null
null
/* This source file is part of the Tomviz project, https://tomviz.org/. It is released under the 3-Clause BSD License, see "LICENSE". */ #include "OperatorResult.h" #include "ActiveObjects.h" #include "ModuleFactory.h" #include "ModuleManager.h" #include "ModuleMolecule.h" #include <vtkDataObject.h> #include <vtk...
23.458333
77
0.747484
sukhsung
88092dcacdb9dacb0171f27c1fdba05360e57e51
207
hpp
C++
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
typedef double (*Callback)( void *apply, const double &x ); void function( Callback callback, void *apply, const double *x, double *y, int n );
23
59
0.492754
gregvw
8809853778cab2d11a104a5a4c384d51aae913f2
5,570
cc
C++
chrome/browser/protector/session_startup_change_unittest.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2016-03-10T09:13:57.000Z
2016-03-10T09:13:57.000Z
chrome/browser/protector/session_startup_change_unittest.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
1
2022-03-13T08:39:05.000Z
2022-03-13T08:39:05.000Z
chrome/browser/protector/session_startup_change_unittest.cc
gavinp/chromium
681563ea0f892a051f4ef3d5e53438e0bb7d2261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/memory/scoped_ptr.h" #include "base/utf_string_conversions.h" #include "base/values.h" #include "chrome/browser/prefs/session_startup_p...
40.656934
75
0.735189
gavinp
880bd00f22dbf5087fd53e5e1aff990899148672
14,303
cpp
C++
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
null
null
null
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
null
null
null
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
3
2019-05-16T07:22:51.000Z
2019-11-11T03:05:32.000Z
/* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/get_info.h" #include "runtime/mem_obj/image.h" #include "runtime/sharings/gl/gl_texture.h" #include "test.h" #include "unit_tests/libult/create_command_stream.h" #include "unit_tests/libult/ult_command_s...
41.33815
218
0.709851
cwang64
880c3ccccb127bf5b1b32c7c54718037fce865e1
261
cpp
C++
src/MySphere.cpp
nicholaschiasson/N3DIL
5b598b340c4850cb06f92194f48aa10c76a578aa
[ "MIT" ]
null
null
null
src/MySphere.cpp
nicholaschiasson/N3DIL
5b598b340c4850cb06f92194f48aa10c76a578aa
[ "MIT" ]
5
2015-10-19T03:35:56.000Z
2015-11-03T22:19:26.000Z
src/MySphere.cpp
nicholaschiasson/N3DIL
5b598b340c4850cb06f92194f48aa10c76a578aa
[ "MIT" ]
null
null
null
#include "MySphere.h" #include "MyIncludes.h" MySphere::MySphere(MyIndexedVertexArray *vertexArray, MyVector3D & position, MyVector3D & scale, MyVector3D & rotation) : MyGraphicsObject3D(vertexArray, position, scale, rotation) { } MySphere::~MySphere() { }
20.076923
121
0.758621
nicholaschiasson
880f5d2038863ba860602fb540447258bd39b302
5,781
cpp
C++
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
#include "InputSample.h" InputSample::InputSample() { } InputSample::~InputSample() { } void InputSample::Draw() const { // Note: This code was based on VitaTester (hence the code inside the Draw function instead of the respective event functions). // https://github.com/SMOKE5/VitaTester // // You can however ...
26.640553
163
0.702647
MSeys
8811e63ba85df59615c1468a1fb1ee9b480581d3
811
hpp
C++
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
// // CSprite.hpp // TimGameLib // // Created by Tim Brier on 18/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // #ifndef __TimeGameLib__CSprite__ #define __TimeGameLib__CSprite__ // ============================================================================= // Include files // -------------------...
27.033333
80
0.420469
sizlo
8814c5fa438660fa67acf61756d1f707129f6e9a
3,674
hpp
C++
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
2
2019-11-28T11:45:50.000Z
2020-03-25T13:38:29.000Z
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
null
null
null
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
null
null
null
#ifndef MEASURE_HPP #define MEASURE_HPP #include "Node.hpp" #include <Image.hpp> #include "Interpolator.hpp" namespace measure{ /** * A Context holds time-local variables necessary for locally * computing a measure and its gradients. **/ struct Context{ /** * \param timesteps The number of tim...
26.056738
106
0.650517
RuneKokNielsen
8816bf9e86f575c772285e37008732f0191fcafc
42,515
cc
C++
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
///////////////////////////////////////////////////////////////////////// // $Id: cdrom.cc,v 1.91 2008/02/15 22:05:41 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir // 75002 Paris...
28.745774
136
0.607809
bavison
88186ab5216e70a07cd9ba1bf0f18b94e9fc1707
6,854
cpp
C++
common/state/StateUtils.cpp
sambacha/private-data-objects
635049918b362ba81ad74469cbea6b2c53380d9e
[ "Apache-2.0" ]
84
2018-05-04T15:07:53.000Z
2022-03-23T09:38:17.000Z
common/state/StateUtils.cpp
sambacha/private-data-objects
635049918b362ba81ad74469cbea6b2c53380d9e
[ "Apache-2.0" ]
218
2018-05-07T20:10:25.000Z
2022-03-23T17:27:44.000Z
common/state/StateUtils.cpp
sambacha/private-data-objects
635049918b362ba81ad74469cbea6b2c53380d9e
[ "Apache-2.0" ]
33
2018-03-02T20:32:18.000Z
2021-09-17T07:07:57.000Z
/* Copyright 2018, 2019 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
36.849462
116
0.688503
sambacha
88188a5e0d124303c5bd9fef3d117e60e38af905
392
cc
C++
src/gdb/gdb-7.11/gdb/testsuite/gdb.linespec/base/two/thefile.cc
aps337/unum-sdk
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.linespec/base/two/thefile.cc
aps337/unum-sdk
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
[ "Apache-2.0" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
src/gdb/gdb-7.11/gdb/testsuite/gdb.linespec/base/two/thefile.cc
aps337/unum-sdk
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
[ "Apache-2.0" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
/* The commented line must have the same line number in the other "thefile.c". */ #define WANT_F2 #include "../../lspec.h" static int dupname(int y) { label: return y; } static int twodup () { return 0; } int n(int y) { int v = dupname(y) - 23; /* thefile breakpoint */ return v + twodup (); /* after dup...
14.518519
65
0.617347
aps337
8818cfcc689f073b42bba15806349f2a6b9723ae
3,594
cpp
C++
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
3
2019-12-23T12:36:18.000Z
2021-07-24T09:16:13.000Z
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
null
null
null
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
4
2019-12-23T11:35:21.000Z
2020-01-09T17:04:46.000Z
#include <QApplication> #include <QQuickView> #include <QQmlEngine> #include "Scene.hpp" #include "LogTrackSceneCameraManipulator.hpp" #include "LineStrip.hpp" class Helper : public QObject { Q_OBJECT public: enum Direction { Horizontal = 0x1, Vertical = 0x2 }; Q_DECLARE_FLAGS(Di...
31.526316
104
0.625765
rogii-com
881a60b3575d9e22c077bfd2cbb6b5d55ce32ad5
3,509
cxx
C++
Base/QTGUI/qSlicerCommandOptions.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerCommandOptions.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerCommandOptions.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
33.740385
116
0.538615
TheInterventionCentre
881ac0e526f8969eddcaee9b751e246cf780bcca
3,383
cpp
C++
modules/cimg/tests/unittests/savetobuffer-test.cpp
alexanderbock/inviwo
5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c
[ "BSD-2-Clause" ]
349
2015-01-30T09:21:52.000Z
2022-03-25T03:10:02.000Z
modules/cimg/tests/unittests/savetobuffer-test.cpp
alexanderbock/inviwo
5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c
[ "BSD-2-Clause" ]
641
2015-09-23T08:54:06.000Z
2022-03-23T09:50:55.000Z
modules/cimg/tests/unittests/savetobuffer-test.cpp
alexanderbock/inviwo
5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c
[ "BSD-2-Clause" ]
124
2015-02-27T23:45:02.000Z
2022-02-21T09:37:14.000Z
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
36.376344
99
0.691398
alexanderbock
881afe4df63cbad01e892ec69a5829f625bbdc71
5,329
cpp
C++
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
#include "shear_prod2D.h" void shear_prod2D(real4d &def2) { YAKL_SCOPE( dx , :: dx ); YAKL_SCOPE( dz , :: dz ); YAKL_SCOPE( adz , :: adz ); YAKL_SCOPE( adzw , :: adzw ); YAKL_SCOPE( u , :: u ); YAKL_SCOPE( v , :: v ); YAKL_SCOPE( w ...
52.245098
117
0.536874
katsmith133
881bcd5f5848285edc638fdb9594440aa969d9cd
2,317
cpp
C++
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/string/compare_icase.cpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2007-2017 Timo Bingmann <[email protected]> * * All rights reserved. Published under the Boost Software License, Version 1.0 *****************...
24.648936
80
0.45792
bingmann
881c429235adc29f370d5f644492664e29004cc0
697
cpp
C++
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
#define PROBLEM "https://judge.yosupo.jp/problem/frequency_table_of_tree_distance" #include "GraphTheory/CentroidDecomposition.hpp" #include "Convolution/FastFourierTransform.hpp" #include "Algorithm/frequency_table_of_tree_distance.hpp" #include <cstdio> #include <vector> int main() { int N; scanf("%d"...
31.681818
100
0.658537
tkmst201
881d56651aeecec4bc2890f12242657b3b70e0fc
15,572
cpp
C++
math/vectorfunction.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
57
2015-05-07T18:07:11.000Z
2022-03-18T18:44:39.000Z
math/vectorfunction.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
7
2018-12-10T21:46:52.000Z
2022-01-20T19:49:11.000Z
math/vectorfunction.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
36
2015-01-10T18:36:45.000Z
2022-01-20T19:49:24.000Z
#include <KrisLibrary/Logger.h> #include "vectorfunction.h" #include "metric.h" #include "indexing.h" #include <errors.h> #include <iostream> using namespace Math; using namespace std; std::string NormScalarFieldFunction::Label() const { if(degree == Two) return "L2Norm"; else if(degree == One) return "L1Norm"; ...
21.597781
140
0.671654
smeng9
881fe9b8b9420a66c28f4be777b79ec61f7a32ac
6,224
cpp
C++
PopcornTime_Desktop-src/Import/QtAV/src/opengl/SubImagesGeometry.cpp
officialrafsan/POPCORNtime
b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782
[ "MIT" ]
null
null
null
PopcornTime_Desktop-src/Import/QtAV/src/opengl/SubImagesGeometry.cpp
officialrafsan/POPCORNtime
b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782
[ "MIT" ]
null
null
null
PopcornTime_Desktop-src/Import/QtAV/src/opengl/SubImagesGeometry.cpp
officialrafsan/POPCORNtime
b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782
[ "MIT" ]
null
null
null
/****************************************************************************** QtAV: Multimedia framework based on Qt and FFmpeg Copyright (C) 2012-2016 Wang Bin <[email protected]> * This file is part of QtAV (from 2016) This library is free software; you can redistribute it and/or modify it unde...
30.213592
241
0.560893
officialrafsan
8820d7c40c0d4b7395950dbe80bb81a78815f8f5
1,225
cpp
C++
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
#include "global.h" /** * @brief * SYNTAX: LOAD relation_name */ bool syntacticParseLOADMATRIX() { logger.log("syntacticParseLOADMATRIX"); if (tokenizedQuery.size() != 3) { cout << "SYNTAX ERROR PLEASE SPECIFY MATRIX NAME" << endl; return false; } parsedQuery.queryTy...
26.06383
118
0.62449
bhavyajeet
88220f53e046ce6c80b1138b272aac1adbc5884b
1,502
cpp
C++
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <vector> #include <gtest/gtest.h> #include <gridtools/stencil_composition/cartesian.hpp> #include <gridtools/tools/car...
25.033333
114
0.62783
aurianer
88225addc320c91a69c06e582c018e8bc49de7b2
226
hpp
C++
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
8
2018-05-25T17:58:46.000Z
2018-06-23T21:13:26.000Z
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
14
2018-05-25T19:44:30.000Z
2018-08-03T11:35:27.000Z
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
6
2018-05-30T04:37:46.000Z
2019-03-05T14:47:34.000Z
#ifndef SINGULARITY_HPP #define SINGULARITY_HPP #include <graphene/singularity/emission.hpp> #include <graphene/singularity/gravity_index_calculator.hpp> #include <graphene/singularity/activity_index_calculator.hpp> #endif
22.6
61
0.845133
petrkotegov
882407e038138ed1b82282d20ca8912d00060b27
17,985
cc
C++
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
null
null
null
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
null
null
null
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
1
2021-12-02T07:50:49.000Z
2021-12-02T07:50:49.000Z
// These violate our poisons so have to happen first #include "llvm/IR/DIBuilder.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/Support/Host.h" #include "llvm/Transforms/Utils/Cloning.h" #include "absl/cleanup/cleanup.h" #include "absl/strings/str_split.h"...
41.923077
120
0.617125
teamsimplepay
88243da6da01aa28eae1f7e434b85f789ab9feaa
2,757
hpp
C++
include/tmxlite/ObjectGroup.hpp
jsundgren/MindTheGap
baddbf2b50bd0b136f303402bcf2e26f3e089ba9
[ "MIT" ]
9
2018-11-11T12:56:29.000Z
2021-11-14T20:38:00.000Z
UrsusEngine/tmxlite/include/tmxlite/ObjectGroup.hpp
l1ttl3-Sh4m4n/UrsusEngine
a18074a6aae118ad6321ab6b352ad9904eff2070
[ "MIT" ]
null
null
null
UrsusEngine/tmxlite/include/tmxlite/ObjectGroup.hpp
l1ttl3-Sh4m4n/UrsusEngine
a18074a6aae118ad6321ab6b352ad9904eff2070
[ "MIT" ]
5
2018-11-11T21:16:29.000Z
2021-09-13T14:59:22.000Z
/********************************************************************* Matt Marchant 2016 http://trederia.blogspot.com tmxlite - Zlib license. 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. ...
32.05814
85
0.65506
jsundgren
88270e6a33ee9696f778d082a73fe4ba2efbac20
751
cpp
C++
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-02-04T17:59:00.000Z
2022-01-29T17:21:42.000Z
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
null
null
null
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-10-02T14:38:21.000Z
2021-10-05T06:19:22.000Z
#include <iostream> using namespace std; int main() { int T; cin >> T; while (T--) { int N, half, flag = 0; cin >> N; int arr[N]; for (int i = 0; i < N; i++) { cin >> arr[i]; } int count = 0; if (arr[N / 2] == 7 && arr[0] == 1) ...
19.763158
101
0.274301
C-Nikks
88272ef7427fbb6c6403d5ae5bcaea95374d8bb7
6,023
hh
C++
src/include/cpu.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/cpu.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
src/include/cpu.hh
tomblackwhite/alpha-emu
a371f7d094acbf02c83aa3940ff043f033b7cfe8
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <bitset> #include <cstdint> #include <functional> #include <unordered_map> #include <vector> using std::uint16_t; using std::uint8_t; using std::int8_t; using std::int16_t; /* 寻址方式 6502为小端 */ enum class AddressMode { // accumulator impiled single byte instruction // operand is AC (implied s...
22.307407
76
0.618297
tomblackwhite
88279010049a442451ff74bcd4820086458b91df
7,105
hpp
C++
bits.hpp
YagoMello/bits
0d82845930ee71b78a995eca59d470ae29f58f02
[ "Apache-2.0" ]
null
null
null
bits.hpp
YagoMello/bits
0d82845930ee71b78a995eca59d470ae29f58f02
[ "Apache-2.0" ]
null
null
null
bits.hpp
YagoMello/bits
0d82845930ee71b78a995eca59d470ae29f58f02
[ "Apache-2.0" ]
null
null
null
#ifndef BIT_HPP #define BIT_HPP /* Bit abstraction library * Author: Yago T. de Mello * e-mail: [email protected] * Version: 2.6.0 2021-11-24 * License: Apache 2.0 * C++20 */ /* Copyright 2021 Yago Teodoro de Mello Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
32.741935
117
0.666854
YagoMello
882840de7ca880ea01a5975c6dab60fba4d17445
15,689
cc
C++
src/global.cc
mk12/ledger
a285b2ad43f918cb80e24d2eef5b6739c325d769
[ "BSD-3-Clause" ]
null
null
null
src/global.cc
mk12/ledger
a285b2ad43f918cb80e24d2eef5b6739c325d769
[ "BSD-3-Clause" ]
null
null
null
src/global.cc
mk12/ledger
a285b2ad43f918cb80e24d2eef5b6739c325d769
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2003-2016, John Wiegley. 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 c...
29.770398
90
0.648161
mk12
882c699df89729f87108858b2ed7f0db4c1a6597
3,098
hpp
C++
include/ghost/connection/Reader.hpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
2
2019-10-05T06:51:49.000Z
2020-10-11T11:20:59.000Z
include/ghost/connection/Reader.hpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
24
2019-06-19T21:33:23.000Z
2020-10-04T11:36:41.000Z
include/ghost/connection/Reader.hpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Mathieu Nassar * * 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 ...
32.610526
106
0.732085
mathieunassar
882ef531b862ea0fc1050a04cd5bf921230d4b02
7,330
cpp
C++
src/grt/src/Grid.cpp
erictaur/OpenROAD
438dbb41316fc7fe27e2c405078aa465395125ba
[ "BSD-3-Clause" ]
525
2019-11-20T00:21:42.000Z
2022-03-31T05:38:44.000Z
src/grt/src/Grid.cpp
erictaur/OpenROAD
438dbb41316fc7fe27e2c405078aa465395125ba
[ "BSD-3-Clause" ]
741
2019-11-20T15:19:38.000Z
2022-03-31T23:09:17.000Z
src/grt/src/Grid.cpp
erictaur/OpenROAD
438dbb41316fc7fe27e2c405078aa465395125ba
[ "BSD-3-Clause" ]
215
2019-11-25T13:37:43.000Z
2022-03-28T00:51:29.000Z
///////////////////////////////////////////////////////////////////////////// // // BSD 3-Clause License // // Copyright (c) 2019, The Regents of the University of California // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the...
36.467662
80
0.629059
erictaur
8830fb955023a846e2bba1fe3f46edf3e85ebf78
1,796
hpp
C++
src/cc/Books/ElementsOfProgrammingInterviews/reference/ch16.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/reference/ch16.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/reference/ch16.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
#ifndef Books_ElementsOfProgrammingInterviews_reference_ch16_hpp #define Books_ElementsOfProgrammingInterviews_reference_ch16_hpp #include "Common/Tree.hpp" #include <array> #include <cstdlib> #include <memory> #include <sstream> #include <stack> #include <string> #include <vector> namespace reference { extern v...
32.071429
97
0.763363
nuggetwheat
883143a10ab0b7c390135c75b87f00ae8742b0ce
1,504
cpp
C++
src/Zelta/Concurrency/Worker.cpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-28T21:35:14.000Z
2018-01-28T21:35:14.000Z
src/Zelta/Concurrency/Worker.cpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2017-04-05T00:41:53.000Z
2017-04-05T00:41:53.000Z
src/Zelta/Concurrency/Worker.cpp
rafaelgc/ESE
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: Worker.cpp * Author: rafa * * Created on January 14, 2018, 3:42 PM */ #include <thread> #include <Zelta/Concurre...
20.888889
79
0.490691
RafaelGC
88324f4e7f3faa4b463c0f8817ec3aca16b6bcd6
15,738
cpp
C++
VirtualBox-5.0.0/src/VBox/Main/src-all/AutoCaller.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Main/src-all/AutoCaller.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Main/src-all/AutoCaller.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: AutoCaller.cpp $ */ /** @file * * VirtualBox object state implementation */ /* * Copyright (C) 2006-2014 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify ...
30.559223
88
0.627208
egraba
88337aa39dc78f9e6d0ab600afd2499272c41cf2
1,265
cpp
C++
benchmarks/Matmul/matmul_cpp.cpp
Cwc-Lib/Cello
139e04c3b2cc2c6a68f96637e0c53286ca5792c0
[ "BSD-2-Clause-FreeBSD" ]
4,067
2015-05-16T22:57:52.000Z
2022-03-30T05:40:04.000Z
benchmarks/Matmul/matmul_cpp.cpp
Cwc-Lib/Cello
139e04c3b2cc2c6a68f96637e0c53286ca5792c0
[ "BSD-2-Clause-FreeBSD" ]
59
2015-06-17T09:51:27.000Z
2021-09-24T20:15:21.000Z
benchmarks/Matmul/matmul_cpp.cpp
Cwc-Lib/Cello
139e04c3b2cc2c6a68f96637e0c53286ca5792c0
[ "BSD-2-Clause-FreeBSD" ]
308
2015-05-16T11:33:08.000Z
2022-03-18T00:26:28.000Z
#include <stdlib.h> class Matrix { public: size_t n; double** d; Matrix(int n); ~Matrix(); }; Matrix::Matrix(int n) { n = n; d = (double**)malloc(n * sizeof(double*)); for (int i = 0; i < n; ++i) { d[i] = (double*)calloc(n, sizeof(double)); } } Matrix::~Matrix() { for (int i = 0; i < n; ++i)...
17.569444
51
0.474308
Cwc-Lib
883627ecb1bb0fd9fb37228628fa884e89e94580
1,207
cpp
C++
Easy/804_uniqueMorseRepresentations/804_uniqueMorseRepresentations/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
1
2020-10-08T06:15:37.000Z
2020-10-08T06:15:37.000Z
Easy/804_uniqueMorseRepresentations/804_uniqueMorseRepresentations/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
null
null
null
Easy/804_uniqueMorseRepresentations/804_uniqueMorseRepresentations/main.cpp
yangbingjie/Leetcode
2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916
[ "MIT" ]
null
null
null
// // main.cpp // 804_uniqueMorseRepresentations // // Created by bella on 2020/7/13. // Copyright © 2020 bella. All rights reserved. // #include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: int uniqueMorseRepresentations(vector<string>& words) { const strin...
27.431818
70
0.429992
yangbingjie
883691f670992a0c290e8a73acb137feb1a5f71c
8,416
cc
C++
packager/media/formats/ttml/ttml_generator.cc
s3bubble/shaka-packager
77721fce857742744df7d118b651c6937dc90608
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,288
2016-05-25T01:20:31.000Z
2022-03-02T23:56:56.000Z
packager/media/formats/ttml/ttml_generator.cc
s3bubble/shaka-packager
77721fce857742744df7d118b651c6937dc90608
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
894
2016-05-17T00:39:30.000Z
2022-03-02T18:46:21.000Z
packager/media/formats/ttml/ttml_generator.cc
s3bubble/shaka-packager
77721fce857742744df7d118b651c6937dc90608
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
400
2016-05-25T01:20:35.000Z
2022-03-03T02:12:00.000Z
// Copyright 2020 Google LLC. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include "packager/media/formats/ttml/ttml_generator.h" #include "packager/base/base64.h" #includ...
34.921162
80
0.638308
s3bubble
88372d6cb574e2c1ea34aab80c4b97027579a58a
10,942
cpp
C++
libraries/GSM/src/GSM3ShieldV1DataNetworkProvider.cpp
RiddleAndCode/Arduino_Core_STM32
cf54e13565a50c0c61740d7f10e9f8f3ec4ede77
[ "Apache-2.0" ]
null
null
null
libraries/GSM/src/GSM3ShieldV1DataNetworkProvider.cpp
RiddleAndCode/Arduino_Core_STM32
cf54e13565a50c0c61740d7f10e9f8f3ec4ede77
[ "Apache-2.0" ]
null
null
null
libraries/GSM/src/GSM3ShieldV1DataNetworkProvider.cpp
RiddleAndCode/Arduino_Core_STM32
cf54e13565a50c0c61740d7f10e9f8f3ec4ede77
[ "Apache-2.0" ]
1
2021-02-20T07:43:44.000Z
2021-02-20T07:43:44.000Z
/* This file is part of the GSM3 communications library for Arduino -- Multi-transport communications platform -- Fully asynchronous -- Includes code for the Arduino-Telefonica GSM/GPRS Shield V1 -- Voice calls -- SMS -- TCP/IP connections -- HTTP basic clients This library has been developed by Telefónica Digital - P...
27.218905
126
0.690733
RiddleAndCode
883a01ad6d74daecde45b1d28a806ac57b5e9048
8,363
hpp
C++
src/lapack_like/factor/LDL/dense/Pivoted/BunchKaufmanD.hpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/factor/LDL/dense/Pivoted/BunchKaufmanD.hpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/factor/LDL/dense/Pivoted/BunchKaufmanD.hpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #ifndef EL_LDL_PIVOTED_BUNCHKAUFMAND_HPP #define EL_LDL...
28.158249
77
0.541672
jeffhammond
883aee3faf69fbf315c3a1f6ccb983bc8a2e682a
1,070
cpp
C++
Leetcode/2001-3000/2065. Maximum Path Quality of a Graph/2065.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2065. Maximum Path Quality of a Graph/2065.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/2001-3000/2065. Maximum Path Quality of a Graph/2065.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int maximalPathQuality(vector<int>& values, vector<vector<int>>& edges, int maxTime) { const int n = values.size(); int ans = 0; vector<vector<pair<int, int>>> graph(n); vector<int> seen(n); seen[0] = 1; for (const auto& e : edges) { co...
27.435897
76
0.547664
Next-Gen-UI
883bbec44358e50add87f47786eea94f72a5f192
4,353
hh
C++
hackt_docker/hackt/src/sim/prsim/Cause.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/sim/prsim/Cause.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/sim/prsim/Cause.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "sim/prsim/Cause.hh" Structure of basic node event. $Id: Cause.hh,v 1.5 2009/02/01 07:21:35 fang Exp $ */ #ifndef __HAC_SIM_PRSIM_CAUSE_H__ #define __HAC_SIM_PRSIM_CAUSE_H__ #include <iosfwd> #include "sim/common.hh" #include "sim/prsim/enums.hh" #include "util/utypes.h" #include "sim/prsim/devel_swit...
23.657609
79
0.666667
broken-wheel
883e5f28b3e8dd39ce48699669e91cddc117a46a
1,547
hpp
C++
include/gogh/disassembler.hpp
braedinski/gogh
28f5be6b075fc549dd9d8d6fb1708176b1892c03
[ "MIT" ]
null
null
null
include/gogh/disassembler.hpp
braedinski/gogh
28f5be6b075fc549dd9d8d6fb1708176b1892c03
[ "MIT" ]
null
null
null
include/gogh/disassembler.hpp
braedinski/gogh
28f5be6b075fc549dd9d8d6fb1708176b1892c03
[ "MIT" ]
null
null
null
/* * gogh::disassembler * * The class is just a wrapper for capstone disassembler. * `gogh` will use its own instruction decoder/disassembler. * */ #include <capstone/capstone.h> namespace gogh { class disassembler { public: disassembler() { if (cs_open( ...
26.672414
81
0.372334
braedinski
883f7d3ccf35c53eb89b1db830f34c5e76883615
5,220
cpp
C++
tests/CoreTests/RandomOuts.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
tests/CoreTests/RandomOuts.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
tests/CoreTests/RandomOuts.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
/*** MIT License Copyright (c) 2018 NUMERARE Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publis...
37.826087
120
0.66705
JacopoDT
88420f5b2b55df91aaef763f93e00a825683c381
4,976
cpp
C++
libs/hmtslam/src/CHMHMapArc.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
null
null
null
libs/hmtslam/src/CHMHMapArc.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
null
null
null
libs/hmtslam/src/CHMHMapArc.cpp
swt2c/mrpt
9b4fd246530ff94bb93f5703e61844c6f67aa0b9
[ "BSD-3-Clause" ]
1
2020-12-30T14:06:37.000Z
2020-12-30T14:06:37.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
30.341463
80
0.542605
swt2c
8842930a3f2c988927dcdc7a2bca9a2f05163bc8
11,159
cpp
C++
src/gpu/ocl/gemm/gen12lp_gemm.cpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
null
null
null
src/gpu/ocl/gemm/gen12lp_gemm.cpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
1
2020-04-17T22:23:01.000Z
2020-04-23T21:11:41.000Z
src/gpu/ocl/gemm/gen12lp_gemm.cpp
IvanNovoselov/oneDNN
aa47fcd2a03ee5caac119b6417bc66abe3154aab
[ "Apache-2.0" ]
3
2021-07-20T07:40:15.000Z
2021-08-03T08:39:17.000Z
/******************************************************************************* * Copyright 2019-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
36.113269
80
0.570123
IvanNovoselov
8845300b68091228befc75b4c2bbc969a7a8389e
4,770
cc
C++
tensorflow/lite/kernels/irfft2d_test.cc
Stevanus-Christian/tensorflow
d44afcf5ca16c5d704c66f891b99eac804e7cd14
[ "Apache-2.0" ]
3
2022-03-09T01:39:56.000Z
2022-03-30T23:17:58.000Z
tensorflow/lite/kernels/irfft2d_test.cc
Stevanus-Christian/tensorflow
d44afcf5ca16c5d704c66f891b99eac804e7cd14
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/kernels/irfft2d_test.cc
Stevanus-Christian/tensorflow
d44afcf5ca16c5d704c66f891b99eac804e7cd14
[ "Apache-2.0" ]
1
2022-03-22T00:45:15.000Z
2022-03-22T00:45:15.000Z
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
35.073529
80
0.638365
Stevanus-Christian