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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
1000a752a3d78a5e8e0d8768c934aef709d301b2
7,329
cc
C++
zircon/kernel/object/buffer_chain_tests.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
1
2020-12-29T17:07:06.000Z
2020-12-29T17:07:06.000Z
zircon/kernel/object/buffer_chain_tests.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
null
null
null
zircon/kernel/object/buffer_chain_tests.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #include <lib/unittest/unittest.h> #include <lib/unittest/user_memory.h> #include <lib/user_copy/user_ptr.h> #include <stdio.h> #...
31.055085
100
0.682631
1000c09c62ceed98bac0813f3d35ec640d46abb2
3,358
cpp
C++
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
src/anax/detail/EntityIdPool.cpp
shadwstalkr/anax
b0055500525c9cdf28e5325fc1583861948f692f
[ "MIT" ]
null
null
null
/// /// anax /// An open source C++ entity system. /// /// Copyright (C) 2013-2014 Miguel Martin (miguel@miguel-martin.com) /// /// 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 r...
32.601942
120
0.589637
1001e65903df0d119542540a8123ddfd2f84da3a
6,712
hpp
C++
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
null
null
null
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
15
2021-05-14T09:24:06.000Z
2022-02-21T13:07:57.000Z
inference-engine/include/cpp/ie_executable_network.hpp
ledmonster/openvino
c1b1e2e7afc698ac82b32bb1f502ad2e90cd1419
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file that provides ExecutableNetwork class * * @file ie_executable_network.hpp */ #pragma once #include <ostream> #include <map> #include <memory> #include <string> #include <vector> #include "cpp/ie_cnn...
32.741463
115
0.701579
1002cec105c9f2962ed7b66d5ebe8dd85283d9f9
2,651
cpp
C++
archive/old/codeforces/675/D.cpp
irvinodjuana/acm
d111d310a6970779eb0e28f4e612c44c30eb1b41
[ "MIT" ]
null
null
null
archive/old/codeforces/675/D.cpp
irvinodjuana/acm
d111d310a6970779eb0e28f4e612c44c30eb1b41
[ "MIT" ]
null
null
null
archive/old/codeforces/675/D.cpp
irvinodjuana/acm
d111d310a6970779eb0e28f4e612c44c30eb1b41
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // shortened type names typedef long long ll; typedef vector<int> vi; typedef pair<int, int> node; // macros #define X first #define Y second #define PB push_back #define MP make_pair #define REP(i, a, b) for (int i = a; i < b; i++) #define REPI(i, a, b) for (int i = a; i...
22.853448
92
0.462844
1003137bdb08f5a813b64750bb6e7d0494459cb2
2,686
cpp
C++
buildcc/lib/target/src/api/include_api.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
48
2021-06-15T08:34:42.000Z
2022-03-24T20:35:54.000Z
buildcc/lib/target/src/api/include_api.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
100
2021-06-14T00:21:49.000Z
2022-03-29T03:59:42.000Z
buildcc/lib/target/src/api/include_api.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
1
2021-06-17T01:03:36.000Z
2021-06-17T01:03:36.000Z
/* * Copyright 2021-2022 Niket Naidu. 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 a...
30.522727
79
0.71035
1005e682e5dca863df5c1a3a0eac5c17ae1c7487
2,414
cpp
C++
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
272
2019-05-16T11:45:54.000Z
2022-03-28T09:32:14.000Z
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
40
2019-10-29T18:19:18.000Z
2022-03-30T09:02:49.000Z
dev/test/so_5/coop/coop_notify_3/main.cpp
eao197/SObjectizer
73b0d1bf5b4bdf543c24bc4969d2c408e0cea812
[ "BSD-3-Clause" ]
29
2019-05-16T12:05:32.000Z
2022-03-19T12:28:33.000Z
/* * A test for stardard coop reg/dereg notificators. */ #include <iostream> #include <sstream> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_limited_execution.hpp> struct msg_child_deregistered : public so_5::signal_t {}; class a_child_t : public so_5::agent_t { typedef so_5::agent_t b...
18.859375
68
0.6628
100645af911c20a835e8d020943b16061bf039d5
15,343
cpp
C++
modules/platforms/cpp/thin-client/src/impl/cache/cache_client_impl.cpp
mwwx/ignite
49e063cb3ce748d4f6caa1dea66ae1f4fd21997d
[ "Apache-2.0" ]
2
2022-03-04T09:18:47.000Z
2022-03-04T09:18:52.000Z
modules/platforms/cpp/thin-client/src/impl/cache/cache_client_impl.cpp
mwwx/ignite
49e063cb3ce748d4f6caa1dea66ae1f4fd21997d
[ "Apache-2.0" ]
null
null
null
modules/platforms/cpp/thin-client/src/impl/cache/cache_client_impl.cpp
mwwx/ignite
49e063cb3ce748d4f6caa1dea66ae1f4fd21997d
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
38.843038
120
0.519455
10077d08646da48db50bac94e8ee2a908644b6f6
7,138
cpp
C++
samples/daal/cpp/mpi/sources/svd_fast_distributed_mpi.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
169
2020-03-30T09:13:05.000Z
2022-03-15T11:12:36.000Z
samples/daal/cpp/mpi/sources/svd_fast_distributed_mpi.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
1,198
2020-03-24T17:26:18.000Z
2022-03-31T08:06:15.000Z
samples/daal/cpp/mpi/sources/svd_fast_distributed_mpi.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
75
2020-03-30T11:39:58.000Z
2022-03-26T05:16:20.000Z
/* file: svd_fast_distributed_mpi.cpp */ /******************************************************************************* * Copyright 2017-2021 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...
32.894009
148
0.67582
10078e224a15ab6c61479f045a4bc0234839df60
2,506
cc
C++
examples/sdk/node/node_modules/hfc/node_modules/grpc/third_party/boringssl/tool/rand.cc
shoheigold/fabric-starter
b79bb33b3f3cff893d592cbb60c93093db61320b
[ "Apache-2.0" ]
598
2017-06-29T17:02:45.000Z
2022-03-22T16:57:13.000Z
examples/sdk/node/node_modules/hfc/node_modules/grpc/third_party/boringssl/tool/rand.cc
shoheigold/fabric-starter
b79bb33b3f3cff893d592cbb60c93093db61320b
[ "Apache-2.0" ]
26
2017-07-22T20:30:06.000Z
2021-08-03T08:16:59.000Z
examples/sdk/node/node_modules/hfc/node_modules/grpc/third_party/boringssl/tool/rand.cc
shoheigold/fabric-starter
b79bb33b3f3cff893d592cbb60c93093db61320b
[ "Apache-2.0" ]
54
2017-06-30T03:40:56.000Z
2021-12-16T11:28:33.000Z
/* Copyright (c) 2015, Google Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
26.104167
79
0.611333
1008a580f480d9cbf3d40839a7e2089315060b97
1,596
cpp
C++
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/base/ossimStdOutProgress.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Garrett Potts // //************************************************************************* // $Id: ossi...
25.333333
80
0.607143
1008fe156071b30791a1cbb289813bc5447f7d6c
13,115
cpp
C++
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
Fez29/loki
6890c5d52b906f8127a3fa71911f56ecbf4a8680
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014-2019, The Monero Project // Copyright (c) 2018, The Loki Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must reta...
37.686782
144
0.672817
100940d91b663d0269562179b936cb41854b4838
453
cpp
C++
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: vector<string> uncommonFromSentences(string A, string B) { stringstream ss(A + ' ' + B); string s; unordered_map<string, int> table; while (getline(ss, s, ' ')) { ++table[s]; } vector<string> result; for (auto& p : table) {...
23.842105
62
0.465784
100b59559ed64364ff11a6367089636feb09f5d2
4,886
cpp
C++
laser_filters/src/scan_to_scan_filter_chain.cpp
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
59
2020-08-03T04:03:04.000Z
2022-03-29T07:25:23.000Z
laser_filters/src/scan_to_scan_filter_chain.cpp
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
2
2021-09-03T06:19:13.000Z
2021-09-14T02:30:55.000Z
laser_filters/src/scan_to_scan_filter_chain.cpp
kilinmao/sarl_star
dde9bb2b690c705a615195f4b570af3ea9dfe05e
[ "MIT" ]
22
2020-08-13T07:16:12.000Z
2022-03-13T03:06:29.000Z
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this...
33.465753
143
0.729636
100d10a26da0790c1cd139427219e95d8530dc63
53,580
cpp
C++
embree-2.0/examples/renderer/device_coi/coi_device.cpp
PetrVevoda/smallupbp
15430256733938d529a2f5c7ef4cdcd940ae4208
[ "MIT", "Apache-2.0", "Unlicense" ]
107
2015-01-27T22:01:49.000Z
2021-12-27T07:44:25.000Z
examples/renderer/device_coi/coi_device.cpp
mbdriscoll/embree
77bb760c005fb7097335da2defe4b4711c15cdd3
[ "Intel", "Apache-2.0" ]
1
2015-03-17T18:53:59.000Z
2015-03-17T18:53:59.000Z
examples/renderer/device_coi/coi_device.cpp
mbdriscoll/embree
77bb760c005fb7097335da2defe4b4711c15cdd3
[ "Intel", "Apache-2.0" ]
17
2015-03-12T19:11:30.000Z
2020-11-30T15:51:23.000Z
// ======================================================================== // // Copyright 2009-2013 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
41.728972
166
0.630926
100d963f8642163d678f79d96b1652b03bc2016c
3,139
cpp
C++
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
8
2021-01-31T11:30:05.000Z
2021-09-01T07:48:34.000Z
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
4
2021-09-01T08:17:18.000Z
2021-09-24T22:32:24.000Z
src/interface/uiMenu.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
1
2021-09-01T07:49:58.000Z
2021-09-01T07:49:58.000Z
#include "uiMenu.h" #include "uiSelectionBox.h" #include "uiNodeSystem.h" #include "../serializer.h" #include "../pathUtils.h" #include <iostream> #include <portable-file-dialogs.h> namespace uiMenu { sf::RenderWindow* renderWindow; const sf::Vector2i* mouseScreenPosPointer; uiSelectionBox selectionBox; std::...
25.729508
141
0.677286
100dc784f0a595b54e20f57e996fb353a9a9ea32
13,447
cpp
C++
src/codec/SkBmpStandardCodec.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
1
2019-05-29T09:54:38.000Z
2019-05-29T09:54:38.000Z
src/codec/SkBmpStandardCodec.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
null
null
null
src/codec/SkBmpStandardCodec.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
8
2019-01-12T23:06:45.000Z
2021-09-03T00:15:46.000Z
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBmpStandardCodec.h" #include "SkCodecPriv.h" #include "SkColorData.h" #include "SkStream.h" /* * Creates an instance of the decoder * Called only by NewFromStre...
39.902077
99
0.620733
100fc140ed2f9df5e98dd798ba9e82b3a91a8bd5
11,315
cc
C++
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
id_theft/functions/node_modules/grpc/deps/grpc/src/core/lib/transport/metadata_batch.cc
jluisfgarza/Id-Theft-Hack2018
101ef7d6d251ee1a4cd1716fb4f8f0edc31f53bf
[ "MIT" ]
null
null
null
/* * * Copyright 2015 gRPC authors. * * 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 la...
34.287879
81
0.656209
10104565dabc53bdc1d26316795244b0ebfcbfa0
2,523
hpp
C++
boost/polygon/polygon.hpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
76
2015-01-02T10:59:25.000Z
2022-03-08T09:43:12.000Z
boost/polygon/polygon.hpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
4
2015-02-19T22:30:02.000Z
2018-08-31T14:58:05.000Z
boost/polygon/polygon.hpp
Ron2014/boost_1_48_0
19673f69677ffcba7c7bd6e08ec07ee3962f161c
[ "BSL-1.0" ]
26
2015-02-11T15:34:54.000Z
2021-12-02T08:20:22.000Z
/* Copyright 2008 Intel Corporation Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). */ #ifndef BOOST_POLYGON_POLYGON_HPP #define BOOST_POLYGON_POLYGON_HPP #define BOOST_...
27.423913
80
0.778438
1012ccce9c382fa36e9cfe4642d8ff08f30f8eea
16,125
cc
C++
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/rtc_base/messagequeue.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
29.750923
89
0.642543
1013d979cb9a05c9b3343497013e27b161b94ddc
17,443
cpp
C++
mplapack/reference/Rorbdb.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
26
2019-03-20T04:06:03.000Z
2022-03-02T10:21:01.000Z
mplapack/reference/Rorbdb.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-04T03:32:41.000Z
2021-12-01T07:47:25.000Z
mplapack/reference/Rorbdb.cpp
Ndersam/mplapack
f2ef54d7ce95e4028d3f101a901c75d18d3f1327
[ "BSD-3-Clause-Open-MPI" ]
5
2019-03-09T17:50:26.000Z
2022-03-10T19:46:20.000Z
/* * Copyright (c) 2021 * Nakata, Maho * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
49.837143
354
0.362495
1014af167428fc32c22c10b42218f1bb5ed96ed9
4,051
cpp
C++
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
src/ftxui/component/radiobox_test.cpp
AetherealLlama/FTXUI
a56bb50807a6cdb9c7ad8b9851da98b3086beee1
[ "MIT" ]
null
null
null
#include <gtest/gtest-message.h> // for Message #include <gtest/gtest-test-part.h> // for TestPartResult, SuiteApiResolver, TestFactoryImpl #include <memory> // for __shared_ptr_access, shared_ptr, allocator #include <string> // for wstring, basic_string #include <vector> // for vector #include "ftxui/component/c...
33.758333
130
0.712417
1015da01c8a857b469a67c3e3b264bc09c66e4b4
1,051
cpp
C++
move_ptr/main.cpp
Kevingaow/cpp11_new_feature
39d8c2c33eed12eaeca45bc51e19d0b80079d594
[ "Apache-2.0" ]
null
null
null
move_ptr/main.cpp
Kevingaow/cpp11_new_feature
39d8c2c33eed12eaeca45bc51e19d0b80079d594
[ "Apache-2.0" ]
null
null
null
move_ptr/main.cpp
Kevingaow/cpp11_new_feature
39d8c2c33eed12eaeca45bc51e19d0b80079d594
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; #define MOVE_CTOR class MovePtr { public: MovePtr() : d(new int(0)) { cout << "ctor:" << ++n_ctor << endl; } MovePtr(const MovePtr& m) : d(new int(*(m.d))) { cout << "copy ctor:" << ++n_cptr << endl; } #ifdef MOVE_CTOR MovePtr(MovePtr&& m)...
16.68254
52
0.543292
101677ac55f15a407b8f28b15dee4bc3c4e9a638
11,440
cpp
C++
SDK/platform/nxp_kinetis_e/driver/wdog.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
1
2019-12-15T12:26:52.000Z
2019-12-15T12:26:52.000Z
SDK/platform/nxp_kinetis_e/driver/wdog.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
null
null
null
SDK/platform/nxp_kinetis_e/driver/wdog.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
1
2020-03-07T20:47:45.000Z
2020-03-07T20:47:45.000Z
/****************************************************************************** * * Freescale Semiconductor Inc. * (c) Copyright 2013 Freescale Semiconductor, Inc. * ALL RIGHTS RESERVED. * *************************************************************************** * * THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND...
26
95
0.444755
1016b9c7e038a150fe021104d85235412968ba07
11,591
cc
C++
SimRomanPot/SimFP420/src/FP420DigiMain.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimRomanPot/SimFP420/src/FP420DigiMain.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimRomanPot/SimFP420/src/FP420DigiMain.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/////////////////////////////////////////////////////////////////////////////// // File: FP420DigiMain.cc // Date: 12.2006 // Description: FP420DigiMain for FP420 // Modifications: /////////////////////////////////////////////////////////////////////////////// #include "SimDataFormats/TrackingHit/interface/PSimHit.h" #...
41.396429
120
0.590113
1018985615e46a1fe06030f7bdf94e3da98f7b4a
16,123
hpp
C++
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
src/cpu/x64/rnn/jit_uni_lstm_cell_postgemm_bwd.hpp
lznamens/oneDNN
e7d00d60ac184d18a1f18535bd6ead4468103dfb
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2019-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...
40.408521
90
0.610246
10189d34c9a286171a3ab06b8801ce7fa17eae4c
8,977
hpp
C++
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
null
null
null
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
null
null
null
src/include/sweet/TimesteppingRK.hpp
pedrospeixoto/sweet
224248181e92615467c94b4e163596017811b5eb
[ "MIT" ]
1
2019-03-27T01:17:59.000Z
2019-03-27T01:17:59.000Z
#ifndef TIMESTEPPING_RK_HPP #define TIMESTEPPING_RK_HPP class TimesteppingRK { // runge kutta data storages DataArray<2>** RK_h_t; DataArray<2>** RK_u_t; DataArray<2>** RK_v_t; int runge_kutta_order; public: TimesteppingRK() : RK_h_t(nullptr), RK_u_t(nullptr), RK_v_t(nullptr), runge_kutta_order(-1) ...
25.358757
112
0.562437
1018f930528afb32bef85acec4ae6ebf39b42956
68,643
cxx
C++
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
null
null
null
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
null
null
null
Modules/IO/IOGDAL/src/otbGDALImageIO.cxx
yyxgiser/OTB
2782a5838a55890769cdc6bc3bd900b2e9f6c5cb
[ "Apache-2.0" ]
1
2020-10-15T09:37:30.000Z
2020-10-15T09:37:30.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * Copyright (C) 2018-2020 CS Systemes d'Information (CS SI) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
33.93129
159
0.60685
10199b36c9396fda4869b2998fbe8f691af2a4bb
2,817
cpp
C++
Sem2/C++/Assignment 1/bank.cpp
nsudhanva/mca-code
812348ce53edbe0f42f85a9c362bfc8aad64e1e7
[ "MIT" ]
null
null
null
Sem2/C++/Assignment 1/bank.cpp
nsudhanva/mca-code
812348ce53edbe0f42f85a9c362bfc8aad64e1e7
[ "MIT" ]
null
null
null
Sem2/C++/Assignment 1/bank.cpp
nsudhanva/mca-code
812348ce53edbe0f42f85a9c362bfc8aad64e1e7
[ "MIT" ]
2
2018-10-12T06:38:14.000Z
2019-01-30T04:38:03.000Z
#include <iostream> #include <cstring> using namespace std; class Bank{ public: char name[20]; char account_no[20]; char type[10]; float bal; Bank() { bal = 0; } void deposit(); void withdraw(); void balance(); }; v...
22.357143
67
0.392261
101a6a2ecf7b509437247786d83a1ea6b1b78fe2
992,789
cxx
C++
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
src/tpetra/src/fortpetraFORTRAN_wrap.cxx
sethrj/ForTrilinos
f25352a6910297ddb97369288b51734cde0ab1b5
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do...
65.57391
901
0.715788
101a7a297c6a1cf8e3b2907fa469ff6d5a23cf8b
178
cpp
C++
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2022-01-13T00:23:10.000Z
2022-01-13T00:23:10.000Z
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2021-12-03T05:17:10.000Z
2022-02-09T21:33:45.000Z
src/Hooks.cpp
colinswrath/BladeAndBlunt-
624aaf42fc8d1ac4eebd7766905caddd1109144d
[ "MIT" ]
1
2022-01-13T00:23:13.000Z
2022-01-13T00:23:13.000Z
#include "UpdateManager.h" namespace Hooks { void Install() { UpdateManager::Install(); UpdateManager::InstallScalePatch(); logger::info("Update hook installed."); } }
14.833333
41
0.702247
101ca5a3c4e75bf9bf317303735beee47e741c38
6,432
cpp
C++
dev/Gems/ScriptEvents/Code/Source/ScriptEventsSystemComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
2
2020-12-22T01:02:01.000Z
2020-12-22T01:02:05.000Z
dev/Gems/ScriptEvents/Code/Source/ScriptEventsSystemComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/ScriptEvents/Code/Source/ScriptEventsSystemComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
38.059172
209
0.691231
101dfff37a7ac85a5de077fd0cb8e69851045194
4,171
hpp
C++
airesources/C++/hlt/map.hpp
snaar/Halite-II-pre-launch
14bafe38bfa2e3062f3daceb29049098a0744b30
[ "MIT" ]
null
null
null
airesources/C++/hlt/map.hpp
snaar/Halite-II-pre-launch
14bafe38bfa2e3062f3daceb29049098a0744b30
[ "MIT" ]
14
2021-01-28T21:06:14.000Z
2022-02-26T08:01:15.000Z
airesources/C++/hlt/map.hpp
xinnosuke/Halite-II-pre-launch
1091f85d5e02de29e16980302771ea1f0e0376a5
[ "MIT" ]
1
2019-07-01T04:46:47.000Z
2019-07-01T04:46:47.000Z
#ifndef HLT_H #define HLT_H #ifdef _WIN32 #define _USE_MATH_DEFINES #endif #include <list> #include <cmath> #include <vector> #include <random> #include <algorithm> #include <functional> #include <iostream> #include <fstream> #include <sstream> #include <assert.h> #include <array> #include <unordered_map> #include "...
33.637097
103
0.614721
101e017628bccea963b9aee80d88beee4a5adf68
18,303
cpp
C++
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-Joshua-18
9c0733afa337f35b2e067d2f7c3c83204700c225
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "tic_tac_toe.h" #include "tic_tac_toe_manager.h" #include "tic_tac_toe_3.h" #include "tic_tac_toe_4.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST...
27.399701
103
0.665956
101ff64d0585f68bb033ae455ed9e2d5f60bae56
901
hh
C++
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/tcpudp/settcpchecksum.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_SETTCPCHECKSUM_HH #define CLICK_SETTCPCHECKSUM_HH #include <click/batchelement.hh> #include <click/glue.hh> CLICK_DECLS /* * =c * SetTCPChecksum([FIXOFF]) * =s tcp * sets TCP packets' checksums * =d * Input packets should be TCP in IP. * * Calculates the TCP header's checksum and sets the checksu...
23.710526
75
0.744728
102217186aed80fbda1811f8df254351e73c26c5
836
cpp
C++
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
c++ practice projects/arathimatic.cpp
adityamuley29/c-plus-plus-exercise-projects
034ab4b9f0a853bacb37e2ad7683c27bc2cc0dac
[ "MIT" ]
null
null
null
#include<iostream.h> class arith { private: int a,b,r; char op; public: void getdata(); void operate(); void display(); }; void arith::getdata() { cout<<"Enter Values of a & b"<<endl; cin>>a>>b; } void arith::operate() { do { cout<<"Enter your choice + or - or * or / or Exit:"<<endl; ...
11.942857
60
0.453349
10247715cd1c79d42150a0c9948738e4cde51c23
27,938
cc
C++
net/socket/tcp_socket_posix.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
net/socket/tcp_socket_posix.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
net/socket/tcp_socket_posix.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/socket/tcp_socket.h" #include <errno.h> #include <netinet/tcp.h> #include <sys/socket.h> #include "base/bind.h" #include "base/files/file_...
33.864242
80
0.697724
10255145601a2b44a40a2adeeea522971a0f5e8d
2,634
cpp
C++
src/Solution.cpp
rugleb/finite-element-method
3bd97c9ede76a7cd27e633a2d1b74d1c3c44615e
[ "MIT" ]
1
2019-12-10T00:11:06.000Z
2019-12-10T00:11:06.000Z
src/Solution.cpp
rugleb/finite-element-method
3bd97c9ede76a7cd27e633a2d1b74d1c3c44615e
[ "MIT" ]
2
2018-12-14T18:23:01.000Z
2019-05-02T17:20:45.000Z
src/Solution.cpp
rugleb/finite-element-method
3bd97c9ede76a7cd27e633a2d1b74d1c3c44615e
[ "MIT" ]
null
null
null
#include "Solution.h" #include <cmath> #include <fstream> Solution::Solution(const std::string& n, Element* e, std::size_t elements) { name = n; element = e; elementsCount = elements; auto size = elementsCount * (e->getDimension() - 1) + 1; solution = Vector(size, 0.); load_vector = Vector(s...
25.326923
94
0.569856
1025a518d141c22180ff9b29c7090ba5ae769117
10,479
cpp
C++
arduino/libraries/HMC5883L/HMC5883LCalibratable.cpp
nowireless/ros_nav6
49c0f485afeb656df20008144fc618d29b4937bb
[ "MIT" ]
null
null
null
arduino/libraries/HMC5883L/HMC5883LCalibratable.cpp
nowireless/ros_nav6
49c0f485afeb656df20008144fc618d29b4937bb
[ "MIT" ]
null
null
null
arduino/libraries/HMC5883L/HMC5883LCalibratable.cpp
nowireless/ros_nav6
49c0f485afeb656df20008144fc618d29b4937bb
[ "MIT" ]
null
null
null
/* ============================================================================= Nav6 source code is placed under the MIT license Copyright (c) 2013 Kauai Labs Portions of this work are based upon the FreeIMU Library by Fabio Varesano. (www.freeimu.com) which is open-source licensed under the GPL v3 License. This wo...
38.525735
187
0.604065
10279da7ea0269d9f41217d0738c5959abb44075
13,724
cpp
C++
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
tcp.cpp
foragony/calculation_acceleration
147619d640cc29d4de93caec295e0984cf7f4281
[ "ECL-2.0" ]
null
null
null
// client.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include<iostream> #include<winsock.h> #include<windows.h> #include <mmintrin.h> //MMX #include <xmmintrin.h> //SSE(include mmintrin.h) #include <emmintrin.h> //SSE2(include xmmintrin.h) #include <pmmintrin.h> //SSE3(include emmintrin.h) #include <tmmintrin.h>//SSSE3(...
25.748593
109
0.610755
10290a4aeff6b6a023fb28961d12728aff891e83
7,385
cc
C++
paddle/fluid/operators/elementwise/elementwise_mul_mkldnn_op.cc
ZongwuYang/Paddle
6224e61fd94e6ad87f18c2808a76256b516fa3f3
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/elementwise/elementwise_mul_mkldnn_op.cc
ZongwuYang/Paddle
6224e61fd94e6ad87f18c2808a76256b516fa3f3
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/elementwise/elementwise_mul_mkldnn_op.cc
ZongwuYang/Paddle
6224e61fd94e6ad87f18c2808a76256b516fa3f3
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
36.559406
80
0.627488
10297cf494588e60c748fbcbed6ba06dd5535cb3
3,069
cc
C++
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
src/ops/split.cc
aj7tesh/CTranslate2
8e424efdbcf40c89dca7e237a249464a95eeaf74
[ "MIT" ]
null
null
null
#include "ctranslate2/ops/split.h" #include <numeric> #include "device_dispatch.h" #include "type_dispatch.h" namespace ctranslate2 { namespace ops { Split::Split(dim_t axis, bool no_copy) : _axis(axis) , _total_size(0) , _no_copy(no_copy) { check_arguments(); } Split::Split(d...
34.483146
105
0.529814
102a019012876dfc0442c1e70182198f86b0cf7c
1,488
cpp
C++
cpp-pthread/demo22b-blocking-queue.cpp
thanhit95/multi-threading
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
15
2021-06-15T09:27:35.000Z
2022-03-25T02:01:45.000Z
cpp-pthread/demo22b-blocking-queue.cpp
thanhit95/multi-threads
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
null
null
null
cpp-pthread/demo22b-blocking-queue.cpp
thanhit95/multi-threads
30e745b6a6c52e56a8d8e3826ce7a97b51944caa
[ "BSD-3-Clause" ]
5
2021-07-15T14:31:33.000Z
2022-03-29T06:19:34.000Z
/* BLOCKING QUEUES Version B: A fast producer and a slow consumer Blocking queues in C++ POSIX threading are not supported by default. So, I use mylib::BlockingQueue for this demonstration. */ #include <iostream> #include <string> #include <unistd.h> #include <pthread.h> #include "../cpp-std/mylib-blockingqueue.hpp"...
20.957746
86
0.650538
102b1bc4f3e7f3e809f2fa584f523352af088133
267
cpp
C++
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-05T13:02:34.000Z
2021-07-05T13:02:34.000Z
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/ql/src/Critical/MissingNegativityTest.cpp
calumgrant/ql
3c0f04ac96da17456a2085ef11e05aca4632b986
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
Record records[SIZE] = ...; int f() { int recordIdx = 0; recordIdx = readUserInput(); //recordIdx is returned from a function // there is no check so it could be negative doFoo(&(records[recordIdx])); //but is not checked before use as an array offset }
26.7
81
0.677903
102c5231149876d8d1e956f496a4e518cd4d2700
2,191
cpp
C++
lunarlady/File.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
lunarlady/File.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
lunarlady/File.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
#include "lunarlady/File.hpp" #include "lunarlady/FileSystem.hpp" #include "lunarlady/StringUtils.hpp" #include "lunarlady/Error.hpp" #include <sstream> namespace lunarlady { void WriteFile(const std::string iFileName, const char* iBuffer, std::size_t iSize) { PHYSFS_file* file = PHYSFS_openWrite(iFileName.c_str())...
32.701493
137
0.671383
102e7aa7aef0a4eade2a35d2a5b59df6c9ba0ac3
1,867
hpp
C++
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
8
2015-03-29T16:37:47.000Z
2021-11-18T23:53:56.000Z
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
null
null
null
include/fibio/http/server/templates/mustache_template.hpp
qicosmos/fibio
9242be982a62d82eefdc489d88ccbdda180d861f
[ "BSD-2-Clause" ]
2
2015-08-31T02:51:04.000Z
2021-06-02T09:41:04.000Z
// // mustache_template.hpp // fibio // // Created by Chen Xu on 14/12/1. // Copyright (c) 2014 0d0a.com. All rights reserved. // #ifndef fibio_http_server_template_hpp #define fibio_http_server_template_hpp #include <fibio/http/common/json.hpp> #include <fibio/http/server/templates/mustache.hpp> #include <fibio/...
35.226415
101
0.589716
102f29874a2774a962ba491d442677954761b1ac
7,059
cpp
C++
3rdparty/opencv-3.4.2/modules/dnn/src/layers/reorg_layer.cpp
shrflaans/cppPlayground
29fc98271df2f1f2503d7c768a7622db1be80c29
[ "MIT" ]
3
2018-09-17T04:46:36.000Z
2019-08-01T07:33:28.000Z
3rdparty/opencv-3.4.2/modules/dnn/src/layers/reorg_layer.cpp
shrflaans/cppPlayground
29fc98271df2f1f2503d7c768a7622db1be80c29
[ "MIT" ]
null
null
null
3rdparty/opencv-3.4.2/modules/dnn/src/layers/reorg_layer.cpp
shrflaans/cppPlayground
29fc98271df2f1f2503d7c768a7622db1be80c29
[ "MIT" ]
1
2018-07-29T05:15:20.000Z
2018-07-29T05:15:20.000Z
/*M /////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, insta...
36.57513
127
0.602493
102f6b6f4cdb7acf913d48a7d886bdd1480e9328
2,531
cpp
C++
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
Trees/InPlaceConvertToDoublyLinkedList/InPlaceConvertToDoublyLinkedList03.cpp
XoDeR/AlgoTrain2018
04b96af8dd16d57cb31b70d268262b51ed559551
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Data structure to store a Binary Tree node struct Node { int data; Node *left, *right; }; // Function to create a new binary tree node having given key Node* newNode(int key) { Node* node = new Node; node->data = key; node->left = node->right = nullptr; return n...
18.88806
80
0.620703
10300000046defcb6a0af6e7479b2cdc723f2420
49,535
cpp
C++
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
1
2021-12-31T17:20:01.000Z
2021-12-31T17:20:01.000Z
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
SQLComponents/SQLVariantOperatorMod.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // File: SQLVariantOperatorMod.cpp // // Copyright (c) 1998-2022 ir. W.E. Huisman // All rights reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files ...
29.432561
415
0.731362
10338051e56fdd2c9a3ebe74e911bb9f3e9a0b7b
40,813
hpp
C++
modules/cudaarithm/include/opencv2/cudaarithm.hpp
kim-ninh/opencv_contrib
508c8db05e438635c84825629c069252bb53771a
[ "Apache-2.0" ]
null
null
null
modules/cudaarithm/include/opencv2/cudaarithm.hpp
kim-ninh/opencv_contrib
508c8db05e438635c84825629c069252bb53771a
[ "Apache-2.0" ]
null
null
null
modules/cudaarithm/include/opencv2/cudaarithm.hpp
kim-ninh/opencv_contrib
508c8db05e438635c84825629c069252bb53771a
[ "Apache-2.0" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
43.884946
168
0.754613
103490c319bee3ecb7ef0edf99657bc3c4c01e69
4,807
cpp
C++
03_Tutorial/T02_XMCocos2D/Source/Test/TestChipmunk/DemoQuery.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T02_XMCocos2D/Source/Test/TestChipmunk/DemoQuery.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T02_XMCocos2D/Source/Test/TestChipmunk/DemoQuery.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File DemoQuery.cpp * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * -------------------------------------------------------------------------- * * Copyright (c) 2010-2013...
30.424051
132
0.59871
10355833527765e13469d60529d98fa361566338
7,667
cc
C++
test/utils/test_type_list.cc
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
test/utils/test_type_list.cc
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
test/utils/test_type_list.cc
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> #include <type_traits> #include <neutrino/utils/mp/typelist.hh> #include <doctest/doctest.h> using namespace neutrino::mp; TEST_CASE("Test typelist size") { using t0 = type_list<>; using t1 = type_list<int>; using t2 = type_list<int, float>; using t3 = type_list<int...
29.375479
93
0.651885
1035ac7a03bacc05c2ec548c27f17140a9314a98
6,057
inl
C++
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
xiao6768/iceoryx
f99e0c3b5168dcde7f0d7bb99226c7faca01db69
[ "Apache-2.0" ]
1
2021-03-04T12:47:12.000Z
2021-03-04T12:47:12.000Z
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
xiao6768/iceoryx
f99e0c3b5168dcde7f0d7bb99226c7faca01db69
[ "Apache-2.0" ]
1
2021-06-14T12:07:47.000Z
2021-06-17T13:43:41.000Z
iceoryx_posh/include/iceoryx_posh/internal/mepoo/mepoo_segment.inl
boschglobal/iceoryx
eb0256407e3cf0baed1efdee6f8eeacf4d3514da
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 by Apex.AI Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
44.866667
117
0.742612
1035b23f5013e09b3b54ff5c26a7957de97ce48e
1,630
cpp
C++
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
1
2020-05-29T12:34:33.000Z
2020-05-29T12:34:33.000Z
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
src/Basic/CastKind.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
namespace cdot { const char* CastNames[] = {"<noop>", "<lvalue_to_rvalue>", "inttofp", "fptoint", "ext", "trunc", "ptrtoint", "in...
37.906977
52
0.263804
10365b22e3bd41148d0f40ca25e38b55cf81651c
1,517
hpp
C++
node_modules/grad-listbuymenu/cfgFunctions.hpp
gruppe-adler/TvT_HoldingPoint.Altis
685a25e1cab315c877dcc0bbc41cf7d181fdd3f8
[ "CC-BY-3.0" ]
1
2020-08-31T15:48:28.000Z
2020-08-31T15:48:28.000Z
node_modules/grad-listbuymenu/cfgFunctions.hpp
AdlerSalbei/TvT_HoldingPoint.Altis
685a25e1cab315c877dcc0bbc41cf7d181fdd3f8
[ "CC-BY-3.0" ]
3
2017-01-16T09:25:39.000Z
2017-02-15T08:35:16.000Z
node_modules/grad-listbuymenu/cfgFunctions.hpp
gruppe-adler/TvT_HoldingPoint.Altis
685a25e1cab315c877dcc0bbc41cf7d181fdd3f8
[ "CC-BY-3.0" ]
null
null
null
#ifndef MODULES_DIRECTORY #define MODULES_DIRECTORY modules #endif class GRAD_lbm { class common { file = MODULES_DIRECTORY\grad-listBuymenu\functions\common; class addFunds {}; class addInteraction {}; class checkCargoSpace {}; class getModuleRoot {}; class getP...
25.711864
67
0.562294
1036cc1288d0d727ffd0b5d1dd780f6643df1948
2,121
cpp
C++
goals/GetWeaponGoal_Evaluator.cpp
Sundragon1993/AI-Game-Pratices
7549b23f71c3b2b5145388f0d8d4900bdb307a7a
[ "MIT" ]
null
null
null
goals/GetWeaponGoal_Evaluator.cpp
Sundragon1993/AI-Game-Pratices
7549b23f71c3b2b5145388f0d8d4900bdb307a7a
[ "MIT" ]
null
null
null
goals/GetWeaponGoal_Evaluator.cpp
Sundragon1993/AI-Game-Pratices
7549b23f71c3b2b5145388f0d8d4900bdb307a7a
[ "MIT" ]
null
null
null
#include "GetWeaponGoal_Evaluator.h" #include "../Raven_ObjectEnumerations.h" #include "misc/Stream_Utility_Functions.h" #include "../Raven_Game.h" #include "../Raven_Map.h" #include "Goal_Think.h" #include "Raven_Goal_Types.h" #include "Raven_Feature.h" #include <string> //------------------- CalculateDesirabilit...
27.907895
79
0.577558
10377f4601e1190527cb32fa954e6b643ee279df
36
hpp
C++
lib/include/drivers/adc.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
lib/include/drivers/adc.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
lib/include/drivers/adc.hpp
niclasberg/asfw
f836de1c0d6350541e3253863dedab6a3eb81df7
[ "MIT" ]
null
null
null
#pragma once #include "adc/make.hpp"
18
23
0.75
103807b73b45150d29886c8b26abc609000a59bf
9,356
cpp
C++
frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
2
2015-11-05T03:03:43.000Z
2017-05-15T12:55:39.000Z
frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzRenderConsts.h> #include "dmzRenderModuleIsectOSG.h" #include <dmzRenderUtilOSG.h> #include <dmzRenderObjectDataOSG.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzTypesHandleContainer.h> #include <dmzTypesVector.h> #include <dmzTypesString.h> #include <osg/CullFace> #include <osg/Drawable>...
25.016043
90
0.525973
103902cac236f8a988d05f01197ad080a846cfd2
1,180
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include <iostream> #include "binarysearchtree.h" #include "binarysearchtree.cpp" using namespace std; struct Node { int data; Node *left, *right; }; Node* newNode(int key) { Node* node = new Node; node->data = key; node->left = node->right = nullptr; return node; } void inorder(Node* root) { if (root ==...
12.967033
64
0.616949
103a03280340da22c8ed3fca32af62c5570dc6cb
1,923
cpp
C++
inference-engine/tests/functional/plugin/myriad/subgraph_tests/dsr_split.cpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
2
2020-11-18T14:14:06.000Z
2020-11-28T04:55:57.000Z
inference-engine/tests/functional/plugin/myriad/subgraph_tests/dsr_split.cpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
inference-engine/tests/functional/plugin/myriad/subgraph_tests/dsr_split.cpp
mmakridi/openvino
769bb7709597c14debdaa356dd60c5a78bdfa97e
[ "Apache-2.0" ]
1
2020-12-18T15:47:45.000Z
2020-12-18T15:47:45.000Z
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "dsr_tests_common.hpp" namespace { using namespace LayerTestsUtils::vpu; struct SplitTestCase { DataShapeWithUpperBound dataShapes; int64_t axis, numSplits; }; const auto combinations = testing::Combine( test...
31.016129
98
0.616745
103a5165c7c2ac742043f1a5153f39633e5eee24
329
cpp
C++
libFileArbTests/libFileArbTestsMain.cpp
NeilJustice/FileArb
4104c64170177a0b5d8d52ed7af7968970f0ecfd
[ "MIT" ]
1
2021-12-09T22:49:01.000Z
2021-12-09T22:49:01.000Z
libFileArbTests/libFileArbTestsMain.cpp
NeilJustice/FileArb
4104c64170177a0b5d8d52ed7af7968970f0ecfd
[ "MIT" ]
8
2020-03-04T01:43:04.000Z
2020-04-11T22:27:41.000Z
libFileArbTests/libFileArbTestsMain.cpp
NeilJustice/FileArb
4104c64170177a0b5d8d52ed7af7968970f0ecfd
[ "MIT" ]
null
null
null
#include "pch.h" #if defined _WIN32 #if defined _DEBUG #pragma comment(lib, "libboost_regex-vc142-mt-gd-x64-1_75.lib") #else #pragma comment(lib, "libboost_regex-vc142-mt-x64-1_75.lib") #endif #endif int main(int argc, char* argv[]) { const int exitCode = ZenUnit::RunTests(argc, argv); return exitC...
20.5625
64
0.68693
103b0498197dc6af29c8f5c84777ee4bf2f3e02e
1,022
cpp
C++
test/std/utilities/variant/variant.get/holds_alternative.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/variant/variant.get/holds_alternative.pass.cpp
AOSiP/platform_external_libcxx
eb2115113f10274c0d25523ba44c3c7373ea3209
[ "MIT" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
test/std/utilities/variant/variant.get/holds_alternative.pass.cpp
AOSiP/platform_external_libcxx
eb2115113f10274c0d25523ba44c3c7373ea3209
[ "MIT" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// -*- C++ -*- //===----------------------------------------------------------------------===// // // 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. // //===-------------------------...
26.205128
80
0.521526
103bba595724b6413cd8334d43d429aa9c5f1a98
1,410
hpp
C++
libs/dmlf/include/dmlf/collective_learning/client_params.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/dmlf/include/dmlf/collective_learning/client_params.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/dmlf/include/dmlf/collective_learning/client_params.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
30
80
0.619858
103c81feea8781325ba84e138b234bfbcf5721c1
598
cc
C++
erizoAPI/addon.cc
winlinvip/licode
ee4f012147264c29cc6d8282f2a573b801a2454b
[ "MIT" ]
1
2018-08-21T03:59:44.000Z
2018-08-21T03:59:44.000Z
erizoAPI/addon.cc
winlinvip/licode
ee4f012147264c29cc6d8282f2a573b801a2454b
[ "MIT" ]
null
null
null
erizoAPI/addon.cc
winlinvip/licode
ee4f012147264c29cc6d8282f2a573b801a2454b
[ "MIT" ]
1
2018-08-21T03:59:47.000Z
2018-08-21T03:59:47.000Z
#ifndef BUILDING_NODE_EXTENSION #define BUILDING_NODE_EXTENSION #endif #include <nan.h> #include "WebRtcConnection.h" #include "OneToManyProcessor.h" #include "OneToManyTranscoder.h" #include "SyntheticInput.h" #include "ExternalInput.h" #include "ExternalOutput.h" #include "ThreadPool.h" #include "IOThreadPool.h" NAN...
23.92
35
0.779264
103ca24d6f03bd2def6c7cb404e11020d3be086b
22,248
cpp
C++
ngraph/test/backend/detection_output.in.cpp
MikhailPedus/openvino
5f9ef0cf26543b3dde80b3b2bfc7e996e7c55d5b
[ "Apache-2.0" ]
null
null
null
ngraph/test/backend/detection_output.in.cpp
MikhailPedus/openvino
5f9ef0cf26543b3dde80b3b2bfc7e996e7c55d5b
[ "Apache-2.0" ]
27
2020-12-29T14:38:34.000Z
2022-02-21T13:04:03.000Z
ngraph/test/backend/detection_output.in.cpp
dorloff/openvino
1c3848a96fdd325b044babe6d5cd26db341cf85b
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 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.ap...
25.484536
100
0.502247
103cd6311a5b2270ba19ff696c286cc96cffd054
19,920
cpp
C++
Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
/* AngelCode Scripting Library Copyright (c) 2003-2007 Andreas Jonsson 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...
22.035398
201
0.689809
103ff94c3f3d0fd8945df53e14902601760d9e72
5,287
cpp
C++
options/posix/generic/sys-socket-stubs.cpp
64/mlibc
81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da
[ "MIT" ]
1
2021-07-05T04:19:56.000Z
2021-07-05T04:19:56.000Z
options/posix/generic/sys-socket-stubs.cpp
64/mlibc
81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da
[ "MIT" ]
null
null
null
options/posix/generic/sys-socket-stubs.cpp
64/mlibc
81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da
[ "MIT" ]
null
null
null
#include <errno.h> #include <sys/socket.h> #include <bits/ensure.h> #include <mlibc/debug.hpp> #include <mlibc/posix-sysdeps.hpp> int accept(int fd, struct sockaddr *__restrict addr_ptr, socklen_t *__restrict addr_length) { if(addr_ptr || addr_length) mlibc::infoLogger() << "\e[35mmlibc: accept() does not fill st...
22.214286
106
0.680726
104117324ffaae6d14a0b89bcd166764fd676047
7,989
cpp
C++
src/file.cpp
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
7
2015-01-29T14:41:28.000Z
2021-03-09T01:29:58.000Z
src/file.cpp
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
2
2015-03-23T03:59:12.000Z
2015-03-27T07:12:41.000Z
src/file.cpp
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
5
2015-03-03T06:54:00.000Z
2018-10-16T21:08:02.000Z
// Copyright (c) 2007-2008 Facebook // // 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...
26.453642
98
0.615847
1041737a1c37d31376a2aba5941dc7aeeb4c8aaa
1,179
cc
C++
chromium/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h" #include "base/files/file_path.h" #include "ios/public/provider/web/we...
31.864865
82
0.754029
10424238b789e0e4c362d208e9ed08984fdf4ba9
2,690
cc
C++
CondFormats/CSCObjects/src/CSCTriggerMapping.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CondFormats/CSCObjects/src/CSCTriggerMapping.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CondFormats/CSCObjects/src/CSCTriggerMapping.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include <CondFormats/CSCObjects/interface/CSCTriggerMapping.h> #include <DataFormats/MuonDetId/interface/CSCTriggerNumbering.h> #include <iostream> CSCTriggerMapping::CSCTriggerMapping() : myName_("CSCTriggerMapping"), debugV_(false) {} CSCTriggerMapping::~CSCTriggerMapping() {} int CSCTriggerMapping::chamber(int e...
44.098361
119
0.611896
1048a8427c1fbbe3fff05c3c1363549ab33cc288
15,584
cpp
C++
Source/core/rendering/RenderQuote.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
2
2016-05-19T10:37:25.000Z
2019-09-18T04:37:14.000Z
Source/core/rendering/RenderQuote.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
null
null
null
Source/core/rendering/RenderQuote.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
7
2015-09-23T09:56:29.000Z
2022-01-20T10:36:06.000Z
/** * Copyright (C) 2011 Nokia Inc. All rights reserved. * Copyright (C) 2012 Google Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version ...
39.353535
122
0.543955
1048b0075f582a12c750afb1ee8b455f25793961
3,207
hpp
C++
source/thewizardplusplus/wizard_parser/vendor/range/v3/algorithm/partition_copy.hpp
thewizardplusplus/wizard-parser
a2aafcc087e6f5b96afee636831a0c6d67836218
[ "MIT" ]
1
2020-04-17T06:55:35.000Z
2020-04-17T06:55:35.000Z
example/source/vendor/range/v3/algorithm/partition_copy.hpp
thewizardplusplus/wizard-parser
a2aafcc087e6f5b96afee636831a0c6d67836218
[ "MIT" ]
29
2017-02-24T04:36:16.000Z
2019-03-13T00:29:39.000Z
source/thewizardplusplus/wizard_parser/vendor/range/v3/algorithm/partition_copy.hpp
thewizardplusplus/wizard-parser
a2aafcc087e6f5b96afee636831a0c6d67836218
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2014-present // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/ericniebler/ran...
35.241758
102
0.546305
104a0298563a23bc7f2925dfc8fa780d9ddb9e93
4,885
cc
C++
tensorflow/lite/micro/examples/hello_world/main_functions.cc
nothinn/tensorflow
1b0c67288dd8a2659ae2b64315b648a68789412a
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/micro/examples/hello_world/main_functions.cc
nothinn/tensorflow
1b0c67288dd8a2659ae2b64315b648a68789412a
[ "Apache-2.0" ]
2
2021-08-25T16:05:43.000Z
2022-02-10T02:04:11.000Z
tensorflow/lite/micro/examples/hello_world/main_functions.cc
nothinn/tensorflow
1b0c67288dd8a2659ae2b64315b648a68789412a
[ "Apache-2.0" ]
null
null
null
/* 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...
40.371901
80
0.732856
104a22b0f1934b314928702965216b76141ca16f
2,975
cpp
C++
src/third_party/mozjs-45/extract/js/src/jit/x86/Assembler-x86.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
4
2018-02-06T01:53:12.000Z
2018-02-20T01:47:36.000Z
src/third_party/mozjs-45/extract/js/src/jit/x86/Assembler-x86.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs-45/extract/js/src/jit/x86/Assembler-x86.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
3
2018-02-06T01:53:18.000Z
2021-07-28T09:48:15.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * 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/....
28.605769
91
0.646723
104a327f80da397e5fb8c252289e938fc8389797
8,166
cpp
C++
hardware/test/cpu_instruction_set_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
2
2020-11-19T03:23:35.000Z
2021-02-25T03:34:40.000Z
hardware/test/cpu_instruction_set_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
hardware/test/cpu_instruction_set_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
/******************************************************************************* MIT License Copyright (c) 2021 Romain Vinders 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, ...
48.035294
128
0.75447
104b88ded841f8ea686069bd5c9fc4a560c0315a
1,156
cpp
C++
huawei/binarysearch/binarysearch/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
1
2017-03-16T09:38:48.000Z
2017-03-16T09:38:48.000Z
huawei/binarysearch/binarysearch/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
huawei/binarysearch/binarysearch/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
// // main.cpp // binarysearch // // Created by Rain on 12/04/2017. // Copyright © 2017 Rain. All rights reserved. // #include <iostream> #include <vector> using namespace std; int getPos(vector<int> A, int n, int val) { // write code here vector<int>count(10000,0); for(int i=0;i<n;i++)...
20.280702
47
0.390138
104c4a39144277fd702a673cd41acae54291cf78
426
cpp
C++
level1/p02_isPrime/_isPrime.cpp
KenNN99/c2019
a668b7aa67187c8ef44bdefe5e7813d665084ff3
[ "MIT" ]
null
null
null
level1/p02_isPrime/_isPrime.cpp
KenNN99/c2019
a668b7aa67187c8ef44bdefe5e7813d665084ff3
[ "MIT" ]
null
null
null
level1/p02_isPrime/_isPrime.cpp
KenNN99/c2019
a668b7aa67187c8ef44bdefe5e7813d665084ff3
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> void NotPrime(); int main() { int i; scanf("%d", &i); if (i == 1) { NotPrime(); } for (int n = 2; n*n <= i; n++) { if (i%n == 0) { NotPrime(); return 0; } } printf("This is a Prime."); system("pause"); return 0; } void NotPrime() { printf("This is not ...
11.833333
48
0.528169
104c691c27d95e1ba124b9aec6463c2cd4d733d0
430
hpp
C++
NWNXLib/API/Mac/API/Schema.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/Schema.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/Schema.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include "Hash.hpp" namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct Table; struct Schema { int32_t schema_cookie; int32_t iGeneration; Hash tblHash; Hash idxHash; Hash trigHash; Hash fkeyHash; Table* ...
13.4375
58
0.686047
104d77282d146d7a6193a61bb24274bc0bd3ca6b
5,540
cpp
C++
test/test_pex.cpp
svn2github/libtorrent-rasterbar-RC_0_16
c2c8dc24c82816c336d7c45c3ae7a3ab3821077a
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
test/test_pex.cpp
svn2github/libtorrent-rasterbar-RC_0_16
c2c8dc24c82816c336d7c45c3ae7a3ab3821077a
[ "BSL-1.0", "BSD-3-Clause" ]
1
2019-02-03T09:54:54.000Z
2019-02-03T09:54:54.000Z
test/test_pex.cpp
svn2github/libtorrent-rasterbar-RC_0_16
c2c8dc24c82816c336d7c45c3ae7a3ab3821077a
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2008, 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...
32.588235
96
0.718412
104dd44c38c2bb09a043d6c92870c7c210012d1f
29,388
cpp
C++
Engine/source/Alux3D/shotgunprojectile.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
null
null
null
Engine/source/Alux3D/shotgunprojectile.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
null
null
null
Engine/source/Alux3D/shotgunprojectile.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
1
2018-10-26T03:18:22.000Z
2018-10-26T03:18:22.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platform/platform.h" #include "Alux3D/shotgunprojectile.h" #include "scene/sceneRenderState.h" #include "scene/sceneManager.h" #include "lighting/lightInfo.h" #include "lighting/lightManage...
23.757478
132
0.671124
104f273a3cd6bfc289799d35170c6753a04d80e8
2,026
hpp
C++
src/ME136/SensorCalibration.hpp
lassepe/ME292B-UserCode-Group14
a6a637340439ca75b129dc9dd6c560558c22e2ff
[ "BSD-3-Clause" ]
null
null
null
src/ME136/SensorCalibration.hpp
lassepe/ME292B-UserCode-Group14
a6a637340439ca75b129dc9dd6c560558c22e2ff
[ "BSD-3-Clause" ]
null
null
null
src/ME136/SensorCalibration.hpp
lassepe/ME292B-UserCode-Group14
a6a637340439ca75b129dc9dd6c560558c22e2ff
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "MainLoopTypes.hpp" #include "Vec3f.hpp" class SensorCalibration { public: /** * @brief SensorCalibration the constructor for this class. This class wraps away * the calibration routine. The user can specify over how many iterations he * wants to calibrate; * @param measurementsTo...
31.169231
83
0.698914
10506bb2f6449ce70be8d9cd41f032a088a927da
1,129
hpp
C++
include/dtc/cell/cell.hpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
include/dtc/cell/cell.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
include/dtc/cell/cell.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2018, Tsung-Wei Huang, Chun-Xun Lin, and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
49.086957
80
0.355182
10520c36a175ae4aceb9a500270a9bbd45dfafbb
170,457
cc
C++
third_party/blink/renderer/core/html/media/html_media_element.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
third_party/blink/renderer/core/html/media/html_media_element.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
third_party/blink/renderer/core/html/media/html_media_element.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
36.244312
96
0.722065
10523a3eaec88d2cc899f57e981f7d4acd7a9853
9,250
cpp
C++
zurch_barzer.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
1
2018-10-22T12:53:13.000Z
2018-10-22T12:53:13.000Z
zurch_barzer.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
null
null
null
zurch_barzer.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
null
null
null
#include <zurch_barzer.h> #include <zurch_docidx.h> #include <zurch_settings.h> /// Copyright Barzer LLC 2012 /// Code is property Barzer for authorized use only /// ////// THIS IS A TEMPLATE forcustomized XML PARSER ///// clone it into a new file and fill out the TAGS (search for XXX) #include <iostream> #includ...
29.742765
143
0.617189
10535a22ff7c6548667fedb088a3596c5bb22ef7
787
cpp
C++
windows/advcore/gdiplus/test/functest/chalfpixel.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/advcore/gdiplus/test/functest/chalfpixel.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/advcore/gdiplus/test/functest/chalfpixel.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************Module*Header*******************************\ * Module Name: CAntialias.cpp * * This file contains the code to support the functionality test harness * for GDI+. This includes menu options and calling the appropriate * functions for execution. * * Created: 05-May-2000 - Jeff Vezi...
25.387097
77
0.579416
105390b9e6ff92441f266aad23094bdf083e5570
9,997
cpp
C++
winsdkfb-master/samples/SDKCppUnit/SDKCppUnit.Shared/TestRunner.cpp
NestedWorld/NestedWorld-Windows-10
96e9e8d8b97199bc1d9ce3f8cd5133e63db513a5
[ "MIT" ]
null
null
null
winsdkfb-master/samples/SDKCppUnit/SDKCppUnit.Shared/TestRunner.cpp
NestedWorld/NestedWorld-Windows-10
96e9e8d8b97199bc1d9ce3f8cd5133e63db513a5
[ "MIT" ]
null
null
null
winsdkfb-master/samples/SDKCppUnit/SDKCppUnit.Shared/TestRunner.cpp
NestedWorld/NestedWorld-Windows-10
96e9e8d8b97199bc1d9ce3f8cd5133e63db513a5
[ "MIT" ]
null
null
null
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
26.946092
93
0.607582
1054666e5dc6a9be623b69119f9add414b7ad7d6
3,498
cpp
C++
src/src/fractals/julia/Julia.cpp
migregal/bmstu_iu7_cg_course
8ec2bb5c319328d9b0de307c1a8236b6b5188136
[ "MIT" ]
null
null
null
src/src/fractals/julia/Julia.cpp
migregal/bmstu_iu7_cg_course
8ec2bb5c319328d9b0de307c1a8236b6b5188136
[ "MIT" ]
null
null
null
src/src/fractals/julia/Julia.cpp
migregal/bmstu_iu7_cg_course
8ec2bb5c319328d9b0de307c1a8236b6b5188136
[ "MIT" ]
null
null
null
#include <fractals/julia/Julia.h> #include <algorithm> #include <cmath> #include <math/Vector.h> #include <QDebug> #define MAX_RAYCAST_STEP 128 namespace CGCP::fractal { float JuliaParametrized::raycast( math::Vector3 const &ro, math::Vector3 const &rd, math::Vector4 &resco...
33.314286
107
0.445969
1054d6d9d8f0cb216d372576bf8147d76d19b906
3,646
cpp
C++
kernel/node/Directory.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
2
2020-07-14T21:16:54.000Z
2020-10-08T08:40:47.000Z
kernel/node/Directory.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
null
null
null
kernel/node/Directory.cpp
busybox11/skift
778ae3a0dc5ac29d7de02200c49d3533e47854c5
[ "MIT" ]
null
null
null
#include <libsystem/Logger.h> #include <libsystem/Result.h> #include <libsystem/core/CString.h> #include "kernel/node/Directory.h" #include "kernel/node/Handle.h" static Result directory_open(FsDirectory *node, FsHandle *handle) { DirectoryListing *listing = (DirectoryListing *)malloc(sizeof(DirectoryListing) + ...
24.469799
134
0.657707
10550b46ecac278de7d8e133f356940e447e8b84
3,291
cc
C++
FWCore/Framework/src/HCTypeTag.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
FWCore/Framework/src/HCTypeTag.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
FWCore/Framework/src/HCTypeTag.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#ifndef Framework_HCTypeTag_icc #define Framework_HCTypeTag_icc // -*- C++ -*- // // Package: HeteroContainer // Module: HCTypeTag // // Description: <one line class summary> // // Implementation: // <Notes on implementation> // // Author: Chris D. Jones // Created: Sun Sep 20 15:27:25 EDT 1998 //...
24.377778
121
0.613187
105534fd5b383840157e9d44a7cda6980e28c6bb
710
cpp
C++
src/tests/profiler/native/nullprofiler/nullprofiler.cpp
tonybaloney/runtime
b43bea8d0c409d3693c172198c6b924eff6731f4
[ "MIT" ]
null
null
null
src/tests/profiler/native/nullprofiler/nullprofiler.cpp
tonybaloney/runtime
b43bea8d0c409d3693c172198c6b924eff6731f4
[ "MIT" ]
null
null
null
src/tests/profiler/native/nullprofiler/nullprofiler.cpp
tonybaloney/runtime
b43bea8d0c409d3693c172198c6b924eff6731f4
[ "MIT" ]
null
null
null
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "nullprofiler.h" GUID NullProfiler::GetClsid() { // {9C1A6E14-2DEC-45CE-9061-F31964D8884D} GUID clsid = { 0x9C1A6E14, 0x2DEC, 0x45CE,{ 0x90, 0x61, 0xF3, 0x19, 0x64,...
22.903226
99
0.702817
10563e7a19863fd6b7c1c62240c38c3222a06c1f
1,488
cpp
C++
src/main_collector.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
1
2021-08-21T12:49:27.000Z
2021-08-21T12:49:27.000Z
src/main_collector.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
null
null
null
src/main_collector.cpp
despargy/KukaImplementation-kinetic
3a9ab106b117acfc6478fbf3e60e49b7e94b2722
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <thread> // #include <autharl_core/controller/gravity_compensation.h> // #include <autharl_core/robot/robot_sim.h> #include <autharl_core> #include <lwr_robot/robot.h> // // #include <autharl_core/viz/ros_state_publisher.h> // #include <autharl_core/robot/ros_model.h> #include <kuka_imp...
28.075472
104
0.719758
105733a2cf1f9575daf8c3ca8fe0d4a164591a0b
2,245
cc
C++
net/spdy/spdy_protocol_test.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
net/spdy/spdy_protocol_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
net/spdy/spdy_protocol_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/spdy/spdy_protocol.h" #include <limits> #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" #include "net/spdy/spdy_bitma...
27.716049
73
0.703786
105793bb3faf489b211eac8900a8075c54b92406
1,179
cpp
C++
SISASG/Source/genericEntity.cpp
Ristellise/JUMP-Sprint
f664270aebabec60fc527f7e875319885bc43749
[ "WTFPL" ]
2
2019-02-12T00:34:01.000Z
2019-02-12T00:36:27.000Z
SISASG/Source/genericEntity.cpp
Ristellise/JUMP-Sprint
f664270aebabec60fc527f7e875319885bc43749
[ "WTFPL" ]
22
2019-02-11T04:53:50.000Z
2019-02-27T05:38:06.000Z
SISASG/Source/genericEntity.cpp
Ristellise/JUMP-Sprint
f664270aebabec60fc527f7e875319885bc43749
[ "WTFPL" ]
null
null
null
#include "genericEntity.h" #include "Application.h" genericEntity::genericEntity() { } genericEntity::~genericEntity() { } void genericEntity::Init(const Vector3& pos, const Vector3& target, const Vector3& up) { this->position = pos; this->target = target; view = (target - position).Normalized(); r...
21.436364
107
0.626802
10584bac766b71c8bedf792af1ae53c0665fe320
612
cpp
C++
src/RE/TESContainer.cpp
FruitsBerriesMelons123/CommonLibSSE
7ae21d11b9e9c86b0596fc1cfa58b6993a568125
[ "MIT" ]
1
2020-09-25T18:18:09.000Z
2020-09-25T18:18:09.000Z
src/RE/TESContainer.cpp
FruitsBerriesMelons123/CommonLibSSE
7ae21d11b9e9c86b0596fc1cfa58b6993a568125
[ "MIT" ]
null
null
null
src/RE/TESContainer.cpp
FruitsBerriesMelons123/CommonLibSSE
7ae21d11b9e9c86b0596fc1cfa58b6993a568125
[ "MIT" ]
1
2020-10-26T19:05:05.000Z
2020-10-26T19:05:05.000Z
#include "RE/TESContainer.h" #include "RE/FormTypes.h" #include "RE/TESForm.h" namespace RE { auto TESContainer::GetContainerObjectAt(UInt32 a_idx) const -> std::optional<ContainerObject*> { if (a_idx < numContainerObjects) { return std::make_optional(containerObjects[a_idx]); } else { return std::null...
18.545455
77
0.69281
105bcf462092ff27827ffc0a14e2ee79ecbcb6e0
426
hpp
C++
include/3dstris/gui/widget.hpp
geniiii/3DStris
556ef42ec2e131ffd7ac92065773dbaa483d743a
[ "MIT" ]
null
null
null
include/3dstris/gui/widget.hpp
geniiii/3DStris
556ef42ec2e131ffd7ac92065773dbaa483d743a
[ "MIT" ]
null
null
null
include/3dstris/gui/widget.hpp
geniiii/3DStris
556ef42ec2e131ffd7ac92065773dbaa483d743a
[ "MIT" ]
null
null
null
#pragma once #include <3dstris/util.hpp> class GUI; class Widget { public: Widget(GUI& parent, const Pos pos, const WH wh); virtual ~Widget() = default; virtual void draw() const = 0; virtual void update(const touchPosition touch, const touchPosition previousTouch) = 0; Pos getPos() const noexcept { r...
17.75
49
0.683099
105c103a138ed79b39bd4eee2f74f05f80c12d92
3,180
hpp
C++
include/eve/module/core/regular/impl/reduce.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
include/eve/module/core/regular/impl/reduce.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
include/eve/module/core/regular/impl/reduce.hpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
38.313253
100
0.628931
105cab27d49365dbaf757988f845fbdbf7e5449c
9,785
cc
C++
chrome/utility/importer/edge_database_reader_win.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/utility/importer/edge_database_reader_win.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/utility/importer/edge_database_reader_win.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "chrome/utility/importer/edge_database_reader_win.h" #include <windows.h> #include <stddef.h> #include <stdint.h> #include <vector> namespace...
37.490421
80
0.633112
105e8a8c8849240134205cbad4b48cc321374235
3,738
cpp
C++
src/eigensolve.cpp
norlab-ulaval/wmrde
69e1f20bedd9c145878d44dbe17b3de405696fe3
[ "BSD-2-Clause" ]
18
2015-05-09T21:53:43.000Z
2021-12-01T07:52:09.000Z
src/eigensolve.cpp
norlab-ulaval/wmrde
69e1f20bedd9c145878d44dbe17b3de405696fe3
[ "BSD-2-Clause" ]
5
2016-05-29T09:02:09.000Z
2021-05-07T16:36:38.000Z
src/eigensolve.cpp
norlab-ulaval/wmrde
69e1f20bedd9c145878d44dbe17b3de405696fe3
[ "BSD-2-Clause" ]
11
2016-07-15T16:46:51.000Z
2022-03-14T13:11:22.000Z
#include <wmrde/eigensolve.h> void eigenSolveDynamic( const int nrows, const int ncols, Real* A, Real* b, Real* x ) { Eigen::Map<MatrixXr> A_(A,nrows,ncols); Eigen::Map<MatrixXr> b_(b,nrows,1); Eigen::Map<MatrixXr> x_(x,ncols,1); if ( nrows == ncols ) { x_ = A_.llt().solve(b_); //requires positive definite } el...
26.892086
104
0.67603
105eae46a93cf2dfed9c56935880b1b46319e7b6
827
cpp
C++
src/StillDataTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
1
2021-02-13T08:40:50.000Z
2021-02-13T08:40:50.000Z
src/StillDataTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
null
null
null
src/StillDataTask.cpp
stefunkk/openstill
17cc439fe9dbe7dea02588d77e51652fc1cc50ce
[ "MIT" ]
null
null
null
#include "StillDataTask.h" StillDataTaskClass::StillDataTaskClass(StillDataContextClass &context, FileServiceClass &fileService, SensorDataClass &data, SettingsClass &settings) : _settings(settings), _data(data), _fileService(fileService), _context(context) { } void StillDataTaskClass::exec() { if (_context.clear...
33.08
230
0.729141
105ebb36a30368684c583ffef1020750b09a6c59
3,176
cc
C++
gazebo/rendering/Grid_TEST.cc
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
887
2020-04-18T08:43:06.000Z
2022-03-31T11:58:50.000Z
gazebo/rendering/Grid_TEST.cc
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
462
2020-04-21T21:59:19.000Z
2022-03-31T23:23:21.000Z
gazebo/rendering/Grid_TEST.cc
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
421
2020-04-21T09:13:03.000Z
2022-03-30T02:22:01.000Z
/* * Copyright (C) 2016 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.538462
79
0.628463
105edc5729ebb32360624ec4625447ed5f1c6029
1,303
cxx
C++
VTK/Common/vtkTensor.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
VTK/Common/vtkTensor.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
VTK/Common/vtkTensor.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkTensor.cxx,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This s...
26.591837
78
0.523408