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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ebc72d51738062c83c2e26f607a74611c1b65013 | 7,082 | cpp | C++ | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | gui_new/mainwindow.cpp | wddcbfree/MiniWord-4th-Semester | 699febced0763b70431496651013844fe415bd04 | [
"MIT"
] | null | null | null | #include <QDialog>
#include <QAction>
#include <QWidget>
#include <QDebug>
#include <QFileDialog>
#include <QMenuBar>
#include <QMessageBox>
#include <QStatusBar>
#include <QToolBar>
#include <QLineEdit>
#include <QSize>
#include <string>
#include <QTextStream>
#include <QDataStream>
#include <vector>
#include <QPushBu... | 31.900901 | 116 | 0.671138 | wddcbfree |
ebc7c8bb8fef12b489ce4254a563c1adcf53d1db | 2,855 | hh | C++ | src/c++/include/variant/VariantProcessor.hh | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 315 | 2015-07-21T13:53:30.000Z | 2022-03-17T02:01:19.000Z | src/c++/include/variant/VariantProcessor.hh | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 147 | 2015-11-26T03:06:24.000Z | 2022-03-28T18:22:33.000Z | src/c++/include/variant/VariantProcessor.hh | nh13/hap.py | fd67904f7a68981e76c12301aa2add2718b30120 | [
"BSL-1.0"
] | 124 | 2015-07-21T13:55:14.000Z | 2022-03-23T17:34:31.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2010-2015 Illumina, 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 ab... | 31.722222 | 83 | 0.708932 | nh13 |
ebc82ff643e64b2b2895a6ac44bae4c639ff4f58 | 1,342 | cpp | C++ | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | 3 | 2021-01-11T03:31:55.000Z | 2021-05-18T06:50:44.000Z | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | null | null | null | 山东大学/Day03资料/cv/03imgdraw/cv03_draw_arrowline.cpp | QiangAI/AI_CPlus | 8359f4ed6e94eacda6d1e9d057defad5bb9792a0 | [
"Apache-2.0"
] | 1 | 2021-01-12T06:48:52.000Z | 2021-01-12T06:48:52.000Z | #include <opencv2/opencv.hpp>
#include <iostream>
#define WIN_W 400
#define WIN_H 300
int main(int argc, const char** argv) {
cv::namedWindow("Win_draw", cv::WINDOW_NORMAL);
cv::resizeWindow("Win_draw", WIN_W, WIN_H);
cv::moveWindow("Win_draw", (1280 - WIN_W) / 2, (800 - WIN_H) / 2);
//////////////////... | 32.731707 | 151 | 0.502981 | QiangAI |
1b0b499629d7cff396d0d7eda2be7043368bed07 | 2,109 | cpp | C++ | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 11 | 2021-10-01T06:53:31.000Z | 2022-02-05T20:36:20.000Z | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 37 | 2021-10-01T06:54:01.000Z | 2021-10-20T18:02:31.000Z | Codeforces/C++/1579E2.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 110 | 2021-10-01T06:51:28.000Z | 2021-10-31T18:00:55.000Z | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define mod ((ll)1e9+7)
#define test ll t; cin>>t; while(t--)
#define speed ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define F first
#define S second
void fileIO() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", ... | 18.33913 | 75 | 0.531057 | shresth12-jain |
1b0c7f0f7ca5c80bd2ecc34f29fdae93d60c63a3 | 3,265 | hpp | C++ | deps/boost/include/boost/process/detail/windows/locale.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/process/detail/windows/locale.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/process/detail/windows/locale.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | // Copyright (c) 2016 Klemens D. Morgenstern
// Copyright (c) 2008 Beman Dawes
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PROCESS_DETAIL_WINDOWS_LOCALE_HPP_
#define BOOST_PROCESS_DETAIL... | 29.151786 | 103 | 0.623583 | kindlychung |
1b0e4aad4c13c69ae952f46d75fa45707fdc02a2 | 522 | cpp | C++ | sledge/test/frontend/struct.cpp | gatarelib/infer | 21145c75c920962b3c2970d1224eca7b6dc8ba8d | [
"MIT"
] | 4 | 2021-11-19T02:07:46.000Z | 2022-03-24T06:03:50.000Z | sledge/test/frontend/struct.cpp | gatarelib/infer | 21145c75c920962b3c2970d1224eca7b6dc8ba8d | [
"MIT"
] | 1 | 2021-04-05T15:19:58.000Z | 2021-12-16T04:22:26.000Z | sledge/test/frontend/struct.cpp | gatarelib/infer | 21145c75c920962b3c2970d1224eca7b6dc8ba8d | [
"MIT"
] | 1 | 2019-04-26T02:27:43.000Z | 2019-04-26T02:27:43.000Z | /*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdlib.h>
struct list_head {
struct list_head *next, *prev;
};
struct list_head glob = {0};
struct list_head ears = {&ears... | 20.076923 | 79 | 0.666667 | gatarelib |
1b0fbe9ed4ab59280d4294c847d3e5e2d7f29cf5 | 9,366 | hpp | C++ | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | src/hexgrid_impl.hpp | MaemiKozue/hexceed | 11ddcdfe3f7cadc23ca8ccba950df05fe49ce60a | [
"MIT"
] | null | null | null | #include "hexgrid.hpp"
#include <vector>
#include <utility>
#include <opencv2/imgproc.hpp>
using namespace std;
using namespace cv;
static int direction(int qa, int ra, int qb, int rb)
{
int dir = -1;
int dq = qb - qa;
int dr = rb - ra;
if (dq * dq > 1 || dr * dr > 1 || dq == dr) {
dir = -... | 21.190045 | 125 | 0.492846 | MaemiKozue |
1b10d87bc95edb992db318792f91a4a2e59b3d6c | 7,154 | cc | C++ | sdk/lib/inspect/contrib/cpp/read_visitor_unittest.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | sdk/lib/inspect/contrib/cpp/read_visitor_unittest.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | sdk/lib/inspect/contrib/cpp/read_visitor_unittest.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/inspect/cpp/hierarchy.h>
#include <lib/inspect/cpp/inspect.h>
#include <lib/inspect/cpp/reader.h>
#include <sdk/lib/inspect/contrib/cpp/read... | 35.949749 | 97 | 0.650964 | opensource-assist |
1b1105d557e117192e72fa9b9d97085c750793df | 200 | cpp | C++ | tests/Reverberation/main.cpp | D-J-Roberts/AudioTK | accf009d7238f32702eb1d5ee23c5148fc68e3bd | [
"BSD-3-Clause"
] | 249 | 2015-01-05T13:36:26.000Z | 2022-03-15T18:47:46.000Z | tests/Reverberation/main.cpp | apohl79/AudioTK | 05ac241b0bc6a8f841d93257b4d81e5961b1f627 | [
"BSD-3-Clause"
] | 22 | 2015-07-28T15:20:24.000Z | 2020-07-11T14:18:19.000Z | tests/Reverberation/main.cpp | D-J-Roberts/AudioTK | accf009d7238f32702eb1d5ee23c5148fc68e3bd | [
"BSD-3-Clause"
] | 48 | 2015-08-15T12:08:13.000Z | 2021-04-07T02:33:07.000Z | /**
* \ file main.pp
* Runner file for ATK Reverberation
*/
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE ATKReverberation_test
#include <boost/test/unit_test.hpp>
| 20 | 47 | 0.785 | D-J-Roberts |
1b111d21d79c6673f0dea478714455ceb0d6da7a | 5,152 | cc | C++ | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | test/src/LiveChannel/GetLiveChannelHistoryTest.cc | FunriLy/aliyun-oss-cpp-sdk | ca8bf8a3cdd0f89b846bffcb377675d15a36f3b4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 35.287671 | 132 | 0.657997 | FunriLy |
1b131cc3d0ffb683842329d8d05e14d0d4b7d23b | 42,799 | cc | C++ | chrome/browser/predictors/resource_prefetch_predictor.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | chrome/browser/predictors/resource_prefetch_predictor.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/predictors/resource_prefetch_predictor.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"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 "chrome/browser/predictors/resource_prefetch_predictor.h"
#include <map>
#include <set>
#include <utility>
#include "base/command_line.h"
#incl... | 36.301103 | 80 | 0.706395 | xzhan96 |
1b144dce750ee005da5bd86ad0e48b0396e078a5 | 6,730 | cpp | C++ | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | src/lib/shell/commands/Ota.cpp | ArekBalysNordic/sdk-connectedhomeip | 80da8ab1c0aa315a6ee2ce6adf448606372b0a2d | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2021 Project CHIP 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 requir... | 35.421053 | 112 | 0.687073 | ArekBalysNordic |
1b19ad32fa12f2b6d9d360fec202acba1130f74b | 10,336 | cpp | C++ | src/config.cpp | brynedwards/ncpamixer | 31eb4d0c689c25582216b38c2ed1461c39649599 | [
"MIT"
] | 311 | 2016-08-11T00:04:04.000Z | 2022-03-21T20:01:38.000Z | src/config.cpp | hishamhm/ncpamixer | 158dc0dc874cf4bae418b61d84c21daede258e79 | [
"MIT"
] | 51 | 2016-08-16T20:08:43.000Z | 2022-01-29T16:17:06.000Z | src/config.cpp | hishamhm/ncpamixer | 158dc0dc874cf4bae418b61d84c21daede258e79 | [
"MIT"
] | 29 | 2016-08-17T11:57:22.000Z | 2021-12-28T06:27:26.000Z | #include "config.hpp"
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#define MAX_LINE 300
Config config;
Config::Config()
{
memset(&filename[0], 0, sizeof(filename));
}
const char *Config::getHomeDir(... | 34.112211 | 76 | 0.424439 | brynedwards |
1b1bd39c1d74c64d4876751d4cbc0d3aadfda6bd | 2,758 | cpp | C++ | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | examples/portability/opencl/main.cpp | lcw/OCCA2 | 1b81616e2865c89dad05f24a522b20018e8604fa | [
"MIT"
] | null | null | null | #include <iostream>
#include "occa.hpp"
int main(int argc, char **argv){
int entries = 5;
//---[ Init OpenCL ]------------------
cl_int error;
cl_platform_id clPlatformID = occa::cl::platformID(0);
cl_device_id clDeviceID = occa::cl::deviceID(0,0);
cl_context clContext = clCreateContext(NULL,
... | 27.306931 | 86 | 0.531182 | lcw |
1b1d4290a4c6714fae3c78e08b1d2db697515981 | 26,171 | cpp | C++ | rack/main/composite.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | 20 | 2018-03-21T10:58:00.000Z | 2022-02-11T14:43:03.000Z | rack/main/composite.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | null | null | null | rack/main/composite.cpp | fmidev/rack | 95c39ef610637e8068253efc36aab40177caff03 | [
"MIT"
] | 6 | 2018-07-04T04:55:56.000Z | 2021-04-15T19:25:13.000Z | /*
MIT License
Copyright (c) 2017 FMI Open Development / Markus Peura, first.last@fmi.fi
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 rig... | 33.044192 | 164 | 0.682817 | fmidev |
1b1e8db69a0f78fa0a582776107cfc072420976c | 6,653 | cc | C++ | chrome/browser/android/widget/thumbnail_generator.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/android/widget/thumbnail_generator.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/android/widget/thumbnail_generator.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/widget/thumbnail_generator.h"
#include <memory>
#include "base/android/jni_string.h"
#include "base/files/file_path.h"
... | 33.432161 | 80 | 0.715617 | zipated |
1b1eb00ce653b11e0d0842a5972cf39c1a6625d8 | 4,052 | hpp | C++ | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/spirit/tree/tree_iterator.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | /*=============================================================================
Spirit v1.6.0
Copyright (c) 2001-2003 Daniel Nuffer
Copyright (c) 2001-2003 Hartmut Kaiser
http://spirit.sourceforge.net/
Permission to copy, use, modify, sell and distribute this software is
granted provided this c... | 36.836364 | 85 | 0.644126 | OLR-xray |
1b1fa7d88e7cc4c80e965a8f1bc58b31038ee1f6 | 2,508 | hpp | C++ | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/restructuring/include/nt2/core/functions/resize.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 31.35 | 171 | 0.57815 | psiha |
1b215e34cad606bb9960145d7ef15765b14b7e32 | 2,305 | cc | C++ | notebook/misc/trp1d/order_x.cc | Kivvix/miMaS | ad3894522e64f21827ba3b8f8d1a48c3dc9216e3 | [
"MIT"
] | 3 | 2019-01-03T22:31:03.000Z | 2020-02-29T06:12:07.000Z | notebook/misc/trp1d/order_x.cc | Kivvix/miMaS | ad3894522e64f21827ba3b8f8d1a48c3dc9216e3 | [
"MIT"
] | null | null | null | notebook/misc/trp1d/order_x.cc | Kivvix/miMaS | ad3894522e64f21827ba3b8f8d1a48c3dc9216e3 | [
"MIT"
] | 2 | 2019-11-20T12:36:44.000Z | 2020-02-29T06:17:16.000Z | #include <iostream>
#include <valarray>
#include <algorithm>
#include <iterator>
#include <fstream>
#include <numeric>
#include "bweno.h"
#include "weno.h"
#include "wenol.h"
#include "rk.h"
template < class Time_Method , typename Space_Method >
std::valarray<double>
trp_error ( std::valarray<double> const& u0 , std:... | 32.464789 | 162 | 0.618655 | Kivvix |
1b244fd62a117be3a0c17adc593d37039a5aa39f | 475 | cpp | C++ | libc/test/src/math/floorl_test.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | libc/test/src/math/floorl_test.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | libc/test/src/math/floorl_test.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===-- Unittests for floorl ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 33.928571 | 80 | 0.532632 | mkinsner |
1b2465175cc31b440fa49957e08c50ab243a6bee | 1,101 | cpp | C++ | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 5 | 2016-02-04T06:14:42.000Z | 2017-02-06T02:21:43.000Z | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 41 | 2015-04-15T21:05:45.000Z | 2015-07-09T12:59:02.000Z | tests/UnitTests/Learning/Evolution/PositiveMakerFitnessFunctionTest.cpp | domin1101/LightBulb | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | null | null | null | #include "LightBulb/Function/ActivationFunction/FermiFunction.hpp"
#include <Mocks/MockMutationSelector.hpp>
#include <Mocks/MockIndividual.hpp>
#include <LightBulb/Learning/Evolution/PositiveMakerFitnessFunction.hpp>
using namespace LightBulb;
class PositiveMakerFitnessFunctionTest : public testing::Test {
public:
... | 29.756757 | 85 | 0.802906 | domin1101 |
1b24bc1d80105cd66d3600866910e2e56b2a4ad7 | 1,167 | cpp | C++ | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | null | null | null | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | null | null | null | src/FalconEngine/Context/Platform/GLFW/GLFWGameEngineInput.cpp | LiuYiZhou95/FalconEngine | b798f20e9dbd01334a4e4cdbbd9a5bec74966418 | [
"MIT"
] | 1 | 2021-08-25T07:39:02.000Z | 2021-08-25T07:39:02.000Z | #include <FalconEngine/Context/GameEngineInput.h>
#include <FalconEngine/Input/MouseButton.h>
#include <FalconEngine/Input/MouseState.h>
#include <FalconEngine/Input/KeyboardState.h>
#include <FalconEngine/Input/KeyState.h>
#if defined(FALCON_ENGINE_WINDOW_GLFW)
#include <FalconEngine/Context/Platform/GLFW/GLFWGameEn... | 25.369565 | 95 | 0.639246 | LiuYiZhou95 |
1b25342e91994d7cbce4c3419ff1ff132d22c3ed | 5,455 | cpp | C++ | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Modules/ContourModel/IO/mitkContourModelReader.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 31.350575 | 117 | 0.638497 | zhaomengxiao |
1b26a5d33f7ab3bf714f50b07b7aa9d72cc31e84 | 5,621 | hpp | C++ | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | null | null | null | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | 1 | 2021-09-07T09:13:03.000Z | 2021-09-07T09:13:03.000Z | source/backend/opengl/GLBackend.hpp | z415073783/MNN | 62c5ca47964407508a5fa802582e648fc75eb0d9 | [
"Apache-2.0"
] | 1 | 2020-03-10T02:17:47.000Z | 2020-03-10T02:17:47.000Z | //
// GLBackend.h
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef GLBACKEND_H
#define GLBACKEND_H
#include <list>
#include <map>
#include <memory>
#include "Backend.hpp"
#include "GLContext.hpp"
#include "GLProgram.hpp"
#include "GLSSBOBuffer.hpp"
#include ... | 32.680233 | 157 | 0.646682 | z415073783 |
1b28334c335dd53ccec2172cdea21ede7b3419c9 | 1,660 | cpp | C++ | C++/M02_Fundamentals/ExamPreparation/EP_2021-05-08/Solutions/P01_BelowAverageOnly.cpp | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | null | null | null | C++/M02_Fundamentals/ExamPreparation/EP_2021-05-08/Solutions/P01_BelowAverageOnly.cpp | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | null | null | null | C++/M02_Fundamentals/ExamPreparation/EP_2021-05-08/Solutions/P01_BelowAverageOnly.cpp | todorkrastev/softuni-software-engineering | cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84 | [
"MIT"
] | 1 | 2022-02-23T13:03:14.000Z | 2022-02-23T13:03:14.000Z | #include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <numeric>
int main() {
int numbersCount;
std::cin >> numbersCount;
std::vector<int> numbers(numbersCount);
std::copy_n(std::istream_iterator<int>(std::cin), numbersCount, numbers.begin());
const double sum = std::accumulate... | 22.133333 | 98 | 0.564458 | todorkrastev |
1b2916a3bf2eef5c6f3b7c16ee07df25bebc2944 | 19,941 | cpp | C++ | src/screen.cpp | pete-woods/ugrep | eabbac71276b35de49e9992a645f65b5da857fbc | [
"BSD-3-Clause"
] | null | null | null | src/screen.cpp | pete-woods/ugrep | eabbac71276b35de49e9992a645f65b5da857fbc | [
"BSD-3-Clause"
] | null | null | null | src/screen.cpp | pete-woods/ugrep | eabbac71276b35de49e9992a645f65b5da857fbc | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************\
* Copyright (c) 2019, Robert van Engelen, Genivia Inc. All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without ... | 24.988722 | 151 | 0.508199 | pete-woods |
1b2946652bc9ff5f3eba1cefb4db9394d6107c99 | 13,879 | cpp | C++ | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 1,003 | 2017-08-13T17:47:04.000Z | 2022-03-29T15:56:55.000Z | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 10 | 2017-08-14T19:11:35.000Z | 2021-12-10T12:51:53.000Z | audio/dsp/sinc_resampler.cpp | VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp | a725ec78eeb5de2d3c25257b1a9372f5e38910f6 | [
"MIT"
] | 107 | 2017-08-16T16:13:26.000Z | 2022-03-03T06:42:19.000Z | /* Copyright (c) 2017-2020 Hans-Kristian Arntzen
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, me... | 33.282974 | 130 | 0.68881 | VulkanWorks |
1b29f125801ba4fa289e79bade924c887d81625d | 23,500 | cpp | C++ | 3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | 1 | 2019-01-25T13:55:25.000Z | 2019-01-25T13:55:25.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004-2016 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms o... | 34.711965 | 183 | 0.706638 | mchiasson |
1b30e91fe49be2eae30b75762a9de1d23b5a92e9 | 1,949 | hpp | C++ | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | include/operon/nnls/residual_evaluator.hpp | ivor-dd/operon | 57775816304b5df7a2f64e1505693a1fdf17a2fe | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Copyright 2019-2022 Heal Research
#ifndef OPERON_NNLS_RESIDUAL_EVALUATOR_HPP
#define OPERON_NNLS_RESIDUAL_EVALUATOR_HPP
#include <Eigen/Core>
#include "operon/interpreter/interpreter.hpp"
namespace Operon {
// simple functor that wraps everything together an... | 38.98 | 169 | 0.700872 | ivor-dd |
1b318aecd8cb346b6acafca3f78b5eee78e0d7ac | 2,105 | hpp | C++ | luabind/detail/conversion_policies/value_converter.hpp | Silverlan/luabind-deboostified | 6879ab1a7acdbf0f637038a1c4f8ec998c1715d9 | [
"MIT"
] | 1 | 2020-09-27T09:06:46.000Z | 2020-09-27T09:06:46.000Z | luabind/detail/conversion_policies/value_converter.hpp | Silverlan/luabind-deboostified | 6879ab1a7acdbf0f637038a1c4f8ec998c1715d9 | [
"MIT"
] | null | null | null | luabind/detail/conversion_policies/value_converter.hpp | Silverlan/luabind-deboostified | 6879ab1a7acdbf0f637038a1c4f8ec998c1715d9 | [
"MIT"
] | null | null | null | // and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WIT... | 25.361446 | 74 | 0.700713 | Silverlan |
1b32b952375e6c2720c0d109aaa3a0d20f4f83cf | 1,911 | cpp | C++ | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | 3 | 2021-05-31T08:51:55.000Z | 2022-02-13T10:21:19.000Z | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | 2 | 2021-08-04T03:15:46.000Z | 2021-09-26T16:20:57.000Z | native/cli/DrEyeCli.cpp | nzh63/Ame | b15e530851d6e00ec839c749fc8e016ffae38e29 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include <array>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <io.h>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
constexpr auto BUFFER_SIZE = 4096;
array<char, BUFFER_SIZE> input;
array<char, BUFFER_SIZE> output;
int(__cdecl *MTInit)(int da... | 27.3 | 90 | 0.536368 | nzh63 |
1b331e92986a5f412d8acc7286beea96b8736cc2 | 1,690 | cpp | C++ | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | 1 | 2020-09-11T12:42:15.000Z | 2020-09-11T12:42:15.000Z | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | null | null | null | CppEditorToolBar.cpp | B1anky/CppEditor | bb68ca521c35a8d7e658f9ddf789201d7b269a08 | [
"MIT"
] | null | null | null | #include "CppEditorToolBar.h"
#include <QPushButton>
#include <QMap>
CppEditorToolBar::CppEditorToolBar(QWidget* parent) :
QToolBar(parent),
m_runButton(nullptr),
m_buildButton(nullptr)
{
QSize buttonSize(64, 64);
QSize iconSize(50, 50);
QString buttonStyle = "QPushButton{"
... | 33.8 | 75 | 0.56568 | B1anky |
1b343d1f3d94b8594c5d6106667fd9f49b26c178 | 566 | cpp | C++ | competition/pat/pat-a-practise/1007. Maximum Subsequence Sum (25)/Maximum Subsequence Sum (25).cpp | owlsn/patest | b12954ea54cdd69a2d0ff99018742767bacfb924 | [
"MIT"
] | null | null | null | competition/pat/pat-a-practise/1007. Maximum Subsequence Sum (25)/Maximum Subsequence Sum (25).cpp | owlsn/patest | b12954ea54cdd69a2d0ff99018742767bacfb924 | [
"MIT"
] | null | null | null | competition/pat/pat-a-practise/1007. Maximum Subsequence Sum (25)/Maximum Subsequence Sum (25).cpp | owlsn/patest | b12954ea54cdd69a2d0ff99018742767bacfb924 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, char * argv[]){
int k = 0, n = 0, temp = 0, sum = -1, left = 0, right = 0, index = 0, flag = 0;
int num[10001] = {0};
cin >> k;
for(int i = 0; i < k; i++){
cin >> n;
num[i] = n;
if(n >= 0){
flag = 1;
}
temp += n;
if(temp < 0){
index = i ... | 17.6875 | 80 | 0.441696 | owlsn |
1b3506983d9773787e98d9bc48b31e38befde2c5 | 2,943 | cpp | C++ | src/Competitive Programming/Homework Sets/HW1/Backspace.cpp | Fennec2000GH/Software-Engineering-Interview | c7a182d7f8c44f7cabaf77982099594ce297a48b | [
"MIT"
] | 1 | 2020-03-15T04:09:11.000Z | 2020-03-15T04:09:11.000Z | src/Competitive Programming/Homework Sets/HW1/Backspace.cpp | Fennec2000GH/Software-Engineering-Interview | c7a182d7f8c44f7cabaf77982099594ce297a48b | [
"MIT"
] | null | null | null | src/Competitive Programming/Homework Sets/HW1/Backspace.cpp | Fennec2000GH/Software-Engineering-Interview | c7a182d7f8c44f7cabaf77982099594ce297a48b | [
"MIT"
] | null | null | null |
// https://vjudge.net/contest/391584#problem/A
// 09/09/2020
// Trial 1: TIME LIMIT EXCEEDED
//#include <algorithm>
//#include <iostream>
//#include <iterator>
//#include <regex>
//#include <string>
//using namespace std;
//
//int main() {
// string original;
// string fixed = "";
// const regex re("<+");
/... | 27.504673 | 120 | 0.551818 | Fennec2000GH |
1b370726099465f2cb34b13e8905cc97ddaffa1a | 305 | cpp | C++ | src/Game.cpp | Gegel85/GameJam2020 | c6f9f0fd83ddea9a069b1775b7e3de6d38e0d59d | [
"CC0-1.0"
] | 1 | 2020-01-31T19:17:42.000Z | 2020-01-31T19:17:42.000Z | src/Game.cpp | Gegel85/GameJam2020 | c6f9f0fd83ddea9a069b1775b7e3de6d38e0d59d | [
"CC0-1.0"
] | null | null | null | src/Game.cpp | Gegel85/GameJam2020 | c6f9f0fd83ddea9a069b1775b7e3de6d38e0d59d | [
"CC0-1.0"
] | 3 | 2020-01-31T19:18:38.000Z | 2020-02-15T13:24:16.000Z | //
// Created by Gegel85 on 12/01/2020.
//
#include "Game.hpp"
namespace DungeonIntern
{
#ifdef _DEBUG
Logger logger{"./latest.log", Logger::DEBUG};
#else
Logger logger{"./latest.log", Logger::INFO};
#endif
GameState::GameState(Game &game) :
map(game)
{
}
Game::Game() :
state(*this)
{
}
} | 12.708333 | 46 | 0.639344 | Gegel85 |
1b3881e5f354abb760fb504ab6a298470758a94c | 979 | cpp | C++ | abc/186/d.cpp | smallkirby/procon | 83cc56bf078c99a14a05b1254ea37da1cdf20de7 | [
"Unlicense"
] | null | null | null | abc/186/d.cpp | smallkirby/procon | 83cc56bf078c99a14a05b1254ea37da1cdf20de7 | [
"Unlicense"
] | null | null | null | abc/186/d.cpp | smallkirby/procon | 83cc56bf078c99a14a05b1254ea37da1cdf20de7 | [
"Unlicense"
] | null | null | null | #include<bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
/******** Utility ***************/
int bsize(int bits, int _max){
int c = 0;
for(int ix=0; ix!=_max; ++ix)
if((bits&(1<<ix)) !=0){
++c;
}
return c;
}
long factrial(long n){
assert(n >= 0);
if(n <= 1)
return 1;
long _... | 15.539683 | 41 | 0.47906 | smallkirby |
1b3926268982cd43a2b8968874101a78df724948 | 19,573 | hh | C++ | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/common/Event.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 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 applicab... | 38.99004 | 80 | 0.557298 | thomas-moulard |
1b39f35b48b0e7d3d2750e8b7efa38d53c9f2042 | 7,345 | hh | C++ | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | include/tchecker/variables/variables.hh | pictavien/tchecker | 5db2430b5b75a5b94cfbbe885840a4809b267be8 | [
"MIT"
] | null | null | null | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#ifndef TCHECKER_VARIABLES_HH
#define TCHECKER_VARIABLES_HH
#include <sstream>
#include <string>
#include <boost/container/flat_map.hpp>
#include "tchecker/basictypes.hh"
#include "tchecker/utils/ind... | 24.401993 | 114 | 0.600408 | pictavien |
1b3afa8dc03ac5d7830c9a8e5ee786122510e73a | 2,272 | hpp | C++ | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 2 | 2019-11-11T21:17:14.000Z | 2019-11-11T22:07:26.000Z | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | null | null | null | Engine/Core/Headers/Molten/Gui/Widgets/ViewportWidget.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 1 | 2020-04-05T03:50:57.000Z | 2020-04-05T03:50:57.000Z | /*
* MIT License
*
* Copyright (c) 2022 Jimmie Bergmann
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 31.123288 | 114 | 0.754842 | jimmiebergmann |
1b3b9f290a24fc4f39bdbf6f299f15e750303514 | 4,817 | cpp | C++ | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 171 | 2015-04-30T21:54:02.000Z | 2022-03-13T13:33:59.000Z | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 190 | 2015-07-21T22:15:54.000Z | 2022-03-30T15:48:37.000Z | Tests/CPP_Bindings/Source/BuildItems.cpp | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 80 | 2015-04-30T22:15:54.000Z | 2022-03-09T12:38:49.000Z | /*++
Copyright (C) 2019 3MF Consortium
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
list of conditions and the followi... | 29.552147 | 80 | 0.734482 | alexanderoster |
1b3e4e1706c64c4a0beae777ea43203899e16dd2 | 7,932 | cc | C++ | src/driver.cc | kev0960/md2 | f8480b664b1111f3f5d4b5202fb2b5db3ee434bd | [
"MIT"
] | 5 | 2021-01-27T03:55:00.000Z | 2022-03-07T02:35:37.000Z | src/driver.cc | kev0960/md2 | f8480b664b1111f3f5d4b5202fb2b5db3ee434bd | [
"MIT"
] | null | null | null | src/driver.cc | kev0960/md2 | f8480b664b1111f3f5d4b5202fb2b5db3ee434bd | [
"MIT"
] | null | null | null | #include "driver.h"
#include <fmt/color.h>
#include <fmt/core.h>
#include <signal.h>
#include <sys/wait.h>
#include <unistd.h>
#include <filesystem>
#include <fstream>
#include <optional>
#include "db.h"
#include "generators/book.h"
#include "generators/html_generator.h"
#include "generators/latex_generator.h"
#incl... | 27.831579 | 76 | 0.65179 | kev0960 |
1b40ebfde435ab66bcc1f596504422032a7b2678 | 2,513 | cpp | C++ | src/MeshViewGamestate.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 14 | 2020-06-27T18:51:41.000Z | 2022-03-30T18:20:02.000Z | src/MeshViewGamestate.cpp | codenamecpp/GLKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 1 | 2020-06-07T09:48:11.000Z | 2020-06-07T09:48:11.000Z | src/MeshViewGamestate.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 2 | 2020-08-27T09:38:10.000Z | 2021-08-12T01:17:30.000Z | #include "pch.h"
#include "MeshViewGamestate.h"
#include "GameMain.h"
#include "RenderScene.h"
#include "System.h"
#include "SceneObject.h"
#include "ModelAssetsManager.h"
#include "RenderableModel.h"
#include "TimeManager.h"
#include "ToolsUIManager.h"
#include "GraphicsDevice.h"
/////////////////////////... | 28.885057 | 154 | 0.719061 | codenamecpp |
1b412a557f1202576e6e023e6fc793a341bd9b30 | 19,307 | cpp | C++ | cpp/lib/contouring.cpp | benjaminum/adaptive-surface-reconstruction | 32fa4cdcb56e10451cc93e574d6a628f883277b7 | [
"Apache-2.0"
] | null | null | null | cpp/lib/contouring.cpp | benjaminum/adaptive-surface-reconstruction | 32fa4cdcb56e10451cc93e574d6a628f883277b7 | [
"Apache-2.0"
] | null | null | null | cpp/lib/contouring.cpp | benjaminum/adaptive-surface-reconstruction | 32fa4cdcb56e10451cc93e574d6a628f883277b7 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2021 Intel (Autonomous Agents Lab)
//
// 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... | 41.699784 | 80 | 0.472678 | benjaminum |
1b446ad0c29257e17304cdf29670846bb1f1e4f7 | 2,825 | hh | C++ | tce/src/applibs/Scheduler/ProgramRepresentations/PDG/ProgramGraph.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/applibs/Scheduler/ProgramRepresentations/PDG/ProgramGraph.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/applibs/Scheduler/ProgramRepresentations/PDG/ProgramGraph.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 30.053191 | 80 | 0.72708 | kanishkan |
1b44c2de6754556b823c1090e733b272a9b2b23c | 4,273 | cpp | C++ | crypto32/elgamal.cpp | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | 1 | 2021-04-17T05:01:00.000Z | 2021-04-17T05:01:00.000Z | crypto32/elgamal.cpp | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | null | null | null | crypto32/elgamal.cpp | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | null | null | null | // elgamal.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "elgamal.h"
#include "asn.h"
#include "nbtheory.h"
NAMESPACE_BEGIN(CryptoPP)
ElGamalEncryptor::ElGamalEncryptor(const Integer &p, const Integer &g, const Integer &y)
: p(p), g(g), y(y), modulusLen(p.ByteCount()),
gpc(p,... | 26.214724 | 129 | 0.726422 | ab300819 |
1b47b3f2453b67a489420e6bd3cded24f35deaab | 3,087 | cc | C++ | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | 1 | 2021-02-07T01:57:32.000Z | 2021-02-07T01:57:32.000Z | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | server/modules/routing/pinloki/resultset.cc | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-01-25
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 19.916129 | 98 | 0.607062 | crspecter |
1b4900982aa713b1a77cc53a689958eac4cfc807 | 2,839 | cc | C++ | python/python/pybind11_example.cc | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | python/python/pybind11_example.cc | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | python/python/pybind11_example.cc | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/eval.h>
#include <pybind11/embed.h>
// There are some error caused by the definition of the _POSIX_C_SOURCE.
// So I have to put iostream after above includes.
#include <iostream>
enum Side { BUY, SELL };
struct Order {
std::string symbol;
Side side;
int size;
... | 24.474138 | 74 | 0.641071 | guoxiaoyong |
1b490b43336ba9aa1893eef5fd59424e7363523b | 1,089 | cpp | C++ | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_null.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | // fms_sequence_null.cpp - Zero terminated sequence.
#include <cassert>
#include "fms_sequence_null.h"
#include "fms_sequence_equal.h"
#include "fms_sequence_length.h"
#include "fms_sequence_list.h"
using namespace fms::sequence;
template<class X>
int test_fms_sequence_null()
{
{
X x[] = { 1,... | 22.22449 | 60 | 0.458219 | GR6250-2019 |
1b49e12f0f056b55452e9807eb4019e099b71d88 | 1,277 | cpp | C++ | fuego-0.4/go/GoTimeControl.cpp | MisterTea/HyperNEAT | 516fef725621991ee709eb9b4afe40e0ce82640d | [
"BSD-3-Clause"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | fuego-0.4/go/GoTimeControl.cpp | afcarl/HyperNEAT | 516fef725621991ee709eb9b4afe40e0ce82640d | [
"BSD-3-Clause"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | fuego-0.4/go/GoTimeControl.cpp | afcarl/HyperNEAT | 516fef725621991ee709eb9b4afe40e0ce82640d | [
"BSD-3-Clause"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | //----------------------------------------------------------------------------
/** @file GoTimeControl.cpp
See GoTimeControl.h.
*/
//----------------------------------------------------------------------------
#include "SgSystem.h"
#include "GoTimeControl.h"
#include "GoBoard.h"
using namespace std;
//---------... | 26.604167 | 78 | 0.481597 | MisterTea |
1b4a9f29e689d4a49d0c21cc9df9a71473786b48 | 6,742 | cpp | C++ | Samples/DMDesigner/src/Widgets/ThemeDlg.cpp | Watch-Later/REDM | bf0672e015bb0c9088b4c10f14d5c5ebcac734f2 | [
"MIT"
] | 38 | 2020-06-23T00:29:22.000Z | 2022-03-24T07:48:22.000Z | Samples/DMDesigner/src/Widgets/ThemeDlg.cpp | Watch-Later/REDM | bf0672e015bb0c9088b4c10f14d5c5ebcac734f2 | [
"MIT"
] | 9 | 2020-06-23T02:50:59.000Z | 2021-03-25T12:17:22.000Z | Samples/DMDesigner/src/Widgets/ThemeDlg.cpp | Watch-Later/REDM | bf0672e015bb0c9088b4c10f14d5c5ebcac734f2 | [
"MIT"
] | 20 | 2020-06-23T01:29:23.000Z | 2021-09-15T01:32:30.000Z | #include "DMDesignerAfx.h"
#include "ThemeDlg.h"
BEGIN_MSG_MAP(ThemeDlg)
MSG_WM_INITDIALOG(OnInitDialog)
MSG_WM_SIZE(OnSize)
CHAIN_MSG_MAP(DMHDialog)
END_MSG_MAP()
BEGIN_EVENT_MAP(ThemeDlg)
END_EVENT_MAP()
ThemeDlg::ThemeDlg(bool bEditMode,CStringA strThemeName,CStringW strDir)
{
m_bEditMode = bEditMode;
m_strT... | 26.335938 | 93 | 0.691041 | Watch-Later |
1b4ac979b6d672ab8c4644faadd83b17cb0e82bf | 2,619 | hpp | C++ | naoqi-sdk-2.5.5.5-linux64/include/qi/type/typeobject.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/include/qi/type/typeobject.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/include/qi/type/typeobject.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | #pragma once
/*
** Copyright (C) 2013 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QI_TYPE_TYPEOBJECT_HPP_
#define _QI_TYPE_TYPEOBJECT_HPP_
#include <limits>
#include <qi/type/metaobject.hpp>
#include <qi/future.hpp>
#include <qi/anyfunction.hpp>
namespace qi {
/** Specifies how a call should ... | 37.956522 | 223 | 0.73005 | applejenny66 |
1b4afbb48a95bc29b7ed6097cd95a8cfde36fd2a | 757 | cpp | C++ | acmicpc.net/source/1485.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/1485.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/1485.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 1485. 정사각형
// 2019.08.23
// 수학
#include<iostream>
#include<algorithm>
using namespace std;
int x[4];
int y[4];
int dist[12];
int main()
{
int n;
cin >> n;
while (n-- > 0)
{
for (int i = 0; i < 4; i++)
{
cin >> x[i] >> y[i];
}
int cnt = 0;
for (int i = 0; i < 4; i++)
{
for (int j = 0; j < 4; ... | 14.843137 | 77 | 0.458388 | tdm1223 |
1b5530fb7296f7e47b1dd157cc2f3a842f62182b | 3,686 | cpp | C++ | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 938 | 2015-12-03T16:45:43.000Z | 2022-03-17T20:28:02.000Z | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 127 | 2015-12-03T21:42:53.000Z | 2019-11-21T14:34:20.000Z | unittests/ADT/StatisticTest.cpp | URSec/Silhouette-Compiler-Legacy | 28b37f3617c5543a87537decc074b168f4803d87 | [
"Apache-2.0"
] | 280 | 2015-12-03T16:51:35.000Z | 2022-01-24T00:01:54.000Z | //===- llvm/unittest/ADT/StatisticTest.cpp - Statistic unit tests ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 23.0375 | 80 | 0.654097 | URSec |
1b57e5c26c6f79adbf7d1f6a1071d9f4100fb310 | 8,663 | cpp | C++ | 2-3course/saod/course/30.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | 10 | 2021-08-28T08:44:57.000Z | 2022-03-06T16:29:51.000Z | 2-3course/saod/course/30.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | null | null | null | 2-3course/saod/course/30.cpp | soul-catcher/sibsutis | 5d7d88ffabbe445052927eb6c6097697df672997 | [
"WTFPL"
] | 6 | 2021-09-06T07:26:18.000Z | 2021-12-16T16:11:10.000Z | #include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
const int N = 4000;
struct Record {
char fio[32];
char street[18];
short int home;
short int appartament;
char date[10];
};
struct Node {
Record record;
Node *next;
};
string prompt(const string &str) {
c... | 24.680912 | 88 | 0.422717 | soul-catcher |
1b5835e81ae9658e919640f10749b30825dd848b | 12,304 | cxx | C++ | IMU/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLPolyDataMapper2D.cxx | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | IMU/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLPolyDataMapper2D.cxx | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | null | null | null | IMU/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLPolyDataMapper2D.cxx | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLPolyDataMapper2D.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | 27.342222 | 92 | 0.556404 | timkrentz |
1b5881ae327203883104b2fd286c345f447bc5e5 | 7,809 | cpp | C++ | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 17 | 2020-11-12T17:41:41.000Z | 2021-10-01T13:19:42.000Z | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 15 | 2019-09-23T06:33:47.000Z | 2020-06-04T18:55:45.000Z | graph/lca/codeforces/F1486F/Solution.cpp | ashtishad/problem-solving | 5dfb71b04c2334c2cce53afd089ae1634b7e8100 | [
"MIT"
] | 16 | 2019-09-21T23:19:58.000Z | 2020-06-18T07:26:39.000Z | // problem name: Pairs of Paths
// problem link: https://codeforces.com/contest/1486/problem/F
// contest link: https://codeforces.com/contest/1486
// time: (?)
// author: reyad
// other_tags: combinatorics, data structures, dynamic programming, trees, dfs
// difficulty_level: expert
#include <bits/stdc++.h>
using... | 25.772277 | 98 | 0.501985 | ashtishad |
1b59098d671234464045b8c00119b4ee287f9c82 | 1,741 | cpp | C++ | src/demi/drvGLES2/ES2RenderBuffer.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | 10 | 2015-03-04T04:27:15.000Z | 2020-06-04T14:06:47.000Z | src/demi/drvGLES2/ES2RenderBuffer.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | null | null | null | src/demi/drvGLES2/ES2RenderBuffer.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | 5 | 2015-10-17T19:09:58.000Z | 2021-11-15T23:42:18.000Z | /**********************************************************************
This source file is a part of Demi3D
__ ___ __ __ __
| \|_ |\/|| _)| \
|__/|__| || __)|__/
Copyright (c) 2013-2014 Demi team
https://github.com/wangyanxing/Demi3D
Released under the MIT License
https://github.com/wangyanxing/De... | 30.54386 | 112 | 0.635841 | wangyanxing |
1b59a32a7338a36285438156b7f8ac569a3929dc | 5,639 | cpp | C++ | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null | littleVulkanEngine/core/lve_framebuffer.cpp | ShaverJT/littleVulkanEngine | 0418380916488a1f44072ff33eb15b7b6d9fe573 | [
"MIT"
] | null | null | null |
#include "lve_framebuffer.hpp"
#include <array>
#include <cassert>
#include <vector>
namespace lve {
// Create a frame buffer attachment
LveFramebuffer::LveFramebuffer(
LveDevice& device,
VkRenderPass renderPass,
uint32_t width,
uint32_t height,
std::vector<AttachmentDescription>& attachmentDes... | 36.380645 | 100 | 0.746764 | ShaverJT |
1b5a394d9fc3071cfbaad9ceb2818117be4bc995 | 13,850 | cpp | C++ | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | Source/ocdm/open_cdm_ext.cpp | goruklu/WPEFramework | 99fc7dd0732dbdd9c332df7ceccb625436ab7a4e | [
"Apache-2.0"
] | null | null | null | #include "open_cdm_ext.h"
#include "open_cdm_impl.h"
#include "ExtendedOpenCDMSession.h"
#define ASSERT_NOT_EXECUTED() \
{ \
fprintf(stderr, "Error: didn't expect to use %s (%s:%d)!!\n", \
... | 32.819905 | 122 | 0.719495 | goruklu |
1b5dc92d2be3674dcf5feb6b1fc933fcc7f88832 | 6,127 | hpp | C++ | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | indexer/succinct_trie_builder.hpp | EVi1b7wO/omim | 1aafdb102a200149f7ad0cd3173aa7ca2cc32300 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "coding/bit_streams.hpp"
#include "coding/byte_stream.hpp"
#include "coding/huffman.hpp"
#include "coding/reader.hpp"
#include "coding/varint.hpp"
#include "coding/writer.hpp"
#include "base/buffer_vector.hpp"
#include "base/checked_cast.hpp"
#include "base/scope_guard.hpp"
#include "base/string... | 30.182266 | 114 | 0.674718 | EVi1b7wO |
1b5e2f15157dbfffe730e0d5fcecb1426320a7e8 | 207 | cc | C++ | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | 1 | 2021-08-01T16:31:11.000Z | 2021-08-01T16:31:11.000Z | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | tests/channel_test.cc | salahsheikh/mithril | 020c9c6ad645e0a2767653cd158460ab1c6c13ca | [
"0BSD"
] | null | null | null | //
// Created by ssheikh on 2021-02-20.
//
#include "test_channel.hh"
#include <gtest/gtest.h>
TEST(ChannelTest, Creation)
{
ASSERT_NO_THROW(test_channel());
ASSERT_FALSE(test_channel().pipeline());
} | 15.923077 | 42 | 0.710145 | salahsheikh |
1b5e8b7a9a617fb12dcb0b5a904aa1a93a2a6d74 | 1,629 | cc | C++ | chrome/browser/download/download_dir_policy_handler_unittest.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/download/download_dir_policy_handler_unittest.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/download/download_dir_policy_handler_unittest.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | // 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 "base/values.h"
#include "chrome/browser/download/download_dir_policy_handler.h"
#include "chrome/browser/download/download_prefs.h"
#include "ch... | 37.883721 | 80 | 0.762431 | anirudhSK |
1b5feabdf120d5382073440d1817d0482f223c27 | 1,401 | cpp | C++ | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | 1 | 2020-02-02T22:49:30.000Z | 2020-02-02T22:49:30.000Z | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | null | null | null | Osiris/Hacks/Triggerbot.cpp | lukizel/Osiris | d611056daea2cdd06d79b0fb6d162b505ab2af6c | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "../Config.h"
#include "../Interfaces.h"
#include "../Memory.h"
#include "../SDK/Entity.h"
#include "../SDK/WeaponId.h"
#include "Triggerbot.h"
void Triggerbot::run(UserCmd* cmd) noexcept
{
if (config.triggerbot.enabled) {
const auto localPlayer = interfaces.entityList->getEn... | 38.916667 | 127 | 0.621699 | lukizel |
1b6057a14be1d19e499aeaf64282d9e54da9e0eb | 8,414 | cpp | C++ | samples/SerializeNodeSet/SerializeNodeSet.cpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | null | null | null | samples/SerializeNodeSet/SerializeNodeSet.cpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | 1 | 2021-08-18T12:32:31.000Z | 2021-08-18T12:32:31.000Z | samples/SerializeNodeSet/SerializeNodeSet.cpp | AaronNGray/xalan | 6741bbdcb64a9d33df8bd7e21b558d66bb4292ec | [
"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 m... | 34.342857 | 148 | 0.509151 | kidaa |
1b60787cf3b8ee5466050d1cf44b7e2b07db8c96 | 29,157 | cc | C++ | CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondTools/SiPixel/test/SiPixelGainCalibrationReadDQMFile.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
//
// Package: SiPixelGainCalibrationReadDQMFile
// Class: SiPixelGainCalibrationReadDQMFile
//
/**\class SiPixelGainCalibrationReadDQMFile SiPixelGainCalibrationReadDQMFile.cc CalibTracker/SiPixelGainCalibrationReadDQMFile/src/SiPixelGainCalibrationReadDQMFile.cc
Description: <one line class ... | 39.136913 | 361 | 0.669719 | bisnupriyasahu |
1b60d469822f483a8db9866d9a4f4768aee27f27 | 165 | hpp | C++ | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | 1 | 2018-12-14T07:05:33.000Z | 2018-12-14T07:05:33.000Z | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | null | null | null | Software/STM/APP/APP.hpp | ProrokWielki/Wooden-Clock | 96226750ab4b679764b0b254d3c3c21deb658252 | [
"MIT"
] | null | null | null | /**
* APP.hpp
*
* Created on: 03-03-2019
* @author: Paweł Warzecha
*/
#ifndef APP_APP_HPP_
#define APP_APP_HPP_
void APP_init();
#endif /* APP_APP_HPP_ */
| 11.785714 | 27 | 0.648485 | ProrokWielki |
1b61aa4137545ca8c93d8f44d1abdf2f84555538 | 4,577 | cpp | C++ | Blaze/util/DeviceSelection.cpp | KidRigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | 14 | 2019-12-10T03:57:03.000Z | 2021-09-16T14:58:39.000Z | Blaze/util/DeviceSelection.cpp | kidrigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | null | null | null | Blaze/util/DeviceSelection.cpp | kidrigger/Blaze | 7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6 | [
"MIT"
] | null | null | null |
#include "DeviceSelection.hpp"
#include <cstring>
#include <set>
#include <string>
namespace blaze::util
{
QueueFamilyIndices getQueueFamilies(VkPhysicalDevice device, VkSurfaceKHR surface)
{
QueueFamilyIndices indices;
uint32_t queueFamilyCount = 0;
vkGetPhysicalDeviceQueueFamilyProperties(device, &queueFamilyC... | 30.311258 | 118 | 0.790037 | KidRigger |
1b671e8b627016f099f4e4c11703727192bf3ef5 | 916 | hpp | C++ | include/libp2p/protocol/kademlia/impl/response_handler.hpp | GaroRobe/cpp-libp2p | 533d4a7f9981cb944ecb337f3ce4f98ea48b65f3 | [
"Apache-2.0",
"MIT"
] | 135 | 2020-06-13T08:57:36.000Z | 2022-03-27T05:26:11.000Z | include/libp2p/protocol/kademlia/impl/response_handler.hpp | igor-egorov/cpp-libp2p | 7c9d83bf0760a5f653d86ddbb00645414c61d4fc | [
"Apache-2.0",
"MIT"
] | 41 | 2020-06-12T15:45:05.000Z | 2022-03-07T23:10:33.000Z | include/libp2p/protocol/kademlia/impl/response_handler.hpp | igor-egorov/cpp-libp2p | 7c9d83bf0760a5f653d86ddbb00645414c61d4fc | [
"Apache-2.0",
"MIT"
] | 43 | 2020-06-15T10:12:45.000Z | 2022-03-21T03:04:50.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LIBP2P_PROTOCOL_KADEMLIA_RESPONSEHANDLER
#define LIBP2P_PROTOCOL_KADEMLIA_RESPONSEHANDLER
#include <libp2p/outcome/outcome.hpp>
#include <libp2p/protocol/kademlia/message.hpp>
namespace libp2p::protocol::kade... | 26.941176 | 66 | 0.717249 | GaroRobe |
1b674a8b8fdcfb92a930f403233b86cb3e096c26 | 1,199 | hxx | C++ | inetcore/mshtml/src/site/include/fillcode.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/mshtml/src/site/include/fillcode.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/mshtml/src/site/include/fillcode.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Forms
// Copyright (C) Microsoft Corporation, 1994-2000
//
// File: fillcode.hxx
//
//----------------------------------------------------------------------------
#ifndef I_FILLCODE_HXX_
#define I_FILLCODE... | 29.975 | 80 | 0.452877 | npocmaka |
1b68ae9e91b47b8260fe6fa6336bcf6244b7507f | 935 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/scn/AnimationRid.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/Transform.hpp>
#include <RED4ext/Scripting/Natives/Generated/scn/RidTag.hpp>
namespace RED4ext
{
namespace anim { struct ... | 26.714286 | 61 | 0.717647 | jackhumbert |
1b68c3c9813050ff5e33762befed62966dd90872 | 635 | cc | C++ | ral-example/service.cc | puppetlabs/cppbestpractices | 649a51334243902e6dce83f617c4089cc65022d8 | [
"Apache-2.0"
] | 22 | 2015-11-27T04:04:23.000Z | 2021-07-20T23:33:22.000Z | ral-example/service.cc | puppetlabs/cppbestpractices | 649a51334243902e6dce83f617c4089cc65022d8 | [
"Apache-2.0"
] | 27 | 2015-11-05T01:38:10.000Z | 2019-07-19T22:01:36.000Z | ral-example/service.cc | puppetlabs/cppbestpractices | 649a51334243902e6dce83f617c4089cc65022d8 | [
"Apache-2.0"
] | 9 | 2015-11-20T21:40:24.000Z | 2021-03-24T11:58:05.000Z | //
// Created by Michael Smith on 12/8/15.
//
#include "service.hpp"
namespace Puppet {
using namespace std;
Service::Service(std::string name, State ensure, boost::optional<bool> enable)
: Resource(move(name), ensure), enable_(std::move(enable)) {}
boost::optional<bool> const& Service::enab... | 25.4 | 107 | 0.56378 | puppetlabs |
1b69cf139691097c20b87e749b80cc247c4f001e | 2,509 | cpp | C++ | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | cod_mov_buscalocal.cpp | BrunoBertozzi/tcc-2021 | d1a1837d28f7507598e96818ade50671a1050efc | [
"MIT"
] | null | null | null | /***************************************************************
* Nome: Bruno Oswaldo Bertozzi Oliveira
* File name: main.cpp
* Data 17/02/2021
*
***************************************************************/
#include <iostream>
#include <vector>
using namespace std;
//HEADERS
#include "head_st... | 40.467742 | 206 | 0.606616 | BrunoBertozzi |
1b6ae3a78896427c9272d64148ab978f975f9725 | 9,062 | cpp | C++ | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | WinLib/Net/Ftp.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //----------------------------------
// (c) Reliable Software 2003 - 2008
//----------------------------------
#include <WinLibBase.h>
#include "Ftp.h"
#include <File/File.h>
#include <File/Vpath.h>
#include <Ex/Error.h>
namespace Ftp
{
bool Handle::GetFile ( char const * remotePath,
char const * localPath, ... | 25.24234 | 108 | 0.633194 | BartoszMilewski |
1b6bd1ba78130f9dbeedb8d7b88e2c07b5973b8e | 24,876 | cpp | C++ | Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/autogen/ConvexHullParameters.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/autogen/ConvexHullParameters.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/autogen/ConvexHullParameters.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 32.348505 | 669 | 0.737779 | windystrife |
1b6e199d8c7f0262e324e46d47b750a3451b5475 | 1,760 | hpp | C++ | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | modules/arm_plugin/src/opset/conv_arm.hpp | IvanNovoselov/openvino_contrib | 5fe8fd389d57972bd470b447c606138679ab5d49 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2020-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/coordinate_diff.hpp"
#include "ngraph_opset.hpp"
#include "utils.hpp"
namespace ArmPlugin {
namespace opset {
class ArmConvolution : public Convolution {
public:
static constexpr ngraph::NodeType... | 36.666667 | 109 | 0.639205 | IvanNovoselov |
1b6e8fbbe46298adbb9c798be4be16a286cc21d9 | 1,347 | cpp | C++ | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/render/weapon_action_renderer.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 1 | 2020-09-22T15:41:51.000Z | 2020-09-22T15:41:51.000Z | #include "render/weapon_action_renderer.h"
#include "platform/auto_id.h"
#include "core/i_inventory_component.h"
namespace render {
WeaponActionRenderer::WeaponActionRenderer( int32_t Id )
: ActionRenderer( Id )
{
}
void WeaponActionRenderer::Init( const Actor& actor )
{
Opt<Weapon> weapon = actor.Get<IInve... | 29.282609 | 151 | 0.668894 | MrPepperoni |
1b757a93cb8ed2c608f0b2ee63f6ffeb6f99afcb | 1,034 | cpp | C++ | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/872. Leaf-Similar Trees.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
vector<int> leaves1, leaves2;
bool isLeaf(TreeNode* root) {
return root && root->left == NU... | 28.722222 | 65 | 0.526112 | lingqtan |
1b7712dac862c4a76d5b96f5f313ba1300a5b822 | 23,797 | cc | C++ | src/vnsw/agent/services/test/metadata_test.cc | codilime/contrail-controller-arch | e87a974950fc1bbdc2b834212dbdfee5e94008de | [
"Apache-2.0"
] | 1 | 2019-01-11T06:16:10.000Z | 2019-01-11T06:16:10.000Z | src/vnsw/agent/services/test/metadata_test.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/services/test/metadata_test.cc | chnyda/contrail-controller | 398f13bb5bad831550389be6ac3eb3e259642664 | [
"Apache-2.0"
] | 1 | 2020-06-08T11:50:36.000Z | 2020-06-08T11:50:36.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "base/os.h"
#include "testing/gunit.h"
#include <boost/scoped_array.hpp>
#include <base/logging.h>
#include <pugixml/pugixml.hpp>
#include <io/event_manager.h>
#include "http/http_request.h"
#include "http/http_session.h"
#include "htt... | 33.375877 | 88 | 0.591923 | codilime |
1b77bd1c6d61aef315137df8767934be474b95ab | 5,499 | cc | C++ | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | null | null | null | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | null | null | null | src/loki/height_action.cc | komoot/valhalla | 8f2010b0724257f1c3511d4b6d5e9b0f7bddec2f | [
"MIT"
] | 1 | 2021-07-20T23:07:11.000Z | 2021-07-20T23:07:11.000Z | #include <functional>
#include <string>
#include <stdexcept>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include <cstdint>
#include <cmath>
#include <sstream>
#include <boost/property_tree/ptree.hpp>
#include "midgard/logging.h"
#include "baldr/location.h"
#include "midgard/util.h"
#include "m... | 32.538462 | 139 | 0.62375 | komoot |
1b7bb8c1954cee3e093cd4803ae095d0fa3763a6 | 2,056 | cpp | C++ | src/examples/TaskSpaceComputedMuscleControl.cpp | mitkof6/tscms | e823608b0b66a352e0cf3b08ecb0542e01b26710 | [
"CC-BY-4.0"
] | 2 | 2017-12-01T12:02:35.000Z | 2017-12-01T19:14:22.000Z | src/examples/TaskSpaceComputedMuscleControl.cpp | mitkof6/tscms | e823608b0b66a352e0cf3b08ecb0542e01b26710 | [
"CC-BY-4.0"
] | null | null | null | src/examples/TaskSpaceComputedMuscleControl.cpp | mitkof6/tscms | e823608b0b66a352e0cf3b08ecb0542e01b26710 | [
"CC-BY-4.0"
] | 1 | 2021-07-16T23:14:18.000Z | 2021-07-16T23:14:18.000Z | #include <iostream>
#include "INIReader.h"
#include "Settings.h"
#include "OpenSimUtil.h"
#include "CommonUtil.h"
#include "TaskSpaceComputedMuscleControl.h"
using namespace OpenSim;
using namespace SimTK;
using namespace std;
void test(INIReader& ini) {
// settings
double t0 = ini.GetReal("TASK_SPACE_MC", ... | 29.797101 | 89 | 0.615759 | mitkof6 |
1b7c9cf3703dbc4126dc6d2b04a731c618d26314 | 2,206 | cpp | C++ | src/py/wrapper/wrapper_cf7cfa23c5d35661a1ceb990523a6a9e.cpp | StatisKit/StatisKit-GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 1 | 2019-11-09T03:49:49.000Z | 2019-11-09T03:49:49.000Z | src/py/wrapper/wrapper_cf7cfa23c5d35661a1ceb990523a6a9e.cpp | StatisKit/StatisKit-GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 3 | 2017-05-23T12:32:06.000Z | 2019-06-03T10:59:30.000Z | src/py/wrapper/wrapper_cf7cfa23c5d35661a1ceb990523a6a9e.cpp | StatisKit/GLM | c26d21d95ae2da54add6c4542b16df41c201ccc5 | [
"Apache-2.0"
] | 5 | 2018-03-20T10:21:13.000Z | 2021-03-15T18:27:17.000Z | #include "_glm.h"
class ::Eigen::Matrix< double, -1, -1, 0, -1, -1 > const & (::statiskit::glm::ConstrainedDesign::*method_pointer_4a42cd585c675e06b9cce33f4a3fe1cb)()const= &::statiskit::glm::ConstrainedDesign::get_intercept_constraint;
void (::statiskit::glm::ConstrainedDesign::*method_pointer_25e6a0e46ec550ffb00c22... | 95.913043 | 357 | 0.781052 | StatisKit |
1b81d2f15f00c4d4d5ade047bfd05a56b3986011 | 2,788 | hpp | C++ | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | src/calc/specs/parse.hpp | Globidev/reverse-calculator | 239849bccfccedd504876dad4e5978bf51bf678c | [
"MIT"
] | null | null | null | #pragma once
#include "calc/buttons.hpp"
#include "calc/specs/detail/spec.hpp"
#include "calc/specs/detail/parse.hpp"
namespace calc::buttons::specs {
namespace hana = boost::hana;
namespace qi = boost::spirit::qi;
using detail::spec;
// Concept map for parsing buttons
// All buttons MUST impl... | 30.304348 | 94 | 0.511478 | Globidev |
1b83f0dbde37057a5ebd674f60ef0fda926d83d6 | 7,893 | cpp | C++ | src/lib/tls/tls_text_policy.cpp | ssd71/botan | d6b5b4a31af102bd6405e4f381e2ea21d2317a1c | [
"BSD-2-Clause"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | src/lib/tls/tls_text_policy.cpp | Liujiunan/botan | b36dea33cb5c0552642a3ce0218b9bafd6f3e43b | [
"BSD-2-Clause"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | src/lib/tls/tls_text_policy.cpp | Liujiunan/botan | b36dea33cb5c0552642a3ce0218b9bafd6f3e43b | [
"BSD-2-Clause"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* Text-Based TLS Policy
* (C) 2016,2017 Jack Lloyd
* 2017 Harry Reimann, Rohde & Schwarz Cybersecurity
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/tls_policy.h>
#include <botan/exceptn.h>
#include <botan/parsing.h>
#include <sstream>
namespace Botan {
namespace ... | 24.665625 | 117 | 0.677816 | ssd71 |
1b83f316bebf8f9f0ef8bb061257109cba7c5ed9 | 6,051 | cc | C++ | third_party/blink/renderer/core/events/pointer_event_util.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/core/events/pointer_event_util.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/core/events/pointer_event_util.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/events/pointer_event_util.h"
#include <cmath>
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
... | 35.804734 | 80 | 0.688647 | mghgroup |
1b842d9930a65bd56daabe81c8eb38320dedd3d8 | 4,530 | hpp | C++ | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Video/ParticleSystemRenderer.hpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #pragma once
#include <glm/glm.hpp>
#include <Video/Shader/Shader.hpp>
#include <Video/Shader/ShaderProgram.hpp>
#include "linking.hpp"
namespace Particles {
struct ParticlePos {
float x;
float y;
float z;
float w;
};
struct ParticleVelocity {
float vx;
flo... | 28.490566 | 202 | 0.524945 | Chainsawkitten |
1b858f1486295d0ac6e84f9649a9abee74f0b930 | 39,093 | cpp | C++ | Sensor-Unstable/Source/XnDeviceSensorV2/XnServerSession.cpp | CVLAB-Unibo/Slam-Dunk-Android | 28343eb7d92cfd884e025dbaf510f4115199f58f | [
"Apache-2.0"
] | 27 | 2018-01-18T15:50:36.000Z | 2022-02-11T23:07:15.000Z | SensorKinect-unstable/Source/XnDeviceSensorV2/XnServerSession.cpp | jeremywrnr/life-of-the-party | b29310a1fcc31d5c0e8b93c18ab0fc91bb316613 | [
"MIT"
] | 3 | 2019-01-31T05:53:49.000Z | 2019-02-26T14:06:53.000Z | SensorKinect-unstable/Source/XnDeviceSensorV2/XnServerSession.cpp | jeremywrnr/life-of-the-party | b29310a1fcc31d5c0e8b93c18ab0fc91bb316613 | [
"MIT"
] | 9 | 2017-08-08T12:18:02.000Z | 2020-04-07T08:07:55.000Z | /****************************************************************************
* *
* PrimeSense Sensor 5.x Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* ... | 30.830442 | 180 | 0.730617 | CVLAB-Unibo |
1b865f7dde3bde77fda558c517c8ef7c43725de7 | 4,641 | cpp | C++ | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 2 | 2019-06-25T15:10:40.000Z | 2019-07-08T12:22:37.000Z | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 1 | 2020-02-28T17:12:42.000Z | 2020-02-28T17:12:42.000Z | core/src/database/query/QueryBuilder.cpp | kiroboio/lib-ledger-core | b2def5f4aed64dcb43b1f4ecaa66103a40f02adc | [
"MIT"
] | 3 | 2018-03-07T14:17:41.000Z | 2018-11-28T10:50:10.000Z | /*
*
* QueryBuilder
* ledger-core
*
* Created by Pierre Pollastri on 27/06/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* 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 ... | 33.875912 | 137 | 0.552467 | kiroboio |
1b8775c26055a97b1d4d5828fe060ecfebe6131c | 1,910 | cpp | C++ | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 17 | 2016-01-01T12:57:25.000Z | 2022-02-06T09:55:12.000Z | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | null | null | null | acm/hdu/5428.cpp | xiaohuihuigh/cpp | c28bdb79ecb86f44a92971ac259910546dba29a7 | [
"MIT"
] | 8 | 2018-12-27T01:31:49.000Z | 2022-02-06T09:55:12.000Z | #include <iostream>
#include <sstream>
#include <ios>
#include <iomanip>
#include <functional>
#include <algorithm>
#include <vector>
#include <string>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring... | 24.487179 | 61 | 0.474869 | xiaohuihuigh |
b8442fd96bdc271ff7513cc8231d9cef817d018c | 2,433 | cpp | C++ | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | src/Graphics/Texture.cpp | Szczurox/OpenGL-3D-Engine | 255757681fdbcac015c43104eaf0b03af54d412e | [
"MIT"
] | null | null | null | #include"Texture.hpp"
// Constructor that generates Texture
Texture::Texture(const char* image, const char* texType, GLuint slot) {
type = texType;
// image width, height and number of color channels
int widthImg, heightImg, numColCh;
// Flips the image so it appears right side up
stbi_set_flip_vertically_on_load... | 31.192308 | 101 | 0.755446 | Szczurox |
b8458daf57b83b66d5177234b6a65ed33ba70366 | 660 | cpp | C++ | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | POSN Camp1/whereru.cpp | ParamaaS/ParamaaS-Cpp-code- | a6c78151defe38d1460cde2b005a67be5a1d092d | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
int n,m,c,c2,idx;
char s[25][25];
main()
{
scanf("%d%d",&m,&n);
for(c=0;c<m;c++)
{
scanf("%s",s[c]);
}
for(c=0;c<m;c++)
{
for(c2=0;c2<n-2;c2++)
{
if(s[c][c2]=='s'||s[c][c2]=='S')
{
if(s[c][c2+1]=='k'||s[c][c2+1]=='K')
{
if(s[c][c2+2]... | 14.347826 | 42 | 0.321212 | ParamaaS |
b8475ea4e466b1e3c5a9991b684da83b9e89f5b0 | 2,220 | hpp | C++ | include/codegen/include/System/Text/EncoderExceptionFallback.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Text/EncoderExceptionFallback.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Text/EncoderExceptionFallback.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:42 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Text.EncoderFallback
#include "System/Text/EncoderFal... | 41.111111 | 107 | 0.718919 | Futuremappermydud |
b848ab6bdd44f8fe81cbbf63b35a321599fd93fe | 4,494 | cpp | C++ | paddle/gserver/layers/ConvBaseLayer.cpp | shenchaohua/Paddle | 9c5942db13308d53cc115708058c1e885f4b57a3 | [
"Apache-2.0"
] | 3 | 2018-04-16T23:35:32.000Z | 2019-08-12T01:01:07.000Z | paddle/gserver/layers/ConvBaseLayer.cpp | shenchaohua/Paddle | 9c5942db13308d53cc115708058c1e885f4b57a3 | [
"Apache-2.0"
] | 9 | 2017-09-13T07:39:31.000Z | 2017-10-18T05:58:23.000Z | paddle/gserver/layers/ConvBaseLayer.cpp | shenchaohua/Paddle | 9c5942db13308d53cc115708058c1e885f4b57a3 | [
"Apache-2.0"
] | 2 | 2020-11-04T08:07:46.000Z | 2020-11-06T08:33:24.000Z | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 ... | 37.140496 | 80 | 0.658656 | shenchaohua |
b849cc603269e9ed36a9e77c3d7913727992ebdc | 8,549 | hpp | C++ | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | 1 | 2015-03-27T12:36:25.000Z | 2015-03-27T12:36:25.000Z | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | null | null | null | sol/table.hpp | bananu7/sol | 599673150ebadfcbfd87e21701a021b4d228debb | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2013 Danny Y., Rapptz
// 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
// ... | 38.683258 | 133 | 0.619137 | bananu7 |
b84a0cfd3e8da068d3ef99fd64963fa50dab34bc | 22 | cpp | C++ | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | src/queries/model/insert.cpp | enerc/zsearch | 60cdcd245b66d14fe4e2be1d26eb2b1877d4b098 | [
"Apache-2.0"
] | null | null | null | #include "insert.hpp"
| 11 | 21 | 0.727273 | enerc |
b84ab6dbd6c685d10846cba5231b0e520d3dceb4 | 688 | cpp | C++ | Olympiad Solutions/URI/1069.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Olympiad Solutions/URI/1069.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Olympiad Solutions/URI/1069.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | // Ivan Carvalho
// Solution to https://www.urionlinejudge.com.br/judge/problems/view/1069
#include <cstdio>
#include <cstring>
#define MAX 1010
char pilha[MAX];
int tamanho;
void clear(){tamanho=0;}
void pop(){if (tamanho>0) tamanho--;}
void push(char x){pilha[++tamanho]=x;}
char top(){return pilha[tamanho];}
int main... | 19.657143 | 73 | 0.572674 | Ashwanigupta9125 |
b84b6ed2dfd208f12d4b6a168df6aac912ec9512 | 2,816 | cpp | C++ | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | util.cpp | rdhafidh/pki | fb69d04c8bc014ae10b107379146bac9b4d5970a | [
"MIT"
] | null | null | null | #include "util.h"
#include <z85.h>
#include <QDateTime>
#include <QFile>
#include <QFileInfo>
#include <QStandardPaths>
#include <QtGlobal>
#include <cstdio>
#include <iostream>
bool Util::readFile(const QString &name, std::string &buffer) {
QFile fn(name);
if (!fn.open(QIODevice::ReadOnly)) {
return false;
... | 25.369369 | 79 | 0.649858 | rdhafidh |
b84cc9d0589254f87f09d226c7559f190cc2df40 | 3,926 | cpp | C++ | implementations/ugene/src/corelibs/U2Algorithm/src/util_msaedit/CreateSubalignmentTask.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Algorithm/src/util_msaedit/CreateSubalignmentTask.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Algorithm/src/util_msaedit/CreateSubalignmentTask.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | 39.656566 | 130 | 0.728222 | r-barnes |
b84ed822b2fb128fb48e2f2ba75c9078eb7f0b08 | 16,191 | cpp | C++ | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | wpb_ai_behaviors/src/wpb_ai_grab_action.cpp | 6-dl/wpb_ai_tx2 | 6109627e72f32431b1460556c5b8aebc3a436e07 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2017-2020, Waterplus http://www.6-robot.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | 34.744635 | 144 | 0.609907 | 6-dl |
b84f19544b6a50fa5fb96d9988fad2844e6fc888 | 12,832 | cpp | C++ | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 231 | 2018-01-28T00:06:56.000Z | 2022-03-31T21:39:56.000Z | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 9 | 2016-02-10T10:46:16.000Z | 2017-12-06T17:27:51.000Z | Synergy Editor TGC/Synergy Editor/UpdateFtpCore.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 66 | 2018-01-28T21:54:52.000Z | 2022-02-16T22:50:57.000Z | #include "StdAfx.h"
#include "UpdateFtpCore.h"
#include "Utilities.h"
#include "Settings.h"
#include "UpdateGlobal.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
UpdateTool *CUpdateFtpCore::m_Tool;
bool CUpdateFtpCore::cancel;
void CUpdateFtpCore::InitSession(UpdateTool *tool)
{
m_Tool = tool;
cancel = false;
}
in... | 23.373406 | 171 | 0.652198 | domydev |
b853ac63088aab687facd8e36b7b1a416abd2be6 | 325 | cpp | C++ | test/function/strchr.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 1 | 2020-10-01T14:52:45.000Z | 2020-10-01T14:52:45.000Z | test/function/strchr.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 3 | 2020-06-19T01:24:51.000Z | 2020-07-16T14:00:30.000Z | test/function/strchr.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
int main ()
{
const char str[] = "werkwnrkqwnrknwenr/root/git/CPP_Demo/function";
const char ch = '/';
char *ret;
ret = strchr((char *)str, ch);
//printf("|%c| 之后的字符串是 - |%s|\n", ch, ret);
///root/git/CPP_Demo/function
printf("%s \n", ret);
return(0... | 18.055556 | 70 | 0.569231 | 6923403 |