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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6f67d4c9c8ff04cef2569408ba2ee20cfb5fa11 | 17,647 | cc | C++ | tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/kernel_ops_pattern.cc | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 54 | 2017-06-17T14:07:48.000Z | 2022-03-29T02:11:20.000Z | tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/kernel_ops_pattern.cc | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 14 | 2018-08-11T00:55:13.000Z | 2022-03-14T23:24:30.000Z | tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/kernel_ops_pattern.cc | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 11 | 2018-04-19T22:36:01.000Z | 2021-08-02T08:44:43.000Z | // Copyright 2020 The TensorFlow Runtime 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 ... | 43.041463 | 83 | 0.708166 | wainshine |
f6f67eda841d96be20cbe78b0ec788c60d887bc9 | 607 | cpp | C++ | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/silver/2740.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | 1 | 2020-03-14T10:58:54.000Z | 2020-03-14T10:58:54.000Z | // 2740
#include <iostream>
using namespace std;
int n, m, k;
int a[100][100], b[100][100], c[100][100];
int main() {
cin >> n >> m;
for(int i=0;i<n;++i) {
for(int j=0;j<m;++j) {
cin >> a[i][j];
}
}
cin >> m >> k;
for(int i=0;i<m;++i) {
for(int j=0;j<k;++j) {
... | 18.96875 | 47 | 0.329489 | pseudowasabi |
f6f6bf23efb7f645b65fd277ec36a793dcfa1fa5 | 5,676 | cpp | C++ | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 1,801 | 2015-01-19T16:28:03.000Z | 2022-03-31T12:28:56.000Z | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 168 | 2016-03-02T06:23:20.000Z | 2022-03-25T12:29:37.000Z | src/Tracker/graph/GTL/src/gml_parser.cpp | xzou999/Multitarget-tracker | 94b22341d009c9585d08fcb64c25859283f86e7d | [
"Apache-2.0"
] | 608 | 2015-01-19T16:27:51.000Z | 2022-03-30T02:07:56.000Z | /* This software is distributed under the GNU Lesser General Public License */
//==========================================================================
//
// gml_parser.cpp - parser for the GML-file-format specified in:
// Michael Himsolt, GML: Graph Modelling Language,
// 21... | 19.985915 | 78 | 0.548978 | xzou999 |
f6f759da6a412722907e06bdb4200cfd1c90ca37 | 144 | cpp | C++ | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | 14 | 2020-10-07T17:55:55.000Z | 2021-12-29T22:49:50.000Z | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | null | null | null | SilverEngine/system/default_code.cpp | JoseLRM/SilverEngine | c23586f4c953161e3b2ba5b473655105b8987774 | [
"Apache-2.0"
] | null | null | null | #include "SilverEngine.h"
using namespace sv;
SV_USER void initialize_game()
{
set_scene("Main");
}
SV_USER void update_scene()
{
}
| 10.285714 | 30 | 0.680556 | JoseLRM |
f6f89fb6b9ceaf5e89a5573ba6a717fdf1ba5435 | 3,882 | hpp | C++ | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/NumericalAlgorithms/DiscontinuousGalerkin/NormalDotFlux.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <string>
#include "DataStructures/DataBox/PrefixHelpers.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructures/Tensor/EagerMath/Magnitude.hpp"... | 37.68932 | 80 | 0.688047 | nilsvu |
f6fa4fafcd814134043686959f19856d102e7de2 | 8,303 | cpp | C++ | src/client/CNinjaRope.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 192 | 2015-02-13T14:53:59.000Z | 2022-03-29T11:18:58.000Z | src/client/CNinjaRope.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 48 | 2015-01-06T22:00:53.000Z | 2022-01-15T18:22:46.000Z | src/client/CNinjaRope.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 51 | 2015-01-16T00:55:16.000Z | 2022-02-05T03:09:30.000Z | /////////////////////////////////////////
//
// OpenLieroX
//
// code under LGPL, based on JasonBs work,
// enhanced by Dark Charlie and Albert Zeyer
//
//
/////////////////////////////////////////
// Ninja rope class
// Created 6/2/02
// Jason Boettcher
#include <assert.h>
#include "LieroX.h"
#in... | 21.566234 | 110 | 0.637119 | JiPRA |
f6fb44fb5560e1f69d5f6b83e9658b2a34a27464 | 1,167 | cpp | C++ | src/nfu1.cpp | IronySuzumiya/NiuDianNao | b6c157807129653e8d9e46238dff80a230ff4928 | [
"MIT"
] | 6 | 2019-03-05T07:49:09.000Z | 2022-01-20T21:45:53.000Z | src/nfu1.cpp | IronySuzumiya/NiuDianNao | b6c157807129653e8d9e46238dff80a230ff4928 | [
"MIT"
] | null | null | null | src/nfu1.cpp | IronySuzumiya/NiuDianNao | b6c157807129653e8d9e46238dff80a230ff4928 | [
"MIT"
] | 2 | 2019-03-05T02:23:28.000Z | 2022-01-20T22:14:54.000Z | #include "nfu1.hpp"
using namespace std;
PipeStageNFU1::PipeStageNFU1(PipeOpReg *reg_in, PipeOpReg *reg_out,
int queue_size, int n_stages, unsigned num_multipliers,
Sram *nbin, Sram *sb)
: PipeStage(reg_in, reg_out, queue_size, n_stages),
num_multipliers... | 25.369565 | 71 | 0.640103 | IronySuzumiya |
f6fdc76ca6172499a3c0f61a570a9c88bfd63ea8 | 9,321 | cpp | C++ | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | null | null | null | c2000/C2000Ware_1_00_06_00/utilities/flash_programmers/serial_flash_programmer/serial_flash_programmer/source/f021_DownloadImage.cpp | jwestmoreland/ForHPSDR | bf121ce2f03027c408dd1bed6bb8a747fdb6d648 | [
"Unlicense"
] | 1 | 2021-07-21T08:10:37.000Z | 2021-07-21T08:10:37.000Z | //###########################################################################
// FILE: f021_DownloadIimage.cpp
// TITLE: Download Image function for f021 devices.
//
// This function is used to communicate and download with the device. For
// F021 devices, the serial flash programmer sends the application the same... | 27.823881 | 96 | 0.605407 | jwestmoreland |
f6fe7cda9df1476bde65279773f6b6eea84ab9cd | 30,293 | cc | C++ | quic/qbone/platform/netlink_test.cc | scrapfly/quiche | d721ad8911ad6c773e3a63c878cc5b18e46da8a9 | [
"BSD-3-Clause"
] | 130 | 2021-07-28T00:15:30.000Z | 2022-03-31T06:44:22.000Z | quic/qbone/platform/netlink_test.cc | scrapfly/quiche | d721ad8911ad6c773e3a63c878cc5b18e46da8a9 | [
"BSD-3-Clause"
] | 11 | 2019-10-15T23:03:57.000Z | 2020-06-14T16:10:12.000Z | quic/qbone/platform/netlink_test.cc | scrapfly/quiche | d721ad8911ad6c773e3a63c878cc5b18e46da8a9 | [
"BSD-3-Clause"
] | 34 | 2021-08-07T01:04:23.000Z | 2022-03-15T00:23:23.000Z | // Copyright (c) 2019 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 "quic/qbone/platform/netlink.h"
#include <utility>
#include "absl/container/node_hash_set.h"
#include "quic/platform/api/quic_bug_tracker.h... | 38.589809 | 80 | 0.599445 | scrapfly |
1002ec3250ea00615f3f645dbbd0268f370a75a2 | 2,371 | hpp | C++ | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/behavior/behavior_model.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODEL_HPP_
#define MODULES_MODELS_BEHAVIOR_BEHAVIOR_MODE... | 29.271605 | 98 | 0.767609 | ChenyangTang1 |
10035801266163429058bc64430c2e47b84b9d20 | 650 | cpp | C++ | flascript/FlaVersion.cpp | ferhatgec/flascript | e9db83422b7e008b2fd64a62d763dbedf1d5d1d2 | [
"MIT"
] | 15 | 2020-07-30T17:29:12.000Z | 2021-08-19T04:05:49.000Z | flascript/FlaVersion.cpp | FerhatGec/flascript | e9db83422b7e008b2fd64a62d763dbedf1d5d1d2 | [
"MIT"
] | null | null | null | flascript/FlaVersion.cpp | FerhatGec/flascript | e9db83422b7e008b2fd64a62d763dbedf1d5d1d2 | [
"MIT"
] | 2 | 2020-09-18T12:36:22.000Z | 2021-05-14T05:24:20.000Z | /* MIT License
#
# Copyright (c) 2020 Ferhat Geçdoğan All Rights Reserved.
# Distributed under the terms of the MIT License.
#
# */
#include <iostream>
#include <cstring>
#include <FlaVersion.hpp>
#include <Interpreter/Interpreter.hpp>
#include <StringTools.hpp>
std::string
FlaVersion::Time() {
FInterpreter intp;
... | 18.571429 | 57 | 0.738462 | ferhatgec |
1006d72a4ea0ea693388b182bbd2af1abf73e3d5 | 11,377 | cc | C++ | v8_4_5/src/mips64/lithium-gap-resolver-mips64.cc | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | v8_4_5/src/mips64/lithium-gap-resolver-mips64.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | v8_4_5/src/mips64/lithium-gap-resolver-mips64.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2012 the V8 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.
#include "src/v8.h"
#include "src/mips64/lithium-codegen-mips64.h"
#include "src/mips64/lithium-gap-resolver-mips64.h"
namespace v8 {
namespace intern... | 37.672185 | 80 | 0.687352 | wenfeifei |
100b5adc33ae166d2d6625c4ed4a102014fd322c | 1,293 | hxx | C++ | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | 14 | 2019-12-12T05:12:07.000Z | 2021-12-19T08:21:57.000Z | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | null | null | null | src/Launcher/AppConsole.hxx | sasobadovinac/CADRays | b6b6dff7bbcaae9ebf1fe079459ea17eda1a3827 | [
"CC0-1.0"
] | 3 | 2020-10-11T14:36:00.000Z | 2022-02-06T14:17:43.000Z | // Created: 2016-10-06
//
// Copyright (c) 2019 OPEN CASCADE SAS
//
// This file is a part of CADRays software.
//
// CADRays is free software; you can use it under the terms of the MIT license,
// refer to file LICENSE.txt for complete text of the license and disclaimer of
// any warranty.
#ifndef _AppConsole_Header... | 23.944444 | 91 | 0.698376 | sasobadovinac |
100b89b213744a037d4b461e8e21b24b76460b82 | 1,374 | cc | C++ | device/power_monitor/public/cpp/power_monitor_broadcast_source.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | device/power_monitor/public/cpp/power_monitor_broadcast_source.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | device/power_monitor/public/cpp/power_monitor_broadcast_source.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright (c) 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 "device/power_monitor/public/cpp/power_monitor_broadcast_source.h"
#include "base/location.h"
#include "base/macros.h"
#include "mojo/public... | 31.953488 | 75 | 0.805677 | google-ar |
100e7bb588889d9309641ac3b648d6500e8a6fd6 | 388 | cpp | C++ | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | 2 | 2020-06-08T16:23:49.000Z | 2020-06-08T23:33:29.000Z | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | 1 | 2015-12-07T22:55:35.000Z | 2015-12-07T22:55:35.000Z | notes/day3/code/37-streaming-operators.cpp | ajbennieston/cpp | e43687b4289c2e07c0c9c87b4c0003abf4e2a054 | [
"BSD-2-Clause"
] | null | null | null | /*
* C++ Notes Accompanying Code
* Compile: Y
* Compile Should Succeed: Y
* Run: Y
* Run Should Succeed: Y
*/
#include <iostream>
struct FourVector {
double some_value;
};
// NOTES: BEGIN INCLUSION
std::istream& operator>>(std::istream& in, FourVector& vec);
std::ostream& operator<<(std::ostream& out, const ... | 18.47619 | 67 | 0.67268 | ajbennieston |
100f01e43a550d78ef030eb9020a83844166852d | 1,137 | cc | C++ | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | Codeforces/1008/C/sol.cc | angrajales/CompetitiveProgramming | 497a5a4ecf61defdce6534160125f027aa69cc49 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int a[100005];
map<int, int> mp;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
for(int i = 0; i < n; ++i){
cin >> a[i];
mp[a[i]]++;
}
sort(a, a + n);
int res = 0;
int diff = 0;
for(int i = 1; i < n; ++i){
if(a[i] == ... | 19.947368 | 35 | 0.352682 | angrajales |
100f1cb055cf08393b3a338d405f34e8234c4fda | 4,723 | cpp | C++ | quic/state/test/StateDataTest.cpp | ZiruiOu/mvfst | 7f86ae30f6f41a3a7ab6388e69e9a110edb00e85 | [
"MIT"
] | null | null | null | quic/state/test/StateDataTest.cpp | ZiruiOu/mvfst | 7f86ae30f6f41a3a7ab6388e69e9a110edb00e85 | [
"MIT"
] | 1 | 2022-03-08T19:07:06.000Z | 2022-03-08T19:07:06.000Z | quic/state/test/StateDataTest.cpp | ZiruiOu/mvfst | 7f86ae30f6f41a3a7ab6388e69e9a110edb00e85 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <quic/common/test/TestUtils.h>
#include <quic/state/LossState.h>
#inc... | 25.808743 | 72 | 0.698708 | ZiruiOu |
10105e1b774e6bf6d8d9dbe894426d424f2368b4 | 1,072 | hpp | C++ | libs/lxcpp/capability.hpp | Samsung/vasum | 53e3cd916141a336eb0cb59ba40cbdc83dc4d42c | [
"Apache-2.0"
] | 29 | 2015-05-27T14:09:44.000Z | 2020-12-27T11:21:54.000Z | libs/lxcpp/capability.hpp | Samsung/vasum | 53e3cd916141a336eb0cb59ba40cbdc83dc4d42c | [
"Apache-2.0"
] | null | null | null | libs/lxcpp/capability.hpp | Samsung/vasum | 53e3cd916141a336eb0cb59ba40cbdc83dc4d42c | [
"Apache-2.0"
] | 9 | 2015-10-08T10:59:07.000Z | 2020-01-21T17:57:21.000Z | /*
* Copyright (C) 2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the h... | 31.529412 | 82 | 0.744403 | Samsung |
101094306b5575aadd5793013aac638b8ac5fc2c | 2,546 | cpp | C++ | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | test/TestOperators.cpp | rigred/VC4C | 6c900c0e2fae2cbdd22c5adb044f385ae005468a | [
"MIT"
] | null | null | null | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "TestOperators.h"
#include "Module.h"
#include "Values.h"
#include "intrinsics/Operators.h"
#include "intermediate/operators.h"
using namespace vc4c;
using namespace vc4c::intrinsics;
using namespace vc4c::opera... | 33.5 | 118 | 0.744305 | rigred |
1011445fd98cf0449acc25cf173693477cd2fc93 | 8,413 | cc | C++ | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | proxy/logging/YamlLogConfig.cc | zwoop/trafficserver | 140d1dd9cc5dd79608ff4c03ac29f53af4bf23ba | [
"Apache-2.0"
] | null | null | null | /** @file
@section license License
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, Versi... | 32.992157 | 128 | 0.650779 | zwoop |
1014e1ae964cd763a6657aa31dfb32189831de4c | 980 | cpp | C++ | modules/core/src/common/strikebox/hw/ata/drvs/ata_device_driver.cpp | StrikerX3/StrikeBox | ccf20898b2ee3322d4c86276d4b21435b0282366 | [
"BSD-2-Clause"
] | 33 | 2019-03-01T00:56:51.000Z | 2021-04-23T20:53:12.000Z | modules/core/src/common/strikebox/hw/ata/drvs/ata_device_driver.cpp | StrikerX3/viXen | ccf20898b2ee3322d4c86276d4b21435b0282366 | [
"BSD-2-Clause"
] | 21 | 2018-12-05T16:12:57.000Z | 2019-02-28T12:11:48.000Z | modules/core/src/common/strikebox/hw/ata/drvs/ata_device_driver.cpp | StrikerX3/StrikeBox | ccf20898b2ee3322d4c86276d4b21435b0282366 | [
"BSD-2-Clause"
] | 4 | 2019-03-13T21:31:41.000Z | 2020-12-02T22:20:54.000Z | // ATA/ATAPI-4 emulation for the Original Xbox
// (C) Ivan "StrikerX3" Oliveira
//
// This code aims to implement a subset of the ATA/ATAPI-4 specification
// that satisifies the requirements of an IDE interface for the Original Xbox.
//
// Specification:
// http://www.t13.org/documents/UploadedDocuments/project/d1153r... | 27.222222 | 83 | 0.763265 | StrikerX3 |
101986aa3fc992daecac138ebd7107bc8c3909a0 | 4,654 | cpp | C++ | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 732 | 2018-10-07T14:51:37.000Z | 2022-03-31T09:25:20.000Z | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 22 | 2018-10-09T06:49:35.000Z | 2020-05-17T07:43:20.000Z | pcap_parsers/jsproxy_pcap_password_bruteforce/src/main.cpp | Bram-Wel/routeros | 21d721384c25edbca66a3d52c853edc9faa83cad | [
"BSD-3-Clause"
] | 401 | 2018-10-07T16:28:58.000Z | 2022-03-30T09:17:47.000Z | #include <cstdlib>
#include <pcap.h>
#include <iostream>
#include <boost/cstdint.hpp>
#include <boost/program_options.hpp>
#include "session_parser.hpp"
namespace
{
const char s_version[] = "JSProxy Password Bruteforce version 1.0.0";
bool parseCommandLine(int p_argCount, const char* p_argArray[],
... | 29.27044 | 118 | 0.532875 | Bram-Wel |
1019e2d9e54f2e331acc928fa2fd212e24462d97 | 544 | cpp | C++ | net.ssa/Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | null | null | null | Dima/bge.root/bge/bge/stdafx.cpp | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : stdafx.cpp
// Created : 01.10.2004
// Modified : 01.10.2004
// Author : Dmitriy Iassenev
// Description : Standard precompiled header
////////////////////////////////////////////////////////////////////////////
#prag... | 27.2 | 78 | 0.465074 | ixray-team |
101aa988b66f5c62e8130ce0f3141620d450a8d2 | 7,282 | cc | C++ | c-deps/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector_test.cc | Yangjxxxxx/ZNBase | dcf993b73250dd5cb63041f4d9cf098941f67b2b | [
"MIT",
"BSD-3-Clause"
] | 2,189 | 2016-04-02T21:49:13.000Z | 2022-03-31T23:31:07.000Z | c-deps/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector_test.cc | Yangjxxxxx/ZNBase | dcf993b73250dd5cb63041f4d9cf098941f67b2b | [
"MIT",
"BSD-3-Clause"
] | 2,798 | 2016-04-11T18:01:05.000Z | 2022-01-15T23:05:39.000Z | c-deps/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector_test.cc | Yangjxxxxx/ZNBase | dcf993b73250dd5cb63041f4d9cf098941f67b2b | [
"MIT",
"BSD-3-Clause"
] | 908 | 2016-03-23T18:26:20.000Z | 2022-03-07T21:43:27.000Z | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 40.681564 | 80 | 0.60217 | Yangjxxxxx |
101b5c77385b58ac91e5c4d82cd54080198602c4 | 2,879 | cpp | C++ | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | ch12/dense_RGBD/surfel_mapping.cpp | TongLing916/slambook2 | 73adc5a0228d449d6eaa9e7de162a684e174d17e | [
"MIT"
] | null | null | null | #include <pcl/io/pcd_io.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/surface/gp3.h>
#include <pcl/surface/mls.h>
#include <pcl/surface/surfel_smoothing.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/surface/impl/mls.hpp>
using PointT = ... | 33.476744 | 76 | 0.716568 | TongLing916 |
101c61781a66ae02069ea2e45a40280330d99f95 | 50,760 | cpp | C++ | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | src/masternodes/rpc_oracles.cpp | Bushstar/ain | c0a25f727f32c1b2c32a5120059276ec97e38bd2 | [
"MIT"
] | null | null | null | // Copyright (c) DeFi Blockchain Developers
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#include <masternodes/mn_rpc.h>
extern CTokenCurrencyPair DecodePriceFeedUni(const UniValue& value);
extern CTokenCurrencyPair DecodePr... | 44.0625 | 222 | 0.542967 | Bushstar |
101cca3efbd1f185052abe746dbe79b0005ad0e9 | 5,325 | cpp | C++ | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | null | null | null | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | null | null | null | Hashing/ExtendibleHashingDoubleBuffering.cpp | siddharth2010/DBMS | f986cb95658a63f76ae5f9affc54cae82aff72ea | [
"MIT"
] | 1 | 2019-10-28T05:58:33.000Z | 2019-10-28T05:58:33.000Z | #include <bits/stdc++.h>
using namespace std;
class Bucket{
vector <int> m;
int localdepth;
int size;
public:
Bucket(int depth, int size){
this->size = size;
this->localdepth = depth;
}
int getsize();
bool isEmpty();
int insert(int key);
int search(int key);
void copy(vector <int> &temp)... | 22.75641 | 105 | 0.56939 | siddharth2010 |
101d2847a913dc8dbc0be0658fa4b07223e3adea | 2,409 | cpp | C++ | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 12 | 2020-09-22T15:33:48.000Z | 2022-03-02T17:27:39.000Z | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 46 | 2020-09-22T15:47:08.000Z | 2022-01-22T10:56:44.000Z | src/PCRegistration/estimate_plane.cpp | iakov/mrob | fdbb0cf1b2a0e32eb9bad655e54222c85279a91d | [
"Apache-2.0"
] | 9 | 2020-09-22T15:59:33.000Z | 2021-12-20T20:15:16.000Z | /* Copyright (c) 2018, Skolkovo Institute of Science and Technology (Skoltech)
*
* 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
*
* U... | 27.375 | 120 | 0.674969 | iakov |
101d284fd8db7b112d51a84c1c5a4a16d645699a | 1,329 | cpp | C++ | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 313 | 2017-05-28T15:30:57.000Z | 2022-03-15T12:32:40.000Z | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 15 | 2021-12-07T06:46:03.000Z | 2022-01-31T07:55:32.000Z | Chapter05/06_thread_specific_ptr/main.cpp | apolukhin/boost-cookbook | 912e36f38b9b1da93b03ae7afd19fcec0900aa83 | [
"BSL-1.0"
] | 85 | 2017-05-28T16:47:33.000Z | 2022-03-30T10:04:55.000Z | #include <boost/noncopyable.hpp>
class connection: boost::noncopyable {
public:
// Opening a connection is a slow operation
void open();
void send_result(int result);
// Other methods
// ...
int open_count_;
connection(): open_count_(0) {}
};
// In header file:
connection& get_connection... | 18.458333 | 54 | 0.610233 | apolukhin |
101dd90d52a2f4a00903131587a1a3dcb51b0440 | 29,883 | cpp | C++ | lib/DiscBase.cpp | AxioDL/nod | 2f53b2174040eb0bc84fce8799b7a9be630eabd5 | [
"MIT"
] | 11 | 2019-08-10T06:01:16.000Z | 2021-08-09T23:33:31.000Z | lib/DiscBase.cpp | AxioDL/nod | 2f53b2174040eb0bc84fce8799b7a9be630eabd5 | [
"MIT"
] | 4 | 2018-07-23T04:07:15.000Z | 2021-06-28T04:04:45.000Z | lib/DiscBase.cpp | AxioDL/nod | 2f53b2174040eb0bc84fce8799b7a9be630eabd5 | [
"MIT"
] | 8 | 2017-06-07T16:02:40.000Z | 2022-02-01T12:43:08.000Z | #include "nod/DiscBase.hpp"
#include <cerrno>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <unordered_map>
#include "nod/DirectoryEnumerator.hpp"
#include "nod/IFileIO.hpp"
#include "nod/nod.hpp"
#include "nod/Util.hpp"
#ifndef _WIN32
#include <unistd.h>
#else
#include <logvisor/logvisor.hpp>
s... | 34.828671 | 123 | 0.610782 | AxioDL |
101ec7c83f6a5d99a5c7bc81e5ac22c2dbad26bc | 5,569 | cpp | C++ | Source/Puzzle.cpp | jbzdarkid/witness-randomizer | 810a2745b407f8b3fe3cbe7bb344847b7a5a1cad | [
"MIT"
] | 19 | 2018-10-22T04:10:54.000Z | 2022-02-16T17:20:21.000Z | Source/Puzzle.cpp | jbzdarkid/witness-randomizer | 810a2745b407f8b3fe3cbe7bb344847b7a5a1cad | [
"MIT"
] | 6 | 2020-02-07T20:45:07.000Z | 2021-10-11T21:06:54.000Z | Source/Puzzle.cpp | jbzdarkid/witness-randomizer | 810a2745b407f8b3fe3cbe7bb344847b7a5a1cad | [
"MIT"
] | 7 | 2018-10-23T02:56:48.000Z | 2021-09-21T23:52:44.000Z | #include "pch.h"
#include "Puzzle.h"
Cell Puzzle::GetCell(int x, int y) const {
x = Mod(x);
if (!SafeCell(x, y)) return Cell::Undefined();
return grid[x][y];
}
Cell::Color Puzzle::GetLine(int x, int y) const {
return grid[x][y].color;
}
void Puzzle::NewGrid(int newWidth, int newHeight) {... | 38.143836 | 91 | 0.446938 | jbzdarkid |
101f4de6536af5bd5864d2fe9382c8bf94af8901 | 9,222 | cpp | C++ | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | src/core/net/ip6_address.cpp | yuzhyang/openthread | 38f206c6708d8fc7eae21db6ff3e3a50a2053b58 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016, The OpenThread Authors.
* 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 ... | 27.777108 | 114 | 0.621882 | yuzhyang |
1020075405e5e1d2d2718351f75ce12b593668f3 | 3,281 | cpp | C++ | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 38 | 2017-06-14T07:13:10.000Z | 2022-02-16T15:41:25.000Z | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 10 | 2017-07-01T11:13:10.000Z | 2021-02-27T05:40:30.000Z | src/node/address_verifier.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 7 | 2017-07-05T20:38:51.000Z | 2021-08-02T04:30:46.000Z | #include "../common/term_match.hpp"
#include "../common/checked_cast.hpp"
#include "self_node.hpp"
#include "address_verifier.hpp"
#include "local_interpreter.hpp"
using namespace prologcoin::common;
namespace prologcoin { namespace node {
task_address_verifier::task_address_verifier(out_connection *out)
: out_t... | 25.834646 | 68 | 0.625114 | datavetaren |
1020c1041b460d8354ddafdddcf643eefd91e1a1 | 82,271 | cpp | C++ | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | src/common/isc_sync.cpp | sas9mba/FB-ISQL-autopadding | 033393aa80de4274ed9469767464e9b189b26838 | [
"Condor-1.1"
] | null | null | null | /*
* PROGRAM: JRD Access Method
* MODULE: isc_sync.cpp
* DESCRIPTION: OS-dependent IPC: shared memory, mutex and event.
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a cop... | 22.181451 | 113 | 0.661825 | sas9mba |
1020c52fe321c6be40b61613dac93316ccdf78c6 | 78,489 | hpp | C++ | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | common/workunit/workunit.hpp | lucasmauro/HPCC-Platform | 6df37c79a97bfb02f068c44d2635ffffc5b090c0 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 44.723077 | 294 | 0.733479 | lucasmauro |
102167c223eba8d7e27f3f099073e83487b6677a | 2,106 | cpp | C++ | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | null | null | null | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | null | null | null | src/fixed-speed-motor.cpp | KDWLMBS/Balls-Bridge | 1c1a99ca1f755310c6a96403a5b3a347fd9ec7b0 | [
"MIT"
] | 2 | 2018-09-14T08:40:01.000Z | 2018-09-14T10:07:27.000Z | #include <cstdint>
#include <iostream>
#include <cmath>
#include "fixed-speed-motor.hpp"
FixedSpeedMotor::FixedSpeedMotor(int _index) {
//the number of the motor, useful for debugging
index = _index;
//the current position
position = 0;
//the position we want to go to
target = 0;
should... | 23.142857 | 82 | 0.562203 | KDWLMBS |
1023a7da64b26784796bb5b4be2774a58c028aec | 16,458 | hpp | C++ | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 53 | 2018-01-09T02:51:49.000Z | 2022-02-24T15:22:59.000Z | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 9 | 2018-04-17T17:53:29.000Z | 2021-01-29T12:41:35.000Z | stdex/include/iterator.hpp | oktonion/stdex | 592fd88a4480ba4a583dd4b74061fa560df399e3 | [
"MIT"
] | 6 | 2018-01-09T02:51:53.000Z | 2019-11-08T07:23:24.000Z | #ifndef _STDEX_ITERATOR_H
#define _STDEX_ITERATOR_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// stdex includes
// POSIX includes
// std includes
#include <iterator>
#include <cstddef> //cstddef::size_t
#ifdef _STDEX_NATIVE_CPP11_SUPPORT
#define _STDEX_DELETED_FUNCTION =delete
#define _STDEX_NOE... | 33.519348 | 130 | 0.603293 | oktonion |
1024448470e3cf566bf00da2104c5575e30a7e31 | 4,976 | hpp | C++ | src/libtriton/includes/peSectionHeader.hpp | Manouchehri/Triton-docker | ce49ce9ba49965a5e7f814f2b46e50cc74b704de | [
"BSD-3-Clause"
] | 1 | 2020-11-15T15:21:12.000Z | 2020-11-15T15:21:12.000Z | src/libtriton/includes/peSectionHeader.hpp | Manouchehri/Triton-docker | ce49ce9ba49965a5e7f814f2b46e50cc74b704de | [
"BSD-3-Clause"
] | null | null | null | src/libtriton/includes/peSectionHeader.hpp | Manouchehri/Triton-docker | ce49ce9ba49965a5e7f814f2b46e50cc74b704de | [
"BSD-3-Clause"
] | null | null | null | //! \file
/*
** Copyright (C) - Triton
**
** This program is under the terms of the BSD License.
*/
#ifndef TRITON_PESECTIONHEADER_H
#define TRITON_PESECTIONHEADER_H
#include <vector>
#include "peEnums.hpp"
#include "tritonTypes.hpp"
//! The Triton namespace
namespace triton {
/*!
* \addtogroup triton
* @{
... | 27.340659 | 155 | 0.567122 | Manouchehri |
1026a033205a44ca8a609faa060658f69c1fbe88 | 16,716 | cpp | C++ | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | 1 | 2021-12-22T02:31:46.000Z | 2021-12-22T02:31:46.000Z | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelTools/VoxelTools.cpp | hamdiahmedamin/VoxelPlugin | f5ed7061811e9410fb31d5b2713038215df4e8be | [
"MIT"
] | null | null | null | // Copyright 2019 Phyronnaz
#include "VoxelTools/VoxelTools.h"
#include "VoxelLogStatDefinitions.h"
#include "DrawDebugHelpers.h"
#include "GameFramework/HUD.h"
#include "Engine/LocalPlayer.h"
#include "Kismet/GameplayStatics.h"
#include "VoxelWorldGenerators/EmptyWorldGenerator.h"
#include "VoxelData/VoxelDa... | 32.970414 | 287 | 0.603553 | hamdiahmedamin |
10274f4e095337465731147adc123743559fc9de | 1,311 | hpp | C++ | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 176 | 2020-07-25T19:11:23.000Z | 2021-10-04T17:11:32.000Z | ares/md/cartridge/board/board.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | namespace Board {
struct Interface {
VFS::Pak pak;
Interface(Cartridge& cartridge) : cartridge(cartridge) {}
virtual ~Interface() = default;
virtual auto frequency() -> u32 { return 1; }
virtual auto load() -> void {}
virtual auto unload() -> void {}
virtual auto save() -> void {}
virtual auto main() ... | 38.558824 | 118 | 0.669718 | CasualPokePlayer |
1028697774efde93ef5ba1f29fa56060fe7d9d5c | 132,283 | cpp | C++ | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 81 | 2019-09-18T13:53:17.000Z | 2022-03-19T00:44:20.000Z | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 4 | 2019-10-03T15:17:00.000Z | 2019-11-03T01:05:41.000Z | gui/controls/textrendering/TextRendering.cpp | mail-ru-im/im-desktop | d6bb606650ad84b31046fe39b81db1fec4e6050b | [
"Apache-2.0"
] | 25 | 2019-09-27T16:56:02.000Z | 2022-03-14T07:11:14.000Z | #include "stdafx.h"
#include "TextRenderingUtils.h"
#include "TextRendering.h"
#include "FormattedTextRendering.h"
#include "TextWordRenderer.h"
#include "utils/utils.h"
#include "utils/features.h"
#include "utils/UrlParser.h"
#include "utils/InterConnector.h"
#include "fonts.h"
using ftype = core::data::format_type... | 32.146537 | 307 | 0.518903 | mail-ru-im |
1029b095198c79dc0afc2cff230daa69eafbd0d2 | 1,108 | cpp | C++ | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | number_of_closed_islands.cpp | shafitek/ArXives | 67170d6bde2093703d9cd3e8efa55b61e7b5ea75 | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/number-of-closed-islands/
class Solution
{
public:
int closedIsland(vector<vector<int>> &grid)
{
int soln = 0;
for (int i = 1; i < grid.size() - 1; i++)
{
for (int j = 1; j < grid[0].size() - 1; j++)
{
if (grid[i][... | 23.083333 | 80 | 0.365523 | shafitek |
102b87aa033b2bc8dc24604dd34202360698f752 | 15,428 | cpp | C++ | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 3 | 2019-10-10T19:25:42.000Z | 2019-12-17T10:51:23.000Z | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | null | null | null | Framework/[C++ Core]/FSpriteSequence.cpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 1 | 2021-11-16T15:29:40.000Z | 2021-11-16T15:29:40.000Z | //
// FSpriteSequence.cpp
// CoreDemo
//
// Created by Nick Raptis on 10/19/13.
// Copyright (c) 2013 Nick Raptis. All rights reserved.
//
#include "core_includes.h"
#include "FSpriteSequence.h"
#include "FFileTable.hpp"
FSpriteSequence::FSpriteSequence()
{
mWidth = 0.0f;
mHeight = 0.0f;
}
FSpriteSequenc... | 26.831304 | 151 | 0.555743 | nraptis |
102d1ba5c5f1bf95f5b4e3c67211dfa3b2574ab9 | 1,197 | cpp | C++ | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Balls of Buma/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Dec/01/2019 13:22
* solution_verdict: Accepted language: GNU C++14
* run... | 29.925 | 111 | 0.385965 | kzvd4729 |
102e8f947bb5468c2695b912aadd83f197fe2cb4 | 1,519 | hpp | C++ | sdk/include/FairWindSdk/displays/DisplayGauge.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | 4 | 2021-07-07T10:42:53.000Z | 2022-01-11T12:53:25.000Z | sdk/include/FairWindSdk/displays/DisplayGauge.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | 2 | 2022-02-13T19:59:25.000Z | 2022-03-25T01:02:17.000Z | sdk/include/FairWindSdk/displays/DisplayGauge.hpp | zSelimReborn/fairwindplusplus | aa0f754dc81414c21e5b3a8fc1f4a7b9b6bb6c20 | [
"Apache-2.0"
] | 7 | 2021-06-07T07:12:55.000Z | 2022-01-12T16:09:55.000Z | //
// Created by Raffaele Montella on 31/05/21.
//
#ifndef FAIRWIND_DISPLAYGAUGE_HPP
#define FAIRWIND_DISPLAYGAUGE_HPP
#include <QWidget>
#include <FairWindSdk/FairWindSDK.hpp>
#include <FairWindSdk/displays/DisplayBase.hpp>
#include <FairWindSdk/IDisplay.hpp>
#include <qcgaugewidget.h>
namespace Ui {
class Dis... | 26.189655 | 139 | 0.674786 | zSelimReborn |
102edd86a2ad761cd39054910fec4d178408e1cc | 4,261 | cpp | C++ | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Core/Utils/StringUtils.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <clocale>
#include <cctype>
#include <Utils/MathUtils.hpp>
#include <Utils/StringUtils.hpp>
#include <Utils/VectorUtils.hpp>
namespace obe::Utils::String
{
std::vector<std::string> split(const std::string& str, const std::string& delimiters)
{
std::vector<std::string> tok... | 30.654676 | 117 | 0.551748 | mjopenglsdl |
102f163ad449686e13332fb416e1e260182b93f5 | 16,790 | cpp | C++ | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | Test.cpp | MarkMichaely/number-with-units | 86671e694ca60d963b90ec1a3d8fa7e28d3bbf70 | [
"MIT"
] | null | null | null | /**
* unit test of board.cpp
* AUTHORS: <Mark Michaely>
*
* Date: 2021-04
*/
#include "doctest.h"
#include "NumberWithUnits.hpp"
using namespace ariel;
#include <string>
using namespace std;
TEST_CASE("0: Testing EQ and NE"){
CHECK_EQ(NumberWithUnits{1,"km"},NumberWithUnits(1000,"m"));
CHECK_EQ(Numbe... | 43.83812 | 107 | 0.631686 | MarkMichaely |
102f7541821d865c7df1cecd4f4b74555174eb00 | 412 | cpp | C++ | cpp/eigen/tensor_declaration/tensor_declaration.cpp | berquist/eg | 4c368b12eaaffcf0af8032f10348cf8bc1c3957a | [
"Unlicense"
] | null | null | null | cpp/eigen/tensor_declaration/tensor_declaration.cpp | berquist/eg | 4c368b12eaaffcf0af8032f10348cf8bc1c3957a | [
"Unlicense"
] | null | null | null | cpp/eigen/tensor_declaration/tensor_declaration.cpp | berquist/eg | 4c368b12eaaffcf0af8032f10348cf8bc1c3957a | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <Eigen/CXX11/Tensor>
int main() {
// Map a tensor of ints on top of stack-allocated storage.
// 2 x 4 x 2 x 8
int storage[128];
// Eigen::TensorMap<int, 4> t_4d(storage, 2, 4, 2, 8);
// The same storage can be viewed as a different tensor. You can
// also pass th... | 22.888889 | 68 | 0.618932 | berquist |
103022d45f9989d581c9bd0e0a2baaaa84449bce | 15,649 | cpp | C++ | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | 1 | 2015-09-27T07:07:57.000Z | 2015-09-27T07:07:57.000Z | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | null | null | null | src/pow/diff_delta.cpp | guldenpay/gulden-official | 4ae4cc4143ed9c1c15896fe81ad5b64f43829e1b | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2018 The Gulden developers
// Authored by: Frank (dt_cdog@yahoo.com) and Malcolm MacLeod (mmacleod@gmx.com)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
//
// This file contains Delta, the Gulden Difficulty Re-adjustment algorithm developed by Frank (dt_cd... | 48.599379 | 283 | 0.654035 | guldenpay |
1030c64ae5ff451162a57d795c97c2edc5d67bc5 | 9,292 | hpp | C++ | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | pibt2/include/solver.hpp | simwijs/pibt2 | cec6f0796cdd4e7ead9cccf177e1fbf0bfb42505 | [
"MIT"
] | null | null | null | #pragma once
#include <getopt.h>
#include <chrono>
#include <functional>
#include <memory>
#include <queue>
#include <unordered_map>
#include "paths.hpp"
#include "plan.hpp"
#include "problem.hpp"
#include "util.hpp"
class MinimumSolver
{
protected:
std::string solver_name; // solver name
Graph* const G; ... | 30.565789 | 80 | 0.611924 | simwijs |
1030d9e4540605f05e21867d6e6f2116237f9e3a | 1,532 | hpp | C++ | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/phoenix/core/visit_each.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | /*==============================================================================
Copyright (c) 2005-2010 Joel de Guzman
Copyright (c) 2010 Thomas Heller
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)
===... | 30.64 | 80 | 0.58812 | wouterboomsma |
103105201169284192485744a099629d3037bcae | 97,275 | cc | C++ | eval/f32-roundne.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | eval/f32-roundne.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | eval/f32-roundne.cc | mcx/XNNPACK | 4aa243068e71f1064e8db37f6240e4c85f1f5314 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <iomanip>
#include <ios>
#include <vector>
#includ... | 58.213645 | 109 | 0.626883 | mcx |
103135301bfeefbfc74f6e21efef978d0c2ad2b6 | 7,958 | cc | C++ | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | 1 | 2021-07-04T12:41:16.000Z | 2021-07-04T12:41:16.000Z | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | null | null | null | chapter-acceleration/opencl/gol.cc | Mark1626/road-to-plus-plus | 500db757051e32e6ccd144b70171c826527610d4 | [
"CC0-1.0"
] | null | null | null | #include <OpenCL/opencl.h>
#include <cstddef>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#define WITH_PPM
// #define GPU
#ifdef WITH_PPM
#include <cstdio>
#include "ppm.h"
#endif
using std::string;
void check_status(cl_int ret, std::string msg) {
if (ret != CL_SUCCESS) {
std::c... | 25.754045 | 80 | 0.591857 | Mark1626 |
103412f0ba3e82de30b4bbe192db17b820ad369f | 7,929 | cc | C++ | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 7 | 2015-08-06T01:46:07.000Z | 2020-10-20T09:14:58.000Z | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | test/channel_transport/traffic_control_win.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 16 | 2015-01-08T01:47:24.000Z | 2022-02-25T06:06:06.000Z | /*
* Copyright (c) 2011 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 contribut... | 30.732558 | 80 | 0.619246 | aleonliao |
1034bf13960c028cbf32e0993f99aab286e502a5 | 547 | hpp | C++ | src/dll/memory/region.hpp | mrwonko/fo2unleashed | ccc447fddfeaa25a077e399409b8b57560d4df23 | [
"MIT"
] | null | null | null | src/dll/memory/region.hpp | mrwonko/fo2unleashed | ccc447fddfeaa25a077e399409b8b57560d4df23 | [
"MIT"
] | 2 | 2015-05-14T21:46:42.000Z | 2015-05-14T21:48:09.000Z | src/dll/memory/region.hpp | mrwonko/fo2unleashed | ccc447fddfeaa25a077e399409b8b57560d4df23 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <cstddef>
class Region
{
public:
Region( unsigned char* begin, std::ptrdiff_t size, std::uint32_t protection );
Region( const Region& ) = delete;
~Region();
Region& operator=( const Region& ) = delete;
Region( Region&& rhs );
Region& operator=( Region&& );
unsig... | 20.259259 | 80 | 0.685558 | mrwonko |
1034dbdf9b555a9f775e4bc40db2c03789fa6979 | 10,925 | cc | C++ | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | 4 | 2017-09-11T16:48:00.000Z | 2021-03-21T17:10:27.000Z | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | null | null | null | lib/msan/msan_allocator.cc | andestech/riscv-compiler-rt | 2409b3d2f11ab6c9f357f7158f217c7e5b4a952f | [
"MIT"
] | 1 | 2017-10-05T01:07:38.000Z | 2017-10-05T01:07:38.000Z | //===-- msan_allocator.cc --------------------------- ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 34.355346 | 80 | 0.716339 | andestech |
10353d0291258f22b31e0461123152c0a4959f78 | 5,523 | cpp | C++ | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZephyrXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 6 | 2020-11-11T15:49:11.000Z | 2021-03-08T10:29:23.000Z | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZeppyXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 1 | 2020-11-08T17:28:35.000Z | 2020-11-09T01:35:27.000Z | savedecrypter-master/savedecrypter/ClanLib-2.0/Sources/Core/System/keep_alive.cpp | ZeppyXD/Z-Builder-Source-CPP | f48e0f22b5d4d183b841abb8e61e1bdb5c25999d | [
"Apache-2.0"
] | 3 | 2021-06-26T13:00:23.000Z | 2022-02-01T02:16:50.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2010 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | 27.341584 | 122 | 0.749774 | ZephyrXD |
10394793ac326174be9a466a2b566fd4e6108841 | 5,037 | cpp | C++ | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | 2 | 2020-04-05T02:38:14.000Z | 2020-04-05T02:48:18.000Z | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL--Computacao-Grafica | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | null | null | null | webExemplos1Bimestre/superCubo.cpp | taynarodrigues/OpenGL--Computacao-Grafica | c1309835313f2a00b07668cfddbea21a26c5b21f | [
"MIT"
] | null | null | null | //
// File: meucubo.c
// Author: Matt Daisley
// Created: 25/4/2012
// Project: Código Fonte para o artigo Como Fazer um Cubo em OpenGL
// Description: Cria uma janela OpenGL e desenha um cubo em 3D.
// Que o usuário pode rotacionar com as setas do teclado
//
// Controls: Seta para ... | 27.52459 | 87 | 0.51757 | taynarodrigues |
103a04b242f9e08b9ed3f5dd9f2dbc7c36c2a9ae | 5,125 | cpp | C++ | frameworks/wm/test/unittest/wl_dma_buffer_factory_test.cpp | chaoyangcui/graphic_standard | 514f1889a0f394b9366917b71677f14749664d9d | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/wl_dma_buffer_factory_test.cpp | chaoyangcui/graphic_standard | 514f1889a0f394b9366917b71677f14749664d9d | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/wl_dma_buffer_factory_test.cpp | chaoyangcui/graphic_standard | 514f1889a0f394b9366917b71677f14749664d9d | [
"Apache-2.0"
] | 1 | 2021-09-13T12:08:05.000Z | 2021-09-13T12:08:05.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | 38.825758 | 102 | 0.698927 | chaoyangcui |
103b58634d5b0fe0f36255324f974f8bad583eb5 | 2,244 | hpp | C++ | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | 3 | 2018-01-06T14:10:10.000Z | 2018-01-20T10:29:47.000Z | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | null | null | null | lib/alice/include/alice/commands/current.hpp | hriener/esop_synthesis | 811d7fa36e1ae7b8bc2418ef751d14ac15809bf9 | [
"MIT"
] | null | null | null | /* alice: C++ command shell library
* Copyright (C) 2017-2018 EPFL
*
* 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 u... | 26.714286 | 171 | 0.690285 | hriener |
103b67ebb7ca14d6548b15bcb064346b997f720f | 611 | cpp | C++ | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | 1 | 2021-07-09T03:32:51.000Z | 2021-07-09T03:32:51.000Z | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | 1 | 2021-08-21T19:13:15.000Z | 2021-08-21T19:13:15.000Z | Engine/Flora/Render/RenderCommand.cpp | chgalante/flora | 17db42ce92925c5e9e5e3a9084747553a27cfa96 | [
"MIT"
] | null | null | null | #include "RenderCommand.hpp"
#include "glad/glad.h"
namespace FloraEngine {
void RenderCommand::DrawIndices(Mesh *mesh, Shader *shader) {
glBindVertexArray(mesh->VAO);
glGenBuffers(1, &mesh->VBO);
glBindBuffer(GL_ARRAY_BUFFER, mesh->VBO);
glBufferData(GL_ARRAY_BUFFER,
sizeof(mesh->mVertices),
... | 27.772727 | 80 | 0.685761 | chgalante |
103c8242260c8cb33547d938cbf25d24f7018290 | 4,018 | cpp | C++ | Kernel/Net/UDPSocket.cpp | DanielSchuette/serenity | d5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c | [
"BSD-2-Clause"
] | 3 | 2019-09-22T11:38:04.000Z | 2020-01-21T19:09:27.000Z | Kernel/Net/UDPSocket.cpp | DanielSchuette/serenity | d5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c | [
"BSD-2-Clause"
] | null | null | null | Kernel/Net/UDPSocket.cpp | DanielSchuette/serenity | d5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c | [
"BSD-2-Clause"
] | null | null | null | #include <Kernel/Devices/RandomDevice.h>
#include <Kernel/Net/NetworkAdapter.h>
#include <Kernel/Net/Routing.h>
#include <Kernel/Net/UDP.h>
#include <Kernel/Net/UDPSocket.h>
#include <Kernel/Process.h>
void UDPSocket::for_each(Function<void(UDPSocket&)> callback)
{
LOCKER(sockets_by_port().lock());
for (auto i... | 32.934426 | 139 | 0.681682 | DanielSchuette |
103ec05bfd5fc36688b34ba9178514870653b0b3 | 2,344 | cpp | C++ | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/LayersModule/Entity/Layer.cpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | //
// Layer.cpp
// orange
//
// Created by Daniel Almeida on 17/11/2018.
//
#include "Layer.hpp"
#include "BaseVisual.hpp"
#include "Video.hpp"
#include "VisualsHelpers.hpp"
using namespace Orange::Layers;
Layer::Layer()
{
name = "Layer";
alpha = 0.5;
blendMode = OF_BLENDMODE_ALPHA;
currentVisualI... | 20.206897 | 115 | 0.65401 | danielfilipealmeida |
1041a4db6a18347783387c0d52108b6155192194 | 6,617 | cpp | C++ | src/main.cpp | Zielon/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | 52 | 2020-11-06T21:07:12.000Z | 2022-02-17T08:43:27.000Z | src/main.cpp | DuMengByte/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | DuMengByte/ParallelQSlim | de78d7575e98d90818b8ed667528bcccb7dd8363 | [
"BSD-2-Clause"
] | 6 | 2020-11-08T22:51:49.000Z | 2021-11-12T13:32:12.000Z | #include <boost/filesystem.hpp>
#include <memory>
#include <boost/program_options.hpp>
#include <cstdio>
#include <cmath>
#include <iostream>
#include "reader/reader_factory.h"
#include "garland/models/quadric/3x3/quadric3.h"
#include "garland/models/quadric/6x6/quadric6.h"
#include "garland/models/quadric/9x9/quadric... | 36.357143 | 117 | 0.541786 | Zielon |
104266d5e4d923538b4dcbff14d3598386f4b364 | 4,170 | cpp | C++ | src/kernels/cpu/sample2d.cpp | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | src/kernels/cpu/sample2d.cpp | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | src/kernels/cpu/sample2d.cpp | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by kier on 2019-05-28.
//
#include <runtime/operator.h>
#include "backend/common_structure.h"
#include "backend/name.h"
#include "core/tensor_builder.h"
#include "global/operator_factory.h"
#include "core/device_context.h"
#include "utils/ctxmgr_lite.h"
#include "runtime/stack.h"
namespace ts {
na... | 30.437956 | 122 | 0.52542 | ViewFaceCore |
10458d3964caa22183085cdb9f1d078ee943ad5f | 16,654 | hpp | C++ | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Yuzu/yuzu/foundation/blas/AutoRowVector.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | /**********************************************************************************************//**
* @file foundation/blas/AutoRowVector.hpp
*
* @brief Contains definitions of classes for vector manipulation.
**************************************************************************************************/
#pragm... | 33.441767 | 102 | 0.386754 | renato-yuzup |
1046d3d6196d7fbb5d986e83e52efd3cd37cb153 | 2,131 | cpp | C++ | sources/Editor/Language/LanguageLoader.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 13 | 2017-03-21T22:46:18.000Z | 2020-07-30T01:31:57.000Z | sources/Editor/Language/LanguageLoader.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | null | null | null | sources/Editor/Language/LanguageLoader.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 2 | 2018-07-23T19:56:41.000Z | 2020-07-30T01:32:01.000Z | /*
* Editor language loader file
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "LanguageLoader.h"
#include "IO/Core/Log.h"
#include "Core/StringModifier.h"
#include "Platform/Core/OS.h"
namespace Fork
{
namespace Edito... | 22.913978 | 129 | 0.648522 | LukasBanana |
1046ecaf3cc51d46637789724bc6607de8bc3507 | 10,070 | cc | C++ | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | null | null | null | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | 3 | 2017-02-07T11:26:33.000Z | 2017-02-07T12:43:41.000Z | nexus/core/test/tests_options.cc | mozuysal/virg-workspace | ff0df41ceb288609c5279a85d9d04dbbc178d33e | [
"BSD-3-Clause"
] | null | null | null | /**
* @file tests_options.cc
*
* This file is part of the IYTE Visual Intelligence Research Group Software Library
*
* Copyright (C) 2015 Mustafa Ozuysal. All rights reserved.
*
* @author Mustafa Ozuysal
*
* Contact mustafaozuysal@iyte.edu.tr for comments and bug reports.
*
*/
#include <cstdlib>
#include <cs... | 37.296296 | 93 | 0.614995 | mozuysal |
1047c25905ccff46fef853844a092607293cd562 | 3,054 | cpp | C++ | core/src/datamatrix/DMDataBlock.cpp | nimashoghi/zxing-cpp-fork | 4f0530502da7efa6d35dc49dad37bae77094751b | [
"Apache-2.0"
] | 1 | 2019-11-11T17:29:16.000Z | 2019-11-11T17:29:16.000Z | core/src/datamatrix/DMDataBlock.cpp | nimashoghi/zxing-cpp-fork | 4f0530502da7efa6d35dc49dad37bae77094751b | [
"Apache-2.0"
] | null | null | null | core/src/datamatrix/DMDataBlock.cpp | nimashoghi/zxing-cpp-fork | 4f0530502da7efa6d35dc49dad37bae77094751b | [
"Apache-2.0"
] | 1 | 2021-06-10T08:37:14.000Z | 2021-06-10T08:37:14.000Z | /*
* Copyright 2016 Nu-book Inc.
* Copyright 2016 ZXing 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 appl... | 37.243902 | 102 | 0.7315 | nimashoghi |
10481f142e59af5a7108a9a94c55ab6445e3b0c6 | 5,090 | cpp | C++ | KLEE/klee/lib/Module/Checks.cpp | YizhuoZhai/UBITect | 525866d8ca24e03cb9ddd805c4dd0d789c33cff8 | [
"MIT"
] | 26 | 2020-06-20T15:13:14.000Z | 2022-03-30T12:49:51.000Z | KLEE/klee/lib/Module/Checks.cpp | YizhuoZhai/UBITect | 525866d8ca24e03cb9ddd805c4dd0d789c33cff8 | [
"MIT"
] | 1 | 2021-05-25T03:54:19.000Z | 2021-05-25T04:22:29.000Z | lib/Module/Checks.cpp | qiaokang92/P4wn | cd2418de2dff238f67508898e3bfdf2aae1889a4 | [
"NCSA"
] | 8 | 2020-07-09T23:39:23.000Z | 2021-04-21T20:21:20.000Z | //===-- Checks.cpp --------------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | 32.012579 | 83 | 0.613752 | YizhuoZhai |
10490a9668b1080a208c986059f7262abc4566e4 | 3,390 | cpp | C++ | lib/popops/codelets/BroadcastVectorInner1D.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 95 | 2020-07-06T17:11:23.000Z | 2022-03-12T14:42:28.000Z | lib/popops/codelets/BroadcastVectorInner1D.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | null | null | null | lib/popops/codelets/BroadcastVectorInner1D.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 14 | 2020-07-15T12:32:57.000Z | 2022-01-26T14:58:45.000Z | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include <cassert>
#include <cmath>
#include <poplar/HalfFloat.hpp>
#include <poplar/Vertex.hpp>
#include <type_traits>
#include "elemwiseBinaryOps.hpp"
#include "poplar/TileConstants.hpp"
#include "poplibs_support/ExternalCodelet.hpp"
#include "popops/ExprOp.h... | 40.357143 | 80 | 0.579351 | graphcore |
10491edb47b30d33ffee099c43889b89e1f0e0cf | 1,620 | cpp | C++ | examples/apps/collective-output-channel.cpp | slabasan/Caliper | 85601f48e7f883fb87dec85e92c849eec2bb61f7 | [
"BSD-3-Clause"
] | 220 | 2016-01-19T19:00:10.000Z | 2022-03-29T02:09:39.000Z | examples/apps/collective-output-channel.cpp | slabasan/Caliper | 85601f48e7f883fb87dec85e92c849eec2bb61f7 | [
"BSD-3-Clause"
] | 328 | 2016-05-12T15:47:30.000Z | 2022-03-30T19:42:02.000Z | examples/apps/collective-output-channel.cpp | slabasan/Caliper | 85601f48e7f883fb87dec85e92c849eec2bb61f7 | [
"BSD-3-Clause"
] | 48 | 2016-03-04T22:04:39.000Z | 2021-12-18T12:11:43.000Z | // Copyright (c) 2015-2021, Lawrence Livermore National Security, LLC.
// See top-level LICENSE file for details.
// This example demonstrates how to use make_collective_output_channel()
// to gather and write profiling results into a custom C++ stream in MPI.
#include <caliper/cali.h>
#include <caliper/CollectiveO... | 24.923077 | 76 | 0.666049 | slabasan |
104a360911a05d1fa1dd98b4a98f62d06c5ede61 | 120,027 | cpp | C++ | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/generic/helpers/impl/convolutions.cpp | DongJiHui/deeplearning4j | bd9d42d946d6c99f04b9ea1b99c9f703d5b7b854 | [
"Apache-2.0"
] | null | null | null | //
// @author raver119@gmail.com, created on 07.10.2017.
// @author Yurii Shyrma (iuriish@yahoo.com)
//
#include <ops/declarable/generic/helpers/convolutions.h>
#include <NDArrayFactory.h>
namespace nd4j {
namespace ops {
//////////////////////////////////////////////////////////////////////////
template<t... | 52.04987 | 327 | 0.417173 | DongJiHui |
104a3f111a871c5634069539683ec3c89b4a87a7 | 129 | cpp | C++ | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | 6 | 2015-11-02T09:17:05.000Z | 2018-11-16T08:42:44.000Z | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | null | null | null | src/devices.cpp | es1024/marbelous.cpp | 280fa8690338923992c2640cbb09fb6bc114c0eb | [
"MIT"
] | null | null | null | #include "devices.h"
const char *device_names[] = {
#define X(device_name) #device_name,
FOR_EACH_DEVICE(X)
#undef X
0
};
| 12.9 | 37 | 0.682171 | es1024 |
104a7a7ea5d08c235c7b2ce813a3f9421f7e70b6 | 8,883 | cpp | C++ | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | src/tsplugins/tsplugin_analyze.cpp | manuelmann/tsduck-test | 13760d34bd6f522c2ff813a996371a7cb30e1835 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 33.90458 | 184 | 0.545649 | manuelmann |
104a7e9d4ad6519f2f8ed65e82cd2c851c1f8048 | 4,018 | cpp | C++ | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 31 | 2015-02-28T23:51:10.000Z | 2021-12-25T04:16:01.000Z | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 126 | 2015-01-01T13:42:05.000Z | 2021-07-13T14:11:42.000Z | Foundation/library/source/TTQueue.cpp | jamoma/JamomaCore | 7b1becc7f6ae2bc1f283a34af0b3986ce20f3a43 | [
"BSD-3-Clause"
] | 14 | 2015-02-10T15:08:32.000Z | 2019-09-17T01:21:25.000Z | /*
* TTBlue low-priority queue
* Copyright © 2008, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTQueue.h"
#if OLD
void* TTQueueMaster(void* anArgument)
{
TTQueue *queue = (TTQueue*)anArgument;
return q... | 23.225434 | 112 | 0.721005 | jamoma |
104bc1d034d3cd19198b29b4acc1d73dc8625250 | 6,597 | cpp | C++ | src/framework/rendering/DeferredRenderer.cpp | Figglewatts/graphics2-proj | 9255dad0fb6f47944a242652adca0e85282da216 | [
"MIT"
] | 1 | 2021-08-19T22:09:31.000Z | 2021-08-19T22:09:31.000Z | src/framework/rendering/DeferredRenderer.cpp | Figglewatts/graphics2-proj | 9255dad0fb6f47944a242652adca0e85282da216 | [
"MIT"
] | null | null | null | src/framework/rendering/DeferredRenderer.cpp | Figglewatts/graphics2-proj | 9255dad0fb6f47944a242652adca0e85282da216 | [
"MIT"
] | null | null | null | #include "DeferredRenderer.h"
#include "framework/io/ResourceManager.h"
#include <glm/gtc/matrix_transform.inl>
namespace Framework
{
DeferredRenderer::DeferredRenderer(unsigned width, unsigned height, GLContext *context, Shader *pointLightShader, Shader *dirLightShader)
: Renderer(context), _width(width), _height(... | 32.985 | 138 | 0.729271 | Figglewatts |
104bee1cade2bc1c352716ea106cef9418d919b3 | 997 | cpp | C++ | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | Cracking coding Interview/Array and String/Palindrome permutation.cpp | jv640/Coding | 19bda40200ee1fdcc16bb3dc174fe14c7090b58d | [
"MIT"
] | null | null | null | /*
Description : Given a string, write a function to check if it is a permutation of a palindrome.
A palindrome is a word or phrase that is the same forwards and backwards. A permutation is a rearrangement of letters.
The palindrome does not need to be limited to just dictionary word... | 25.564103 | 135 | 0.50652 | jv640 |
104c88a0db738974c62dbba872faed6e82c340bd | 12,845 | cc | C++ | chrome/browser/prefs/pref_hash_browsertest.cc | lauer3912/chromium.src | 969c559f5e43b329295b68c49ae9bf46a833395c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-06-27T11:52:41.000Z | 2019-06-27T11:52:41.000Z | chrome/browser/prefs/pref_hash_browsertest.cc | davgit/chromium.src | 29b19806a790a12fb0a64ee148d019e27db350db | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/prefs/pref_hash_browsertest.cc | davgit/chromium.src | 29b19806a790a12fb0a64ee148d019e27db350db | [
"BSD-3-Clause-No-Nuclear-License-2014",
"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 <set>
#include <vector>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#includ... | 39.042553 | 92 | 0.727443 | lauer3912 |
104d12e1e9d29f0eaa5a7769106b966a2f89a722 | 4,229 | cpp | C++ | runtime/imtable_builder.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-09T03:17:23.000Z | 2021-09-09T03:17:23.000Z | runtime/imtable_builder.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | null | null | null | runtime/imtable_builder.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:57.000Z | 2021-09-13T11:21:57.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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... | 32.530769 | 119 | 0.606763 | openharmony-gitee-mirror |
104d8e72a811f67ae5f1315ce1822b7d7e3ad4e3 | 15,364 | cc | C++ | content/renderer/render_widget_fullscreen_pepper.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | content/renderer/render_widget_fullscreen_pepper.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/render_widget_fullscreen_pepper.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/render_widget_fullscreen_pepper.h"
#include <vector>
#include "base/bind.h"
#include "base/command_line.h"
#include "base... | 30.303748 | 80 | 0.715699 | pozdnyakov |
104df11d3a07c80608d61c3179c29b87b6800d33 | 2,029 | cc | C++ | src/sem/sem_struct_test.cc | ben-clayton/Tint | e9216ce595b6288ec1160a617e6ac2a856e9443d | [
"Apache-2.0"
] | null | null | null | src/sem/sem_struct_test.cc | ben-clayton/Tint | e9216ce595b6288ec1160a617e6ac2a856e9443d | [
"Apache-2.0"
] | null | null | null | src/sem/sem_struct_test.cc | ben-clayton/Tint | e9216ce595b6288ec1160a617e6ac2a856e9443d | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint 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 law or agreed ... | 32.725806 | 80 | 0.646131 | ben-clayton |
104dfa80fc3c4671ae602442088a47d5e31f5b28 | 7,499 | cpp | C++ | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | windows_time_logger/mainwindow.cpp | sanojsubran/utility_projects | 8f0f5e35700550293f178a57891c5c6150a56aa8 | [
"MIT"
] | null | null | null | #include <QSharedPointer>
#include <QDesktopWidget>
#include <QTime>
#include <QTimer>
#include <QMenu>
#include <QRect>
#include <QMessageBox>
#include "mainwindow.h"
#include "ui_mainwindow.h"
const QTime dailyWorkHours( 8, 0 );
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Main... | 29.407843 | 79 | 0.529271 | sanojsubran |
104e26d04c6e95ec44d9cbdbd41913b1c61fa7a5 | 8,481 | cpp | C++ | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 3 | 2018-05-28T15:03:50.000Z | 2021-11-07T22:30:10.000Z | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 6 | 2020-07-29T17:45:36.000Z | 2020-07-29T18:48:03.000Z | src/PercentageDisplay.cpp | JavaJeremy/stepmania | 5dad6a1c9a1caba66ebc1aa0feab9bc920399455 | [
"MIT"
] | 3 | 2017-07-25T17:04:51.000Z | 2021-08-30T05:12:15.000Z | #include "global.h"
#include "PercentageDisplay.h"
#include "GameState.h"
#include "ThemeManager.h"
#include "PrefsManager.h"
#include "ActorUtil.h"
#include "RageLog.h"
#include "StageStats.h"
#include "PlayerState.h"
#include "XmlFile.h"
#include "Course.h"
REGISTER_ACTOR_CLASS( PercentageDisplay );
PercentageDis... | 33 | 159 | 0.748968 | JavaJeremy |
104f06d5b1f28417d1a2c882e709a2c401f1e3b3 | 4,943 | cpp | C++ | src/meshData.cpp | yantor3d/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | 51 | 2017-01-29T07:59:37.000Z | 2022-03-12T06:52:28.000Z | src/meshData.cpp | sod462/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | null | null | null | src/meshData.cpp | sod462/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | 17 | 2017-01-29T07:39:14.000Z | 2022-03-28T15:38:50.000Z | /**
Copyright (c) 2017 Ryan Porter
You may use, distribute, or modify this code under the terms of the MIT license.
*/
#include "polyChecksum.h"
#include "meshData.h"
#include "util.h"
#include <algorithm>
#include <vector>
#include <unordered_map>
#include <maya/MDagPath.h>
#include <maya/MIntArray.h>
#... | 24.715 | 101 | 0.654865 | yantor3d |
1053a2b1dff3068160e8d825b12a4f5fb996fcff | 1,022 | cpp | C++ | Publications/DPC++/Ch07_buffers/fig_7_5_buffer_properties.cpp | tiwaria1/oneAPI-samples | 18310adf63c7780715f24034acfb0bf01d15521f | [
"MIT"
] | 310 | 2020-07-09T01:00:11.000Z | 2022-03-31T17:52:14.000Z | Publications/DPC++/Ch07_buffers/fig_7_5_buffer_properties.cpp | tiwaria1/oneAPI-samples | 18310adf63c7780715f24034acfb0bf01d15521f | [
"MIT"
] | 438 | 2020-06-30T23:25:19.000Z | 2022-03-31T00:37:13.000Z | Publications/DPC++/Ch07_buffers/fig_7_5_buffer_properties.cpp | junxnone/oneAPI-samples | f414747b5676688d690655c6043b71577027fc19 | [
"MIT"
] | 375 | 2020-06-04T22:58:24.000Z | 2022-03-30T11:04:18.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: MIT
#include <CL/sycl.hpp>
#include <mutex>
using namespace sycl;
int main() {
queue Q;
int my_ints[42];
// create a buffer of 42 ints
buffer<int> b{range(42)};
// create a buffer of 42 ints, initialize with a host pointer,
// and add ... | 30.058824 | 84 | 0.708415 | tiwaria1 |
1055dab118e457f6cffca44a71b293b83eb10a37 | 105,111 | cpp | C++ | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/Images.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | /*
* Bumble Bots Re-Pair, a Gamebuino game
*
* Copyright 2020, Erwin Bonsma
*/
#include "Images.h"
/* Normal move sprites for blue bot (all rotations)
* 0..15 - Default look
* 16..31 - Orange rearlight (instead of red)
*/
const uint8_t botsData1[] = {
13, 13, 32, 0, 0, (uint8_t)INDEX_BLACK, 1,
0x00, 0x00,... | 34.943816 | 97 | 0.631504 | erwinbonsma |
10562b3be9cb95aaddfdae8178b8fcbab86e2b6b | 5,856 | cc | C++ | test/core/surface/sequential_connectivity_test.cc | benjaminp/grpc | dfb1a0f20624417bff408a14b12a23713085b999 | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | test/core/surface/sequential_connectivity_test.cc | benjaminp/grpc | dfb1a0f20624417bff408a14b12a23713085b999 | [
"Apache-2.0"
] | 11 | 2019-06-02T23:50:17.000Z | 2022-02-04T23:58:56.000Z | test/core/surface/sequential_connectivity_test.cc | dinara92/grpc | 53d82af98c2ac243c45ac28c57062273d03cd9dd | [
"Apache-2.0"
] | 29 | 2019-06-12T03:22:18.000Z | 2022-03-03T16:47:28.000Z | /*
*
* Copyright 2016 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 law or agree... | 33.272727 | 80 | 0.729167 | benjaminp |
1056a31868d7370c5158b78f65bd4ecb328f6007 | 12,391 | cpp | C++ | tket/src/Ops/ClassicalOps.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | null | null | null | tket/src/Ops/ClassicalOps.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | null | null | null | tket/src/Ops/ClassicalOps.cpp | vtomole/tket | ded37ab58176d64117a3e11e8a667ce0199a338a | [
"Apache-2.0"
] | null | null | null | // Copyright 2019-2022 Cambridge Quantum Computing
//
// 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... | 32.101036 | 80 | 0.641998 | vtomole |
105acd5bbb456c5068fe81ad30435fe601a3fa94 | 4,593 | cc | C++ | tensorflow/compiler/xla/service/async_op_canonicalizer.cc | huzq85/tensorflow-fork | 92f1dd09bef516a6eb0ad6be6833f28785ef2be8 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/async_op_canonicalizer.cc | huzq85/tensorflow-fork | 92f1dd09bef516a6eb0ad6be6833f28785ef2be8 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/async_op_canonicalizer.cc | huzq85/tensorflow-fork | 92f1dd09bef516a6eb0ad6be6833f28785ef2be8 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2022 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... | 38.923729 | 80 | 0.67973 | huzq85 |
10613aa3361da5c51c7225145eed667ce953b22f | 5,318 | cc | C++ | src/connectivity/openthread/third_party/openthread/platform/settings.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/connectivity/openthread/third_party/openthread/platform/settings.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/connectivity/openthread/third_party/openthread/platform/settings.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | /*
* Copyright (c) 2016, The OpenThread Authors.
* 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 ... | 38.258993 | 99 | 0.732042 | wwjiang007 |
1061e75aedcdde0f772e826ec51956fb8eb2c83d | 3,434 | hpp | C++ | inc/goo_dict/parameters/path_parameter.hpp | CrankOne/Goo | b909c72a5c87cd11d9c27d42b8332c1b5694cfe0 | [
"MIT"
] | null | null | null | inc/goo_dict/parameters/path_parameter.hpp | CrankOne/Goo | b909c72a5c87cd11d9c27d42b8332c1b5694cfe0 | [
"MIT"
] | 2 | 2017-12-28T10:09:43.000Z | 2018-02-21T13:34:02.000Z | inc/goo_dict/parameters/path_parameter.hpp | CrankOne/Goo | b909c72a5c87cd11d9c27d42b8332c1b5694cfe0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 Renat R. Dusaev <crank@qcrypt.org>
* Author: Renat R. Dusaev <crank@qcrypt.org>
*
* 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... | 37.736264 | 83 | 0.638905 | CrankOne |
1062718a55085244642dcf9b3591ecaf7e2865d0 | 3,092 | cpp | C++ | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 486 | 2018-03-07T17:15:03.000Z | 2019-05-06T20:05:44.000Z | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 172 | 2019-05-14T18:56:36.000Z | 2022-03-30T16:35:24.000Z | MsixCore/msixmgr/PSFScriptExecuter.cpp | bfourie/msix-packaging | c30aa5218cc7e2f80b96e27ee60c4eca8e3c2f0a | [
"MIT"
] | 83 | 2019-05-29T18:38:36.000Z | 2022-03-17T07:34:16.000Z | #include <windows.h>
#include "PSFScriptExecuter.hpp"
#include "GeneralUtil.hpp"
#include <TraceLoggingProvider.h>
#include "MsixTraceLoggingProvider.hpp"
#include "document.h"
using namespace MsixCoreLib;
const PCWSTR PSFScriptExecuter::HandlerName = L"PSFScriptExecuter";
HRESULT PSFScriptExecuter::Exe... | 35.136364 | 135 | 0.700517 | bfourie |
1063501bc5a82a4d0bf7bbe8df7e55d289a01add | 4,363 | cpp | C++ | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | 1 | 2016-12-07T02:33:26.000Z | 2016-12-07T02:33:26.000Z | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | null | null | null | Undergraduate Research/Arm_Action_Training/Arm_Action_Training.cpp | GCY/NTCU-CSIE-Homework | 25ce4c4586c7a68fc3935295635063e07c8d4e42 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
#include <time.h>
// OpenNN includes
#include "opennn.h"
using namespace OpenNN;
int main(int argc, char** argv)
{
int inputNumber = 4;
int neuronNumber = 0;
int outputNumber = 0;
if(atoi(argv[1])>0 && ato... | 32.804511 | 140 | 0.699519 | GCY |
10653060eb33d62fffdf84a8f5a73a40367593f9 | 3,052 | cpp | C++ | android/GameAnalyticsHelper.cpp | indigames/igeGameAnalytics | 581f5fa31048dfc92079edbce9d02f67b6abb44b | [
"MIT"
] | null | null | null | android/GameAnalyticsHelper.cpp | indigames/igeGameAnalytics | 581f5fa31048dfc92079edbce9d02f67b6abb44b | [
"MIT"
] | null | null | null | android/GameAnalyticsHelper.cpp | indigames/igeGameAnalytics | 581f5fa31048dfc92079edbce9d02f67b6abb44b | [
"MIT"
] | null | null | null | #include <jni.h>
#include "GameAnalyticsHelper.h"
#include "android/log.h"
JavaVM* gameAnalytics_VM;
jclass mGameAnalyticsClass;
/* method signatures */
jmethodID midGameAnalyticsInit;
jmethodID midGameAnalyticsRelease;
jmethodID midGameAnalyticsAddProgressionEvent1;
jmethodID midGameAnalyticsAddProgressionEvent1Scor... | 44.231884 | 180 | 0.757208 | indigames |
106540f15fc0ae664b235298f5e34c3083159688 | 82 | cpp | C++ | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | 1 | 2021-02-04T08:13:24.000Z | 2021-02-04T08:13:24.000Z | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | 4 | 2019-09-08T15:56:22.000Z | 2021-12-03T00:53:01.000Z | exercises/practice/grade-school/grade_school.cpp | lotharschulz/cpp | 26352eb5dccf8553228add904ae6aca227e3b07f | [
"MIT"
] | null | null | null | #include "grade_school.h"
namespace grade_school {
} // namespace grade_school
| 13.666667 | 28 | 0.756098 | lotharschulz |
106597cd4c6639ef3c8feaa0e671c5540ffe3cef | 291 | hh | C++ | lab2/aufgabe3/inc/point.hh | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | lab2/aufgabe3/inc/point.hh | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | lab2/aufgabe3/inc/point.hh | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | #ifndef POINT_HH_
#define POINT_HH_
class Point
{
public:
Point(int x = 0, int y = 0);
double GetX() const;
double GetY() const;
void SetX(double x);
void SetY(double y);
void Move(double dx, double dy);
void Print(bool lf = true) const;
private:
double x, y;
};
#endif
| 13.227273 | 35 | 0.649485 | FreeGeronimo |
1066494d65cc32b8f6c09ae44bdfbe11058f552c | 1,527 | hpp | C++ | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | include/ClientLib/Scripting/ClientEditorEntityStore.hpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#ifndef BURGWAR_CORELIB_SCRIPTING_CLIENTEDITORENTITYSTORE_HPP
#define BURGWAR_CORELIB_SCRIPTING_CLIENTEDITORENTITYSTORE_HPP
#include <CoreLib/Scr... | 35.511628 | 278 | 0.802227 | ImperatorS79 |
10664f7b4215836c4a8ec202973bf24b789ef3c7 | 2,076 | cpp | C++ | src/Functions/abs.cpp | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 3 | 2019-06-27T08:59:08.000Z | 2021-09-03T02:38:02.000Z | src/Functions/abs.cpp | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 1 | 2021-06-28T15:03:05.000Z | 2021-06-28T15:03:05.000Z | src/Functions/abs.cpp | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 1 | 2021-07-10T20:23:13.000Z | 2021-07-10T20:23:13.000Z | #include <Functions/FunctionFactory.h>
#include <Functions/FunctionUnaryArithmetic.h>
#include <DataTypes/NumberTraits.h>
#include <Common/FieldVisitorConvertToNumber.h>
namespace DB
{
template <typename A>
struct AbsImpl
{
using ResultType = std::conditional_t<IsDecimalNumber<A>, A, typename NumberTraits::Result... | 35.793103 | 150 | 0.684971 | mga-chka |
106708d6f712af64ff053ffc784001e9efb1dd7d | 10,026 | cpp | C++ | src/drivers/gps/devices/src/emlid_reach.cpp | a1846342933/px4framework | a7fa062e5a3d4bc025186d3ce081a8cd15b4729f | [
"BSD-3-Clause"
] | null | null | null | src/drivers/gps/devices/src/emlid_reach.cpp | a1846342933/px4framework | a7fa062e5a3d4bc025186d3ce081a8cd15b4729f | [
"BSD-3-Clause"
] | null | null | null | src/drivers/gps/devices/src/emlid_reach.cpp | a1846342933/px4framework | a7fa062e5a3d4bc025186d3ce081a8cd15b4729f | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2012-2019 PX4 Development Team. 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. Red... | 26.594164 | 131 | 0.701476 | a1846342933 |