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
eb96b13213aab751bebf510d4f8a5e4af804c137
2,343
cpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/obmc-phosphor-buttons/1.0+gitAUTOINC+1ac9ab6d29-r1/git/src/main.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/obmc-phosphor-buttons/1.0+gitAUTOINC+1ac9ab6d29-r1/git/src/main.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/obmc-phosphor-buttons/1.0+gitAUTOINC+1ac9ab6d29-r1/git/src/main.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
/* // Copyright (c) 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
28.925926
80
0.637644
sotaoverride
eb978dad3af8589d102fe466e1899304c74afb4e
2,754
hpp
C++
pythran/pythonic/numpy/transpose.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/transpose.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/transpose.hpp
Pikalchemist/Pythran
17d4108b56b3b365e089a4e1b01a09eb7e12942b
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
#ifndef PYTHONIC_NUMPY_TRANSPOSE_HPP #define PYTHONIC_NUMPY_TRANSPOSE_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/utils/numpy_conversion.hpp" #include "pythonic/utils/nested_container.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/numpy_type.hpp" #include "pythonic/__builtin__/Value...
34.860759
143
0.520334
Pikalchemist
eb98fed3c3f064bcd619fa4677f9c09aeddffa18
1,828
cpp
C++
SimCalorimetry/EcalSimAlgos/test/ESDigitizerTest.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimCalorimetry/EcalSimAlgos/test/ESDigitizerTest.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimCalorimetry/EcalSimAlgos/test/ESDigitizerTest.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "DataFormats/EcalDetId/interface/ESDetId.h" #include "DataFormats/EcalDigi/interface/ESDataFrame.h" #include "SimDataFormats/CaloHit/interface/PCaloHit.h" #include "SimCalorimetry/CaloSimAlgos/interface/CaloHitResponse.h" #include "SimCalorimetry/CaloSimAlgos/interface/CaloTDigitizer.h" #include "SimCalorimetr...
30.983051
96
0.769147
ckamtsikis
eba233191f70e61054b58edd9042d737ac537d7c
9,636
hpp
C++
lib/include/efyj/matrix.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
1
2021-05-04T16:06:55.000Z
2021-05-04T16:06:55.000Z
lib/include/efyj/matrix.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
null
null
null
lib/include/efyj/matrix.hpp
quesnel/efyj
5f214449e26000fb30f3a037cac52269704fe703
[ "MIT" ]
null
null
null
/* Copyright (C) 2016-2017 INRA * * 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, publish, dis...
26.766667
79
0.709734
quesnel
eba3edf7b9de7a2dad2aa25bddbc1f57d1ebfca3
10,787
cpp
C++
lonestar/gmetis/GMetis.cpp
bowu/Galois
81f619a2bb1bdc95899729f2d96a7da38dd0c0a3
[ "BSD-3-Clause" ]
null
null
null
lonestar/gmetis/GMetis.cpp
bowu/Galois
81f619a2bb1bdc95899729f2d96a7da38dd0c0a3
[ "BSD-3-Clause" ]
null
null
null
lonestar/gmetis/GMetis.cpp
bowu/Galois
81f619a2bb1bdc95899729f2d96a7da38dd0c0a3
[ "BSD-3-Clause" ]
null
null
null
/* * This file belongs to the Galois project, a C++ library for exploiting parallelism. * The code is being released under the terms of the 3-Clause BSD License (a * copy is located in LICENSE.txt at the top-level directory). * * Copyright (C) 2018, The University of Texas at Austin. All rights reserved. * UNIVER...
33.5
85
0.605266
bowu
eba72406c8bd972322ff51424249df7f49ea68b4
388
hpp
C++
parpm/grid.hpp
shigh/parpm
45d09bfa3103244fd8559dc32bc7c3ad5f83f614
[ "MIT" ]
null
null
null
parpm/grid.hpp
shigh/parpm
45d09bfa3103244fd8559dc32bc7c3ad5f83f614
[ "MIT" ]
null
null
null
parpm/grid.hpp
shigh/parpm
45d09bfa3103244fd8559dc32bc7c3ad5f83f614
[ "MIT" ]
null
null
null
#pragma once #include "types.hpp" struct Grid { // Number of grid points int Nx; int Ny; int Nz; // Starting grid points int Nx0; int Ny0; int Nz0; // Length of domain in this grid // Domain in this grid is [L0,L0+L] FLOAT Lx; FLOAT Ly; FLOAT Lz; FLOAT Lx0; FLOAT Ly0; FLOAT Lz0; ...
11.411765
37
0.597938
shigh
eba7f09abce753624cea5622578aac1653fa435a
28,858
cpp
C++
es/src/v20180416/EsClient.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
es/src/v20180416/EsClient.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
es/src/v20180416/EsClient.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
33.555814
215
0.682306
suluner
ebacd0352d7062bcc1367156311b30e3282f5317
864
hpp
C++
irohad/ametsuchi/wsv_restorer.hpp
IvanTyulyandin/iroha
442a08325c7b808236569600653370e28ec5eff6
[ "Apache-2.0" ]
24
2016-09-26T17:11:46.000Z
2020-03-03T13:42:58.000Z
irohad/ametsuchi/wsv_restorer.hpp
ecsantana76/iroha
9cc430bb2c8eb885393e2a636fa92d1e605443ae
[ "Apache-2.0" ]
11
2016-10-13T10:09:55.000Z
2019-06-13T08:49:11.000Z
irohad/ametsuchi/wsv_restorer.hpp
ecsantana76/iroha
9cc430bb2c8eb885393e2a636fa92d1e605443ae
[ "Apache-2.0" ]
4
2016-09-27T13:18:28.000Z
2019-08-05T20:47:15.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_WSVRESTORER_HPP #define IROHA_WSVRESTORER_HPP #include "common/result.hpp" namespace iroha { namespace ametsuchi { class Storage; /** * Interface for World State View restoring from the ...
23.351351
76
0.649306
IvanTyulyandin
ebae262b24238eda226ca36a0f1d84f6f2c93374
2,486
cpp
C++
test/std/utilities/function.objects/comparisons/transparent.pass.cpp
AOSiP/platform_external_libcxx
eb2115113f10274c0d25523ba44c3c7373ea3209
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
test/std/utilities/function.objects/comparisons/transparent.pass.cpp
AOSiP/platform_external_libcxx
eb2115113f10274c0d25523ba44c3c7373ea3209
[ "MIT" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
test/std/utilities/function.objects/comparisons/transparent.pass.cpp
AOSiP/platform_external_libcxx
eb2115113f10274c0d25523ba44c3c7373ea3209
[ "MIT" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
41.433333
82
0.613837
AOSiP
ebae48b12ed38473e0991443ea1b7902cb844a6c
19,369
cpp
C++
src/maze.cpp
TimQuelch/mazes
486291e0c84264664953b1bebfa77593854d9e77
[ "MIT" ]
1
2018-05-15T02:27:12.000Z
2018-05-15T02:27:12.000Z
src/maze.cpp
TimQuelch/mazes
486291e0c84264664953b1bebfa77593854d9e77
[ "MIT" ]
null
null
null
src/maze.cpp
TimQuelch/mazes
486291e0c84264664953b1bebfa77593854d9e77
[ "MIT" ]
null
null
null
/// \author Tim Quelch #include <algorithm> #include <chrono> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <png++/png.hpp> #include <random> #include <tuple> #include "maze.h" namespace mazes { namespace detail { /// Holds the x y coordinates of a point in the maze ...
40.268191
100
0.466209
TimQuelch
ebaf7015eb587472504c212dabecb2225cd1d243
3,365
cc
C++
hbase-native-client/src/hbase/test-util/test-util.cc
bijugs/hbase-1.1.2.2.6.3.22-1
56954ebd740994c90ce872c732c1637a65e4865e
[ "Apache-2.0" ]
null
null
null
hbase-native-client/src/hbase/test-util/test-util.cc
bijugs/hbase-1.1.2.2.6.3.22-1
56954ebd740994c90ce872c732c1637a65e4865e
[ "Apache-2.0" ]
null
null
null
hbase-native-client/src/hbase/test-util/test-util.cc
bijugs/hbase-1.1.2.2.6.3.22-1
56954ebd740994c90ce872c732c1637a65e4865e
[ "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 ...
31.745283
99
0.695097
bijugs
ebb2bb4ff11aaa03b6edc0e46b316ba4638a2023
1,009
hpp
C++
test/test_localization.hpp
enterstudio/aeon
7e1af0387815b4c90de2a289fb2cfb4a6f5ae9d3
[ "Apache-2.0" ]
null
null
null
test/test_localization.hpp
enterstudio/aeon
7e1af0387815b4c90de2a289fb2cfb4a6f5ae9d3
[ "Apache-2.0" ]
null
null
null
test/test_localization.hpp
enterstudio/aeon
7e1af0387815b4c90de2a289fb2cfb4a6f5ae9d3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Nervana Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
36.035714
87
0.766105
enterstudio
ebb692aeee5113ec9f14ba526ce5b8d0584b6d55
11,876
cc
C++
src/lib/dhcpsrv/client_class_def.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
2
2020-11-02T19:38:10.000Z
2020-11-02T19:38:13.000Z
src/lib/dhcpsrv/client_class_def.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
null
null
null
src/lib/dhcpsrv/client_class_def.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2015-2019 Internet Systems Consortium, Inc. ("ISC") // // 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/. #include <config.h> #include <eval/dependenc...
29.107843
82
0.623947
svenauhagen
ebb83be9b4f4f129f5275956a96bcaa9e416ebc4
2,720
hpp
C++
include/libtorrent/aux_/deferred_handler.hpp
projectxorg/libtorrent
449b39318796addaafc6e655c9affc88706b8aa7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
50
2016-01-26T15:42:58.000Z
2022-02-27T11:32:58.000Z
include/libtorrent/aux_/deferred_handler.hpp
projectxorg/libtorrent
449b39318796addaafc6e655c9affc88706b8aa7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2016-04-05T02:38:33.000Z
2017-06-01T20:16:29.000Z
include/libtorrent/aux_/deferred_handler.hpp
projectxorg/libtorrent
449b39318796addaafc6e655c9affc88706b8aa7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
53
2016-01-25T01:14:54.000Z
2022-03-13T10:20:36.000Z
/* Copyright (c) 2017, Arvid Norberg 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 conditions and the f...
30.909091
78
0.766176
projectxorg
ebb8b68a37b50af44db4f0b268185c3f9781b188
842
cpp
C++
pix/Color.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
pix/Color.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
pix/Color.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "Color.h" #include "Colorf.h" #include <assert.h> #include "config.h" //----------------------------------------------------------------------------- namespace pix { inline static uint8_t convertColorFloatToByte( float src ) { float f = src; if ( f < 0.f ) f = 0.f; else if ( f > 1.f ) ...
20.047619
80
0.472684
Andrewich
ebb8f703da9b516850c25d0045d70df9301eb9fb
596
cpp
C++
LeetCode/0003. Longest Substring Without Repeating Characters.cpp
null-kryptonian/ProblemSolving
e11daca211a45b72316d3aea7b373e97b81e986b
[ "MIT" ]
1
2021-09-15T19:08:17.000Z
2021-09-15T19:08:17.000Z
LeetCode/0003. Longest Substring Without Repeating Characters.cpp
superior-prog/ProblemSolving
bf56f6b12196ff02c34fe4d14db64f4e5f58b990
[ "MIT" ]
null
null
null
LeetCode/0003. Longest Substring Without Repeating Characters.cpp
superior-prog/ProblemSolving
bf56f6b12196ff02c34fe4d14db64f4e5f58b990
[ "MIT" ]
null
null
null
class Solution { public: int max(int a, int b) { if(a > b) return a; else return b; } int lengthOfLongestSubstring(string s) { if(s.length() == 0) return 0; set<char> set; int left = 0, right = 0, length = 0; while(right < s.length()) { if(set.find...
25.913043
49
0.421141
null-kryptonian
ebb9c905af47c4e3fd9c1e69f364d2108a856508
4,311
hpp
C++
modules/boost/simd/base/include/boost/simd/arithmetic/functions/generic/remquo.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/arithmetic/functions/generic/remquo.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/arithmetic/functions/generic/remquo.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 MetaScale SAS // // Distributed under the Boost Softw...
40.28972
81
0.474136
psiha
ebba73b7af656c138d1b132edd1532a3d4521e9f
3,460
cpp
C++
tests/unit/app/ping.t.cpp
yoursunny/NDNph
58be392af444d6f1f19fd67f2d2a8c123b0e9076
[ "0BSD" ]
2
2020-03-06T02:07:21.000Z
2021-12-29T04:53:58.000Z
tests/unit/app/ping.t.cpp
yoursunny/NDNph
58be392af444d6f1f19fd67f2d2a8c123b0e9076
[ "0BSD" ]
null
null
null
tests/unit/app/ping.t.cpp
yoursunny/NDNph
58be392af444d6f1f19fd67f2d2a8c123b0e9076
[ "0BSD" ]
2
2020-02-26T20:31:07.000Z
2021-04-22T18:27:19.000Z
#include "ndnph/app/ping-client.hpp" #include "ndnph/app/ping-server.hpp" #include "ndnph/keychain/ec.hpp" #include "ndnph/keychain/null.hpp" #include "mock/bridge-fixture.hpp" #include "mock/mock-key.hpp" #include "mock/mock-transport.hpp" #include "test-common.hpp" namespace ndnph { namespace { TEST(Ping, Client) ...
29.322034
100
0.666474
yoursunny
ebbe3a0da76db2d6c2e4c61e9df51b8cc68913c6
7,879
cpp
C++
src/OccamComponent.cpp
MuhammadAbuBakar95/OCCAM
4ffec0043caa6003288520a42838a0226eb6cfa3
[ "BSD-3-Clause" ]
null
null
null
src/OccamComponent.cpp
MuhammadAbuBakar95/OCCAM
4ffec0043caa6003288520a42838a0226eb6cfa3
[ "BSD-3-Clause" ]
null
null
null
src/OccamComponent.cpp
MuhammadAbuBakar95/OCCAM
4ffec0043caa6003288520a42838a0226eb6cfa3
[ "BSD-3-Clause" ]
null
null
null
// // OCCAM // // Copyright (c) 2011-2016, SRI International // // 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, ...
31.64257
92
0.642467
MuhammadAbuBakar95
ebbfad0796ffae5b6ca5cfef50b3b69190d2175d
474
cpp
C++
tests/src/simple_modifications_json/src/simple_modifications_json_test.cpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
2
2021-03-24T17:34:09.000Z
2021-07-01T12:16:54.000Z
tests/src/simple_modifications_json/src/simple_modifications_json_test.cpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
null
null
null
tests/src/simple_modifications_json/src/simple_modifications_json_test.cpp
XXXalice/Karabiner-Elements
52f579cbf60251cf18915bd938eb4431360b763b
[ "Unlicense" ]
null
null
null
#include <catch2/catch.hpp> #include "../../share/json_helper.hpp" #include "manipulator/types.hpp" #include <pqrs/json.hpp> TEST_CASE("simple_modifications.json") { auto json = krbn::unit_testing::json_helper::load_jsonc("../../../src/apps/PreferencesWindow/Resources/simple_modifications.json"); for (const auto&...
31.6
133
0.694093
egelwan
ebc66fbe4477496f88babdff871bf18700c7e690
539
cc
C++
src/openvslam/data/bow_vocabulary.cc
soallak/openvslam
23d155918a89eb791cf98bc25e1758b6e44f4f85
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/data/bow_vocabulary.cc
soallak/openvslam
23d155918a89eb791cf98bc25e1758b6e44f4f85
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/data/bow_vocabulary.cc
soallak/openvslam
23d155918a89eb791cf98bc25e1758b6e44f4f85
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
#include "openvslam/data/bow_vocabulary.h" namespace openvslam { namespace data { namespace bow_vocabulary_util { void compute_bow(data::bow_vocabulary* bow_vocab, const cv::Mat& descriptors, data::bow_vector& bow_vec, data::bow_feature_vector& bow_feat_vec) { #ifdef USE_DBOW2 bow_vocab->transform(util::converter...
29.944444
146
0.7718
soallak
ebc78addb8dbf2038ce1d61b33f5b6652537fd82
14,499
cpp
C++
ZooidEngine/ResourceManagers/MeshManager.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
4
2019-05-31T22:55:49.000Z
2020-11-26T11:55:34.000Z
ZooidEngine/ResourceManagers/MeshManager.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
null
null
null
ZooidEngine/ResourceManagers/MeshManager.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
1
2018-04-11T02:50:47.000Z
2018-04-11T02:50:47.000Z
#include "MeshManager.h" #include "BufferManager.h" #include "MaterialManager.h" #include "SkeletonManager.h" #include "Resources/Mesh.h" #include "Resources/Material.h" #include "FileSystem/FileReader.h" #include "FileSystem/DirectoryHelper.h" #include "Renderer/IRenderer.h" #include "Physics/Physics.h" #include...
26.313975
110
0.682254
azon04
ebc7ebe677453a33460d0d33c349895dbe0871ca
5,036
hpp
C++
components/scream/src/share/util/scream_std_meta.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
null
null
null
components/scream/src/share/util/scream_std_meta.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
3
2019-04-25T18:18:33.000Z
2019-05-07T16:43:36.000Z
components/scream/src/share/util/scream_std_meta.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
null
null
null
#ifndef SCREAM_STD_META_HPP #define SCREAM_STD_META_HPP /* * Emulating c++1z features * * This file contains some features that belongs to the std namespace, * and that are likely (if not already scheduled) to be in future standards. * However, we have limited access to c++1z standard on target platforms, * ...
29.109827
157
0.691422
AaronDonahue
1b0b49e5a32b03a5dbbc1dc4786f26ec12ffe853
4,133
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Editor/IntroTutorials/Private/EditorTutorial.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Editor/IntroTutorials/Private/EditorTutorial.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Editor/IntroTutorials/Private/EditorTutorial.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "IntroTutorialsPrivatePCH.h" #include "LevelEditor.h" #include "SDockTab.h" #include "EditorTutorial.h" #if WITH_EDITORONLY_DATA namespace { void GatherEditorTutorialForLocalization(const UObject* const Object, FPropertyLocalizationDataGatherer& P...
30.614815
201
0.819744
armroyce
1b0e95d2748790bdffc792425db167c8f505d6c4
11,094
cpp
C++
logdevice/lib/test/copyloadtestapp/client/CopyLoadTestClient.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
1
2018-10-17T06:49:04.000Z
2018-10-17T06:49:04.000Z
logdevice/lib/test/copyloadtestapp/client/CopyLoadTestClient.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
logdevice/lib/test/copyloadtestapp/client/CopyLoadTestClient.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <cstdlib> #include <memory> #include <random> #include <unistd.h> #include <f...
34.560748
80
0.634127
msdgwzhy6
1b0ecd9d9b84ecee10157c72e9177550b3170fc2
1,200
hpp
C++
WinFelix/EncodingRenderer.hpp
42Bastian/Felix
3c0b31a245a7c73bae97ad39a378edcdde1e386d
[ "MIT" ]
19
2021-10-31T20:57:14.000Z
2022-03-22T11:48:56.000Z
WinFelix/EncodingRenderer.hpp
42Bastian/Felix
3c0b31a245a7c73bae97ad39a378edcdde1e386d
[ "MIT" ]
99
2021-10-29T20:31:09.000Z
2022-02-09T12:24:03.000Z
WinFelix/EncodingRenderer.hpp
42Bastian/Felix
3c0b31a245a7c73bae97ad39a378edcdde1e386d
[ "MIT" ]
3
2021-11-05T15:14:41.000Z
2021-12-11T14:16:11.000Z
#pragma once class IEncoder; class EncodingRenderer { public: EncodingRenderer( std::shared_ptr<IEncoder> encoder, ComPtr<ID3D11Device> pD3DDevice, ComPtr<ID3D11DeviceContext> pImmediateContext, boost::rational<int32_t> refreshRate ); void renderEncoding( ID3D11ShaderResourceView* srv ); private: ...
30.769231
175
0.706667
42Bastian
1b125aa56306752283b50e452d90206398929640
3,377
cc
C++
chrome/browser/enterprise/connectors/connectors_prefs.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/enterprise/connectors/connectors_prefs.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/enterprise/connectors/connectors_prefs.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2020 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 <algorithm> #include <string> #include <vector> #include "chrome/browser/enterprise/connectors/connectors_prefs.h" #include "chrome/browser/ente...
39.267442
80
0.795084
zealoussnow
1b1384289e352902a898f4aac94bc8790edc804b
850
hpp
C++
game/code/common/engine/game/timetask.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/engine/game/timetask.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/engine/game/timetask.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
2
2019-03-08T03:02:45.000Z
2019-05-14T08:41:26.000Z
#ifndef TIME_TASK_HPP #define TIME_TASK_HPP ////////////////////////////////////////////////////// // INCLUDES ////////////////////////////////////////////////////// ////////////////////////////////////////////////////// // FORWARD DECLARATIONS ////////////////////////////////////////////////////// /////////////////...
22.368421
87
0.452941
justinctlam
1b13f28f1279403494424d114386aa573c87d590
3,243
hpp
C++
hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.hpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.hpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
hotspot/src/cpu/sparc/vm/c1_LIRAssembler_sparc.hpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
42.671053
124
0.691952
dbac
1b149f1db4bb7c19cb37799ea23ea87660e90c69
1,027
cpp
C++
GeeksForGeeks/Practice/GetMinimumElementFromStack.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
GeeksForGeeks/Practice/GetMinimumElementFromStack.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
GeeksForGeeks/Practice/GetMinimumElementFromStack.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
/* The structure of the class is as follows class _stack{ stack<int> s; int minEle; public : int getMin(); int pop(); void push(int); }; */ /*returns min element from stack*/ stack<int> st; int _stack :: getMin() { if(s.empty()){ while(!st.empty()){ st.pop(); } } ...
13.337662
40
0.447907
Ashwanigupta9125
1b17a79dbcbd4f9185be1bf7554e09d938888aea
6,191
cpp
C++
Compiler/AST/ASTExpr.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
1
2018-12-31T03:57:28.000Z
2018-12-31T03:57:28.000Z
Compiler/AST/ASTExpr.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
null
null
null
Compiler/AST/ASTExpr.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
1
2019-01-01T13:34:14.000Z
2019-01-01T13:34:14.000Z
// // ASTExpr.cpp // Emojicode // // Created by Theo Weidmann on 03/08/2017. // Copyright © 2017 Theo Weidmann. All rights reserved. // #include "ASTExpr.hpp" #include "Analysis/FunctionAnalyser.hpp" #include "Compiler.hpp" #include "Functions/Initializer.hpp" #include "MemoryFlowAnalysis/MFFunctionAnalyser.hpp" #...
42.696552
120
0.689065
rozaxe
1b1829b43ebd11fe9d8b39428e4f8a9d294d88ea
19,043
cc
C++
chromium/components/html_viewer/html_frame_apptest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/html_viewer/html_frame_apptest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/html_viewer/html_frame_apptest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 <stddef.h> #include <stdint.h> #include <utility> #include "base/auto_reset.h" #include "base/bind.h" #include "base/callback.h" #include "base/...
38.00998
80
0.722365
wedataintelligence
1b1906b70da6c93af4fefdbc3fae9f7ef1b124c0
1,554
hh
C++
StRoot/StarClassLibrary/StMemoryInfo.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StarClassLibrary/StMemoryInfo.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StarClassLibrary/StMemoryInfo.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StMemoryInfo.hh,v 1.5 2013/01/17 14:40:04 fisyak Exp $ * * Author: Thomas Ullrich, June 1999 *************************************************************************** * * Description: * *************************************...
25.47541
76
0.532175
xiaohaijin
1b19c1da753967c960e5297f2bd9a409517e6f77
31,795
cpp
C++
libs/vision/src/tracking.cpp
mrliujie/mrpt-learning-code
7b41a9501fc35c36580c93bc1499f5a36d26c216
[ "BSD-3-Clause" ]
2
2020-04-21T08:51:21.000Z
2022-03-21T10:47:52.000Z
libs/vision/src/tracking.cpp
qifengl/mrpt
979a458792273a86ec5ab105e0cd6c963c65ea73
[ "BSD-3-Clause" ]
null
null
null
libs/vision/src/tracking.cpp
qifengl/mrpt
979a458792273a86ec5ab105e0cd6c963c65ea73
[ "BSD-3-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
34.005348
88
0.692436
mrliujie
1b1c2b6586c3a6de8fc761325bb22f65b1775fd5
14,936
cpp
C++
Runtime/Resource/Import/ImageImporter.cpp
slimlime/SpartanEngine
9f1b14dc158eda0e951ee05824c5a4a1084dde14
[ "MIT" ]
null
null
null
Runtime/Resource/Import/ImageImporter.cpp
slimlime/SpartanEngine
9f1b14dc158eda0e951ee05824c5a4a1084dde14
[ "MIT" ]
null
null
null
Runtime/Resource/Import/ImageImporter.cpp
slimlime/SpartanEngine
9f1b14dc158eda0e951ee05824c5a4a1084dde14
[ "MIT" ]
null
null
null
/* Copyright(c) 2016-2021 Panos Karabelas 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, publish, distrib...
36.518337
189
0.601834
slimlime
1b1d68671ed680f0f527da6a34e540434d5ad10f
9,920
cpp
C++
src/logical_camera_plugin/src/logical_camera_plugin.cpp
brimoo/Robotics
9886d7146e9352a370bf00d8bfd0e7700e6a94fb
[ "BSD-2-Clause" ]
null
null
null
src/logical_camera_plugin/src/logical_camera_plugin.cpp
brimoo/Robotics
9886d7146e9352a370bf00d8bfd0e7700e6a94fb
[ "BSD-2-Clause" ]
null
null
null
src/logical_camera_plugin/src/logical_camera_plugin.cpp
brimoo/Robotics
9886d7146e9352a370bf00d8bfd0e7700e6a94fb
[ "BSD-2-Clause" ]
null
null
null
#include "logical_camera_plugin/logical_camera_plugin.hh" #include <gazebo/physics/Link.hh> #include <gazebo/physics/Model.hh> #include <gazebo/physics/World.hh> #include <gazebo/sensors/Sensor.hh> #include <gazebo/sensors/SensorManager.hh> #include "std_msgs/String.h" #include "logical_camera_plugin/logicalImage.h" ...
36.877323
125
0.719052
brimoo
1b1f432683175f3753b72f8c9853fec747556e13
2,028
hpp
C++
include/nanorange/algorithm/min_element.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/algorithm/min_element.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/algorithm/min_element.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
// nanorange/algorithm/min_element.hpp // // Copyright (c) 2018 Tristan Brindle (tcbrindle at gmail dot com) // 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) #ifndef NANORANGE_ALGORITHM_MIN_ELEMENT_HPP_INCLUDED #def...
28.971429
83
0.611933
paulbendixen
1b2102649b8327917e9f3305a46ab5cea968329c
632
cpp
C++
Kattis_Problems/MosiquitoMultiplication.cpp
MAXI0008/Kattis-Problems
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
3
2019-04-01T05:38:09.000Z
2021-11-17T11:43:20.000Z
Kattis_Problems/MosiquitoMultiplication.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
Kattis_Problems/MosiquitoMultiplication.cpp
MAXI0008/Algorithms-Practices
ff6ec752b741a56fc37a993c528fc925ca302cc8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define FOR(i, a, b) for(int (i) = (a); (i) <= (b); (i)++) int main() { int M, P, L, E, R, S, N; int pre_M; int pre_L; int pre_P; while (cin >> M && cin >> P && cin >> L && cin >> E && cin >> R && cin >> S && cin >> N) { FOR(i, 0, N - 1) { ...
20.387097
94
0.351266
MAXI0008
1b22d1c2d3a704e52f4de711ce5baac8cb8b4d86
3,179
cc
C++
src/gui/plugins/transform_control/TransformControl.cc
ForrestHurley/ign-gazebo
8c748eac85e652aad1bafb02928a6f01ea5683af
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/gui/plugins/transform_control/TransformControl.cc
ForrestHurley/ign-gazebo
8c748eac85e652aad1bafb02928a6f01ea5683af
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/gui/plugins/transform_control/TransformControl.cc
ForrestHurley/ign-gazebo
8c748eac85e652aad1bafb02928a6f01ea5683af
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 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...
30.567308
77
0.662472
ForrestHurley
1b22d3d8058cbc13b2f313ae6a9a9071f0727ba4
268
cpp
C++
(1)Beginner/1174/c++/1174.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
(1)Beginner/1174/c++/1174.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
(1)Beginner/1174/c++/1174.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
#include<iostream> #include<iomanip> using namespace std; int main(){ double x[100]; int i; for(i=0;i<100;i++)cin >> x[i]; for(i=0;i<100;i++){ if(x[i]<=10){ cout << "A[" << i << "] = " << fixed << setprecision(1) << x[i] << endl; } } return 0; }
14.105263
76
0.503731
G4DavidAlmeida
1b23af7d6f946985e4d8751b28ec07c5d8e08820
2,670
cpp
C++
src/tests/test_mutex.cpp
OnikenX/SO2-notes
fb106cb46453baa61b16fc17fdf8aab54541ebc9
[ "MIT" ]
null
null
null
src/tests/test_mutex.cpp
OnikenX/SO2-notes
fb106cb46453baa61b16fc17fdf8aab54541ebc9
[ "MIT" ]
null
null
null
src/tests/test_mutex.cpp
OnikenX/SO2-notes
fb106cb46453baa61b16fc17fdf8aab54541ebc9
[ "MIT" ]
null
null
null
#include <windows.h> #include <stdio.h> #define THREADCOUNT 2 HANDLE ghMutex; DWORD WINAPI WriteToDatabase( LPVOID ); int main( void ) { HANDLE aThread[THREADCOUNT]; DWORD ThreadID; int i; // Create a mutex with no initial owner ghMutex = CreateMutex( NULL, // default se...
25.673077
65
0.499625
OnikenX
1b2688575d9fca5eb44b23be640d94591e0bbacd
336
cpp
C++
src/common/file_util.cpp
cugdc/Jumpy-Thieves
fc5a68ed6854dd9a057d433910ccfb1f6031256e
[ "Apache-2.0" ]
2
2020-03-21T09:49:27.000Z
2020-03-31T16:59:59.000Z
src/common/file_util.cpp
cugdc/Jumpy-Thieves
fc5a68ed6854dd9a057d433910ccfb1f6031256e
[ "Apache-2.0" ]
null
null
null
src/common/file_util.cpp
cugdc/Jumpy-Thieves
fc5a68ed6854dd9a057d433910ccfb1f6031256e
[ "Apache-2.0" ]
null
null
null
#include "file_util.hpp" auto read_file(std::string_view path) -> std::string { std::ifstream file{path.data()}; if (!file.is_open()) { spdlog::error("Cannot open file {}\n", path); std::fflush(stdout); } std::stringstream ss; // read file's buffer contents into streams ss << file.rdbuf(); ret...
18.666667
52
0.633929
cugdc
1b2b98101105315bf3d6eaae77eb3c1ef04e2077
1,782
hpp
C++
src/Rect.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
1
2017-04-20T06:27:36.000Z
2017-04-20T06:27:36.000Z
src/Rect.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
src/Rect.hpp
JesseMaurais/SGe
f73bd03d30074a54642847b05f82151128481371
[ "MIT" ]
null
null
null
#ifndef Rect_hpp #define Rect_hpp #include "SDL.hpp" #include <vector> #include <utility> namespace SDL { using namespace std::rel_ops; struct Size { int w, h; }; using Point = SDL_Point; using Rect = SDL_Rect; using Points = std::vector<Point>; using Rects = std::vector<Rect...
21.46988
95
0.540404
JesseMaurais
1b2d111e3006f2d2d8e266b63978175dbc3a4f73
11,793
cc
C++
Calibration/EcalCalibAlgos/src/ECALpedestalPCLHarvester.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
Calibration/EcalCalibAlgos/src/ECALpedestalPCLHarvester.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
Calibration/EcalCalibAlgos/src/ECALpedestalPCLHarvester.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
// system include files #include <memory> // user include files #include "Calibration/EcalCalibAlgos/interface/ECALpedestalPCLHarvester.h" #include "CondCore/DBOutputService/interface/PoolDBOutputService.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventSetup.h" #include "C...
38.792763
120
0.684389
ckamtsikis
1b2f38e0e299b0cfe98825544ad980435b2968e8
1,313
cpp
C++
4.3A.cpp
SushmaNagaraj/Coding
9ec85c117fceb6b77512b0af513671bb8adce815
[ "Apache-2.0" ]
1
2019-05-19T19:59:55.000Z
2019-05-19T19:59:55.000Z
4.3A.cpp
SushmaNagaraj/Coding
9ec85c117fceb6b77512b0af513671bb8adce815
[ "Apache-2.0" ]
null
null
null
4.3A.cpp
SushmaNagaraj/Coding
9ec85c117fceb6b77512b0af513671bb8adce815
[ "Apache-2.0" ]
null
null
null
/** Given pointers start and end that point to the first and past the last element of a segment inside an array, reverse all elements in the segment. */ void reverse(int* start, int* end) { int * tempEnd = end-1; while(start < tempEnd) { int temp = *start; *start = *te...
20.84127
61
0.450114
SushmaNagaraj
1b2f85a1efd4185d3a0a3898bc24641c1d85851f
1,773
cpp
C++
src/omwmm/extractor.cpp
luluco250/omwmm
ee9cd11e4876515c84ad4f2c97372ba23616ac2b
[ "MIT" ]
null
null
null
src/omwmm/extractor.cpp
luluco250/omwmm
ee9cd11e4876515c84ad4f2c97372ba23616ac2b
[ "MIT" ]
null
null
null
src/omwmm/extractor.cpp
luluco250/omwmm
ee9cd11e4876515c84ad4f2c97372ba23616ac2b
[ "MIT" ]
null
null
null
#include <omwmm/extractor.hpp> #include <filesystem> #include <memory> #include <string> #include <string_view> #include <unordered_map> #include <algorithm> #include <cctype> #include <7zpp/7zpp.h> #include <omwmm/exceptions.hpp> using SevenZip::SevenZipLibrary; using SevenZip::SevenZipExtractor; using SevenZipStr...
25.328571
72
0.72758
luluco250
1b2fba2d04eb922606dcd40ed10f58c7689e3ec8
665
cpp
C++
src/vswhere.lib/Exceptions.cpp
www22111/vswhere
ded0fdd04473772af1dd001d82b6e3c871731788
[ "MIT" ]
335
2019-05-08T04:02:50.000Z
2022-03-30T20:41:31.000Z
src/vswhere.lib/Exceptions.cpp
www22111/vswhere
ded0fdd04473772af1dd001d82b6e3c871731788
[ "MIT" ]
79
2019-05-07T18:48:27.000Z
2022-03-16T22:27:59.000Z
src/vswhere.lib/Exceptions.cpp
www22111/vswhere
ded0fdd04473772af1dd001d82b6e3c871731788
[ "MIT" ]
39
2019-06-26T22:04:30.000Z
2022-01-07T15:09:44.000Z
// <copyright file="Exceptions.cpp" company="Microsoft Corporation"> // Copyright (C) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt in the project root for license information. // </copyright> #include "stdafx.h" using namespace std; wstring win32_error::format_messag...
28.913043
161
0.703759
www22111
1b30f172071d772a7a87ad2e57ff672cd5a28725
648
cpp
C++
c_plus_demo/libstl/src/insert_demo.cpp
xiaoyuan94/c_cpuls_learning
6e3a9fe02412ce7d6f32f53b8094f3d5212e0ff7
[ "Apache-2.0" ]
null
null
null
c_plus_demo/libstl/src/insert_demo.cpp
xiaoyuan94/c_cpuls_learning
6e3a9fe02412ce7d6f32f53b8094f3d5212e0ff7
[ "Apache-2.0" ]
null
null
null
c_plus_demo/libstl/src/insert_demo.cpp
xiaoyuan94/c_cpuls_learning
6e3a9fe02412ce7d6f32f53b8094f3d5212e0ff7
[ "Apache-2.0" ]
null
null
null
// // Created by ubuntu on 2021/4/16. // #include <iostream> #include "insert_demo.h" void InsertDemo::InsertMap() { MElement element; element.name = "element1"; map_.insert(std::make_pair("key_element1", element)); } void InsertDemo::ShowMap() { std::map<std::string, MElement>::iterator it; for...
19.058824
68
0.618827
xiaoyuan94
1b30fee36c666567d384bd513bc0f88e782eb7e3
12,586
cpp
C++
mlir/lib/Analysis/PresburgerSet.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
61
2019-04-12T18:49:57.000Z
2022-03-19T22:23:16.000Z
mlir/lib/Analysis/PresburgerSet.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
127
2019-04-09T00:55:50.000Z
2022-03-21T15:35:41.000Z
mlir/lib/Analysis/PresburgerSet.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
10
2019-04-02T18:25:40.000Z
2022-02-15T07:11:37.000Z
//===- Set.cpp - MLIR PresburgerSet Class ---------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.909639
80
0.694979
acidburn0zzz
1b3117f16bc8bf11fc671f0daced6e48d1ff6f83
321
hpp
C++
driver/src/common/Typed.hpp
vishalbelsare/Birch
ead17b181a058250e9f5896d64954232d19e43f0
[ "Apache-2.0" ]
86
2017-10-29T15:46:41.000Z
2022-01-17T07:18:16.000Z
driver/src/common/Typed.hpp
vishalbelsare/Birch
ead17b181a058250e9f5896d64954232d19e43f0
[ "Apache-2.0" ]
13
2020-09-27T03:31:57.000Z
2021-05-27T00:39:14.000Z
driver/src/common/Typed.hpp
vishalbelsare/Birch
ead17b181a058250e9f5896d64954232d19e43f0
[ "Apache-2.0" ]
12
2018-08-21T12:57:18.000Z
2021-05-26T18:41:50.000Z
/** * @file */ #pragma once #include "src/type/Type.hpp" #include "src/type/EmptyType.hpp" namespace birch { /** * Typed expression or statement. * * @ingroup common */ class Typed { public: /** * Constructor. * * @param type Type. */ Typed(Type* type); /** * Type. */ Type* type; }; }...
10.7
33
0.557632
vishalbelsare
1b31e8d961b9759faeb0de8ae6c48283cbb46899
624
cpp
C++
src/p259.cpp
DirkyJerky/Study-C2
97204a70340380d980e5a3778395408b8d2c3142
[ "MIT" ]
null
null
null
src/p259.cpp
DirkyJerky/Study-C2
97204a70340380d980e5a3778395408b8d2c3142
[ "MIT" ]
null
null
null
src/p259.cpp
DirkyJerky/Study-C2
97204a70340380d980e5a3778395408b8d2c3142
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <fstream> #include <stdlib.h> #include "common.h" #define MAX_BUF 512 int main(int argc, char *argv[]) { if(argc != 2) { printf("Usage: %s <file>\n", argv[0]); exit(1); } std::ifstream fin(argv[1]); if(!fin) { println("Error open...
18.909091
72
0.498397
DirkyJerky
1b323dc164b2b53e4f2f7e516b224d02093d42ff
61,762
cxx
C++
src/ramsesio.cxx
bwvdnbro/VELOCIraptor-STF
9c4a07eee20309152bcde40602029315c8bd50ca
[ "MIT" ]
4
2020-08-28T11:29:09.000Z
2021-10-16T20:17:54.000Z
src/ramsesio.cxx
bwvdnbro/VELOCIraptor-STF
9c4a07eee20309152bcde40602029315c8bd50ca
[ "MIT" ]
118
2019-05-06T11:46:28.000Z
2022-03-14T17:14:37.000Z
src/ramsesio.cxx
bwvdnbro/VELOCIraptor-STF
9c4a07eee20309152bcde40602029315c8bd50ca
[ "MIT" ]
4
2020-10-01T05:22:31.000Z
2021-07-26T13:07:42.000Z
/*! \file ramsesio.cxx * \brief this file contains routines for ramses snapshot file io * * \todo need to check if amr file quantity ngrid_current is actually the number of cells in the file as * an example fortran code I have been given seems to also use the ngridlevel array, which stores the number of cells * a...
45.114682
221
0.595884
bwvdnbro
1b33777a2a36ad950befdfe2fc1206700de58728
4,432
cpp
C++
tools/nx_probe.cpp
tienex/apfs
afc6041c6078d3bc96c2ffec8ea6a8e572b79678
[ "MIT" ]
42
2017-12-01T15:23:20.000Z
2022-02-25T07:08:28.000Z
tools/nx_probe.cpp
tienex/apfs
afc6041c6078d3bc96c2ffec8ea6a8e572b79678
[ "MIT" ]
3
2017-12-04T19:31:53.000Z
2018-07-27T22:47:41.000Z
tools/nx_probe.cpp
tienex/apfs
afc6041c6078d3bc96c2ffec8ea6a8e572b79678
[ "MIT" ]
5
2017-12-02T22:10:53.000Z
2019-11-15T05:06:46.000Z
/* * Copyright (c) 2017-present Orlando Bassotto * * 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, m...
26.538922
81
0.580325
tienex
1b33bc669f78412647362d828eaa5216b33aa488
632
cpp
C++
3425/6859847_AC_16MS_236K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
3425/6859847_AC_16MS_236K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
3425/6859847_AC_16MS_236K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<iostream> #include<map> using namespace std; int main(){ int answerNum; cin>>answerNum; map<int,int> correctAnswerNum; int payment=0; while(answerNum--){ int questionID; bool correct,withExplanaion; cin>>questionID>>correct>>withExplanaion; if(correct){ if(withExplanaion) pa...
20.387097
65
0.664557
vandreas19
1b33e290fe7aadf4e139364e21a216ca8e69e244
8,237
cc
C++
chrome/browser/ui/views/permission_bubble/chooser_bubble_ui.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/views/permission_bubble/chooser_bubble_ui.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/views/permission_bubble/chooser_bubble_ui.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2015 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 <string> #include "base/callback_helpers.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/ui/brows...
35.051064
83
0.717373
chromium
1b35b13dfbc9ac339d9e12246414b4aa61a1a6c6
624
cpp
C++
LeetCode/Problems/Algorithms/#1695_MaximumErasureValue_sol2_sliding_window_O(N+MAX_ELEM)_time_O(MAX_ELEM)_extra_space_156ms_89.1MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#1695_MaximumErasureValue_sol2_sliding_window_O(N+MAX_ELEM)_time_O(MAX_ELEM)_extra_space_156ms_89.1MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#1695_MaximumErasureValue_sol2_sliding_window_O(N+MAX_ELEM)_time_O(MAX_ELEM)_extra_space_156ms_89.1MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int maximumUniqueSubarray(vector<int>& nums) { const int N = nums.size(); const int MAX_ELEM = *max_element(nums.begin(), nums.end()); int answer = 0; vector<bool> vis(MAX_ELEM + 1, false); for(int i = 0, j = 0, sum = 0; j < N; ++j){ ...
28.363636
69
0.410256
Tudor67
1b38aac35db9f5c16cc5068e19416838a2645978
1,581
cc
C++
tensorflow/core/graph/while_context.cc
tianyapiaozi/tensorflow
fb3ce0467766a8e91f1da0ad7ada7c24fde7a73a
[ "Apache-2.0" ]
71
2017-05-25T16:02:15.000Z
2021-06-09T16:08:08.000Z
tensorflow/core/graph/while_context.cc
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
133
2017-04-26T16:49:49.000Z
2019-10-15T11:39:26.000Z
tensorflow/core/graph/while_context.cc
shrikunjsarda/tensorflow
7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae
[ "Apache-2.0" ]
31
2018-09-11T02:17:17.000Z
2021-12-15T10:33:35.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...
40.538462
80
0.664769
tianyapiaozi
1b3a262e959eca2cba52e2f2f5e971429ce17db9
568
cpp
C++
Engine/SQ/Renderer/Renderer.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
Engine/SQ/Renderer/Renderer.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
Engine/SQ/Renderer/Renderer.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "Renderer.hpp" namespace Sq { Renderer::OrthographicCameraMatrix* Renderer::m_RendererElements = new Renderer::OrthographicCameraMatrix; void Renderer::Begin(OrthographicCamera& camera) { m_RendererElements->ViewProjectionMatrix = camera.GetViewProjectionMatrix(); } void Renderer...
25.818182
107
0.772887
chry003
1b3a7e04b3e2384f8f7c4fec8d5927b598e19444
4,804
cpp
C++
apps/ossim-cli/ossim-cli.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
1
2018-03-04T10:45:56.000Z
2018-03-04T10:45:56.000Z
apps/ossim-cli/ossim-cli.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
apps/ossim-cli/ossim-cli.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
//************************************************************************************************** // // OSSIM Open Source Geospatial Data Processing Library // See top level LICENSE.txt file for license information // //*****************************************************************************************...
28.093567
100
0.541216
IvanLJF
1b3d730d31d8ba59d01928ed4ffef1d92a825262
1,065
hpp
C++
libs/cg/include/sge/cg/parameter/detail/check_type.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/cg/include/sge/cg/parameter/detail/check_type.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/cg/include/sge/cg/parameter/detail/check_type.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_CG_PARAMETER_DETAIL_CHECK_TYPE_HPP_INCLUDED #define SGE_CG_PARAMETER_DETAIL_CHECK_TYPE_...
33.28125
96
0.781221
cpreh
1b42156890e93c25f7cb3fb2fbd55c5270efd3ec
745
cpp
C++
third_party/sol2/examples/require_dll_example/my_object.cpp
EricWang1hitsz/osrm-backend
ff1af413d6c78f8e454584fe978d5468d984d74a
[ "BSD-2-Clause" ]
4,526
2015-01-01T15:31:00.000Z
2022-03-31T17:33:49.000Z
third_party/sol2/examples/require_dll_example/my_object.cpp
wsx9527/osrm-backend
1e70b645e480946dad313b67f6a7d331baecfe3c
[ "BSD-2-Clause" ]
4,497
2015-01-01T15:29:12.000Z
2022-03-31T19:19:35.000Z
third_party/sol2/examples/require_dll_example/my_object.cpp
wsx9527/osrm-backend
1e70b645e480946dad313b67f6a7d331baecfe3c
[ "BSD-2-Clause" ]
3,023
2015-01-01T18:40:53.000Z
2022-03-30T13:30:46.000Z
#include "my_object.hpp" #define SOL_CHECK_ARGUMENTS 1 #include <sol.hpp> namespace my_object { sol::table open_my_object(sol::this_state L) { sol::state_view lua(L); sol::table module = lua.create_table(); module.new_usertype<test>("test", sol::constructors<test(), test(int)>(), "value", &test::value ...
25.689655
81
0.714094
EricWang1hitsz
1b44f1786a0e9ff5bb3663ab4bfc25af064cea78
8,420
hpp
C++
include/codegen/include/Zenject/PlaceholderFactory_11.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/PlaceholderFactory_11.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/PlaceholderFactory_11.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:44 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: Zenject.PlaceholderFactoryBase`1 #include "Zenject/PlaceholderFactoryBase_1.hpp" // Incl...
65.78125
428
0.740855
Futuremappermydud
1b46e1fbcd5e96681945dca1dce78d1d4eed6306
524
cpp
C++
src/utils.cpp
armagidon-exception/watch-os
83c9adf814313f88101d8a57da1e50c45e98bb49
[ "MIT" ]
null
null
null
src/utils.cpp
armagidon-exception/watch-os
83c9adf814313f88101d8a57da1e50c45e98bb49
[ "MIT" ]
null
null
null
src/utils.cpp
armagidon-exception/watch-os
83c9adf814313f88101d8a57da1e50c45e98bb49
[ "MIT" ]
null
null
null
#include "utils.h" void setBit(uint8_t* data, uint8_t bit, bool flag) { if (flag) { *data = *data | (1 << bit); } else { *data = *data & ~(1 << bit); } } Dimension createDimension(unit w, unit h) { return {w, h}; } Vec2D createVec2D(unit x, unit y) { return {x, y}; } sunit getVec...
16.375
52
0.5
armagidon-exception
1b4738d727dd738d156ea45e7f725d74c208cc7c
10,090
cpp
C++
modules/serialflash/spiflash.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
13
2018-02-26T14:56:02.000Z
2022-03-31T06:01:56.000Z
modules/serialflash/spiflash.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
null
null
null
modules/serialflash/spiflash.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
3
2020-11-04T09:15:01.000Z
2021-07-06T09:42:00.000Z
/* ----------------------------------------------------------------------------- * This file is a part of the NVCM project: https://github.com/nvitya/nvcm * Copyright (c) 2018 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held ...
20.50813
81
0.56888
nvitya
1b48126693701bb59724b694e26e7b2bfdd01d09
1,781
cpp
C++
project/c++/mri/src/PI-slim-napa/recdopt/ipconnstats/ipconnstats.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/PI-slim-napa/recdopt/ipconnstats/ipconnstats.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/PI-slim-napa/recdopt/ipconnstats/ipconnstats.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
#include "ipconnstats.h" #include "IPUtility.h" // // JSON formatted output strings // ostream& operator<<(ostream &out, const IPConnStatsKey &key) { string src = IPUtility::int_to_ip_str(key.isIpv6, &key.ipSrc[0]); string dst = IPUtility::int_to_ip_str(key.isIpv6, &key.ipDst[0]); out << "\"src...
25.084507
70
0.444133
jia57196
1b48e13003361890ece0a6ccd6af14a81d94865b
48
hpp
C++
examples/shared-sources/Source/Hello.hpp
chaos0x8/rake-builder
6320739bc1f4e9a9ec31af5cb12bf813b30eed66
[ "MIT" ]
2
2020-10-27T11:32:42.000Z
2020-10-28T21:12:20.000Z
examples/shared-sources/Source/Hello.hpp
chaos0x8/rake-builder
6320739bc1f4e9a9ec31af5cb12bf813b30eed66
[ "MIT" ]
null
null
null
examples/shared-sources/Source/Hello.hpp
chaos0x8/rake-builder
6320739bc1f4e9a9ec31af5cb12bf813b30eed66
[ "MIT" ]
null
null
null
#pragma once namespace lib { void hello(); }
8
15
0.645833
chaos0x8
1b4bdb5f79b497bb857543feb488bf793f0d6b23
3,179
cpp
C++
sDNA/geos/drop/src/geomgraph/index/SweepLineSegment.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
48
2015-01-02T23:10:03.000Z
2021-12-23T01:37:22.000Z
sDNA/geos/drop/src/geomgraph/index/SweepLineSegment.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
9
2019-05-31T14:19:43.000Z
2021-10-16T16:09:52.000Z
sDNA/geos/drop/src/geomgraph/index/SweepLineSegment.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
28
2015-01-07T18:41:16.000Z
2021-03-25T02:29:13.000Z
/********************************************************************** * $Id: SweepLineSegment.cpp 1820 2006-09-06 16:54:23Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 Refractions Research Inc. * * This i...
29.165138
124
0.664674
chrisc20042001
1b4dc36550029270b7674cb5c6607127fc4f5938
556
hpp
C++
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/system/audio.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/system/audio.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/system/audio.hpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
struct Audio { void coprocessor_enable(bool state); void coprocessor_frequency(double frequency); void sample(int16 lsample, int16 rsample); void coprocessor_sample(int16 lsample, int16 rsample); void init(); private: nall::DSP dspaudio; bool coprocessor; enum : unsigned { buffer_size = 256, buffer_mas...
26.47619
71
0.757194
redscientistlabs
1b51f0f5083947eacae4626a9abc0faf9a1f657b
7,706
cpp
C++
artifact/storm/src/storm/modelchecker/prctl/helper/BaierUpperRewardBoundsComputer.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/modelchecker/prctl/helper/BaierUpperRewardBoundsComputer.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/modelchecker/prctl/helper/BaierUpperRewardBoundsComputer.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/modelchecker/prctl/helper/BaierUpperRewardBoundsComputer.h" #include "storm/adapters/RationalNumberAdapter.h" #include "storm/storage/SparseMatrix.h" #include "storm/storage/BitVector.h" #include "storm/storage/StronglyConnectedComponentDecomposition.h" #include "storm/utility/macros.h" namespace st...
53.513889
363
0.511549
glatteis
1b52e38aa535264607607b5afb0abd5e3a2be306
2,044
cpp
C++
AISD1/main.cpp
rubikshift/AISD1
08b569fb3a7c426aa7eda6e12507c755a1aa9487
[ "MIT" ]
null
null
null
AISD1/main.cpp
rubikshift/AISD1
08b569fb3a7c426aa7eda6e12507c755a1aa9487
[ "MIT" ]
null
null
null
AISD1/main.cpp
rubikshift/AISD1
08b569fb3a7c426aa7eda6e12507c755a1aa9487
[ "MIT" ]
null
null
null
#include <iostream> #include "stack.h" #define INCREASE_SWITCH 'z' #define DECREASE_SWITCH 'o' #define PUSH_CARS 'w' #define POP_CARS 'j' #define RAIL_SWITCH_SIZE 10 using namespace std; int main() { char command; int temp, numberOFTracks, numberofCars, commandArg, numberOfCommands, currentTrack = 0; Stack railSw...
23.227273
88
0.637476
rubikshift
1b53a37578a685ec07c72fc040ef7929d3048973
1,378
cpp
C++
Deitel/Chapter06/exercises/6.17/ex_617.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter06/exercises/6.17/ex_617.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter06/exercises/6.17/ex_617.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
28.708333
94
0.498549
SebastianTirado
1b5a2aa51cc41d3ff4c88bb8338c2a3da5f65380
87
cpp
C++
Source/FSD/Private/CloudLoadAllResponse.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/CloudLoadAllResponse.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/CloudLoadAllResponse.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "CloudLoadAllResponse.h" FCloudLoadAllResponse::FCloudLoadAllResponse() { }
14.5
48
0.804598
trumank
1b5e0ce8d017488337862f7e9b41acfffb6ff73d
1,936
cpp
C++
src/trace/buffer.cpp
ArnauBigas/chopstix
37831cdbddf8ad3b11e9cc8fd2dd2999907e44ed
[ "Apache-2.0" ]
3
2019-06-06T12:57:24.000Z
2020-03-21T15:25:48.000Z
src/trace/buffer.cpp
ArnauBigas/chopstix
37831cdbddf8ad3b11e9cc8fd2dd2999907e44ed
[ "Apache-2.0" ]
32
2019-06-17T20:31:33.000Z
2022-03-02T16:43:41.000Z
src/trace/buffer.cpp
ArnauBigas/chopstix
37831cdbddf8ad3b11e9cc8fd2dd2999907e44ed
[ "Apache-2.0" ]
5
2019-06-06T12:57:41.000Z
2020-06-29T14:42:02.000Z
/* # # ---------------------------------------------------------------------------- # # Copyright 2019 IBM 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.or...
27.657143
111
0.63843
ArnauBigas
1b60fca499d8249d90597edeaa64c9917e27fabf
4,794
hpp
C++
src/helics/core/core-data.hpp
aenkoji1/HELICS
91f4cbcfb2a003cae955521a22e83461cbf2b629
[ "BSD-3-Clause" ]
59
2019-06-26T22:40:37.000Z
2022-03-28T18:00:23.000Z
src/helics/core/core-data.hpp
aenkoji1/HELICS
91f4cbcfb2a003cae955521a22e83461cbf2b629
[ "BSD-3-Clause" ]
748
2019-06-19T14:15:49.000Z
2022-03-31T17:26:18.000Z
src/helics/core/core-data.hpp
aenkoji1/HELICS
91f4cbcfb2a003cae955521a22e83461cbf2b629
[ "BSD-3-Clause" ]
53
2019-07-19T17:22:21.000Z
2022-03-28T18:00:38.000Z
/* Copyright (c) 2017-2021, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "SmallBuffer.hpp" #include "helics/helics-confi...
34.73913
100
0.678348
aenkoji1
1b62def7ce8e586f33b3d5b271743adf094d9136
2,987
cpp
C++
aws-cpp-sdk-imagebuilder/source/model/PipelineExecutionStartCondition.cpp
grujicbr/aws-sdk-cpp
bdd43c178042f09c6739645e3f6cd17822a7c35c
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-imagebuilder/source/model/PipelineExecutionStartCondition.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-imagebuilder/source/model/PipelineExecutionStartCondition.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 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...
36.876543
160
0.709742
grujicbr
1b631c7c7a28579242e46cd9139055fbffacf805
2,805
cpp
C++
src/WorkShift.cpp
harmim/vut-ims-project
2156a181778c124bb19a02fb3b863211cbadb6d8
[ "MIT" ]
null
null
null
src/WorkShift.cpp
harmim/vut-ims-project
2156a181778c124bb19a02fb3b863211cbadb6d8
[ "MIT" ]
null
null
null
src/WorkShift.cpp
harmim/vut-ims-project
2156a181778c124bb19a02fb3b863211cbadb6d8
[ "MIT" ]
1
2020-12-05T13:02:54.000Z
2020-12-05T13:02:54.000Z
/** * VUT FIT IMS project - Freshbox food distribution. * * @file Work shift process implementation. * @author Dominik Harmim <xharmi00@stud.fit.vutbr.cz> * @author Vojtech Hertl <xhertl04@stud.fit.vutbr.cz> */ #include <iostream> #include "WorkShift.hpp" #include "WorkShiftTimer.hpp" #include "Car.hpp" #includ...
21.914063
74
0.63672
harmim
1b66205636344040cd32ed0528606e802d6995e8
34,219
cpp
C++
libs/openFrameworks/gl/ofGLRenderer.cpp
Studio236/project-440
4608d029ef5ef422f776804ff13736c1ec5565a9
[ "MIT" ]
1
2016-03-13T15:04:27.000Z
2016-03-13T15:04:27.000Z
libs/openFrameworks/gl/ofGLRenderer.cpp
Studio236/project-440
4608d029ef5ef422f776804ff13736c1ec5565a9
[ "MIT" ]
1
2015-09-11T15:09:39.000Z
2015-09-11T15:09:39.000Z
libs/openFrameworks/gl/ofGLRenderer.cpp
Studio236/project-440
4608d029ef5ef422f776804ff13736c1ec5565a9
[ "MIT" ]
null
null
null
#include "ofGLRenderer.h" #include "ofMesh.h" #include "ofPath.h" #include "ofGraphics.h" #include "ofAppRunner.h" #include "ofMesh.h" #include "ofBitmapFont.h" #include "ofGLUtils.h" #include "ofImage.h" #include "ofFbo.h" //---------------------------------------------------------- ofGLRenderer::ofGLRenderer(bool us...
27.353317
151
0.603086
Studio236
1b67d5e5998f2a27552bcc2d9fadeeb5aaf37287
399
cpp
C++
async-list/MainWindow.cpp
topecongiro/qt-toy-projects
ccf71acb0b0a896f4f231f11a5ad3b8f1f6b3e6f
[ "MIT" ]
null
null
null
async-list/MainWindow.cpp
topecongiro/qt-toy-projects
ccf71acb0b0a896f4f231f11a5ad3b8f1f6b3e6f
[ "MIT" ]
null
null
null
async-list/MainWindow.cpp
topecongiro/qt-toy-projects
ccf71acb0b0a896f4f231f11a5ad3b8f1f6b3e6f
[ "MIT" ]
null
null
null
#include "MainWindow.h" #include "ui_MainWindow.h" #include <QVBoxLayout> #include "MyWidget.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); auto* pLayout = new QVBoxLayout(this); ui->centralwidget->setLayout(pLayout); pLayout->a...
16.625
43
0.681704
topecongiro
1b68b4a476bbd148890f6550ab6b3c2b6e2d64b0
2,102
cpp
C++
RoboRoboPi/servo_old.cpp
vanklompf/RoboRoboPi
344d025ae374720a88c761d97ed3010c5c577602
[ "Beerware" ]
null
null
null
RoboRoboPi/servo_old.cpp
vanklompf/RoboRoboPi
344d025ae374720a88c761d97ed3010c5c577602
[ "Beerware" ]
null
null
null
RoboRoboPi/servo_old.cpp
vanklompf/RoboRoboPi
344d025ae374720a88c761d97ed3010c5c577602
[ "Beerware" ]
null
null
null
#include <wiringPi.h> #include <stdio.h> #include "servo.h" #include "logger.h" namespace robo { /* * Clock and range values from * http://stackoverflow.com/questions/20081286/controlling-a-servo-with-raspberry-pi-using-the-hardware-pwm-with-wiringpi * Range tests: * Clock: 384 Range: 30 - 115 * ...
21.232323
124
0.639867
vanklompf
1b6a6df75a2234e4c07ca8fa96c8dabcc825fc54
293
cpp
C++
AtCoder/abc078/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc078/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc078/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int X, Y, Z; cin >> X >> Y >> Z; int sum = 0, cnt = 0; while(true) { sum += Y + Z; if (sum + Z > X) break; cnt++; } printf("%d\n", cnt); }
18.3125
36
0.488055
H-Tatsuhiro
1b6c9c377f95d075492e3b91e97e52149277653d
1,988
cpp
C++
sources/thelib/src/mediaformats/readers/ts/streamdescriptors.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
3
2020-07-30T19:41:00.000Z
2020-10-28T12:52:37.000Z
sources/thelib/src/mediaformats/readers/ts/streamdescriptors.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
null
null
null
sources/thelib/src/mediaformats/readers/ts/streamdescriptors.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
2
2020-05-11T03:19:00.000Z
2021-07-07T17:40:47.000Z
/** ########################################################################## # If not stated otherwise in this file or this component's LICENSE # file the following copyright and licenses apply: # # Copyright 2019 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
32.064516
104
0.682596
rdkcmf
1b6d603ae3ef0dc21e806606e8b3fb7a7398527d
274
cpp
C++
Week05/ClassTasks/Main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
3
2018-03-05T13:57:56.000Z
2018-05-03T19:25:05.000Z
Week05/ClassTasks/Main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
null
null
null
Week05/ClassTasks/Main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
null
null
null
#include <iostream> #include "Line.h" #include "Rectangle.h" #include "Color.h" using namespace std; int main() { Point p1(1, 2); Point p2(3, 4); Line l1(p1, p2, RED); l1.setA(p2); l1.setB(Point(2, 3)); l1.print(); Rectangle rec(p1, 3, 4, BLUE); return 0; }
12.454545
31
0.609489
Stoefff
1b6e4256c62acc0629aa644780f7a1377abf3af7
10,450
cpp
C++
src/mc_exe/kcCatScene_functional.cpp
trigger-segfault/catsystem-py
2e2d7c64ad530e896739f81109c6e108e663fee7
[ "MIT" ]
6
2020-10-20T13:26:56.000Z
2022-02-15T05:26:38.000Z
src/mc_exe/kcCatScene_functional.cpp
trigger-segfault/catsystem-py
2e2d7c64ad530e896739f81109c6e108e663fee7
[ "MIT" ]
2
2020-10-20T16:15:35.000Z
2021-07-08T18:15:23.000Z
src/mc_exe/kcCatScene_functional.cpp
trigger-segfault/catsystem-py
2e2d7c64ad530e896739f81109c6e108e663fee7
[ "MIT" ]
1
2020-10-19T15:20:50.000Z
2020-10-19T15:20:50.000Z
#include "common_mc.h" #ifndef KCLIB_OOP #include "kcCatScene_functional.h" #include "../ac_exe/ghidra_types_min.h" #include "kcFileInfo_functional.h" ///WARNING: This file is outdated compared to the OOP version "kcDoubleBuffer.cpp", /// which has more up to date refactoring and code //unsigned int * __t...
33.06962
144
0.586124
trigger-segfault
1b6f981d5208ba3f6153bedb5c8ebd04f5f55de7
1,750
cpp
C++
Release/src/granada/util/application.cpp
htmlpuzzle/moonlynx
c098b30ab8689fc8ea25fa375c337afa9964af81
[ "MIT" ]
null
null
null
Release/src/granada/util/application.cpp
htmlpuzzle/moonlynx
c098b30ab8689fc8ea25fa375c337afa9964af81
[ "MIT" ]
null
null
null
Release/src/granada/util/application.cpp
htmlpuzzle/moonlynx
c098b30ab8689fc8ea25fa375c337afa9964af81
[ "MIT" ]
null
null
null
#include "granada/util/application.h" namespace granada{ namespace util{ namespace application{ const std::string& get_selfpath(){ if (selfpath.empty()){ #ifdef __APPLE__ int ret; pid_t pid; char pathbuf[PROC_PIDPATHINFO_MAXSIZE]; pid = getpid(); ret = proc_pidpa...
32.407407
142
0.589143
htmlpuzzle
1b7279ff95d35a91c3a2428067d398f2b19bbeba
3,202
cc
C++
chrome/browser/apps/app_service/fake_lacros_web_apps_host.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/apps/app_service/fake_lacros_web_apps_host.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/apps/app_service/fake_lacros_web_apps_host.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 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 "chrome/browser/apps/app_service/fake_lacros_web_apps_host.h" #include <utility> #include <vector> #include "base/notreached.h" #include "chrom...
30.207547
78
0.729544
DamieFC
1b72f062fad295c5177a4fe6682f580ff306147f
12,171
cpp
C++
Unpacker/crass/cui/ADX/vgmstream-r526/fb2k/in_vgmstream.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
6
2018-10-12T05:01:49.000Z
2020-11-01T02:47:22.000Z
Unpacker/crass/cui/ADX/vgmstream-r526/fb2k/in_vgmstream.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
null
null
null
Unpacker/crass/cui/ADX/vgmstream-r526/fb2k/in_vgmstream.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
3
2017-09-27T17:28:30.000Z
2019-11-21T15:13:57.000Z
/* Winamp plugin interface for vgmstream */ /* Based on: */ /* ** Example Winamp .RAW input plug-in ** Copyright (c) 1998, Justin Frankel/Nullsoft Inc. */ #ifdef _MSC_VER #define _CRT_SECURE_NO_DEPRECATE #endif #include <windows.h> #include <windowsx.h> #include <commctrl.h> #include <stdio.h> #include <io.h> #includ...
35.176301
170
0.663709
weimingtom
1b7520c37f1409c60529d6ab0b69a816c720f707
8,867
cpp
C++
cuda/laghos_assembly.cpp
artv3/Laghos
64449d427349b0ca35086a63ae4e7d1ed5894f08
[ "BSD-2-Clause" ]
1
2022-03-24T07:03:23.000Z
2022-03-24T07:03:23.000Z
cuda/laghos_assembly.cpp
jeffhammond/Laghos
12e62aa7eb6175f27380106b40c9286d710a0f52
[ "BSD-2-Clause" ]
null
null
null
cuda/laghos_assembly.cpp
jeffhammond/Laghos
12e62aa7eb6175f27380106b40c9286d710a0f52
[ "BSD-2-Clause" ]
3
2020-04-12T20:07:41.000Z
2022-03-24T07:07:52.000Z
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights // reserved. See files LICENSE and NOTICE for details. // // This file is part of CEED, a collection of benchmarks, miniapps, software // libraries and APIs for effic...
34.772549
81
0.523627
artv3
1b76030b9f9bc6b349ad56b325924f2df6d977d9
190
cpp
C++
ios/versioned-react-native/ABI26_0_0/ReactCommon/ABI26_0_0privatedata/ABI26_0_0PrivateDataBase.cpp
ThakurKarthik/expo
ed78ed4f07c950184a59422ebd95645253f44e3d
[ "Apache-2.0", "MIT" ]
2
2019-08-15T19:24:41.000Z
2020-09-28T00:44:04.000Z
ios/versioned-react-native/ABI26_0_0/ReactCommon/ABI26_0_0privatedata/ABI26_0_0PrivateDataBase.cpp
ThakurKarthik/expo
ed78ed4f07c950184a59422ebd95645253f44e3d
[ "Apache-2.0", "MIT" ]
2
2022-02-14T18:22:55.000Z
2022-02-26T02:17:58.000Z
ios/versioned-react-native/ABI26_0_0/ReactCommon/ABI26_0_0privatedata/ABI26_0_0PrivateDataBase.cpp
ThakurKarthik/expo
ed78ed4f07c950184a59422ebd95645253f44e3d
[ "Apache-2.0", "MIT" ]
1
2020-03-01T01:28:59.000Z
2020-03-01T01:28:59.000Z
// Copyright 2004-present Facebook. All Rights Reserved. #include "ABI26_0_0PrivateDataBase.h" namespace facebook { namespace ReactABI26_0_0 { PrivateDataBase::~PrivateDataBase() {} } }
17.272727
56
0.773684
ThakurKarthik
1b7768553c1533a091c75d5d3e93211c2ce76500
849
cpp
C++
src/transcrLUSS/fv2id.cpp
jvitkauskas/liepa
2a1e0d27e326a739691414b59474cd09dce16bfa
[ "0BSD" ]
null
null
null
src/transcrLUSS/fv2id.cpp
jvitkauskas/liepa
2a1e0d27e326a739691414b59474cd09dce16bfa
[ "0BSD" ]
null
null
null
src/transcrLUSS/fv2id.cpp
jvitkauskas/liepa
2a1e0d27e326a739691414b59474cd09dce16bfa
[ "0BSD" ]
null
null
null
#include "stdafx.h" #include "fv2id.h" #include <string.h> char* strtokf(char*, const char*, char**); unsigned short fv2id(char *fpav) { for (int i = 0; i < FonSk; i++) if (strcmp(fpav, FonV[i].fv) == 0) return FonV[i].id; return FonV[0].id; //pauze "_" } char* id2fv(unsigned short id) { for (int i = 0; i <...
19.744186
91
0.605418
jvitkauskas
1b77ccb65d9cd0496c26d804b80a70fc35ea99e2
4,712
cc
C++
deepmath/zz/Generics/Main_test.cc
LaudateCorpus1/deepmath
b5b721f54de1d5d6a02d78f5da5995237f9995f9
[ "Apache-2.0" ]
830
2016-11-07T21:46:27.000Z
2022-03-23T08:01:03.000Z
deepmath/zz/Generics/Main_test.cc
LaudateCorpus1/deepmath
b5b721f54de1d5d6a02d78f5da5995237f9995f9
[ "Apache-2.0" ]
26
2016-11-07T22:06:31.000Z
2022-02-16T00:18:29.000Z
deepmath/zz/Generics/Main_test.cc
LaudateCorpus1/deepmath
b5b721f54de1d5d6a02d78f5da5995237f9995f9
[ "Apache-2.0" ]
168
2016-11-07T21:48:55.000Z
2022-03-19T02:47:14.000Z
#include ZZ_Prelude_hh #include "PArr.hh" #include <vector> #include <memory> using namespace ZZ; //mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm struct MyInt { uint n; uint waste[15]; MyInt(uint n = 0) : n(n) {} operator uint() const { return n; ...
33.899281
180
0.545204
LaudateCorpus1
1b797aa0c5f3b55f246455346a249c582dead4b3
2,385
cpp
C++
projects/Vk_12/src/timer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
projects/Vk_12/src/timer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
projects/Vk_12/src/timer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
#include "timer.hpp" #include <iostream> #include <thread> #include <chrono> #include <cmath> TimerSet::TimerSet(int maximumFPS) : currentTime(std::chrono::system_clock::duration::zero()), maxFPS(maximumFPS) { startTimer(); time = 0; deltaTime = 0; FPS = 0; frameCounter = 0...
32.22973
126
0.646122
AnselmoGPP
1b799112689c41db6f923b8bb8dd200ae6eccc44
5,147
cpp
C++
ofApp.cpp
SJ-magic-study-oF/study__DmxToPwm
70a27f8697b72f94652ad5c03e84f0737c8a4a2b
[ "MIT" ]
null
null
null
ofApp.cpp
SJ-magic-study-oF/study__DmxToPwm
70a27f8697b72f94652ad5c03e84f0737c8a4a2b
[ "MIT" ]
null
null
null
ofApp.cpp
SJ-magic-study-oF/study__DmxToPwm
70a27f8697b72f94652ad5c03e84f0737c8a4a2b
[ "MIT" ]
null
null
null
/************************************************************ ************************************************************/ #include "ofApp.h" /************************************************************ ************************************************************/ char targetIP[] = "10.7.206.7"; enum LED_TYPE{ LED...
24.626794
83
0.39693
SJ-magic-study-oF
1b79f27ffad12fcd0bf4681b0ca5a2d5409af313
1,460
cpp
C++
20_VECTORS_STRUCTURES/main.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
20_VECTORS_STRUCTURES/main.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
20_VECTORS_STRUCTURES/main.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdlib> #include <ctime> #include <afxres.h> #include <fstream> #include <sstream> #include <vector> using namespace std; //#include <Crispen.h> // #include <sqlite3.h/sqlite3> #include <iostream> #include <cstdlib> using namespace std; #include <map> #include <vector> ...
21.470588
117
0.615753
CrispenGari
1b7a1fc489c7c804698a5427fec651904f781e9d
2,162
cpp
C++
StateManager.cpp
JorgeAndd/NeoEngine
c83b0c21fd97fe4976c3cf142fc93814e8f0892c
[ "MIT" ]
null
null
null
StateManager.cpp
JorgeAndd/NeoEngine
c83b0c21fd97fe4976c3cf142fc93814e8f0892c
[ "MIT" ]
null
null
null
StateManager.cpp
JorgeAndd/NeoEngine
c83b0c21fd97fe4976c3cf142fc93814e8f0892c
[ "MIT" ]
null
null
null
#include "StateManager.h" StateManager::StateManager() { SDLBase::initSDL(); inst = InputManager::getInstance(); currentState = new State_Splash(); currentState->load(); srand(time(NULL)); inst->update(); stack = 0; } StateManager::~StateManager() { SDLBase::exitSDL(); currentS...
24.022222
54
0.466235
JorgeAndd
1b7b62adc99e85e5d461a5ffcf705f038004383b
7,231
hpp
C++
src/uml/src_gen/uml/StructuralFeatureAction.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
src/uml/src_gen/uml/StructuralFeatureAction.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
src/uml/src_gen/uml/StructuralFeatureAction.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_STRUCTURALFEATUREACTION_HPP #define UML_STRUCTURALFEATUREACTION_HPP #include <map> #include ...
25.283217
241
0.641958
dataliz9r
1b7b9f1cec1989838303cc66ce439547ab85be90
1,263
cpp
C++
tests/cpp/productOfArrayExceptSelf/ProductOfArrayExceptSelf.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
tests/cpp/productOfArrayExceptSelf/ProductOfArrayExceptSelf.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
tests/cpp/productOfArrayExceptSelf/ProductOfArrayExceptSelf.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
// Source : https://leetcode.com/problems/product-of-array-except-self/ // Author : Hao Chen // Date : 2015-07-17 /********************************************************************************** * * Given an array of n integers where n > 1, nums, return an array output such that * output[i] is equal to the ...
29.372093
87
0.490895
zlc18
1b7c46559fd305323b46041721f565ffccd092a4
885
cpp
C++
src/musl/futex.cpp
paulyc/IncludeOS
5c82bad4a22838bc2219fbadef57d94f006b4760
[ "Apache-2.0" ]
5
2016-10-01T11:50:51.000Z
2019-10-24T12:54:36.000Z
src/musl/futex.cpp
paulyc/IncludeOS
5c82bad4a22838bc2219fbadef57d94f006b4760
[ "Apache-2.0" ]
1
2019-03-07T13:31:20.000Z
2019-03-07T13:37:49.000Z
src/musl/futex.cpp
AndreasAakesson/IncludeOS
891b960a0a7473c08cd0d93a2bba7569c6d88b48
[ "Apache-2.0" ]
3
2016-09-28T18:15:50.000Z
2017-07-18T17:02:25.000Z
#include "stub.hpp" #include <errno.h> #include <kprint> #define FUTEX_WAIT 0 #define FUTEX_WAKE 1 #define FUTEX_FD 2 #define FUTEX_REQUEUE 3 #define FUTEX_CMP_REQUEUE 4 #define FUTEX_WAKE_OP 5 #define FUTEX_LOCK_PI 6 #define FUTEX_UNLOCK_PI 7 #define FUTEX_TRYLOCK_PI 8 #define FUTEX_WAIT_BITSET 9 #define FUTEX_PRIVAT...
20.581395
76
0.685876
paulyc
1b7d22df872ed883508b237b1561b43faf6a288a
18,461
cpp
C++
RescueMyDoggo/Classes/Enemy.cpp
furryicedragon/VTCA_F03
c29f5ecbe461461c5ed769b7732afde8d509c117
[ "MIT" ]
null
null
null
RescueMyDoggo/Classes/Enemy.cpp
furryicedragon/VTCA_F03
c29f5ecbe461461c5ed769b7732afde8d509c117
[ "MIT" ]
null
null
null
RescueMyDoggo/Classes/Enemy.cpp
furryicedragon/VTCA_F03
c29f5ecbe461461c5ed769b7732afde8d509c117
[ "MIT" ]
null
null
null
#include"Enemy.h" USING_NS_CC; using namespace std; int hitSound = experimental::AudioEngine::play2d("sounds/hit.mp3", false, 0); Enemy* Enemy::create(int xMapNumber, int xWaveNumber, int xBossNumber) { Enemy* pSprite = new Enemy(); pSprite->eeeFrames = SpriteFrameCache::getInstance(); if (pSprite && pSp...
35.638996
361
0.644981
furryicedragon
1b7f2b4d2e606144b9ad14f3ff944ee3d1e5ba62
7,444
hpp
C++
examples/include/stereo.hpp
Russ76/zed-open-capture
969d153c75badb97c12fa9a70056eabc4317bdfa
[ "MIT" ]
null
null
null
examples/include/stereo.hpp
Russ76/zed-open-capture
969d153c75badb97c12fa9a70056eabc4317bdfa
[ "MIT" ]
null
null
null
examples/include/stereo.hpp
Russ76/zed-open-capture
969d153c75badb97c12fa9a70056eabc4317bdfa
[ "MIT" ]
null
null
null
#ifndef STEREO_HPP #define STEREO_HPP #include <iostream> #include <opencv2/opencv.hpp> #include "calibration.hpp" namespace sl_oc { namespace tools { /*! * \brief STEREO_PAR_FILENAME default stereo parameter configuration file */ const std::string STEREO_PAR_FILENAME = "zed_oc_stereo.yaml"; /*! * \brief The Ste...
42.295455
553
0.670607
Russ76
1b80f9ca0c4ee7562f726b58763a219ee9416e3a
20,225
cc
C++
google/cloud/storage/internal/grpc_object_request_parser.cc
LaudateCorpus1/google-cloud-cpp
a9575c5af5e3938efc71bf5822e79b73027d1f3b
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/internal/grpc_object_request_parser.cc
LaudateCorpus1/google-cloud-cpp
a9575c5af5e3938efc71bf5822e79b73027d1f3b
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/internal/grpc_object_request_parser.cc
LaudateCorpus1/google-cloud-cpp
a9575c5af5e3938efc71bf5822e79b73027d1f3b
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 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 ...
40.208748
80
0.737009
LaudateCorpus1