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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04bd4cb2e908d4b5de7878dbc8d0327b3e0a6a2b | 1,140 | cc | C++ | lib/far/manifest.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | lib/far/manifest.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | lib/far/manifest.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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 "garnet/lib/far/manifest.h"
#include <stdio.h>
#include "garnet/lib/far/archive_entry.h"
#include "garnet/lib/far/archive_writer.h"
#include "li... | 29.230769 | 80 | 0.666667 | PowerOlive |
04c38aa757ac89e639ef2dc40de352a9681f2ef4 | 1,509 | cpp | C++ | Sources/Kore/Display.cpp | foundry2D/Kinc | 890baf38d0be53444ebfdeac8662479b23d169ea | [
"Zlib"
] | 203 | 2019-05-30T22:40:19.000Z | 2022-03-16T22:01:09.000Z | Sources/Kore/Display.cpp | foundry2D/Kinc | 890baf38d0be53444ebfdeac8662479b23d169ea | [
"Zlib"
] | 136 | 2019-06-01T04:39:33.000Z | 2022-03-14T12:38:03.000Z | Sources/Kore/Display.cpp | foundry2D/Kinc | 890baf38d0be53444ebfdeac8662479b23d169ea | [
"Zlib"
] | 211 | 2019-06-05T12:22:57.000Z | 2022-03-24T08:44:18.000Z | #include "Display.h"
#include <kinc/display.h>
using namespace Kore;
namespace {
const int MAXIMUM_DISPLAYS = 16;
Display displays[MAXIMUM_DISPLAYS];
}
void Display::init() {
kinc_display_init();
}
Display *Display::primary() {
displays[kinc_primary_display()]._index = kinc_primary_display();
return &displays... | 19.597403 | 72 | 0.75613 | foundry2D |
04c4cf9b035e7b5eed86758e88bb173463ee2b0d | 2,162 | cpp | C++ | openbmc_modules/phosphor-fan-presence/monitor/main.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | openbmc_modules/phosphor-fan-presence/monitor/main.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | null | null | null | openbmc_modules/phosphor-fan-presence/monitor/main.cpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 6 | 2021-11-02T10:56:19.000Z | 2022-03-06T11:58:20.000Z | /**
* Copyright © 2017 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 27.025 | 80 | 0.618409 | Eyerunmyden |
04c6e26e243767d876a118491c35ca4de1595f39 | 32,524 | cpp | C++ | miniapps/meshing/mesh-explorer.cpp | liruipeng/mfem | bf3f1f1327f064baae40693256c9559feae1a99a | [
"BSD-3-Clause"
] | null | null | null | miniapps/meshing/mesh-explorer.cpp | liruipeng/mfem | bf3f1f1327f064baae40693256c9559feae1a99a | [
"BSD-3-Clause"
] | 1 | 2020-04-21T00:30:35.000Z | 2020-04-21T00:32:28.000Z | miniapps/meshing/mesh-explorer.cpp | liruipeng/mfem | bf3f1f1327f064baae40693256c9559feae1a99a | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 30.114815 | 82 | 0.432388 | liruipeng |
04cc4144cb271c7f973845fba2c60cfc12d382c7 | 2,145 | cpp | C++ | linear_structures/linked_list/138_copy-list-with-random-pointer.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | linear_structures/linked_list/138_copy-list-with-random-pointer.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | linear_structures/linked_list/138_copy-list-with-random-pointer.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | // Author: b1tank
// Email: b1tank@outlook.com
//=================================
/*
138_copy-list-with-random-pointer LeetCode
Solution:
- hashmap
- "DNA" replication
- for the original linked list: cut and splice
*/
#include <iostream>
#include <unordered_map>
using namespace std... | 23.315217 | 75 | 0.432168 | b1tank |
04cf10c8d7b9239671878a836a5f185023f89963 | 9,532 | cpp | C++ | modules/gapi/src/streaming/onevpl/accelerators/surface/dx11_frame_adapter.cpp | nowireless/opencv | 1fcc4c74fefee4f845c0d57799163a1cbf36f654 | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | modules/gapi/src/streaming/onevpl/accelerators/surface/dx11_frame_adapter.cpp | nowireless/opencv | 1fcc4c74fefee4f845c0d57799163a1cbf36f654 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | modules/gapi/src/streaming/onevpl/accelerators/surface/dx11_frame_adapter.cpp | nowireless/opencv | 1fcc4c74fefee4f845c0d57799163a1cbf36f654 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2021 Intel Corporation
#include "streaming/onevpl/accelerators/surface/dx11_frame_adapter.hpp"
#include "... | 40.909871 | 119 | 0.612988 | nowireless |
04cf3a724b45ffe62e0feec5d62ea5f71ba6a7ac | 6,590 | cpp | C++ | cppcryptfs/ui/certutil.cpp | RiseT/cppcryptfs | ee7722ec2b6bd2b7550622b767ff4850981f9301 | [
"MIT"
] | 410 | 2016-06-13T16:49:12.000Z | 2022-03-31T21:55:39.000Z | cppcryptfs/ui/certutil.cpp | RiseT/cppcryptfs | ee7722ec2b6bd2b7550622b767ff4850981f9301 | [
"MIT"
] | 151 | 2016-06-17T18:18:53.000Z | 2022-03-22T00:03:53.000Z | cppcryptfs/ui/certutil.cpp | RiseT/cppcryptfs | ee7722ec2b6bd2b7550622b767ff4850981f9301 | [
"MIT"
] | 44 | 2016-07-02T19:12:58.000Z | 2022-03-09T01:35:04.000Z |
/*
cppcryptfs : user-mode cryptographic virtual overlay filesystem.
Copyright (C) 2016-2019 Bailey Brown (github.com/bailey27/cppcryptfs)
cppcryptfs is based on the design of gocryptfs (github.com/rfjakob/gocryptfs)
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaini... | 30.509259 | 78 | 0.726707 | RiseT |
04d19bf9db73b0092e647a6310b8fa8531f1bb61 | 1,943 | cpp | C++ | src/entities/Entity.cpp | MatthiasvZ/Gesneria | c60f041460a0c3f91a2d0cd34c7e2209fefdee9e | [
"Unlicense"
] | null | null | null | src/entities/Entity.cpp | MatthiasvZ/Gesneria | c60f041460a0c3f91a2d0cd34c7e2209fefdee9e | [
"Unlicense"
] | null | null | null | src/entities/Entity.cpp | MatthiasvZ/Gesneria | c60f041460a0c3f91a2d0cd34c7e2209fefdee9e | [
"Unlicense"
] | null | null | null | #include "Entity.h"
Entity::Entity(float x, float y, float hitboxSize)
: x(x), y(y), hitboxSize(hitboxSize), acceleration(0.0f), velocity(0.0f), angle(0.0f), speedCap(0.0f), frictionF(0.0f), active(true)
{
}
void Entity::moveTo(float x, float y)
{
this->x = x;
this->y = y;
updateVertices();
}
void E... | 26.986111 | 136 | 0.633042 | MatthiasvZ |
04d1c85a059cc0a0a32789802d9a2314fd2503ca | 3,157 | cc | C++ | third_party/tflite_support/src/tensorflow_lite_support/custom_ops/kernel/sentencepiece/optimized_decoder_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/tflite_support/src/tensorflow_lite_support/custom_ops/kernel/sentencepiece/optimized_decoder_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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/tflite_support/src/tensorflow_lite_support/custom_ops/kernel/sentencepiece/optimized_decoder_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | /* Copyright 2020 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... | 34.692308 | 86 | 0.713969 | zealoussnow |
04d3892ce1f9010dd8d3b6675ad7d8e02b095211 | 652 | cpp | C++ | math/two_sat/gen/cycle_unsat.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 290 | 2019-06-06T22:20:36.000Z | 2022-03-27T12:45:04.000Z | math/two_sat/gen/cycle_unsat.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 536 | 2019-06-06T18:25:36.000Z | 2022-03-29T11:46:36.000Z | math/two_sat/gen/cycle_unsat.cpp | tko919/library-checker-problems | 007a3ef79d1a1824e68545ab326d1523d9c05262 | [
"Apache-2.0"
] | 82 | 2019-06-06T18:17:55.000Z | 2022-03-21T07:40:31.000Z | #include "random.h"
#include <iostream>
using namespace std;
int main(int, char* argv[]) {
long long seed = atoll(argv[1]);
auto gen = Random(seed);
int n = 500'000 - 2;
int m = 500'000;
printf("p cnf %d %d\n", n, m);
// all same
for (int i = 1; i < n; i++) {
printf("%d %d 0\n"... | 20.375 | 42 | 0.48773 | tko919 |
04d3b8565fc9d41b44169ea856f352d83d8d5623 | 2,482 | cpp | C++ | src/objects/boid/Bird.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | 1 | 2020-04-24T22:55:51.000Z | 2020-04-24T22:55:51.000Z | src/objects/boid/Bird.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | src/objects/boid/Bird.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | //
// Created by Aloysio Galvão Lopes on 2020-05-30.
//
#include "utils/Texture.h"
#include "Bird.h"
std::vector<GLuint> Bird::textures;
Bird::Bird(Shaders &shaders, vcl::vec3 pos, float scale, vcl::vec3 speed, float turning) :
Object(true), dp(speed), turining(turning),
bird("../src/assets/models/bird.fbx",... | 25.587629 | 103 | 0.67083 | asilvaigor |
04d3d197efa085417590304d3cc73499fef2ac3c | 27,756 | cpp | C++ | Export/macos/obj/src/fracs/_Fraction/Fraction_Impl_.cpp | TrilateralX/TrilateralLimeTriangle | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | [
"MIT"
] | null | null | null | Export/macos/obj/src/fracs/_Fraction/Fraction_Impl_.cpp | TrilateralX/TrilateralLimeTriangle | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | [
"MIT"
] | null | null | null | Export/macos/obj/src/fracs/_Fraction/Fraction_Impl_.cpp | TrilateralX/TrilateralLimeTriangle | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#include <hxcpp.h>
#ifndef INCLUDED_95f339a1d026d52c
#define INCLUDED_95f339a1d026d52c
#include "hxMath.h"
#endif
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_fracs_Fracs
#include <fracs/Fracs.h>
#endif
#ifndef INCLUDED_fracs__Fraction_Fraction_Impl_
#include ... | 43.36875 | 292 | 0.60931 | TrilateralX |
04d5de7bf0de3f81eb9a1ed908f07980b15a5999 | 832 | hpp | C++ | SDEngine/include/Utility/Timing.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | SDEngine/include/Utility/Timing.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | 4 | 2021-12-10T05:01:49.000Z | 2022-03-19T10:16:14.000Z | SDEngine/include/Utility/Timing.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SD_TIMING_HPP
#define SD_TIMING_HPP
#include "Utility/Base.hpp"
#include <cstdint>
#include <queue>
#include <chrono>
namespace SD {
using ClockType = std::chrono::high_resolution_clock;
class SD_UTILITY_API Clock {
public:
Clock();
float GetElapsedMS() const;
// Restart the clock, and ret... | 17.333333 | 57 | 0.6875 | xubury |
04d8921962bfed4a4e66aa1b8f2dc444f4b2c589 | 4,743 | cpp | C++ | basic-cpp/Stacks&Queues/BucketMeasures/src/main.cpp | gramai/school-related | 152d67b4e475c3ba7c9370d6de39b38fc453392d | [
"MIT"
] | null | null | null | basic-cpp/Stacks&Queues/BucketMeasures/src/main.cpp | gramai/school-related | 152d67b4e475c3ba7c9370d6de39b38fc453392d | [
"MIT"
] | null | null | null | basic-cpp/Stacks&Queues/BucketMeasures/src/main.cpp | gramai/school-related | 152d67b4e475c3ba7c9370d6de39b38fc453392d | [
"MIT"
] | null | null | null | #include <iostream>
#include <stack>
#define NMAX=10
using namespace std;
// A class is created to better implement the problem
class Bucket{
private:
stack <int> liter_list; // Is a stack where each element can be int(1)
int bucket_size;// Max size of bucket
public:
Bucket(int bucket_s... | 32.710345 | 109 | 0.580223 | gramai |
3e20b87d157a78176c84ed496f2c412af7f8767c | 258 | cpp | C++ | LeetCode/100/26.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/100/26.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/100/26.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int removeDuplicates(vector<int>& nums) {
int left = 0;
int n = nums.size();
for (int i = 0; i < n; ++i) {
if (!i or nums[i] != nums[i - 1]) {
nums[left++] = nums[i];
}
}
return left;
}
}; | 19.846154 | 43 | 0.468992 | K-ona |
3e239c5a87cad0a75b19d965eca5626f7b798aa3 | 1,385 | cpp | C++ | benchmarks/periodic_calls.cpp | serpent7776/reckless | 5ac98bd799a44aef9b89fbfae509b044a4d1032b | [
"MIT"
] | 450 | 2015-05-14T12:29:50.000Z | 2022-03-31T06:20:14.000Z | benchmarks/periodic_calls.cpp | sthagen/reckless | 0d013b66eaf4f8105dc107df70db0696c6464598 | [
"MIT"
] | 42 | 2015-05-14T16:57:50.000Z | 2021-11-01T08:41:18.000Z | benchmarks/periodic_calls.cpp | sthagen/reckless | 0d013b66eaf4f8105dc107df70db0696c6464598 | [
"MIT"
] | 63 | 2015-05-15T01:09:44.000Z | 2022-01-25T15:57:42.000Z | #ifdef RECKLESS_ENABLE_TRACE_LOG
#include <performance_log/trace_log.hpp>
#include <fstream>
#endif
#include <performance_log/performance_log.hpp>
#include <iostream>
#include <unistd.h>
#include LOG_INCLUDE
char c = 'A';
float pi = 3.1415;
int main()
{
unlink("log.txt");
performance_log::logger<4096, perfor... | 26.634615 | 129 | 0.649819 | serpent7776 |
3e244890b34cc5a92d9857d949bad14876be4457 | 9,773 | cc | C++ | chrome/browser/ui/global_media_controls/presentation_request_notification_producer.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/browser/ui/global_media_controls/presentation_request_notification_producer.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/browser/ui/global_media_controls/presentation_request_notification_producer.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "chrome/browser/ui/global_media_controls/presentation_request_notification_producer.h"
#include <utility>
#include "base/unguessable_token.h"
#... | 35.930147 | 95 | 0.769569 | DamieFC |
3e275fe2ecb58bd94d4f90d23f99042a646a300b | 2,400 | cpp | C++ | source/pump.cpp | MuellerA/Led-Lamp | f54bd267e0e2b2d1d205f4bce3088e9081b22238 | [
"MIT"
] | null | null | null | source/pump.cpp | MuellerA/Led-Lamp | f54bd267e0e2b2d1d205f4bce3088e9081b22238 | [
"MIT"
] | null | null | null | source/pump.cpp | MuellerA/Led-Lamp | f54bd267e0e2b2d1d205f4bce3088e9081b22238 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// pump.cpp
// (c) Andreas Müller
// see LICENSE.md
////////////////////////////////////////////////////////////////////////////////
#include "ledMatrix.h"
/////////////////////////////////////////////////////////////////////////////... | 21.428571 | 110 | 0.4625 | MuellerA |
3e2881dde342fe9a9f569feb0af115f140186669 | 3,034 | hpp | C++ | src/contrib/mlir/core/compiler.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/contrib/mlir/core/compiler.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/contrib/mlir/core/compiler.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 35.694118 | 92 | 0.591628 | pqLee |
3e2b39c946cc069ab2d56deb068b83c15e9dbf80 | 7,561 | cpp | C++ | gym-cloth/render/ext/libzmq/tests/test_timers.cpp | ernovoseller/BC_switching_criteria | 44259dd17d14bc6bab05afb5df79943773508419 | [
"MIT"
] | null | null | null | gym-cloth/render/ext/libzmq/tests/test_timers.cpp | ernovoseller/BC_switching_criteria | 44259dd17d14bc6bab05afb5df79943773508419 | [
"MIT"
] | 7 | 2016-06-03T05:41:27.000Z | 2018-08-07T07:09:40.000Z | gym-cloth/render/ext/libzmq/tests/test_timers.cpp | ernovoseller/BC_switching_criteria | 44259dd17d14bc6bab05afb5df79943773508419 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | 33.90583 | 82 | 0.714059 | ernovoseller |
3e2c8a71eebd064e23fb673f96a6d5e7ea409572 | 8,915 | cpp | C++ | src/StatusBar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 6 | 2018-04-08T06:30:27.000Z | 2021-12-19T12:52:28.000Z | src/StatusBar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 32 | 2017-11-03T09:39:48.000Z | 2021-12-23T18:27:20.000Z | src/StatusBar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 1 | 2021-09-13T08:38:56.000Z | 2021-09-13T08:38:56.000Z | /*
* $Header: /Book/StatusBar.cpp 14 16.07.04 10:42 Oslph312 $
*
* NOTE: Both Toolbar and Statusbar are tailored to TextEdit.
* A more general approach would be to derive both from base classes.
*/
#include "precomp.h"
#include "Statusbar.h"
#include "MenuFont.h"
#include "HTML.h"
#include "InstanceSubclasser.... | 27.686335 | 100 | 0.654627 | petterh |
3e2f773e4ced7fe9781102528f0edfd009668136 | 7,427 | cpp | C++ | SysLib/Demand/Data/Trip_Length_Data.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | SysLib/Demand/Data/Trip_Length_Data.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | SysLib/Demand/Data/Trip_Length_Data.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Trip_Length_Data.cpp - trip length data class
//*********************************************************
#include "Trip_Length_Data.hpp"
//---------------------------------------------------------
// Trip_Length_Data constructor
//-----------------------... | 29.355731 | 107 | 0.555271 | kravitz |
3e2f9520d1a6f948b0f0f5cfdbcdee95bb6006bc | 3,692 | cpp | C++ | src/blood.cpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/blood.cpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/blood.cpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
//
// blood.cpp
//
#include "blood.hpp"
#include "context.hpp"
#include "info-region.hpp"
#include "level.hpp"
#include "random.hpp"
#include "screen-regions.h... | 28.183206 | 100 | 0.596425 | tilnewman |
3e2fc78edccb4cd465baf813018cec64967a8d19 | 3,996 | cpp | C++ | src/GUI/Button.cpp | zachtepper/project-awful | 59e2e9261100a2b4449022725435d21b17c6f5b4 | [
"MIT"
] | null | null | null | src/GUI/Button.cpp | zachtepper/project-awful | 59e2e9261100a2b4449022725435d21b17c6f5b4 | [
"MIT"
] | null | null | null | src/GUI/Button.cpp | zachtepper/project-awful | 59e2e9261100a2b4449022725435d21b17c6f5b4 | [
"MIT"
] | null | null | null | #include "Button.hpp"
Button::Button( sf::Vector2f position, sf::Vector2f dimensions,
sf::Font* font, std::string text, unsigned character_size, bool hasBorder,
sf::Color text_idle_color, sf::Color text_hover_color, sf::Color text_active_color,
sf::Color idle_color, sf::Color h... | 30.738462 | 132 | 0.603103 | zachtepper |
3e3164a543c5bfcf7b189f965df4b1e64ba48649 | 195 | hpp | C++ | include/thread_pool.hpp | billsioros/thread-pool-cpp98 | 721ce58901504e73cf99696931f987578bccd8aa | [
"MIT"
] | null | null | null | include/thread_pool.hpp | billsioros/thread-pool-cpp98 | 721ce58901504e73cf99696931f987578bccd8aa | [
"MIT"
] | null | null | null | include/thread_pool.hpp | billsioros/thread-pool-cpp98 | 721ce58901504e73cf99696931f987578bccd8aa | [
"MIT"
] | null | null | null |
#pragma once
#include <cstddef>
namespace thread_pool
{
void create(std::size_t size);
void destroy();
void block();
void schedule(void (*task)(void *), void * args);
}
| 12.1875 | 53 | 0.610256 | billsioros |
3e332c89347c3b06f497a7d5e89efbb94bbbcb4a | 36,434 | cpp | C++ | opae-libs/tests/xfpga/test_enum_c.cpp | rchriste1/opae-sdk | a2b08cab139ebfb320a720bab98a6168748561a4 | [
"BSD-3-Clause"
] | null | null | null | opae-libs/tests/xfpga/test_enum_c.cpp | rchriste1/opae-sdk | a2b08cab139ebfb320a720bab98a6168748561a4 | [
"BSD-3-Clause"
] | null | null | null | opae-libs/tests/xfpga/test_enum_c.cpp | rchriste1/opae-sdk | a2b08cab139ebfb320a720bab98a6168748561a4 | [
"BSD-3-Clause"
] | null | null | null | // Copyright(c) 2017-2020, Intel Corporation
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and... | 30.928693 | 107 | 0.67555 | rchriste1 |
3e3965470d3099d8c31ef370c8530da7722059d6 | 169 | cxx | C++ | StRoot/StJetMaker/tracks/StjTrackCutDca.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StJetMaker/tracks/StjTrackCutDca.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StJetMaker/tracks/StjTrackCutDca.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | // $Id: StjTrackCutDca.cxx,v 1.1 2008/11/27 07:09:32 tai Exp $
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
#include "StjTrackCutDca.h"
ClassImp(StjTrackCutDca)
| 24.142857 | 62 | 0.715976 | xiaohaijin |
3e3bbd7224a2358e0f6f532e04d84d981b361cc7 | 1,170 | cpp | C++ | booth.cpp | PRASAD-DANGARE/CPP | bf5ba5f87a229d88152fef80cb6a4d73bf578815 | [
"MIT"
] | null | null | null | booth.cpp | PRASAD-DANGARE/CPP | bf5ba5f87a229d88152fef80cb6a4d73bf578815 | [
"MIT"
] | null | null | null | booth.cpp | PRASAD-DANGARE/CPP | bf5ba5f87a229d88152fef80cb6a4d73bf578815 | [
"MIT"
] | null | null | null | /*
Description : Ticket Selling Booth
Function Date : 21 Nov 2020
Function Author : Prasad Dangare
Input : String,Integer
*/
#include<iostream>
#include<stdlib.h>
#include<conio.h>
using namespace std;
class ticketbooth
{
unsigned int no_people;
double totcash;
public:... | 16.478873 | 59 | 0.528205 | PRASAD-DANGARE |
3e3d18964d0cbea8c9ca9770575265e7b935b368 | 9,084 | cpp | C++ | Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp | Guille1406/Project-II | af954426efce06937671f02ac0a5840e5faefb0e | [
"Apache-2.0"
] | null | null | null | Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp | Guille1406/Project-II | af954426efce06937671f02ac0a5840e5faefb0e | [
"Apache-2.0"
] | null | null | null | Project/Dev_class11_handout/Motor2D/j1Pathfinding.cpp | Guille1406/Project-II | af954426efce06937671f02ac0a5840e5faefb0e | [
"Apache-2.0"
] | null | null | null | #include "j1Pathfinding.h"
#include "j1App.h"
#include "j1Textures.h"
#include "p2Log.h"
#include"Character.h"
#include"j1Map.h"
#include"j1Enemy.h"
#include "Brofiler/Brofiler.h"
///class Pathfinding ------------------
// Constructors =======================
j1Pathfinding::j1Pathfinding()
{
}
// Destructors =======... | 22.597015 | 156 | 0.637274 | Guille1406 |
3e3d25562e2f85d6cd6a7bb75ef4bfdbe6595dbc | 422 | hpp | C++ | src/core/include/ngraph/op/mvn.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/core/include/ngraph/op/mvn.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/core/include/ngraph/op/mvn.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/node.hpp"
#include "ngraph/op/op.hpp"
#include "openvino/op/mvn.hpp"
namespace ngraph {
namespace op {
namespace v0 {
using ov::op::v0::MVN;
} // namespace v0
using v0::MVN;
using ov::op::MVNEpsMode... | 16.88 | 44 | 0.684834 | ryanloney |
3e4172dd872dd230eb7dd91de73f369b65cfffbd | 32,165 | cpp | C++ | reseq/AdapterStats.cpp | schmeing/ReSeq | 053b8d1af635bf0019dc818b3eb0825023abd037 | [
"MIT"
] | 29 | 2020-07-18T22:04:45.000Z | 2021-12-22T16:48:53.000Z | reseq/AdapterStats.cpp | schmeing/ReSeq | 053b8d1af635bf0019dc818b3eb0825023abd037 | [
"MIT"
] | 15 | 2020-08-03T18:10:44.000Z | 2021-12-03T12:52:16.000Z | reseq/AdapterStats.cpp | schmeing/ReSequenceR | 053b8d1af635bf0019dc818b3eb0825023abd037 | [
"MIT"
] | 2 | 2021-03-08T15:09:21.000Z | 2021-03-25T14:14:43.000Z | #include "AdapterStats.h"
using reseq::AdapterStats;
#include <algorithm>
using std::max;
using std::max_element;
using std::min;
using std::sort;
#include <array>
using std::array;
#include <cmath>
using std::ceil;
#include <fstream>
using std::ifstream;
using std::ofstream;
#include <iterator>
using ... | 35.385039 | 244 | 0.649028 | schmeing |
3e444ee4d84ac1ec0a43e64b643324665c6eed0c | 28,688 | cpp | C++ | test/projection_test.cpp | seanyen/laser_geometry | c6915767ef66d8b2beb5dcbcc4356281654e84e2 | [
"BSD-3-Clause"
] | 2 | 2021-07-14T12:33:55.000Z | 2021-11-21T07:14:13.000Z | test/projection_test.cpp | seanyen/laser_geometry | c6915767ef66d8b2beb5dcbcc4356281654e84e2 | [
"BSD-3-Clause"
] | null | null | null | test/projection_test.cpp | seanyen/laser_geometry | c6915767ef66d8b2beb5dcbcc4356281654e84e2 | [
"BSD-3-Clause"
] | 1 | 2020-05-28T01:16:08.000Z | 2020-05-28T01:16:08.000Z | /*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | 41.041488 | 263 | 0.72058 | seanyen |
3e4629739ad02c3678733e95fe64f9aa544d2627 | 3,633 | cpp | C++ | src/chat.cpp | Mart1250/biblepay | d53d04f74242596b104d360187268a50b845b82e | [
"MIT"
] | null | null | null | src/chat.cpp | Mart1250/biblepay | d53d04f74242596b104d360187268a50b845b82e | [
"MIT"
] | null | null | null | src/chat.cpp | Mart1250/biblepay | d53d04f74242596b104d360187268a50b845b82e | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chat.h"
#include "base58.h"
#include "clientversion.h"
#include "net.h"
#inc... | 22.70625 | 88 | 0.613543 | Mart1250 |
3e46eb3d32a6c9436a26fded7473f982d169cfb2 | 432 | cpp | C++ | src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp | TomMinuzzo/CSALEX2022 | 28513f5e60cee890913c0c5d63fd9e3fcdf4039c | [
"Apache-2.0"
] | null | null | null | src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp | TomMinuzzo/CSALEX2022 | 28513f5e60cee890913c0c5d63fd9e3fcdf4039c | [
"Apache-2.0"
] | null | null | null | src/apps/AlexMachine/stateMachine/states/SteppingRight.cpp | TomMinuzzo/CSALEX2022 | 28513f5e60cee890913c0c5d63fd9e3fcdf4039c | [
"Apache-2.0"
] | null | null | null | #include "SteppingRight.h"
void SteppingRight::entry(void) {
spdlog::info(" Stepping RIGHT");
trajectoryGenerator->initialiseTrajectory(robot->getCurrentMotion(), Foot::Left, robot->getJointStates());
robot->startNewTraj();
robot->setCurrentState(AlexState::StepR);
}
void SteppingRight::during(void) {
... | 28.8 | 110 | 0.719907 | TomMinuzzo |
3e48e3224d09c3dae1dfe91b8936decb5dfaa74e | 4,085 | cc | C++ | sdl_core/src/components/smart_objects/src/string_schema_item.cc | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 4 | 2016-09-21T12:36:24.000Z | 2020-10-29T01:45:03.000Z | sdl_core/src/components/smart_objects/src/string_schema_item.cc | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 7 | 2016-06-01T01:21:44.000Z | 2017-11-03T08:18:23.000Z | sdl_core/src/components/smart_objects/src/string_schema_item.cc | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 8 | 2017-08-29T10:51:50.000Z | 2021-03-24T10:19:11.000Z | // Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of co... | 32.68 | 80 | 0.707711 | APCVSRepo |
3e49c8455ad03eb0ee43530510402b5ff5e0c931 | 43,621 | cpp | C++ | 099/graysvr/CClientUse.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | 2 | 2020-12-22T17:03:14.000Z | 2021-07-31T23:59:05.000Z | 099/graysvr/CClientUse.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | null | null | null | 099/graysvr/CClientUse.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | 4 | 2021-04-21T19:43:48.000Z | 2021-10-07T00:38:23.000Z | // CClientUse.cpp
// Copyright Menace Software (www.menasoft.com).
//
#include "graysvr.h" // predef header.
#include "cclient.h"
bool CClient::Cmd_Use_Item( CItem * pItem, bool fTestTouch )
{
// Assume we can see the target.
// called from Event_DoubleClick
... | 37.997387 | 128 | 0.448683 | Jhobean |
3e4cfcfc136208f6fd1cee1a5de6a73ef1e68e7e | 4,302 | cpp | C++ | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ArrayType.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | 5 | 2017-03-08T20:32:39.000Z | 2021-07-10T10:12:38.000Z | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ArrayType.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | null | null | null | enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/commands/ArrayType.cpp | qinFamily/freeVM | 9caa0256b4089d74186f84b8fb2afc95a0afc7bc | [
"Apache-2.0"
] | 4 | 2015-07-07T07:06:59.000Z | 2018-06-19T22:38:04.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 33.348837 | 76 | 0.597164 | qinFamily |
3e501e3c663f32cc489b740f08f77dc1f38e4164 | 131 | cpp | C++ | 2DGame/logger.cpp | Cimera42/2DGame | 9135e3dbed8a909357d57e227ecaba885982e8dc | [
"MIT"
] | 3 | 2015-08-18T12:59:29.000Z | 2015-12-15T08:11:10.000Z | 2DGame/logger.cpp | Cimera42/2DGame | 9135e3dbed8a909357d57e227ecaba885982e8dc | [
"MIT"
] | null | null | null | 2DGame/logger.cpp | Cimera42/2DGame | 9135e3dbed8a909357d57e227ecaba885982e8dc | [
"MIT"
] | null | null | null | #include "logger.h"
//Mutex for cout
//Prevent interleaving of output
pthread_mutex_t coutMutex = PTHREAD_MUTEX_INITIALIZER;
| 21.833333 | 55 | 0.778626 | Cimera42 |
3e50b9799a853d48b3b61068cbf648b0b3befd2e | 3,793 | cpp | C++ | src/DNG/dng_memory.cpp | Jamaika1/pgm2dng | a3e31c3dd448f91b1562d1248ae340d0d20af68d | [
"MIT"
] | 7 | 2020-05-29T14:35:13.000Z | 2021-09-14T12:37:12.000Z | src/DNG/dng_memory.cpp | Jamaika1/pgm2dng | a3e31c3dd448f91b1562d1248ae340d0d20af68d | [
"MIT"
] | null | null | null | src/DNG/dng_memory.cpp | Jamaika1/pgm2dng | a3e31c3dd448f91b1562d1248ae340d0d20af68d | [
"MIT"
] | 3 | 2020-11-10T06:33:08.000Z | 2021-06-13T05:40:53.000Z | /*****************************************************************************/
// Copyright 2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in
// accordance with the terms of the Adobe license agreement accompanying it.
/**********... | 18.412621 | 83 | 0.403902 | Jamaika1 |
3e536848f7b174c034102c2ca9505d22729c1e55 | 2,251 | cc | C++ | foas/src/model/CommitJobRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | foas/src/model/CommitJobRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | foas/src/model/CommitJobRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* 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... | 23.206186 | 75 | 0.730786 | iamzken |
3e55deb2f76b90a3e2244497e79be0b1d0a04be3 | 2,269 | cpp | C++ | src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 994 | 2015-03-18T21:37:07.000Z | 2019-04-26T04:04:14.000Z | src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 13 | 2019-06-13T15:58:03.000Z | 2022-02-18T22:53:35.000Z | src/framework/shared/irphandlers/pnp/um/fxpkgpdoum.cpp | IT-Enthusiast-Nepal/Windows-Driver-Frameworks | bfee6134f30f92a90dbf96e98d54582ecb993996 | [
"MIT"
] | 350 | 2015-03-19T04:29:46.000Z | 2019-05-05T23:26:50.000Z | /*++
Copyright (c) Microsoft Corporation
Module Name:
FxPkgPdoUM.cpp
Abstract:
This module implements the Pnp package for Pdo devices.
Author:
Environment:
User mode only
Revision History:
--*/
#include "pnppriv.hpp"
#include <wdmguid.h>
// Tracing support
#if defined(EVENT_TRACING)
extern "C" {... | 15.648276 | 78 | 0.710886 | IT-Enthusiast-Nepal |
3e5a9ac3ce4eb0cc5776558c3f36af24d3e0e635 | 9,821 | cpp | C++ | experimental-computer-system-oct/hardware/src/sys_processor.cpp | paulscottrobson/assorted-archives | 87ce21ef1556bed441fffbb5c4c3c11c06324385 | [
"MIT"
] | null | null | null | experimental-computer-system-oct/hardware/src/sys_processor.cpp | paulscottrobson/assorted-archives | 87ce21ef1556bed441fffbb5c4c3c11c06324385 | [
"MIT"
] | null | null | null | experimental-computer-system-oct/hardware/src/sys_processor.cpp | paulscottrobson/assorted-archives | 87ce21ef1556bed441fffbb5c4c3c11c06324385 | [
"MIT"
] | 1 | 2020-01-02T13:54:19.000Z | 2020-01-02T13:54:19.000Z | // *******************************************************************************************************************************
// *******************************************************************************************************************************
//
// Name: sys_processor.cpp
// Purpose: Processor Emu... | 43.074561 | 130 | 0.341615 | paulscottrobson |
3e5d9777f4168f2ac148d2956b43a94afdbebd59 | 2,587 | hpp | C++ | RobWorkSim/src/rwsim/util/TargetConfigGraspPolicy.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWorkSim/src/rwsim/util/TargetConfigGraspPolicy.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWorkSim/src/rwsim/util/TargetConfigGraspPolicy.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 33.166667 | 90 | 0.652107 | ZLW07 |
3e603daf47107cf447c0fc1bcc77e979f0d73b14 | 3,458 | cpp | C++ | framework/2DLayers/Sources/UI/UISprite.cpp | Daniel-Mietchen/kigs | 92ab6deaf3e947465781a400c5a791ee171876c8 | [
"MIT"
] | null | null | null | framework/2DLayers/Sources/UI/UISprite.cpp | Daniel-Mietchen/kigs | 92ab6deaf3e947465781a400c5a791ee171876c8 | [
"MIT"
] | null | null | null | framework/2DLayers/Sources/UI/UISprite.cpp | Daniel-Mietchen/kigs | 92ab6deaf3e947465781a400c5a791ee171876c8 | [
"MIT"
] | null | null | null | #include "UI/UISprite.h"
#include "TextureFileManager.h"
#include "Texture.h"
#include "AlphaMask.h"
//IMPLEMENT_AND_REGISTER_CLASS_INFO(UISprite, UISprite, 2DLayers);
IMPLEMENT_CLASS_INFO(UISprite)
UISprite::UISprite(const kstl::string& name, CLASS_NAME_TREE_ARG) :
UITexturedItem(name, PASS_CLASS_NAME_TREE_ARG)
, m... | 21.748428 | 103 | 0.656449 | Daniel-Mietchen |
3e60f0c93c5f3058bd47f74a589677c04595a867 | 185 | cpp | C++ | client/test/test.cpp | gary920209/LightDance-RPi | 41d3ef536f3874fd5dbe092f5c9be42f7204427d | [
"MIT"
] | 2 | 2020-11-14T17:13:55.000Z | 2020-11-14T17:42:39.000Z | client/test/test.cpp | gary920209/LightDance-RPi | 41d3ef536f3874fd5dbe092f5c9be42f7204427d | [
"MIT"
] | null | null | null | client/test/test.cpp | gary920209/LightDance-RPi | 41d3ef536f3874fd5dbe092f5c9be42f7204427d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
string s;
cout << "Other Successfully initiated." << endl;
while (cin >> s)
cout << "Success " << s << endl;
} | 20.555556 | 52 | 0.567568 | gary920209 |
3e617d24eb2fce1d74a7555c8417b1541b47b226 | 2,489 | cpp | C++ | Chapter 5/5.34.cpp | root113/C-How-To-Program-Deitel | fe1ced3fb1efd88f00264cb03c873474e62ed450 | [
"Unlicense"
] | 4 | 2019-02-22T09:38:01.000Z | 2020-02-02T19:13:30.000Z | Chapter 5/5.34.cpp | root113/C-How-To-Program-Deitel | fe1ced3fb1efd88f00264cb03c873474e62ed450 | [
"Unlicense"
] | null | null | null | Chapter 5/5.34.cpp | root113/C-How-To-Program-Deitel | fe1ced3fb1efd88f00264cb03c873474e62ed450 | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
int getRandomNum( void );
void correctAnswer();
void wrongAnswer();
int answerTheQuestion( int, int );
void askQuestions( int );
int main()
{
srand( (time(NULL)) );
askQuestions(10);
return 0;
}
int getRandomNum()
{
... | 21.09322 | 87 | 0.470068 | root113 |
3e62b622fa9c7c742cb7339b55e218a652eac506 | 1,920 | cpp | C++ | fdbclient/AutoPublicAddress.cpp | TheBenCollins/foundationdb | e6950abae6914dab989ec00a4b4b648bb9d8af52 | [
"Apache-2.0"
] | null | null | null | fdbclient/AutoPublicAddress.cpp | TheBenCollins/foundationdb | e6950abae6914dab989ec00a4b4b648bb9d8af52 | [
"Apache-2.0"
] | null | null | null | fdbclient/AutoPublicAddress.cpp | TheBenCollins/foundationdb | e6950abae6914dab989ec00a4b4b648bb9d8af52 | [
"Apache-2.0"
] | null | null | null | /*
* AutoPublicAddress.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 34.285714 | 103 | 0.7125 | TheBenCollins |
3e63a2481b8e9a04f9ed9679745bdf6c04cb6fb0 | 2,853 | hpp | C++ | library/src/blas1/rocblas_copy.hpp | zjunweihit/rocBLAS | c8bda2d15a7772d810810492ebed616eec0959a5 | [
"MIT"
] | null | null | null | library/src/blas1/rocblas_copy.hpp | zjunweihit/rocBLAS | c8bda2d15a7772d810810492ebed616eec0959a5 | [
"MIT"
] | 1 | 2019-09-26T01:51:09.000Z | 2019-09-26T18:09:56.000Z | library/src/blas1/rocblas_copy.hpp | mahmoodw/rocBLAS | 53b1271e4881ef7473b78e8783e4d55740e9b933 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016-2019 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "handle.h"
#include "logging.h"
#include "rocblas.h"
#include "utility.h"
template <typename T, typenam... | 36.113924 | 89 | 0.416404 | zjunweihit |
3e63b5c5a2d70d42a9c0b6ff8e1e73da50f7dc83 | 4,523 | cpp | C++ | code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 33 | 2021-09-16T18:37:08.000Z | 2022-03-22T23:02:44.000Z | code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-09-17T10:10:07.000Z | 2022-03-28T12:33:29.000Z | code/libImmCore/src/libCompression/basic/piBitInterlacer.cpp | andybak/IMM | c725dcb28a1638dea726381a7189c3b031967d58 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-09-19T07:49:01.000Z | 2021-12-12T21:25:35.000Z | //
// Branched off piLibs (Copyright © 2015 Inigo Quilez, The MIT License), in 2015. See THIRD_PARTY_LICENSES.txt
//
#include <malloc.h>
#include "../../libBasics/piTypes.h"
#include "piBitInterlacer.h"
namespace ImmCore
{
namespace piBitInterlacer
{
BitStream::BitStream()
{
mBits = 0;
mState = 0;
}
... | 20.282511 | 143 | 0.539244 | andybak |
3e6760be917a197de14d406bcd63405bba53c300 | 5,208 | cpp | C++ | frameworks/wm/test/unittest/window_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/window_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/window_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | 1 | 2021-09-13T11:18:12.000Z | 2021-09-13T11:18:12.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 ... | 39.755725 | 108 | 0.701421 | openharmony-gitee-mirror |
3e6826654152115df8c0fc784ee1a1f39c51edf1 | 1,462 | hpp | C++ | streambox/Nexmark/NexmarkFilterEvaluator.hpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 3 | 2019-07-03T14:03:31.000Z | 2021-12-19T10:18:49.000Z | streambox/Nexmark/NexmarkFilterEvaluator.hpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | null | null | null | streambox/Nexmark/NexmarkFilterEvaluator.hpp | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | null | null | null | #ifndef NEXMARK_FILTER_EVALUATOR_HPP
#define NEXMARK_FILTER_EVALUATOR_HPP
#include "core/SingleInputTransformEvaluator.h"
#include "Nexmark/NexmarkFilter.hpp"
/* convert a stream of records to a stream of <NexmarkRecord> records */
template <typename InputT,
typename OutputT,
template<class> class... | 34.809524 | 90 | 0.618331 | chenzongxiong |
3e6894e42d658ddbbde6d9446022b905eadec8c9 | 645 | hpp | C++ | Layer.hpp | kaitokidi/JacobsHack | 6662dc32a91a964f6080470627398bfa0f36573e | [
"MIT"
] | 4 | 2015-10-21T06:49:16.000Z | 2016-08-17T07:59:07.000Z | Layer.hpp | kaitokidi/JacobsHack | 6662dc32a91a964f6080470627398bfa0f36573e | [
"MIT"
] | null | null | null | Layer.hpp | kaitokidi/JacobsHack | 6662dc32a91a964f6080470627398bfa0f36573e | [
"MIT"
] | null | null | null | #ifndef LAYER_HPP
#define LAYER_HPP
#include "utils.hpp"
class Layer
{
public:
Layer();
Layer(float speed);
void setSpeed(float speed);
float getSpeed();
void setFactor(float factor);
float getFactor();
void setTexture(std::vector<sf::Texture>& texture... | 18.428571 | 99 | 0.595349 | kaitokidi |
3e6a803a5a930e547d3fb28c014035b75ca34eee | 796 | cc | C++ | cpp/api/sspi/RevertSecurityContext.cc | giuliohome/node-expose-sspi | 344aac68e94f9b5a99bce42651bf669b415c92d8 | [
"ISC"
] | 90 | 2020-02-13T17:27:27.000Z | 2022-03-07T23:02:37.000Z | cpp/api/sspi/RevertSecurityContext.cc | giuliohome/node-expose-sspi | 344aac68e94f9b5a99bce42651bf669b415c92d8 | [
"ISC"
] | 76 | 2020-03-19T06:29:23.000Z | 2022-03-28T05:27:29.000Z | cpp/api/sspi/RevertSecurityContext.cc | giuliohome/node-expose-sspi | 344aac68e94f9b5a99bce42651bf669b415c92d8 | [
"ISC"
] | 20 | 2020-04-30T07:45:45.000Z | 2022-02-23T10:59:09.000Z | #include "../../misc.h"
namespace myAddon {
void e_RevertSecurityContext(const Napi::CallbackInfo &info) {
Napi::Env env = info.Env();
if (info.Length() < 1) {
throw Napi::Error::New(
env,
"RevertSecurityContext: Wrong number of arguments. "
"RevertSecurityContext(serverContextHandle:... | 30.615385 | 78 | 0.670854 | giuliohome |
3e6a80fe95718bf7f96b04325fdda25e6f9b9508 | 4,083 | cp | C++ | MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Alerts_Panels/CPrefsAlertsAttachment.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | 28.354167 | 104 | 0.76096 | mulberry-mail |
3e6cec3cd9e3d03d6046b98b98002361e3252263 | 2,097 | cpp | C++ | inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/non_max_suppression.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/non_max_suppression.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 27 | 2020-12-29T14:38:34.000Z | 2022-02-21T13:04:03.000Z | inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/non_max_suppression.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "single_layer_tests/non_max_suppression.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace LayerTestsDefinitions;
using namespace InferenceEngine;
using namespace ngraph;
const std::vector<... | 48.767442 | 127 | 0.551264 | Andruxin52rus |
3e6df5d5553799540f4fb1fc9a85b8eac66e4035 | 53 | hpp | C++ | src/boost_mpl_aux__preprocessed_plain_and.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_aux__preprocessed_plain_and.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_aux__preprocessed_plain_and.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/aux_/preprocessed/plain/and.hpp>
| 26.5 | 52 | 0.792453 | miathedev |
3e710f3056c9ebcdae67b44afdbe1a11d0522df3 | 1,144 | cpp | C++ | src/topfd/dp/dp.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 8 | 2018-05-23T14:37:31.000Z | 2022-02-04T23:48:38.000Z | src/topfd/dp/dp.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 9 | 2019-08-31T08:17:45.000Z | 2022-02-11T20:58:06.000Z | src/topfd/dp/dp.cpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 4 | 2018-04-25T01:39:38.000Z | 2020-05-20T19:25:07.000Z | //Copyright (c) 2014 - 2020, The Trustees of Indiana University.
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by a... | 32.685714 | 74 | 0.738636 | toppic-suite |
3e71219676943218c86f87e1c79384451f5e6a23 | 1,011 | cpp | C++ | 2021F/CS203/lab4/a.cpp | HeZean/SUSTech-Archive | 0c89d78f232fdef427ca17b7e508881b782d7826 | [
"MIT"
] | null | null | null | 2021F/CS203/lab4/a.cpp | HeZean/SUSTech-Archive | 0c89d78f232fdef427ca17b7e508881b782d7826 | [
"MIT"
] | null | null | null | 2021F/CS203/lab4/a.cpp | HeZean/SUSTech-Archive | 0c89d78f232fdef427ca17b7e508881b782d7826 | [
"MIT"
] | null | null | null | #include <iostream>
struct Node {
long coe;
int exp;
Node* next;
};
int main() {
int n, m;
scanf("%d %d", &n, &m);
Node head{0, INT32_MAX, nullptr};
Node* cur = &head;
while (n--) {
int coe, exp;
scanf("%d %d", &coe, &exp);
Node* node = new Node{coe, exp, nullpt... | 21.978261 | 67 | 0.452028 | HeZean |
3e72d34198999e3b3a6a63d8e956faa0ed81e275 | 474 | hpp | C++ | coalescing/common.hpp | cwpearson/nvidia-performance-tools | 90890e807ef9fc1532ee08938de6689444701686 | [
"MIT"
] | 51 | 2020-04-16T18:44:48.000Z | 2022-03-28T20:06:39.000Z | coalescing/common.hpp | cwpearson/nvidia-performance-tools | 90890e807ef9fc1532ee08938de6689444701686 | [
"MIT"
] | 3 | 2020-05-26T20:15:42.000Z | 2021-12-13T19:37:39.000Z | coalescing/common.hpp | cwpearson/nvidia-performance-tools | 90890e807ef9fc1532ee08938de6689444701686 | [
"MIT"
] | 3 | 2020-12-08T05:35:20.000Z | 2021-11-05T02:00:29.000Z | #pragma once
#include <chrono>
#ifdef __CUDACC__
inline void checkCuda(cudaError_t result, const char *file, const int line) {
if (result != cudaSuccess) {
fprintf(stderr, "%s@%d: CUDA Runtime Error(%d): %s\n", file, line,
int(result), cudaGetErrorString(result));
exit(-1);
}
}
#define CUDA_R... | 26.333333 | 77 | 0.702532 | cwpearson |
3e74a3c7eb15f4f63d3047dd8653fb9be94c3a6f | 1,838 | cpp | C++ | src/MCPDAC.cpp | MajenkoLibraries/MCPDAC | 7c271022ced7db0b15b5bfaa904e4a3112780e67 | [
"BSD-3-Clause"
] | 11 | 2016-07-24T21:40:14.000Z | 2021-12-29T13:54:18.000Z | src/MCPDAC.cpp | MajenkoLibraries/MCPDAC | 7c271022ced7db0b15b5bfaa904e4a3112780e67 | [
"BSD-3-Clause"
] | 3 | 2015-08-15T13:03:43.000Z | 2018-05-11T13:26:33.000Z | src/MCPDAC.cpp | MajenkoLibraries/MCPDAC | 7c271022ced7db0b15b5bfaa904e4a3112780e67 | [
"BSD-3-Clause"
] | 8 | 2016-08-02T00:38:14.000Z | 2022-03-31T16:19:38.000Z | /***********************************************
* Microchip DAC library
* (c) 2012 Majenko Technologies
*
* This library is offered without any warranty as to
* fitness for purpose, either explicitly or implicitly
* implied.
***********************************************/
/*
* Microchip DAC library. This wo... | 22.414634 | 106 | 0.658868 | MajenkoLibraries |
3e768ef280774aab172fbe3521b0be896c0ad6a6 | 3,916 | cpp | C++ | build/include/nodes/internal/moc_FlowView.cpp | similas/nodeeditor | 06efa504cc11de8f941308fe45e6e77030fcd295 | [
"BSD-3-Clause"
] | null | null | null | build/include/nodes/internal/moc_FlowView.cpp | similas/nodeeditor | 06efa504cc11de8f941308fe45e6e77030fcd295 | [
"BSD-3-Clause"
] | null | null | null | build/include/nodes/internal/moc_FlowView.cpp | similas/nodeeditor | 06efa504cc11de8f941308fe45e6e77030fcd295 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'FlowView.hpp'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.0)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | 30.356589 | 97 | 0.624106 | similas |
3e77d2779e9191eec5c0f1c329de57d850a58178 | 3,593 | hpp | C++ | hpp/Compare.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | 1 | 2021-11-30T07:47:52.000Z | 2021-11-30T07:47:52.000Z | hpp/Compare.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | hpp/Compare.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | /*
* File name: Compare.impl.hpp
* Description: 顶层类实现
* Author: 王锦润
* Version: 2
* Date: 2019.6.11
* History: 此程序被纳入git,可以直接使用git查询。
*/
//防卫式声明,必须要有
//就算没有重复包含也建议有,这是代码习惯
#ifndef _COMPARE_IMPL_HPP_
#define _COMPARE_IMPL_HPP_
#include "Compare.hpp"
/*
* Function: 构造函数
* Description: 构建文件夹,匹配并获得差异
* Input: 两个文件... | 32.663636 | 96 | 0.605344 | Ivy233 |
3e78b937cffbc29f9cdd4aec16bf5bd676bc5a41 | 957 | cpp | C++ | tests-lit/tests/tutorials/hello-world/step-3-one-survived-mutation/sample.cpp | m42e/mull | 32c6416d1757ea19c345029ee7a83e5769f231ef | [
"Apache-2.0"
] | null | null | null | tests-lit/tests/tutorials/hello-world/step-3-one-survived-mutation/sample.cpp | m42e/mull | 32c6416d1757ea19c345029ee7a83e5769f231ef | [
"Apache-2.0"
] | null | null | null | tests-lit/tests/tutorials/hello-world/step-3-one-survived-mutation/sample.cpp | m42e/mull | 32c6416d1757ea19c345029ee7a83e5769f231ef | [
"Apache-2.0"
] | null | null | null | // clang-format off
/**
RUN: cd / && %clang_cxx %sysroot -fembed-bitcode -g -O0 %s -o %s.exe
RUN: cd %CURRENT_DIR
RUN: (unset TERM; %mull_cxx -linker=%clang_cxx -linker-flags="%sysroot" -mutators=cxx_ge_to_lt -mutators=cxx_ge_to_gt -ide-reporter-show-killed %s.exe 2>&1; test $? = 0) | %filecheck %s --dump-input=fail -... | 25.864865 | 242 | 0.629049 | m42e |
3e79dce6c1b11bf64056f1e0572a00771408b00c | 21,980 | cpp | C++ | src/bin/mail_utils/mbox2mail.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/bin/mail_utils/mbox2mail.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/bin/mail_utils/mbox2mail.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2005-2009, Haiku Inc.
* This file may be used under the terms of the MIT License.
*
* Originally public domain written by Alexander G. M. Smith.
*/
/*! MboxToBeMail is a utility program that converts Unix mailbox (mbox) files
(the kind that Pine uses) into e-mail files for use with BeOS. It also... | 31.535151 | 79 | 0.629163 | Kirishikesan |
3e7a4e44ca7e1385d3b922bff4ded9006411e401 | 84 | cpp | C++ | 002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp | JooHyeon-Roh/Cpp | 09410fef092428739c1cad3f15faa4b5cf0b4b76 | [
"MIT"
] | null | null | null | 002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp | JooHyeon-Roh/Cpp | 09410fef092428739c1cad3f15faa4b5cf0b4b76 | [
"MIT"
] | null | null | null | 002_DESIGN_PATTERN/Abstract_Factory/Abstract_Factory/Wall.cpp | JooHyeon-Roh/Cpp | 09410fef092428739c1cad3f15faa4b5cf0b4b76 | [
"MIT"
] | null | null | null | #include "Wall.h"
CWall::CWall()
{
}
CWall::~CWall()
{
}
void CWall::Enter()
{
}
| 6 | 19 | 0.547619 | JooHyeon-Roh |
3e7b9b08a6abb87111adf9ccf8abab0884ea124a | 5,349 | cpp | C++ | cops/live/stitcher.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 115 | 2019-09-28T13:39:41.000Z | 2022-03-24T11:08:53.000Z | cops/live/stitcher.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 113 | 2019-10-08T23:51:29.000Z | 2021-12-12T06:47:38.000Z | cops/live/stitcher.cpp | jesec/livehd | 1a82dbea1d86dbd1511de588609de320aa4ef6ed | [
"BSD-3-Clause"
] | 44 | 2019-09-28T07:53:21.000Z | 2022-02-13T23:21:12.000Z | // This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#include "stitcher.hpp"
#include <fstream>
#include "lgedgeiter.hpp"
Live_stitcher::Live_stitcher(Stitch_pass_options &pack) {
std::ifstream invariant_file(pack.boundaries_name);
if (!invariant_file.good()) {
Pass::error(... | 40.832061 | 118 | 0.621051 | jesec |
3e7ccc6a681a1c231e4b59721ccb012140da6ba9 | 3,882 | hpp | C++ | include/boost/sql/sqlite3/statement.hpp | purpleKarrot/async-db | 172124e5657e3085e8ac7729c4e578c0d766bf7b | [
"BSL-1.0"
] | 5 | 2016-09-19T01:02:33.000Z | 2019-10-23T07:15:00.000Z | include/boost/sql/sqlite3/statement.hpp | purpleKarrot/async-db | 172124e5657e3085e8ac7729c4e578c0d766bf7b | [
"BSL-1.0"
] | null | null | null | include/boost/sql/sqlite3/statement.hpp | purpleKarrot/async-db | 172124e5657e3085e8ac7729c4e578c0d766bf7b | [
"BSL-1.0"
] | null | null | null | /**************************************************************
* Copyright (c) 2008-2009 Daniel Pfeifer *
* *
* Distributed under the Boost Software License, Version 1.0. *
**************************************************************/... | 23.245509 | 72 | 0.679289 | purpleKarrot |
3e7d513955fdfbaf8a2e691512a16bdbd4c986b2 | 14,658 | cpp | C++ | packages/worldModel/src/adapters/RTDB/RTDBInputAdapter.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 2 | 2021-01-15T13:27:19.000Z | 2021-08-04T08:40:52.000Z | packages/worldModel/src/adapters/RTDB/RTDBInputAdapter.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | null | null | null | packages/worldModel/src/adapters/RTDB/RTDBInputAdapter.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 5 | 2018-05-01T10:39:31.000Z | 2022-03-25T03:02:35.000Z | // Copyright 2018-2020 Erik Kouters (Falcons)
// SPDX-License-Identifier: Apache-2.0
/*
* RTDBInputAdapter.cpp
*
* Created on: Oct 27, 2018
* Author: Erik Kouters
*/
#include "int/adapters/RTDB/RTDBInputAdapter.hpp"
//
#include "falconsCommon.hpp" //getRobotNumber()
#include "cDiagnostics.hpp"
#include "tr... | 30.22268 | 142 | 0.640538 | Falcons-Robocup |
3e7f594166631fda651944638352170b813f1bff | 4,640 | cc | C++ | ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 8 | 2018-12-27T14:57:13.000Z | 2021-04-07T07:03:15.000Z | ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 1 | 2019-03-13T01:35:03.000Z | 2020-10-08T04:13:04.000Z | ThirdParty/webrtc/src/webrtc/modules/module_common_types_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 9 | 2018-12-28T11:45:12.000Z | 2021-05-11T02:15:31.000Z | /*
* Copyright (c) 2013 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... | 36.825397 | 71 | 0.794397 | JokeJoe8806 |
3e8061ee7533e989bc2a337b1a0e9729cd5c3e01 | 3,054 | hh | C++ | src/cpu/testers/rubytest/Check.hh | qianlong4526888/haha | 01baf923693873c11ae072ce4dde3d8f1d7b6239 | [
"BSD-3-Clause"
] | 31 | 2015-12-15T19:14:10.000Z | 2021-12-31T17:40:21.000Z | src/cpu/testers/rubytest/Check.hh | qianlong4526888/haha | 01baf923693873c11ae072ce4dde3d8f1d7b6239 | [
"BSD-3-Clause"
] | 5 | 2015-12-04T08:06:47.000Z | 2020-08-09T21:49:46.000Z | src/cpu/testers/rubytest/Check.hh | qianlong4526888/haha | 01baf923693873c11ae072ce4dde3d8f1d7b6239 | [
"BSD-3-Clause"
] | 21 | 2015-11-05T08:25:45.000Z | 2021-06-19T02:24:50.000Z | /*
* Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
* Copyright (c) 2009 Advanced Micro Devices, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source cod... | 33.56044 | 73 | 0.746562 | qianlong4526888 |
3e80868d61f6c0a06edc82eb9557b13b23b52905 | 1,690 | hpp | C++ | scsdk/c++/scsdk/standard_cyborg/algorithms/SparseICPWrapper.hpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | 7 | 2020-11-26T01:07:26.000Z | 2021-12-14T07:45:19.000Z | scsdk/c++/scsdk/standard_cyborg/algorithms/SparseICPWrapper.hpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | null | null | null | scsdk/c++/scsdk/standard_cyborg/algorithms/SparseICPWrapper.hpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 Standard Cyborg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 34.489796 | 179 | 0.712426 | StandardCyborg |
3e81eef6789f12a9471266f36902585d12d47230 | 979 | cpp | C++ | N0504-Base-7/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0504-Base-7/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | N0504-Base-7/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.000Z | //
// main.cpp
// LeetCode-Solution
//
// Created by Loyio Hex on 3/7/22.
//
#include <iostream>
#include <chrono>
#include <vector>
using namespace std;
using namespace std::chrono;
class Solution {
public:
string convertToBase7(int num) {
if(num == 0){
return "0";
}
stri... | 19.58 | 74 | 0.551583 | loyio |
3e83fbf1a50a5bcb95581fece8933e56120375c7 | 1,137 | hpp | C++ | Piscines/CPP/rush01/includes/CPUInfoModule.hpp | SpeedFireSho/42-1 | 5d7ce17910794a28ca44d937651b961feadcff11 | [
"MIT"
] | 84 | 2020-10-13T14:50:11.000Z | 2022-01-11T11:19:36.000Z | Piscines/CPP/rush01/includes/CPUInfoModule.hpp | SpeedFireSho/42-1 | 5d7ce17910794a28ca44d937651b961feadcff11 | [
"MIT"
] | null | null | null | Piscines/CPP/rush01/includes/CPUInfoModule.hpp | SpeedFireSho/42-1 | 5d7ce17910794a28ca44d937651b961feadcff11 | [
"MIT"
] | 43 | 2020-09-10T19:26:37.000Z | 2021-12-28T13:53:55.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* CPUInfoModule.hpp :+: :+: :+: ... | 42.111111 | 80 | 0.252419 | SpeedFireSho |
3e8766ecbb6b48b5761dc1b7777c997c6eb7aae6 | 1,081 | cc | C++ | vos/gui/sub/gui/datarange/DataRangeAutoCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/datarange/DataRangeAutoCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/datarange/DataRangeAutoCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | ////////////////////////////////////////////////////////////
// DataRangeAutoCmd.h: Set or clear automatic determination of
// data range in the image model.
///////////////////////////////////////////////////////////
#include "DataRangeAutoCmd.h"
#include "ImageData.h"
#include <stdint.h>
DataRangeAutoCmd::DataRangeA... | 23.5 | 81 | 0.572618 | NASA-AMMOS |
3e8a7bd062a12fc5eb6e1ef04fb28d58c0dc7fd6 | 8,268 | cpp | C++ | src/polybench/POLYBENCH_3MM-Hip.cpp | ajpowelsnl/RAJAPerf | f44641695203cd3bd3058315f356359f1b492ea3 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_3MM-Hip.cpp | ajpowelsnl/RAJAPerf | f44641695203cd3bd3058315f356359f1b492ea3 | [
"BSD-3-Clause"
] | null | null | null | src/polybench/POLYBENCH_3MM-Hip.cpp | ajpowelsnl/RAJAPerf | f44641695203cd3bd3058315f356359f1b492ea3 | [
"BSD-3-Clause"
] | null | null | null | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2017-21, Lawrence Livermore National Security, LLC
// and RAJA Performance Suite project contributors.
// See the RAJAPerf/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~... | 28.909091 | 121 | 0.572085 | ajpowelsnl |
3e8b64c8fca27b09782da4425693f1c179d193b0 | 3,613 | cpp | C++ | src/webots/vrml/WbMFDouble.cpp | awesome-archive/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | 2 | 2019-07-12T13:47:44.000Z | 2019-08-17T02:53:54.000Z | src/webots/vrml/WbMFDouble.cpp | golbh/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | null | null | null | src/webots/vrml/WbMFDouble.cpp | golbh/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | 1 | 2019-07-13T17:58:04.000Z | 2019-07-13T17:58:04.000Z | // Copyright 1996-2018 Cyberbotics 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 agr... | 26.181159 | 86 | 0.671741 | awesome-archive |
3e8ca4c94ff58c69f52b41574bb5ea3ec93d959d | 1,553 | hpp | C++ | models/AI-Model-Zoo/caffe-xilinx/include/caffe/layers/cudnn_batch_norm_layer.hpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | models/AI-Model-Zoo/caffe-xilinx/include/caffe/layers/cudnn_batch_norm_layer.hpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | models/AI-Model-Zoo/caffe-xilinx/include/caffe/layers/cudnn_batch_norm_layer.hpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | #ifndef CAFFE_CUDNN_BATCH_NORM_LAYER_HPP_
#define CAFFE_CUDNN_BATCH_NORM_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/layers/batch_norm_layer.hpp"
namespace caffe {
#ifdef USE_CUDNN
template <typename Dtype>
class CuDNNBatchNorm... | 29.865385 | 78 | 0.755312 | hito0512 |
3e8f42c0c5e2dc5056d9a7224973c90c72e28838 | 1,557 | cpp | C++ | source/Irrlicht/rtc/impl/verifiedtlstransport.cpp | MagicAtom/irrlicht-ce | b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d | [
"IJG"
] | null | null | null | source/Irrlicht/rtc/impl/verifiedtlstransport.cpp | MagicAtom/irrlicht-ce | b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d | [
"IJG"
] | null | null | null | source/Irrlicht/rtc/impl/verifiedtlstransport.cpp | MagicAtom/irrlicht-ce | b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d | [
"IJG"
] | null | null | null | /**
* Copyright (c) 2020 Paul-Louis Ageneau
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This ... | 34.6 | 100 | 0.739884 | MagicAtom |
3e8fd59645d671523f3ae245584a7fe10e48a5ef | 346 | cc | C++ | src/pks/flow/test/Main.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | 1 | 2021-02-23T18:34:47.000Z | 2021-02-23T18:34:47.000Z | src/pks/flow/test/Main.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | src/pks/flow/test/Main.cc | ajkhattak/amanzi | fed8cae6af3f9dfa5984381d34b98401c3b47655 | [
"RSA-MD"
] | null | null | null | #include <UnitTest++.h>
#include "Teuchos_GlobalMPISession.hpp"
#include "VerboseObject_objs.hh"
#include "state_evaluators_registration.hh"
#include "wrm_flow_registration.hh"
int main(int argc, char *argv[])
{
int res = 0;
{
Teuchos::GlobalMPISession mpiSession(&argc, &argv);
res = UnitTest::RunAllTest... | 18.210526 | 55 | 0.710983 | ajkhattak |
3e8fe50456914315af4f30b59c7229f4e01bb099 | 119 | cpp | C++ | ares/sfc/coprocessor/obc1/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/sfc/coprocessor/obc1/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/sfc/coprocessor/obc1/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | auto OBC1::serialize(serializer& s) -> void {
s(ram);
s(status.address);
s(status.baseptr);
s(status.shift);
}
| 17 | 45 | 0.638655 | CasualPokePlayer |
3e92c5dca9298e99d41b3d6c905fdae5661588e3 | 1,271 | hpp | C++ | GLSL-Pipeline/Toolkits/include/System/Action.hpp | GilFerraz/GLSL-Pipeline | d2fd965a4324e85b6144682f8104c306034057d6 | [
"Apache-2.0"
] | null | null | null | GLSL-Pipeline/Toolkits/include/System/Action.hpp | GilFerraz/GLSL-Pipeline | d2fd965a4324e85b6144682f8104c306034057d6 | [
"Apache-2.0"
] | null | null | null | GLSL-Pipeline/Toolkits/include/System/Action.hpp | GilFerraz/GLSL-Pipeline | d2fd965a4324e85b6144682f8104c306034057d6 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <functional>
#include "DLL.hpp"
namespace System
{
/**
* \brief Encapsulates a method that has specified parameters and does not return a value.
* \tparam Args The type of the parameters of the method that this delegate encapsulates.
*/
template<typename ...Args>
class... | 18.157143 | 94 | 0.631786 | GilFerraz |
3e9942ab0f2b963ee67db148deacdfce161447d1 | 2,188 | cc | C++ | flare/rpc/details/has_epollrdhup.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | 3 | 2022-01-23T17:55:24.000Z | 2022-03-23T12:55:18.000Z | flare/rpc/details/has_epollrdhup.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | null | null | null | flare/rpc/details/has_epollrdhup.cc | flare-rpc/flare-cpp | c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 30.388889 | 79 | 0.644424 | flare-rpc |
3e9a07746cfa9d86e5e733d2ccdf9beed64c1a60 | 6,354 | cpp | C++ | examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 70 | 2021-07-20T11:26:16.000Z | 2022-03-27T11:17:43.000Z | examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 32 | 2021-07-31T05:20:44.000Z | 2022-03-20T10:11:52.000Z | examples/11_locmesh/locsvcmesh/src/ServiceClient.cpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 40 | 2021-11-02T09:45:38.000Z | 2022-03-27T11:17:46.000Z | /************************************************************************
* \file ServiceClient.cpp
* \ingroup AREG Asynchronous Event-Driven Communication Framework examples
* \author Artak Avetyan
* \brief Collection of AREG SDK examples.
* This file contains simple implementat... | 42.644295 | 153 | 0.700661 | Ali-Nasrolahi |
3ea095a5175050b08de676cda6974a0c56422868 | 3,010 | cpp | C++ | dbms/programs/performance-test/ConfigPreprocessor.cpp | izebit/ClickHouse | 839acc948ec623fc1cb2dcf23dba86d8a81f992e | [
"Apache-2.0"
] | 1 | 2019-12-03T18:28:40.000Z | 2019-12-03T18:28:40.000Z | dbms/programs/performance-test/ConfigPreprocessor.cpp | izebit/ClickHouse | 839acc948ec623fc1cb2dcf23dba86d8a81f992e | [
"Apache-2.0"
] | null | null | null | dbms/programs/performance-test/ConfigPreprocessor.cpp | izebit/ClickHouse | 839acc948ec623fc1cb2dcf23dba86d8a81f992e | [
"Apache-2.0"
] | 1 | 2019-12-31T17:52:32.000Z | 2019-12-31T17:52:32.000Z | #include "ConfigPreprocessor.h"
#include <Core/Types.h>
#include <Poco/Path.h>
#include <regex>
namespace DB
{
std::vector<XMLConfigurationPtr> ConfigPreprocessor::processConfig(
const Strings & tests_tags,
const Strings & tests_names,
const Strings & tests_names_regexp,
const Strings & skip_tags,
c... | 33.076923 | 134 | 0.618937 | izebit |
3ea2676657baf94909ab0c33131c9da3eddbb632 | 7,324 | cpp | C++ | src/ai/weapons/missile.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 8 | 2018-04-03T23:06:33.000Z | 2021-12-28T18:04:19.000Z | src/ai/weapons/missile.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | null | null | null | src/ai/weapons/missile.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 1 | 2020-07-31T00:23:27.000Z | 2020-07-31T00:23:27.000Z | #include "missile.h"
#include "weapons.h"
#include "../../ObjManager.h"
#include "../../caret.h"
#include "../../trig.h"
#include "../../sound/sound.h"
#include "../../common/misc.h"
#include "../../game.h"
#include "../../player.h"
#include "../../autogen/sprites.h"
#define STATE_WAIT_RECOIL_OVER 1
#define STATE... | 26.157143 | 103 | 0.613736 | sodomon2 |
3ea41a2181bd732662ee203b7d2535b29143d086 | 1,746 | hpp | C++ | modules/core/restructuring/include/nt2/core/functions/along.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | 2 | 2016-09-14T00:23:53.000Z | 2018-01-14T12:51:18.000Z | modules/core/restructuring/include/nt2/core/functions/along.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/restructuring/include/nt2/core/functions/along.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"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.
// ... | 26.454545 | 80 | 0.592784 | pbrunet |
3ea41cb0ef6c7267287783073d38fa2857e83765 | 16,310 | hpp | C++ | Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp | MitkoDyakov/RED | 3bacb4df47867bbbf23c3c02d0ea1f8faa8d5779 | [
"MIT"
] | 15 | 2021-09-21T13:55:54.000Z | 2022-03-08T14:05:39.000Z | Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp | DynamixYANG/Roendi | 2f6703d63922071fd0dfc8e4d2c9bba95ea04f08 | [
"MIT"
] | 7 | 2021-09-22T07:56:52.000Z | 2022-03-21T17:39:34.000Z | Software/STM32CubeDemo/RotaryEncoderWithDisplay/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/canvas/Circle.hpp | DynamixYANG/Roendi | 2f6703d63922071fd0dfc8e4d2c9bba95ea04f08 | [
"MIT"
] | 1 | 2022-03-07T07:51:50.000Z | 2022-03-07T07:51:50.000Z | /******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.17.0 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of thi... | 33.150407 | 156 | 0.633415 | MitkoDyakov |
3ea66c0035b7a7c05090e3317f1862b8f5d21564 | 53,873 | cc | C++ | proto/rpc.pb.cc | Phantomape/paxos | d88ab88fa5b6c7d74b508580729c4dea4de6f180 | [
"MIT"
] | null | null | null | proto/rpc.pb.cc | Phantomape/paxos | d88ab88fa5b6c7d74b508580729c4dea4de6f180 | [
"MIT"
] | 5 | 2018-05-30T03:09:10.000Z | 2018-06-02T22:56:05.000Z | proto/rpc.pb.cc | Phantomape/paxos | d88ab88fa5b6c7d74b508580729c4dea4de6f180 | [
"MIT"
] | null | null | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "rpc.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/pro... | 34.600514 | 168 | 0.700704 | Phantomape |
3ea6ff1bed0cae338b925ecd2f50e466b26bb90f | 786 | cpp | C++ | test/main.cpp | billsioros/cpp-builder | 16a12a30f78d9214311c6768d29178300331c6f6 | [
"MIT"
] | 3 | 2019-03-11T16:34:37.000Z | 2020-05-08T20:22:35.000Z | test/main.cpp | billsioros/cpp-builder | 16a12a30f78d9214311c6768d29178300331c6f6 | [
"MIT"
] | null | null | null | test/main.cpp | billsioros/cpp-builder | 16a12a30f78d9214311c6768d29178300331c6f6 | [
"MIT"
] | null | null | null |
#include <point.hpp>
#include <vector>
#include <iostream>
#if defined (__ARBITARY__)
#include <cstdlib>
#include <ctime>
#define rand01 (static_cast<float>(std::rand()) / static_cast<float>(RAND_MAX))
#define frand(min, max) ((max - min) * rand01 + min)
#endif
#define SIZE (10UL)
int main()
... | 21.243243 | 83 | 0.583969 | billsioros |
3ea9ac90846e2a08614dbdf1312acaaeb792fc77 | 204 | hpp | C++ | 01-brickbreaker/src/brickbreaker/Entity.hpp | fmenozzi/games | f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36 | [
"MIT"
] | 2 | 2015-05-23T04:33:56.000Z | 2016-01-29T08:19:49.000Z | 01-brickbreaker/src/brickbreaker/Entity.hpp | fmenozzi/games | f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36 | [
"MIT"
] | 2 | 2015-05-23T03:33:36.000Z | 2015-05-23T04:22:26.000Z | 01-brickbreaker/src/brickbreaker/Entity.hpp | fmenozzi/games | f52dbfaf9c7bea76ad91c9ab104ac9d05e0d4b36 | [
"MIT"
] | 2 | 2015-05-23T03:39:12.000Z | 2020-05-04T13:03:02.000Z | #pragma once
#include <SFML/Graphics.hpp>
class Entity
{
public:
bool destroyed{false};
virtual ~Entity() {}
virtual void update() {}
virtual void draw(sf::RenderWindow& mTarget) {}
}; | 15.692308 | 51 | 0.651961 | fmenozzi |
3eaaa8a7c5ea3cb3670d3bf86a69676fd620cf89 | 204 | cpp | C++ | Source/RegionGrowing/Algorithm/SpaceMapping.cpp | timdecode/InteractiveElementPalettes | ea5b7fcd78f8413aa9c770788259fbb944d4778d | [
"MIT"
] | 1 | 2018-09-05T20:55:42.000Z | 2018-09-05T20:55:42.000Z | Source/RegionGrowing/Algorithm/SpaceMapping.cpp | timdecode/InteractiveDiscreteElementPalettes | ea5b7fcd78f8413aa9c770788259fbb944d4778d | [
"MIT"
] | null | null | null | Source/RegionGrowing/Algorithm/SpaceMapping.cpp | timdecode/InteractiveDiscreteElementPalettes | ea5b7fcd78f8413aa9c770788259fbb944d4778d | [
"MIT"
] | null | null | null | //
// SpaceMapping.cpp
// RegionGrowing
//
// Created by Timothy Davison on 2015-09-10.
// Copyright © 2015 EpicGames. All rights reserved.
//
#include "RegionGrowing.h"
#include "SpaceMapping.hpp"
| 17 | 52 | 0.70098 | timdecode |
3eac724bf6a9bf906b2d34cd64acc5e02587c14b | 235 | cpp | C++ | src/blend2d/pipeline/piperuntime.cpp | Daxaker/blend2d | e8128b663d40f5a590f7690868be419d19c4f933 | [
"Zlib"
] | 63 | 2016-04-06T19:30:32.000Z | 2018-09-28T10:56:54.000Z | src/blend2d/pipeline/piperuntime.cpp | Daxaker/blend2d | e8128b663d40f5a590f7690868be419d19c4f933 | [
"Zlib"
] | 1 | 2018-07-29T17:31:30.000Z | 2018-10-08T18:32:07.000Z | src/blend2d/pipeline/piperuntime.cpp | Daxaker/blend2d | e8128b663d40f5a590f7690868be419d19c4f933 | [
"Zlib"
] | null | null | null | // This file is part of Blend2D project <https://blend2d.com>
//
// See blend2d.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib
#include "../api-build_p.h"
#include "../pipeline/piperuntime_p.h"
| 29.375 | 68 | 0.731915 | Daxaker |
3eacf107d174a21181edeca324594fd06fc1b4a7 | 1,980 | cpp | C++ | level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/sysman/firmware/linux/os_firmware_imp_helper_prelim.cpp | mattcarter2017/compute-runtime | 1f52802aac02c78c19d5493dd3a2402830bbe438 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/tools/source/sysman/firmware/linux/os_firmware_imp.h"
const std::string iafPath = "device/";
const std::string iafDirectory = "iaf.";
const std::string pscbin_version = "/pscbin_version";
namespace L0 {
ze... | 35.357143 | 133 | 0.638889 | mattcarter2017 |
3eadd062b33b0c5fa6b004190c0220295624b71a | 2,221 | hpp | C++ | include/gui/pl_report.hpp | skybaboon/dailycashmanager | 0b022cc230a8738d5d27a799728da187e22f17f8 | [
"Apache-2.0"
] | 4 | 2016-07-05T07:42:07.000Z | 2020-07-15T15:27:22.000Z | include/gui/pl_report.hpp | skybaboon/dailycashmanager | 0b022cc230a8738d5d27a799728da187e22f17f8 | [
"Apache-2.0"
] | 1 | 2020-05-07T20:58:21.000Z | 2020-05-07T20:58:21.000Z | include/gui/pl_report.hpp | skybaboon/dailycashmanager | 0b022cc230a8738d5d27a799728da187e22f17f8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Matthew Harvey
*
* 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... | 24.955056 | 75 | 0.700585 | skybaboon |
3eadf1dc6cd860b1a61bdd91a759d119bb8ae4bf | 1,310 | cc | C++ | peridot/lib/scoped_tmpfs/scoped_tmpfs.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:50:57.000Z | 2019-10-09T10:50:57.000Z | peridot/lib/scoped_tmpfs/scoped_tmpfs.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 5 | 2020-09-06T09:02:06.000Z | 2022-03-02T04:44:22.000Z | peridot/lib/scoped_tmpfs/scoped_tmpfs.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "peridot/lib/scoped_tmpfs/scoped_tmpfs.h"
#include <lib/fdio/fd.h>
#include <lib/fdio/fdio.h>
#include <lib/fdio/directory.h>
#include <lib/fsl/i... | 29.772727 | 78 | 0.754962 | zhangpf |
3eb2b85c16cd6240ae45e722117965d60ada3733 | 11,947 | cpp | C++ | example/estimate_distance.cpp | hidmic/voxelized_geometry_tools | 5fd9d3e267411fa29c5aef4c809f7e47920a4e38 | [
"BSD-3-Clause"
] | null | null | null | example/estimate_distance.cpp | hidmic/voxelized_geometry_tools | 5fd9d3e267411fa29c5aef4c809f7e47920a4e38 | [
"BSD-3-Clause"
] | null | null | null | example/estimate_distance.cpp | hidmic/voxelized_geometry_tools | 5fd9d3e267411fa29c5aef4c809f7e47920a4e38 | [
"BSD-3-Clause"
] | null | null | null | #include <common_robotics_utilities/print.hpp>
#include <voxelized_geometry_tools/collision_map.hpp>
#include <voxelized_geometry_tools/signed_distance_field.hpp>
#include <voxelized_geometry_tools/ros_interface.hpp>
#include <ros/ros.h>
#include <visualization_msgs/MarkerArray.h>
#include <functional>
#include <common... | 53.573991 | 149 | 0.690131 | hidmic |
3eb4cab840da02016921d9de65efb32c1575deb1 | 10,006 | cpp | C++ | libcxx/test/libcxx/atomics/diagnose_invalid_memory_order.verify.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 605 | 2019-10-18T01:15:54.000Z | 2022-03-31T14:31:04.000Z | libcxx/test/libcxx/atomics/diagnose_invalid_memory_order.verify.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 3,180 | 2019-10-18T01:21:21.000Z | 2022-03-31T23:25:41.000Z | libcxx/test/libcxx/atomics/diagnose_invalid_memory_order.verify.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | 275 | 2019-10-18T05:27:22.000Z | 2022-03-30T09:04:21.000Z | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 77.565891 | 202 | 0.722566 | LaudateCorpus1 |
3eb7436ee2e55d950e5d200c517d7b44d8b60767 | 23,471 | cpp | C++ | WebKit/Source/WebCore/platform/graphics/win/FontCacheWin.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/WebCore/platform/graphics/win/FontCacheWin.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/WebCore/platform/graphics/win/FontCacheWin.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this li... | 38.859272 | 181 | 0.688637 | JavaScriptTesting |
3ebb3209daa32a16689d01384a068c4e7484827e | 62,085 | cpp | C++ | src/js/vm/Stack.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 149 | 2018-12-23T09:08:00.000Z | 2022-02-02T09:18:38.000Z | src/js/vm/Stack.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | null | null | null | src/js/vm/Stack.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 56 | 2018-12-23T18:11:40.000Z | 2021-11-30T13:18:17.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 27.617883 | 105 | 0.611774 | fengjixuchui |
3ebba1ab57bf72d57f2d7d43ebf86db0531aaf6a | 863 | cpp | C++ | analyzer/libs/z3/src/test/proof_checker.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 23 | 2016-01-06T07:01:46.000Z | 2022-02-12T15:53:20.000Z | analyzer/libs/z3/src/test/proof_checker.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 1 | 2019-04-02T00:42:29.000Z | 2019-04-02T00:42:29.000Z | analyzer/libs/z3/src/test/proof_checker.cpp | oslab-swrc/juxta | 481cd6f01e87790041a07379805968bcf57d75f4 | [
"MIT"
] | 16 | 2016-01-06T07:01:46.000Z | 2021-11-29T11:43:16.000Z | #include "proof_checker.h"
#include "ast_ll_pp.h"
void tst_checker1() {
ast_manager m(PGM_FINE);
expr_ref a(m);
proof_ref p1(m), p2(m), p3(m), p4(m);
bool result;
expr_ref_vector side_conditions(m);
a = m.mk_const(symbol("a"), m.mk_bool_sort());
p1 = m.mk_hypothesis(a.get());
p2 = m.mk... | 28.766667 | 67 | 0.606025 | oslab-swrc |