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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e770921b9fe4c70049212ece9cfdbd42d8745619 | 203 | hpp | C++ | NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/ZSTD_optimal_t.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
struct ZSTD_optimal_t
{
int32_t price;
uint32_t off;
uint32_t mlen;
uint32_t litlen;
uint32_t rep[3];
};
}
}
| 9.666667 | 21 | 0.655172 | Qowyn |
e7718931c7603c0a13a9f82cce8c46501ba41d49 | 2,006 | hpp | C++ | modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 7,158 | 2016-07-04T22:19:27.000Z | 2022-03-31T07:54:32.000Z | modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 2,184 | 2016-07-05T12:04:14.000Z | 2022-03-30T19:10:12.000Z | modules/wechat_qrcode/src/zxing/qrcode/decoder/qrcode_decoder_metadata.hpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 5,535 | 2016-07-06T12:01:10.000Z | 2022-03-31T03:13:24.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.
//
// Tencent is pleased to support the open source community by making WeChat QRCode available.
// Copyright (C) 2020 THL A29... | 30.861538 | 93 | 0.699402 | ptelang |
e7734fb36b4dc0a8e8a6182b63aceab7658aa031 | 210 | cpp | C++ | src/Gui.cpp | gw2-addon-loader/example_addon | fe363ac31f174ca87ff1f93c74107c95d95f2acf | [
"MIT"
] | 2 | 2020-08-17T17:33:23.000Z | 2021-02-23T01:35:28.000Z | src/Gui.cpp | gw2-addon-loader/example_addon | fe363ac31f174ca87ff1f93c74107c95d95f2acf | [
"MIT"
] | null | null | null | src/Gui.cpp | gw2-addon-loader/example_addon | fe363ac31f174ca87ff1f93c74107c95d95f2acf | [
"MIT"
] | 1 | 2021-02-07T06:59:45.000Z | 2021-02-07T06:59:45.000Z | #include "stdafx.h"
void Gui::init()
{
//CHANGE ME
}
void Gui::draw()
{
//CHANGE ME
ImGui::Begin("Hello world window");
ImGui::Text("Hello world!");
ImGui::End();
}
void Gui::deinit()
{
//CHANGE ME
}
| 10 | 36 | 0.6 | gw2-addon-loader |
e7775fc9db1eb0678b2ef081eae1001f916bcfd7 | 2,712 | cpp | C++ | web/user-guide/misc/empty.cpp | Alexis-ROYER/CLI | dc4d77aa0ad41c2de989b708d6aea931d1194070 | [
"BSD-3-Clause"
] | null | null | null | web/user-guide/misc/empty.cpp | Alexis-ROYER/CLI | dc4d77aa0ad41c2de989b708d6aea931d1194070 | [
"BSD-3-Clause"
] | null | null | null | web/user-guide/misc/empty.cpp | Alexis-ROYER/CLI | dc4d77aa0ad41c2de989b708d6aea931d1194070 | [
"BSD-3-Clause"
] | null | null | null | //! @file
//! @author cli2cpp.py - CLI library 2.9 (Alexis Royer, http://alexis.royer.free.fr/CLI/)
//! @date 2018-03-14T19:03:42.485341
//! @warning File auto-generated by 'cli2cpp.py' - Do not edit!
// ----- Pre-compiled headers -----
#include "cli/pch.h"
// ----- Extra cpp (option='head') -----
// ----- Includes ... | 30.133333 | 214 | 0.54351 | Alexis-ROYER |
e777a9a9d46289b7b4de9f733218cf8a52f545bb | 3,355 | cc | C++ | xpp_vis/src/cartesian_joint_converter.cc | innorobotics/xpp | 5527b2820247c712dba622872a15f0242c2c60ed | [
"BSD-3-Clause"
] | 243 | 2017-11-08T17:10:59.000Z | 2022-03-29T12:56:51.000Z | xpp_vis/src/cartesian_joint_converter.cc | innorobotics/xpp | 5527b2820247c712dba622872a15f0242c2c60ed | [
"BSD-3-Clause"
] | 13 | 2017-12-22T13:13:53.000Z | 2021-06-05T12:24:50.000Z | xpp_vis/src/cartesian_joint_converter.cc | innorobotics/xpp | 5527b2820247c712dba622872a15f0242c2c60ed | [
"BSD-3-Clause"
] | 91 | 2017-10-27T23:27:24.000Z | 2022-02-02T07:38:09.000Z | /******************************************************************************
Copyright (c) 2017, Alexander W. Winkler. 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... | 43.571429 | 94 | 0.716542 | innorobotics |
e77a18b8dec6bc29bf8852e6ccd3dc02905ad0eb | 2,977 | cpp | C++ | OfficeAutomation/OfficeDoc.cpp | anboto/Anboto | fc40730e87b85bba4d9387724fcece7e98069843 | [
"Apache-2.0"
] | 8 | 2021-02-28T12:07:43.000Z | 2021-11-14T19:40:45.000Z | OfficeAutomation/OfficeDoc.cpp | anboto/Anboto | fc40730e87b85bba4d9387724fcece7e98069843 | [
"Apache-2.0"
] | 8 | 2021-03-20T10:46:58.000Z | 2022-01-27T19:50:32.000Z | OfficeAutomation/OfficeDoc.cpp | anboto/Anboto | fc40730e87b85bba4d9387724fcece7e98069843 | [
"Apache-2.0"
] | 1 | 2021-08-20T09:15:18.000Z | 2021-08-20T09:15:18.000Z | // SPDX-License-Identifier: Apache-2.0
// Copyright 2021 - 2021, the Anboto author and contributors
#ifdef _WIN32
#include <Core/Core.h>
using namespace Upp;
#include <Functions4U/Functions4U.h>
#include "OfficeAutomation.h"
#include "OfficeAutomationBase.h"
OfficeDoc::OfficeDoc() {
Ole::Init();
}
OfficeDoc::~O... | 36.753086 | 130 | 0.723547 | anboto |
e77b6c641e1196c6e5cd28895c4ca892374e57b5 | 4,641 | cc | C++ | device/bluetooth/test/fake_radio_winrt.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | device/bluetooth/test/fake_radio_winrt.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | device/bluetooth/test/fake_radio_winrt.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/test/fake_radio_winrt.h"
#include <utility>
#include "base/bind.h"
#include "base/test/bind_test_util.h"
#include "base/threa... | 32.229167 | 80 | 0.743374 | sarang-apps |
e77c084654c918417dd4ed9fcde9b95cc2e98347 | 1,203 | hpp | C++ | framework/Shape.hpp | Snoopyxxel/programmiersprachen-raytracer | 243765de0e5814cb20930046f6fc14a9faf87e49 | [
"MIT"
] | null | null | null | framework/Shape.hpp | Snoopyxxel/programmiersprachen-raytracer | 243765de0e5814cb20930046f6fc14a9faf87e49 | [
"MIT"
] | null | null | null | framework/Shape.hpp | Snoopyxxel/programmiersprachen-raytracer | 243765de0e5814cb20930046f6fc14a9faf87e49 | [
"MIT"
] | null | null | null | #ifndef RAYTRACER_SHAPE_HPP
#define RAYTRACER_SHAPE_HPP
#include <string>
#include <ostream>
#include "color.hpp"
#include "ray.hpp"
#include "hitpoint.hpp"
#include <glm/vec3.hpp>
#include <glm/glm.hpp>
#include <memory>
class Shape {
public:
Shape();
Shape(std::string const &name, std::shared_ptr<Material>... | 22.277778 | 94 | 0.689111 | Snoopyxxel |
e7810d645c6cbc876b3f012a557bf0e88dd801a4 | 570 | cpp | C++ | src/Hardware.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | 2 | 2021-04-06T21:23:06.000Z | 2021-11-07T09:52:00.000Z | src/Hardware.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | null | null | null | src/Hardware.cpp | pigatron-industries/xen_algorhythm | 3b4cd0fcbffeb36c52e9f1b7530bb1be52811101 | [
"Unlicense"
] | null | null | null | #include "Hardware.h"
Hardware Hardware::hw = Hardware();
void Hardware::init() {
for(int i = 0; i < GATE_OUTPUTS; i++) {
gateOutputs[i]->init();
}
for(int i = 0; i < GATE_OUTPUTS; i++) {
gateOutputs[i]->digitalWrite(false);
}
mcp23s17Device.gpioPortUpdate(); // TODO move to send... | 23.75 | 72 | 0.621053 | pigatron-industries |
e782f9f1e521157b6ee1fde87099d877ac318ba0 | 2,433 | cpp | C++ | src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp | lukasdurfina/retdec | 7d6b8882690ff73c2bd7f209db10c5c091fa0359 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 1 | 2020-03-28T02:38:53.000Z | 2020-03-28T02:38:53.000Z | src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp | lukasdurfina/retdec | 7d6b8882690ff73c2bd7f209db10c5c091fa0359 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | null | null | null | src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp | lukasdurfina/retdec | 7d6b8882690ff73c2bd7f209db10c5c091fa0359 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | null | null | null | /**
* @file src/fileinfo/file_information/file_information_types/relocation_table/relocation.cpp
* @brief Class for one relocation.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "fileinfo/file_information/file_information_types/relocation_table/relocation.h"
#include "fileinfo/fi... | 19.942623 | 93 | 0.738594 | lukasdurfina |
e787c3be6020b2f1bf44daf0bdeec433ebfce663 | 497 | cpp | C++ | Answer/ans_code_and_note/chapter3/test.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter3/test.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter3/test.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
bool myfunction(string i, string j)
{
return (i.length() < j.length());
}
int main(void)
{
string myints[] = {"hello", "world", "i", "love"};
vector<string> myvec(myints, myints + 4);
sort(myvec.begin(),... | 19.88 | 80 | 0.583501 | seanleecn |
e7886ae5992f5605081d2afb9617876cb583ffcf | 50,956 | cpp | C++ | OgreMain/src/OgreHlmsTextureManager.cpp | osrf/ogre-2.1 | 936179ce97c755d357222a5642f38c70bd0a142b | [
"MIT"
] | 4 | 2018-11-12T02:18:44.000Z | 2020-09-03T12:16:14.000Z | OgreMain/src/OgreHlmsTextureManager.cpp | osrf/ogre-2.1 | 936179ce97c755d357222a5642f38c70bd0a142b | [
"MIT"
] | 2 | 2020-12-01T18:20:39.000Z | 2021-02-09T21:04:25.000Z | OgreMain/src/OgreHlmsTextureManager.cpp | osrf/ogre-2.1 | 936179ce97c755d357222a5642f38c70bd0a142b | [
"MIT"
] | 3 | 2020-10-15T15:11:41.000Z | 2021-04-04T03:38:54.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | 47.666978 | 122 | 0.466932 | osrf |
e788b039eddcd475e3c855784a2810e79f4ca023 | 1,088 | cpp | C++ | LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | 2 | 2021-01-06T20:43:59.000Z | 2021-01-11T15:42:59.000Z | LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | LeetCode Problem-Set/42. Trapping Rain Water (Hard)/Solution1.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | // OJ: https://leetcode.com/problems/trapping-rain-water/
// Author: github.com/lzl124631x
// Time: O(N)
// Space: O(N)
class Solution {
public:
int trap(vector<int>& A) {
int N = A.size(), ans = 0;
vector<int> left(N, 0), right(N, 0);
for (int i = 1; i < N; ++i)
left[i] = max(l... | 27.897436 | 80 | 0.463235 | ankuralld5999 |
e788ea11cc54794e66f0671dad22a3a6197f3711 | 29,399 | cpp | C++ | src/VkRenderer/SceneObject.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | 2 | 2020-05-31T19:54:19.000Z | 2021-09-14T12:00:12.000Z | src/VkRenderer/SceneObject.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | src/VkRenderer/SceneObject.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | #include "SceneObject.hpp"
#include "CommandBuffer.hpp"
#include "Material.hpp"
#include "RenderWindow.hpp"
#include "Scene.hpp"
#include "StandardMesh.hpp"
#include <iostream>
namespace cdm
{
SceneObject::Pipeline::Pipeline(Scene& s, StandardMesh& mesh,
MaterialInterface... | 36.250308 | 80 | 0.734379 | WubiCookie |
e789f101a30695ea8fd618c0a1081aede2dce299 | 8,283 | cpp | C++ | pxr/usd/usd/testenv/testUsdInstancingCpp.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 3,680 | 2016-07-26T18:28:11.000Z | 2022-03-31T09:55:05.000Z | pxr/usd/usd/testenv/testUsdInstancingCpp.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 1,759 | 2016-07-26T19:19:59.000Z | 2022-03-31T21:24:00.000Z | pxr/usd/usd/testenv/testUsdInstancingCpp.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 904 | 2016-07-26T18:33:40.000Z | 2022-03-31T09:55:16.000Z | //
// Copyright 2020 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 37.143498 | 80 | 0.716045 | DougRogers-DigitalFish |
e78a81ecc6bce9fb6fd3c3a29b1da0dd0dec9615 | 33,645 | cpp | C++ | src/utilities/QuadratureUtil.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | src/utilities/QuadratureUtil.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | src/utilities/QuadratureUtil.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | #include "QuadratureUtil.h"
#include <iostream>
#include <math.h>
#include <assert.h>
using namespace std;
void getGaussPoints1D(int ngp, vector<double>& gausspoints, vector<double>& gaussweights)
{
//cout << " ngp = " << ngp << endl;
gausspoints.resize(ngp);
gaussweights.resize(ngp);
switch(ngp)
{
... | 38.407534 | 123 | 0.580205 | chennachaos |
e78a973ae6efaf290a7a8194e5fc183ed541bc7f | 7,155 | cpp | C++ | src/IntaRNA/InteractionEnergyVrna.cpp | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | null | null | null | src/IntaRNA/InteractionEnergyVrna.cpp | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | 1 | 2019-06-27T07:39:05.000Z | 2019-06-27T11:10:52.000Z | src/IntaRNA/InteractionEnergyVrna.cpp | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | null | null | null |
#include "IntaRNA/InteractionEnergyVrna.h"
#include <cassert>
#include <set>
// ES computation
extern "C" {
#include <ViennaRNA/fold_vars.h>
#include <ViennaRNA/fold.h>
#include <ViennaRNA/part_func.h>
#include <ViennaRNA/structure_utils.h>
#include <ViennaRNA/utils.h>
}
namespace IntaRNA {
//////////////////... | 29.085366 | 118 | 0.647939 | fabio-gut |
e78c5b5141258512a2b1569e23b3c19418c75d1f | 497 | cpp | C++ | AcWing/LeetCode究极班/565.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 7 | 2019-02-25T13:15:00.000Z | 2021-12-21T22:08:39.000Z | AcWing/LeetCode究极班/565.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | null | null | null | AcWing/LeetCode究极班/565.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 1 | 2019-04-03T06:12:46.000Z | 2019-04-03T06:12:46.000Z | class Solution {
public:
int arrayNesting(vector<int>& nums) {
int res = 0;
for (int i = 0; i < nums.size(); i ++ ) {
if (nums[i] != -1) {
int j = i, s = 0; // 对没遍历过的点遍历一下环
while (nums[j] != -1) {
s ++ ;
int next = n... | 26.157895 | 49 | 0.307847 | LauZyHou |
e78da99d3ff6a31a9e2a9cb5a3caf8571c98626c | 1,050 | cpp | C++ | core/connection.cpp | shakthi-prashanth-m/DroneCore | 63f204beab14d3305068db17b8f7968bfddf39aa | [
"BSD-3-Clause"
] | 1 | 2019-06-16T23:50:37.000Z | 2019-06-16T23:50:37.000Z | core/connection.cpp | peterbarker/DroneCore | d0c47bb3c749738feb9d04db807e9fba93c7688e | [
"BSD-3-Clause"
] | null | null | null | core/connection.cpp | peterbarker/DroneCore | d0c47bb3c749738feb9d04db807e9fba93c7688e | [
"BSD-3-Clause"
] | null | null | null | #include "connection.h"
#include "dronecore_impl.h"
#include "mavlink_channels.h"
#include "global_include.h"
namespace dronecore {
Connection::Connection(DroneCoreImpl &parent) :
_parent(parent),
_mavlink_receiver() {}
Connection::~Connection()
{
// Just in case a specific connection didn't call it alre... | 22.826087 | 71 | 0.72 | shakthi-prashanth-m |
e78efc5ed99af925d673839374d396cd1434169f | 3,255 | hpp | C++ | tools/Vitis-AI-Library/rcan/include/vitis/ai/rcan.hpp | bluetiger9/Vitis-AI | a7728733bbcfc292ff3afa46b9c8b03e94b740b3 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Library/rcan/include/vitis/ai/rcan.hpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Library/rcan/include/vitis/ai/rcan.hpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | /*
* Copyright 2019 Xilinx Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 26.900826 | 78 | 0.656528 | bluetiger9 |
e790c329036965309267d731546bf41618e035ee | 1,115 | cc | C++ | example/user_profile_request_handler.cc | chao-he/tictac | 13b4b0289e8ac8e1d1764f99152ad0327ffa93d4 | [
"Apache-2.0"
] | null | null | null | example/user_profile_request_handler.cc | chao-he/tictac | 13b4b0289e8ac8e1d1764f99152ad0327ffa93d4 | [
"Apache-2.0"
] | null | null | null | example/user_profile_request_handler.cc | chao-he/tictac | 13b4b0289e8ac8e1d1764f99152ad0327ffa93d4 | [
"Apache-2.0"
] | null | null | null |
#include "core/connection.h"
#include "user_profile_request_handler.h"
#include "index_service.h"
#include "query_service.h"
#include "userprofile.pb.h"
void UserProfileRequestHandler::DoGet(RedisRequest* request, Connection* conn) {
auto& uid = request->arguments(0);
auto& qs = QueryService::Instance();
RecoUs... | 30.972222 | 90 | 0.687892 | chao-he |
e7914c3227dd7fed38768da5ce971a1fe43ec8dd | 1,187 | cc | C++ | net/tools/transport_security_state_generator/spki_hash.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/tools/transport_security_state_generator/spki_hash.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/tools/transport_security_state_generator/spki_hash.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "net/tools/transport_security_state_generator/spki_hash.h"
#include <string>
#include "base/base64.h"
#include "base/logging.h"
#include "base/... | 23.27451 | 78 | 0.712721 | metux |
e796b0390eee58d6c4eb9c4b6343d1740e85f708 | 606 | hpp | C++ | src/dynamics/object.hpp | brysonjones/dynamics_sim | 201bdf0a93d00addc585ffa47f280cffacebb9b3 | [
"MIT"
] | null | null | null | src/dynamics/object.hpp | brysonjones/dynamics_sim | 201bdf0a93d00addc585ffa47f280cffacebb9b3 | [
"MIT"
] | null | null | null | src/dynamics/object.hpp | brysonjones/dynamics_sim | 201bdf0a93d00addc585ffa47f280cffacebb9b3 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <autodiff/forward/real.hpp>
#include <autodiff/forward/real/eigen.hpp>
#include <Eigen/Dense>
#include <Eigen/Core>
#include "rotation.hpp"
// using namespace autodiff;
using namespace Eigen;
class Object {
public:
Object();
virtual autodiff::real U(const autodiff::... | 22.444444 | 96 | 0.643564 | brysonjones |
e79a0ac49e4b01e4d92fd1ac5a33564b41985387 | 3,027 | cpp | C++ | src/qt/tokentransactionrecord.cpp | rlinxy/fcore | 652288940bd27ecbad69c0366bba20ad0f7515b6 | [
"MIT"
] | 1 | 2021-04-29T16:38:46.000Z | 2021-04-29T16:38:46.000Z | src/qt/tokentransactionrecord.cpp | rlinxy/fcore | 652288940bd27ecbad69c0366bba20ad0f7515b6 | [
"MIT"
] | null | null | null | src/qt/tokentransactionrecord.cpp | rlinxy/fcore | 652288940bd27ecbad69c0366bba20ad0f7515b6 | [
"MIT"
] | 1 | 2019-10-22T08:16:36.000Z | 2019-10-22T08:16:36.000Z | #include <tokentransactionrecord.h>
#include <base58.h>
#include <consensus/consensus.h>
#include <validation.h>
#include <timedata.h>
#include <wallet/wallet.h>
#include <stdint.h>
/*
* Decompose CWallet transaction to model transaction records.
*/
QList<TokenTransactionRecord> TokenTransactionRecord::decomposeTr... | 25.436975 | 134 | 0.61447 | rlinxy |
e79a8850483827fe6ef96d843e5a14b076bbd40b | 2,124 | hpp | C++ | src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp | RMaron/mlpack | a179a2708d9555ab7ee4b1e90e0c290092edad2e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp | RMaron/mlpack | a179a2708d9555ab7ee4b1e90e0c290092edad2e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic.hpp | RMaron/mlpack | a179a2708d9555ab7ee4b1e90e0c290092edad2e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | /**
* @file r_tree_descent_heuristic.hpp
* @author Andrew Wells
*
* Definition of RTreeDescentHeuristic, a class that chooses the best child of a
* node in an R tree when inserting a new point.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. ... | 33.1875 | 80 | 0.718456 | RMaron |
e79bb907214e7600470605f83640d05da78da46f | 27,585 | cpp | C++ | core/run/jobs/SimulationJobs.cpp | pavelsevecek/OpenSPH | d547c0af6270a739d772a4dcba8a70dc01775367 | [
"MIT"
] | 20 | 2021-04-02T04:30:08.000Z | 2022-03-01T09:52:01.000Z | core/run/jobs/SimulationJobs.cpp | pavelsevecek/OpenSPH | d547c0af6270a739d772a4dcba8a70dc01775367 | [
"MIT"
] | null | null | null | core/run/jobs/SimulationJobs.cpp | pavelsevecek/OpenSPH | d547c0af6270a739d772a4dcba8a70dc01775367 | [
"MIT"
] | 1 | 2022-01-22T11:44:52.000Z | 2022-01-22T11:44:52.000Z | #include "run/jobs/SimulationJobs.h"
#include "gravity/AggregateSolver.h"
#include "io/LogWriter.h"
#include "io/Logger.h"
#include "io/Output.h"
#include "run/IRun.h"
#include "run/SpecialEntries.h"
#include "sph/solvers/StabilizationSolver.h"
NAMESPACE_SPH_BEGIN
/// \todo generailize, add generic triggers to UI
cla... | 49.702703 | 110 | 0.701939 | pavelsevecek |
e7a3a909df2aa0d7fcaa7df76d31371537250bc0 | 2,535 | cpp | C++ | src/manager/initial-values/xml-utils.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | 10 | 2015-06-02T09:16:16.000Z | 2022-03-18T11:30:21.000Z | src/manager/initial-values/xml-utils.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | null | null | null | src/manager/initial-values/xml-utils.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | 6 | 2017-01-28T04:21:33.000Z | 2022-02-07T03:25:43.000Z | /*
* Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd 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
... | 25.606061 | 78 | 0.646154 | Samsung |
e7a5d630bb54dff331aabbf8fa33f0f3ac2f5094 | 1,453 | cpp | C++ | test/ci_app_tests/ci_test_macros.cpp | daboehme/Caliper | 38e2fc9a703601801ea8223a0bbd53795b6a0a3a | [
"BSD-3-Clause"
] | null | null | null | test/ci_app_tests/ci_test_macros.cpp | daboehme/Caliper | 38e2fc9a703601801ea8223a0bbd53795b6a0a3a | [
"BSD-3-Clause"
] | null | null | null | test/ci_app_tests/ci_test_macros.cpp | daboehme/Caliper | 38e2fc9a703601801ea8223a0bbd53795b6a0a3a | [
"BSD-3-Clause"
] | null | null | null | // --- Caliper continuous integration test app for basic trace test
#define _XOPEN_SOURCE
#include <unistd.h> /* usleep */
#include "caliper/cali.h"
#include "caliper/cali-manager.h"
#include <string>
// test C and C++ macros
void foo(int count, int sleep_usec)
{
CALI_CXX_MARK_FUNCTION;
CALI_MARK_BEGIN("p... | 19.90411 | 67 | 0.600826 | daboehme |
e7a94c5246962d4e68054e4b3d933b461ecbfd0f | 242 | cpp | C++ | busplan/time_line.cpp | gonmator/busplan | 5845b63b16741dd0472cbba1ba028bdfdcfe0e3f | [
"MIT"
] | null | null | null | busplan/time_line.cpp | gonmator/busplan | 5845b63b16741dd0472cbba1ba028bdfdcfe0e3f | [
"MIT"
] | null | null | null | busplan/time_line.cpp | gonmator/busplan | 5845b63b16741dd0472cbba1ba028bdfdcfe0e3f | [
"MIT"
] | null | null | null | #include "time_line.hpp"
TimeLine applyDurations(const DifTimeLine& dtline, Time start) {
TimeLine rv{start};
for (auto duration: dtline.durations) {
start += duration;
rv.push_back(start);
}
return rv;
}
| 20.166667 | 64 | 0.636364 | gonmator |
e7ac4f836e9d104a170b2a09124fd497d5fc4d26 | 1,224 | cpp | C++ | 2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp | gnanakeethan/cpp | 51f779d9981eb4644f6a5e6e923ba68585be7988 | [
"CC0-1.0"
] | null | null | null | 2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp | gnanakeethan/cpp | 51f779d9981eb4644f6a5e6e923ba68585be7988 | [
"CC0-1.0"
] | null | null | null | 2017-08-04 Formatting-Exercise-Cout-Iomanip/formatting-ex-cout.cpp | gnanakeethan/cpp | 51f779d9981eb4644f6a5e6e923ba68585be7988 | [
"CC0-1.0"
] | null | null | null | #include <iostream>
using namespace std;
int main (void){
double up,qty,discr,total,disct,payable;
int width =20;
cout.width(width);
cout.setf(ios::left);
return 0;
cout << "Enter Unit Price" << ": ";
cin >> up;
cout.width(width);
cout.setf(ios::left);
cout << "Enter Quantity" << ":... | 20.065574 | 100 | 0.553922 | gnanakeethan |
e7ad08c7d20b2dbec56a4e6238792f478bcb2d24 | 6,051 | cpp | C++ | third_party/skia_m84/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/DisplayVkWin32.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m84/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/DisplayVkWin32.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m84/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/DisplayVkWin32.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | //
// Copyright 2016 The ANGLE 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.
//
// DisplayVkWin32.cpp:
// Implements the class methods for DisplayVkWin32.
//
#include "libANGLE/renderer/vulkan/win32/DisplayVkWin32.h"
#in... | 33.430939 | 100 | 0.673112 | kniefliu |
e7afb45ed02cf6f452b208525637e261e33fb82c | 232 | cpp | C++ | swig-jni/cpplib/src/main/cpp/cpplib.cpp | dickensas/kotlin-gradle-templates | dc738b9fac053ef62381ecbe88add6f6fe949fe3 | [
"MIT"
] | 54 | 2019-11-12T03:55:12.000Z | 2022-03-20T14:28:02.000Z | swig-jni/cpplib/src/main/cpp/cpplib.cpp | dickensas/kotlin-gradle-templates | dc738b9fac053ef62381ecbe88add6f6fe949fe3 | [
"MIT"
] | 2 | 2020-07-31T10:50:54.000Z | 2021-01-08T06:16:28.000Z | swig-jni/cpplib/src/main/cpp/cpplib.cpp | dickensas/kotlin-gradle-templates | dc738b9fac053ef62381ecbe88add6f6fe949fe3 | [
"MIT"
] | 14 | 2019-12-05T12:55:43.000Z | 2022-03-10T00:47:15.000Z | /*
* This C++ source file was generated by the Gradle 'init' task.
*/
#include <iostream>
#include <stdlib.h>
#include "cpplib.h"
std::string jniexample::Greeter::greeting() {
return std::string("Hello, World! From C++");
}
| 19.333333 | 64 | 0.659483 | dickensas |
e7afbd5ed6f7ffe5bbdcaee1b8696d62c798252c | 31,985 | cpp | C++ | src/expr/internal_functions.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | src/expr/internal_functions.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | src/expr/internal_functions.cpp | raptium/BaikalDB | cbc306bf3a1c709a93f191fdd389fb14eac0952f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-present Baidu, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 27.175021 | 92 | 0.565421 | raptium |
e7b01a167b81d2411ed0648ce0f5c2af04c597a5 | 44,745 | cpp | C++ | sqldata/sqlmysqlapi.cpp | strk/sqlines | 82676a3b672bc218a024712abeb85279ae75495c | [
"Apache-2.0"
] | null | null | null | sqldata/sqlmysqlapi.cpp | strk/sqlines | 82676a3b672bc218a024712abeb85279ae75495c | [
"Apache-2.0"
] | null | null | null | sqldata/sqlmysqlapi.cpp | strk/sqlines | 82676a3b672bc218a024712abeb85279ae75495c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2016 SQLines
*
* 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 ... | 25.109428 | 144 | 0.674086 | strk |
e7b17965c6952e8f46fb8925e54fe64ff7be608e | 202 | cpp | C++ | Problems_Beginner1/Problem_1002.cpp | gustavocabralsouza/Programacao_Competitiva | 9b568cf968e6543ddeb12d626303cd53845a9ded | [
"MIT"
] | null | null | null | Problems_Beginner1/Problem_1002.cpp | gustavocabralsouza/Programacao_Competitiva | 9b568cf968e6543ddeb12d626303cd53845a9ded | [
"MIT"
] | null | null | null | Problems_Beginner1/Problem_1002.cpp | gustavocabralsouza/Programacao_Competitiva | 9b568cf968e6543ddeb12d626303cd53845a9ded | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
double raio, pi, area;
pi = 3.14159;
scanf("%lf",&raio);
area = pi * raio * raio;
printf("A=%.4lf\n", area);
return 0;
}
| 12.625 | 28 | 0.549505 | gustavocabralsouza |
e7b2954bdd06225b432c5a29b00ab21a48dbba81 | 8,739 | cc | C++ | cpp/src/gandiva/projector.cc | jblondin/arrow | 319effd98e6d1d4282751471ebefaf325b0df09f | [
"Apache-2.0"
] | 1 | 2021-07-07T07:13:51.000Z | 2021-07-07T07:13:51.000Z | cpp/src/gandiva/projector.cc | jblondin/arrow | 319effd98e6d1d4282751471ebefaf325b0df09f | [
"Apache-2.0"
] | 3 | 2018-06-27T14:56:40.000Z | 2018-07-16T03:04:20.000Z | cpp/src/gandiva/projector.cc | jblondin/arrow | 319effd98e6d1d4282751471ebefaf325b0df09f | [
"Apache-2.0"
] | 3 | 2021-03-23T19:45:48.000Z | 2021-03-23T21:36:16.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... | 39.722727 | 89 | 0.695617 | jblondin |
e7b2b7a86807ffa7b4c969eca45f7ee1f3217271 | 15,520 | hpp | C++ | osmi/ConnectionLinePreprocessor.hpp | johsin18/osmi-addresses | 374f9a1d435ee7fe0ea6abb235fe4a8237e149d1 | [
"BSL-1.0"
] | null | null | null | osmi/ConnectionLinePreprocessor.hpp | johsin18/osmi-addresses | 374f9a1d435ee7fe0ea6abb235fe4a8237e149d1 | [
"BSL-1.0"
] | null | null | null | osmi/ConnectionLinePreprocessor.hpp | johsin18/osmi-addresses | 374f9a1d435ee7fe0ea6abb235fe4a8237e149d1 | [
"BSL-1.0"
] | null | null | null | #ifndef CONNECTIONLINEPREPROCESSOR_HPP_
#define CONNECTIONLINEPREPROCESSOR_HPP_
#include <math.h>
constexpr osmium::object_id_type DUMMY_ID = 0;
// maximum length of a connection line (given in degrees)
// the given value is not a strict limit: some connection lines may be longer (up to a factor of maybe 1.5)
// ap... | 36.690307 | 165 | 0.712436 | johsin18 |
e7b2e2548c6985e692f8a1b79c9b4abda424f4a5 | 3,129 | hpp | C++ | util/third_party/ot-br-posix/src/backbone_router/dua_routing_manager.hpp | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | null | null | null | util/third_party/ot-br-posix/src/backbone_router/dua_routing_manager.hpp | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | null | null | null | util/third_party/ot-br-posix/src/backbone_router/dua_routing_manager.hpp | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | null | null | null | /*
* Copyright (c) 2020, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* n... | 29.242991 | 81 | 0.717162 | PascalGuenther |
e7b3c87f107652f570bf0e8cced87e2e713d55c6 | 3,357 | cpp | C++ | test/gl/test_context.cpp | galaxysoftware/galaxy | b05af4aa071e32a0b0b067bfb80a236a90c87dde | [
"MIT"
] | null | null | null | test/gl/test_context.cpp | galaxysoftware/galaxy | b05af4aa071e32a0b0b067bfb80a236a90c87dde | [
"MIT"
] | null | null | null | test/gl/test_context.cpp | galaxysoftware/galaxy | b05af4aa071e32a0b0b067bfb80a236a90c87dde | [
"MIT"
] | null | null | null | #include "gl/context.h"
#include "gl/environment.h"
#include "gl/mockglfw.h"
#include "gl/mockglxw.h"
#include <gmock/gmock.h>
using namespace gxy;
using testing::_;
using testing::InSequence;
using testing::NiceMock;
using testing::Return;
struct Fixture : public testing::Test
{
const int width{42};
const int... | 21.519231 | 85 | 0.725052 | galaxysoftware |
e7b4b2d5aab6e9ec84745e940accc37779f2f3d5 | 5,904 | cpp | C++ | examples/machine_learning/logistic_regression.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-06-14T23:49:18.000Z | 2018-06-14T23:49:18.000Z | examples/machine_learning/logistic_regression.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2015-07-02T15:53:02.000Z | 2015-07-02T15:53:02.000Z | examples/machine_learning/logistic_regression.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T17:11:03.000Z | 2018-02-26T17:11:03.000Z | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 28.521739 | 89 | 0.581809 | JuliaComputing |
e7b6bace6b9662be476cf3b3c48f18776742bf57 | 325 | cpp | C++ | Arrays/staticdynamic.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | Arrays/staticdynamic.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | Arrays/staticdynamic.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int b[100]; //static
cout<<sizeof(b)<<endl;
cout<<b<<endl; //symbol table
int * a=new int[n]; //dynamic
cout<<sizeof(a)<<endl;
cout<<a<<endl;
for(int i=0;i<n;i++){
cin>>a[i];
cout<<a[i]<<" ";
}
cout<<endl;
delete []... | 18.055556 | 41 | 0.535385 | sans712 |
e7b7ddf12ac03a01ce7a57b655968d326ddc4310 | 7,355 | cpp | C++ | lib/src/AMRTools/CoarseAverageFace.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 10 | 2018-02-01T20:57:36.000Z | 2022-03-17T02:57:49.000Z | lib/src/AMRTools/CoarseAverageFace.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 19 | 2018-10-04T21:37:18.000Z | 2022-02-25T16:20:11.000Z | lib/src/AMRTools/CoarseAverageFace.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 11 | 2019-01-12T23:33:32.000Z | 2021-08-09T15:19:50.000Z | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
#include "CoarseAverageFace.H"
#include "AverageFaceF_F.H"
#include "Namespac... | 31.978261 | 142 | 0.531883 | rmrsk |
e7ba73c31342d0787160f6b39652973be4e8a5f8 | 4,721 | inl | C++ | Phoenix3D/PX2Effect/PX2BeamEmitter.inl | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 36 | 2016-04-24T01:40:38.000Z | 2022-01-18T07:32:26.000Z | Phoenix3D/PX2Effect/PX2BeamEmitter.inl | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | null | null | null | Phoenix3D/PX2Effect/PX2BeamEmitter.inl | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 16 | 2016-06-13T08:43:51.000Z | 2020-09-15T13:25:58.000Z | // PX2BeamEmitter.inl
//----------------------------------------------------------------------------
inline void BeamEmitter::SetEmitRate (float rate)
{
mEmitRate = rate;
}
//----------------------------------------------------------------------------
inline float BeamEmitter::GetEmitRate () const
{
return mEmitRate... | 34.210145 | 78 | 0.421945 | PheonixFoundation |
e7bb392669b2859123df05d58f95d1cdbd470862 | 3,420 | cpp | C++ | test/TestSpecializationConstant.cpp | dSandley20/KomputeParticles | 099073c6db4b5345e80eaaebe97d97e0f8256849 | [
"Apache-2.0"
] | 389 | 2021-07-23T23:24:18.000Z | 2022-03-31T12:16:47.000Z | test/TestSpecializationConstant.cpp | dSandley20/KomputeParticles | 099073c6db4b5345e80eaaebe97d97e0f8256849 | [
"Apache-2.0"
] | 54 | 2020-08-28T14:33:52.000Z | 2020-09-13T10:59:42.000Z | test/TestSpecializationConstant.cpp | dSandley20/KomputeParticles | 099073c6db4b5345e80eaaebe97d97e0f8256849 | [
"Apache-2.0"
] | 31 | 2021-07-27T14:32:24.000Z | 2022-03-19T07:57:01.000Z | // SPDX-License-Identifier: Apache-2.0
#include "gtest/gtest.h"
#include "kompute/Kompute.hpp"
#include "kompute_test/Shader.hpp"
TEST(TestSpecializationConstants, TestTwoConstants)
{
{
std::string shader(R"(
#version 450
layout (constant_id = 0) const float cOne = 1;
layou... | 32.884615 | 80 | 0.490643 | dSandley20 |
e7bc27d00fa4fafc791cc685ff02c186e5c0c86a | 4,859 | hpp | C++ | Source/KEngine/include/KEngine/Common/JSONReader.hpp | yxbh/KEngine | 04d2aced738984f53bf1b2b84b49fbbabfbe6587 | [
"Zlib"
] | 1 | 2020-05-29T03:30:08.000Z | 2020-05-29T03:30:08.000Z | Source/KEngine/include/KEngine/Common/JSONReader.hpp | yxbh/KEngine | 04d2aced738984f53bf1b2b84b49fbbabfbe6587 | [
"Zlib"
] | null | null | null | Source/KEngine/include/KEngine/Common/JSONReader.hpp | yxbh/KEngine | 04d2aced738984f53bf1b2b84b49fbbabfbe6587 | [
"Zlib"
] | null | null | null | #pragma once
// libJSON lib
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4100) // unreferenced formal parameter.
#pragma warning(disable : 4127) // conditional expression is constant.
#endif
#include "libjson_7.6.1/libjson.h"
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include <string>
#include <sta... | 42.622807 | 119 | 0.685326 | yxbh |
e7bffcd83db49941b0963aaf988354586bba3f38 | 1,005 | cpp | C++ | src/grbl/parsers/response_message/ResponseMessageParser.test.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 2 | 2021-12-19T19:15:28.000Z | 2022-01-03T10:29:32.000Z | src/grbl/parsers/response_message/ResponseMessageParser.test.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 12 | 2020-06-09T21:10:10.000Z | 2022-02-25T14:11:17.000Z | src/grbl/parsers/response_message/ResponseMessageParser.test.cpp | jgert/grblController | e5026b1e5d972f3e67b07c3fb80dad276bae2c17 | [
"MIT"
] | 1 | 2020-08-13T04:00:55.000Z | 2020-08-13T04:00:55.000Z | //
// Created by Jakub Gert on 20/06/2020.
//
#include <QObject>
#include <QTest>
#include "tests/TestSuite.h"
#include "ResponseMessageParser.h"
class ResponseMessageParserTests : public TestSuite {
Q_OBJECT
private slots:
void testInvalid() {
ResponseMessageParser parser;
auto result = parser.... | 21.847826 | 63 | 0.637811 | jgert |
e7c1f1f9191098c0b0f356bbe11abb8af4409b7a | 619 | hpp | C++ | source/native/encoder.hpp | giovannicalo/node-webp | d841ccd4316bb73d58c2d5e3a5f844d7435fb088 | [
"MIT"
] | null | null | null | source/native/encoder.hpp | giovannicalo/node-webp | d841ccd4316bb73d58c2d5e3a5f844d7435fb088 | [
"MIT"
] | null | null | null | source/native/encoder.hpp | giovannicalo/node-webp | d841ccd4316bb73d58c2d5e3a5f844d7435fb088 | [
"MIT"
] | null | null | null | #pragma once
#include <math.h>
#include <napi.h>
#include <webp/encode.h>
#include "format.hpp"
#include "image.hpp"
namespace nodeWebp {
class Encoder : public Napi::AsyncWorker {
private:
uint8_t* buffer = nullptr;
Napi::Promise::Deferred promise;
float_t quality = 0;
uint64_t size = 0;
... | 12.632653 | 51 | 0.647819 | giovannicalo |
e7c2d5559e6f32948945052a81a844dfab5a8a67 | 10,245 | cc | C++ | src/vendor/mariadb-10.6.7/storage/perfschema/table_file_summary_by_event_name.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/perfschema/table_file_summary_by_event_name.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/perfschema/table_file_summary_by_event_name.cc | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | /* Copyright (c) 2008, 2021, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including
b... | 39.403846 | 252 | 0.684236 | zettadb |
b10f837bda4759c001e18beff0616cb05865e361 | 3,252 | hpp | C++ | plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp | Randl/GMAT | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 2 | 2020-01-01T13:14:57.000Z | 2020-12-09T07:05:07.000Z | plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp | rdadan/GMAT-R2016a | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 1 | 2018-03-15T08:58:37.000Z | 2018-03-20T20:11:26.000Z | plugins/EstimationPlugin/src/base/measurement/TDRSSTwoWayRange.hpp | rdadan/GMAT-R2016a | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 3 | 2019-10-13T10:26:49.000Z | 2020-12-09T07:06:55.000Z | //$Id: TDRSSTwoWayRange.hpp 1398 2011-04-21 20:39:37Z $
//------------------------------------------------------------------------------
// TDRSSTwoWayRange
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c... | 34.967742 | 80 | 0.646986 | Randl |
b10fd8ec331ec6aa27ddc9f37789e1e88583a0b3 | 14,017 | cc | C++ | ee/group.cc | flipfrog/xee | 2586ed5bc0b9f99d8b314e363e0e8f76f46575ba | [
"MIT"
] | null | null | null | ee/group.cc | flipfrog/xee | 2586ed5bc0b9f99d8b314e363e0e8f76f46575ba | [
"MIT"
] | null | null | null | ee/group.cc | flipfrog/xee | 2586ed5bc0b9f99d8b314e363e0e8f76f46575ba | [
"MIT"
] | null | null | null | //
// group.cc:
//
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <limits.h>
#include <X11/Xlib.h>
#include <local_types.h>
#include <list.h>
#include <eedefs.h>
#include <shape.h>
#include <shapeset.h>
#include <frame.h>
#include <xcontext.h>
#include <board.h>
#include <group.h>
#include <misc.... | 27.323587 | 76 | 0.565528 | flipfrog |
b1139ee33a58eb303c57e0999ee83ddb86828258 | 14,525 | cpp | C++ | tests/src/test_sparse_gemm_indexed.cpp | vishalbelsare/smallk | f0472b089ea3f594a26eb31c29d522a9d256829f | [
"Apache-2.0"
] | 43 | 2015-02-02T06:23:52.000Z | 2020-09-21T19:59:24.000Z | tests/src/test_sparse_gemm_indexed.cpp | vishalbelsare/smallk | f0472b089ea3f594a26eb31c29d522a9d256829f | [
"Apache-2.0"
] | 6 | 2015-10-27T18:05:05.000Z | 2016-11-30T18:33:59.000Z | tests/src/test_sparse_gemm_indexed.cpp | vishalbelsare/smallk | f0472b089ea3f594a26eb31c29d522a9d256829f | [
"Apache-2.0"
] | 14 | 2015-10-27T21:22:19.000Z | 2020-02-06T17:15:45.000Z | #include <iostream>
#include <thread>
#include "elemental.hpp"
#include "sparse_matrix.hpp"
#include "matrix_generator.hpp"
#include "delimited_file.hpp"
#include "index_set.hpp"
#include "random.hpp"
#include "timer.hpp"
using std::cout;
using std::cerr;
using std::endl;
// For the NMF formulation A~WH, we need the ... | 35.426829 | 101 | 0.566265 | vishalbelsare |
b1153499bdc65651dcf77225f6d8b3ec159f7561 | 2,722 | cpp | C++ | src/testing.cpp | tcpcloud/debian-cassandra-cpp-driver | ad8e5b713dc8501620c890ba090963bb7b12de69 | [
"Apache-2.0"
] | 1 | 2021-12-18T04:23:26.000Z | 2021-12-18T04:23:26.000Z | src/testing.cpp | tcpcloud/debian-cassandra-cpp-driver | ad8e5b713dc8501620c890ba090963bb7b12de69 | [
"Apache-2.0"
] | 1 | 2021-08-20T19:03:52.000Z | 2021-08-20T19:03:52.000Z | src/testing.cpp | tcpcloud/debian-cassandra-cpp-driver | ad8e5b713dc8501620c890ba090963bb7b12de69 | [
"Apache-2.0"
] | 5 | 2016-05-03T15:53:22.000Z | 2021-08-20T19:03:08.000Z | /*
Copyright (c) 2014-2016 DataStax
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... | 28.652632 | 150 | 0.719324 | tcpcloud |
b117206c49426f5c8b2342a2d5174b9b4f49ee5b | 14,895 | cpp | C++ | src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 9 | 2019-05-20T12:06:36.000Z | 2022-03-24T19:11:06.000Z | src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | null | null | null | src/ADBSCEditDLL/src/WinClass/ToolBar/ToolBar.cpp | ClnViewer/ADB-Android-Viewer | c619fe626ab390b656893974700a0b6379159c03 | [
"MIT"
] | 3 | 2020-07-06T04:51:33.000Z | 2021-07-26T20:08:02.000Z | /*
MIT License
Android remote Viewer, GUI ADB tools
Android Viewer developed to view and control your android device from a PC.
ADB exchange Android Viewer, support scale view, input tap from mouse,
input swipe from keyboard, save/copy screenshot, etc..
Copyright (c) 2016-2019 PS
GitHub: ... | 35.891566 | 131 | 0.471031 | ClnViewer |
b11749b46733621b8a1da6e4fecb58a4fb627fda | 11,629 | cpp | C++ | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | 1 | 2021-06-06T10:29:12.000Z | 2021-06-06T10:29:12.000Z | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | ACW Project Framework/System.cpp | Lentono/PhysicsSimulationACW | a73d22571a0742fd960740f04689f6ee095c3986 | [
"MIT"
] | null | null | null | #include "System.h"
#include <winuser.h>
#include <iostream>
#include <fstream>
System::System() : m_initializationFailed(false), m_applicationName(nullptr), m_hInstance(nullptr), m_hwnd(nullptr), m_input(nullptr), m_graphics(nullptr) {
auto screenWidth = 0;
auto screenHeight = 0;
//Initialize the Windows API
Ini... | 27.491726 | 228 | 0.736177 | Lentono |
b11bbfb1c3b7aba8c6b64e42fa8a46265c859a34 | 3,353 | cpp | C++ | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 3 | 2018-04-02T06:00:51.000Z | 2018-05-29T04:46:29.000Z | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-03-31T17:54:30.000Z | 2018-05-02T11:31:06.000Z | 2017-05-24-practice/J.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-10-07T00:08:06.000Z | 2021-06-28T11:02:59.000Z | #include <cmath>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <algorithm>
using namespace std;
typedef long long LL;
typedef long double DB;
const int maxn = 201, maxm = maxn * maxn, maxs = 13;
const DB eps = 1e-8, INF = 1e4;
inline int sgn(DB x) {
assert(!std::isnan(x));
return (x > eps) - (x < -... | 24.837037 | 112 | 0.454817 | tangjz |
b11e6767c676a711884031bddd27416a1bcc3ee4 | 8,468 | cpp | C++ | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 6 | 2015-12-02T15:33:27.000Z | 2017-07-28T17:46:51.000Z | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 3 | 2018-02-04T16:11:19.000Z | 2018-03-16T16:23:29.000Z | gui/qt/toolwidgets/pinwidget.cpp | hein09/vipster | b92302bf2bb8b8941e239ce8cbc7209e1e615b0b | [
"BSD-2-Clause"
] | 1 | 2017-07-05T11:44:55.000Z | 2017-07-05T11:44:55.000Z | #include "../mainwindow.h"
#include "pinwidget.h"
#include "ui_pinwidget.h"
#include <QMessageBox>
using namespace Vipster;
PinWidget::PinWidget(QWidget *parent) :
BaseWidget(parent),
ui(new Ui::PinWidget)
{
ui->setupUi(this);
}
PinWidget::~PinWidget()
{
delete ui;
}
void PinWidget::updateWidget(GUI... | 34.563265 | 93 | 0.604393 | hein09 |
b120c5c6ad2f91f35ea1d40a98d6b72d0b5ba393 | 17,114 | cpp | C++ | examples/pxScene2d/external/libnode-v10.15.3/deps/icu-small/source/i18n/numparse_decimal.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/icu-small/source/i18n/numparse_decimal.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/icu-small/source/i18n/numparse_decimal.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // © 2018 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
// Allow implicit conversion from char16_t* to UnicodeString for this file:
// Helpful in toString methods and elsewhere.
#define UNISTR_FROM_STRING_E... | 37.285403 | 107 | 0.596354 | madanagopaltcomcast |
b12134d6db01c00384a15b06f234d4968cc887cb | 312 | cpp | C++ | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | ClientEngine/game/engine/Stage/UnitPart/UnitEvent/UnitEventOperator.cpp | twesd/editor | 10ea9f535115dadab5694fecdb0c499d0013ac1b | [
"MIT"
] | null | null | null | #include "UnitEventOperator.h"
#include "../UnitBehavior.h"
UnitEventOperator::UnitEventOperator(SharedParams_t params) : UnitEventBase(params)
{
}
UnitEventOperator::~UnitEventOperator(void)
{
}
// Выполняется ли условие
bool UnitEventOperator::IsApprove( core::array<Event_t*>& events )
{
return true;
}
| 17.333333 | 83 | 0.762821 | twesd |
b121bdc43e5ad3e405cb939ff89ac2674e1a5f60 | 3,114 | cpp | C++ | willow/src/op/reducemedian.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | willow/src/op/reducemedian.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | willow/src/op/reducemedian.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#include <memory>
#include <popart/op/reducemedian.hpp>
#include <popart/opmanager.hpp>
namespace popart {
ReduceMedianOp::ReduceMedianOp(
const OperatorIdentifier &opid,
const nonstd::optional<std::vector<int64_t>> &axes,
int64_t keepdims,
con... | 34.6 | 79 | 0.636159 | gglin001 |
b122c0b8fc656809dc785c8d77afb2530c5e284f | 4,159 | cpp | C++ | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | 1 | 2020-09-24T09:36:52.000Z | 2020-09-24T09:36:52.000Z | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | null | null | null | src/surrogate/benchmark/dtlz.cpp | lucasmpavelski/elmoead | 35286d7b5407c7b7a72f13cedbdedd9ba27ae22d | [
"MIT"
] | null | null | null | #include "dtlz.h"
namespace dtlz
{
#define PI 3.1415926535897932384626433832795
void DTLZ1(const double *x, double* f, const unsigned no_vars, const unsigned no_objs)
{
int i = 0;
int j = 0;
int n = no_vars;
int k = n - no_objs + 1;
double g = 0;
for (i = n - k + 1; i <= n; i++)
{
g += p... | 17.47479 | 86 | 0.425824 | lucasmpavelski |
b1234b04f5d5b32719bae0d76a70bf28e176c859 | 6,950 | cc | C++ | chrome/browser/speech/speech_recognition_request.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/speech/speech_recognition_request.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/speech/speech_recognition_request.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | // Copyright (c) 2010 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/speech/speech_recognition_request.h"
#include <vector>
#include "app/l10n_util.h"
#include "base/json/json_reader.h"
#inclu... | 35.641026 | 79 | 0.685468 | Gitman1989 |
b123df61ecdfdab9fe73b5544f9aa45d9d601704 | 5,396 | hpp | C++ | include/amtrs/.driver/g3d-opengl-devices_shader.hpp | isaponsoft/libamtrs | 5adf821ee15592fc3280985658ca8a4b175ffcaa | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-12-10T02:12:49.000Z | 2019-12-10T02:12:49.000Z | include/amtrs/.driver/g3d-opengl-devices_shader.hpp | isaponsoft/libamtrs | 5adf821ee15592fc3280985658ca8a4b175ffcaa | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | include/amtrs/.driver/g3d-opengl-devices_shader.hpp | isaponsoft/libamtrs | 5adf821ee15592fc3280985658ca8a4b175ffcaa | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. *
* Use of this source code is governed by a BSD-style license that *
* can be found in the LICENSE file. */
#ifndef __libamtrs__graphics__opengl__devices_shader__hpp
#define __libamtrs__graphics__opengl__device... | 23.876106 | 173 | 0.696998 | isaponsoft |
b1254b1b4a4235059ad51cd479eb73ceb4aa9240 | 14,579 | cxx | C++ | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TRD/TRDsim/AliTRDptrgFEB.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 34.223005 | 93 | 0.576651 | AllaMaevskaya |
b127350b502f277660f655415e9d6b020c14c583 | 3,482 | cpp | C++ | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | null | null | null | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | null | null | null | source/MaterialXTest/Document.cpp | lvxejay/MaterialX | d367fe00ad6dca5ba56370e8c97249779a6bcf71 | [
"BSL-1.0"
] | 1 | 2021-09-11T08:01:25.000Z | 2021-09-11T08:01:25.000Z | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXTest/Catch/catch.hpp>
#include <MaterialXCore/Document.h>
namespace mx = MaterialX;
TEST_CASE("Document", "[document]")
{
// Create a document.
mx::Document... | 36.270833 | 106 | 0.660827 | lvxejay |
b12926933ea89adc1fd24b53c6c34c05b9faf121 | 10,937 | cpp | C++ | src/fhgc.cpp | michel94/fhgc-tool | 4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0 | [
"MIT"
] | 1 | 2018-08-23T09:15:54.000Z | 2018-08-23T09:15:54.000Z | src/fhgc.cpp | michel94/fhgc-tool | 4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0 | [
"MIT"
] | null | null | null | src/fhgc.cpp | michel94/fhgc-tool | 4d3f011f606d1fbdad6791d1cbcdfa9ab83796a0 | [
"MIT"
] | null | null | null | #include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
using namespace std;
string SRC = "src/";
string WG_SRC = SRC + "webgraph/";
struct Execution{
FILE* f;
int retCode;
Execution(FILE* f, int retCode){
this->f = f;
this->retCode = retCode;
}
};
bool startswith(const ... | 29.882514 | 206 | 0.567249 | michel94 |
b12ca9731247ecf15d7d44f07a1e866c26b20f90 | 680 | cpp | C++ | bindings/python/gtn/_criterions.cpp | vineelpratap/gtn-1 | 56a6359dbf5cc2a3855893d57166141703b592d9 | [
"MIT"
] | 75 | 2021-06-03T00:37:34.000Z | 2022-03-27T08:07:15.000Z | bindings/python/gtn/_criterions.cpp | vineelpratap/gtn-1 | 56a6359dbf5cc2a3855893d57166141703b592d9 | [
"MIT"
] | 12 | 2021-08-21T13:23:24.000Z | 2022-03-01T02:23:16.000Z | bindings/python/gtn/_criterions.cpp | vineelpratap/gtn-1 | 56a6359dbf5cc2a3855893d57166141703b592d9 | [
"MIT"
] | 8 | 2021-06-03T02:29:36.000Z | 2022-03-12T00:40:14.000Z | /*
* Copyright (c) Meta, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "gtn/gtn.h"
using namespace gtn;
using namespace gtn::criterion;
n... | 22.666667 | 79 | 0.670588 | vineelpratap |
b12d0c30b8dbb3e84da28fd4bfc94639e4da0f39 | 3,659 | cxx | C++ | panda/src/pgraph/depthWriteAttrib.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/pgraph/depthWriteAttrib.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/pgraph/depthWriteAttrib.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file depthWriteAttrib.cxx
*... | 26.708029 | 78 | 0.738453 | cmarshall108 |
b12dc07fbd8023ba7e19db7eddedc097b3076b8d | 149 | hpp | C++ | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | source/GcLib/directx/DxConstant.hpp | Mugenri/Touhou-Danmakufu-ph3sx-2 | 4ab7e40682341ff41d7467b83bb64c9a669a6064 | [
"MIT"
] | null | null | null | #pragma once
#include "../pch.h"
#include "../gstd/GstdLib.hpp"
#include "DxTypes.hpp"
#if defined(DNH_PROJ_EXECUTOR)
#include "Vertex.hpp"
#endif | 14.9 | 30 | 0.711409 | Mugenri |
b12f7a98a0c4855383f99c4281ec499021df7659 | 6,307 | cc | C++ | tensorflow/compiler/xla/service/memory_space_assignment_utils.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | tensorflow/compiler/xla/service/memory_space_assignment_utils.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | tensorflow/compiler/xla/service/memory_space_assignment_utils.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.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... | 42.904762 | 80 | 0.683051 | EricRemmerswaal |
b1325f3e14933c34ac5c16dba6e10221ff2415eb | 18,257 | cpp | C++ | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 86 | 2020-10-23T15:59:47.000Z | 2022-03-28T18:51:19.000Z | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 18 | 2020-12-14T13:11:26.000Z | 2022-03-14T05:34:20.000Z | tests/record/test_array_fcall_method.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 17 | 2020-10-29T16:19:43.000Z | 2022-03-11T09:51:05.000Z | /******************************************************************************
* Copyright (c) 2020, Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception.
*
*****************************************************************************/
#include "sct_assert.h"
#include ... | 31.208547 | 110 | 0.47872 | hachetman |
b136570926f748f7c9fc27a0a1d4efb792bc26ee | 3,191 | hpp | C++ | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | 1 | 2021-11-30T07:47:52.000Z | 2021-11-30T07:47:52.000Z | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | hpp/Folder.impl.hpp | Ivy233/simple_diff | 970bf8a0a624fc89b9c016fab44a87162feb2465 | [
"MIT"
] | null | null | null | /*
* File name: Folder.impl.hpp
* Description: 文件夹类,用于捕捉所有文件夹下的非隐藏文件
* Author: 王锦润
* Version: 2
* Date: 2019.6.11
* History: 此程序被纳入git,可以直接使用git查询。
*/
//防卫式声明,必须要有
//就算没有重复包含也建议有,这是代码习惯
#ifndef _FOLDER_IMPL_HPP_
#define _FOLDER_IMPL_HPP_
#include "Folder.hpp"
#include <algorithm>
#include <iostream>
using std::c... | 30.390476 | 110 | 0.581636 | Ivy233 |
b1377c40c3953e49eecbffa5f35254c03970b423 | 1,096 | inl | C++ | include/util/driver/value/size.inl | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 31 | 2015-03-03T19:13:42.000Z | 2020-09-03T08:11:56.000Z | include/util/driver/value/size.inl | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 1 | 2016-12-24T00:12:11.000Z | 2016-12-24T00:12:11.000Z | include/util/driver/value/size.inl | izenecloud/izenelib | 9d5958100e2ce763fc75f27217adf982d7c9d902 | [
"Apache-2.0"
] | 8 | 2015-09-06T01:55:21.000Z | 2021-12-20T02:16:13.000Z | #ifdef IZENELIB_DRIVER_VALUE_INLINE
/**
* @file izenelib/driver/value/size.inl
* @author Ian Yang
* @date Created <2010-06-08 11:31:29>
* @brief Gets size of a value
*/
namespace izenelib {
namespace driver {
namespace detail {
class ValueSizeVisitor : public boost::static_visitor<std::size_t>
{
public:
type... | 20.296296 | 68 | 0.653285 | izenecloud |
b137e61bee75558bc1d3d25813a51c4b1b82a236 | 667 | cpp | C++ | Projects/PBINFO/Problema 4/main.cpp | Bengo923/Visual-Studio | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | 1 | 2019-11-05T17:56:19.000Z | 2019-11-05T17:56:19.000Z | Projects/PBINFO/Problema 4/main.cpp | Bengo923/PBINFO | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | null | null | null | Projects/PBINFO/Problema 4/main.cpp | Bengo923/PBINFO | 863a273644b291c311d299bd5c7c4faf9db2d30e | [
"MIT"
] | null | null | null | // Problema 18 - Fisa Gradinariu (TEMA)
#include "pch.h"
#include "fstream"
#include "iostream"
using namespace std;
// ifstream fin("date.in");
// ofstream fout("date.out");
int index = 1, v[101], suma1, suma2, aux1, aux2;
int main()
{
int x;
cin >> x;
while (x != 0) {
v[index] = x;
index++;
cin >> x;
}
... | 15.511628 | 48 | 0.503748 | Bengo923 |
b139cd6dfa8267237cb80df9cc1f4f060750af3e | 8,727 | cpp | C++ | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | translit_handler.cpp | EzerIT/ETCBC4BibleOL | 06bef9600a42dc17d8f0b2210492c8bce8bed558 | [
"MIT"
] | null | null | null | /* Copyright © 2017 Ezer IT Consulting.
* Released under an MIT License.
*/
#include <deque>
#include <map>
#include <string>
#include <iostream>
#include "util.hpp"
#include "translit_handler.hpp"
#include "hebrew_transliterator.hpp"
using namespace std;
struct translit_strings {
string g_word_translit;
... | 41.557143 | 170 | 0.588289 | EzerIT |
b139f85d86021b527fb4f534e28d0217a1fb71f3 | 2,888 | cpp | C++ | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicecatalog/source/model/PortfolioShareType.cpp | ploki/aws-sdk-cpp | 17074e3e48c7411f81294e2ee9b1550c4dde842c | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 32.818182 | 98 | 0.660319 | ploki |
b13a972dfcdd32b01fbcab2c3dcd4bde042ee1a8 | 255 | cpp | C++ | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 4 | 2015-07-03T11:59:54.000Z | 2018-05-17T00:03:22.000Z | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 79 | 2015-06-29T18:07:21.000Z | 2018-09-19T13:38:39.000Z | pbdata/saf/AlnGroup.cpp | ggraham/blasr_libcpp | 4abef36585bbb677ebc4acb9d4e44e82331d59f7 | [
"RSA-MD"
] | 19 | 2015-06-23T08:43:29.000Z | 2021-04-28T18:37:47.000Z | #include <pbdata/saf/AlnGroup.hpp>
int AlnGroup::FindPath(unsigned int idKey, std::string &val)
{
for (size_t i = 0; i < id.size(); i++) {
if (idKey == id[i]) {
val = path[i];
return 1;
}
}
return 0;
}
| 19.615385 | 60 | 0.490196 | ggraham |
b13bfaaff751458115f3b2e6bc2570bd39ae0b22 | 2,177 | cc | C++ | src/OutputForce.cc | Mopolino8/ibpm | 644f356f5f15ddf8cfbc50432f95f3602802260f | [
"BSD-3-Clause"
] | null | null | null | src/OutputForce.cc | Mopolino8/ibpm | 644f356f5f15ddf8cfbc50432f95f3602802260f | [
"BSD-3-Clause"
] | null | null | null | src/OutputForce.cc | Mopolino8/ibpm | 644f356f5f15ddf8cfbc50432f95f3602802260f | [
"BSD-3-Clause"
] | 1 | 2019-11-24T17:51:30.000Z | 2019-11-24T17:51:30.000Z | // OutputForce.cc
//
// Description:
// Implementation of output routine for writing a list of force coefficients.
//
// Author(s):
// Clancy Rowley
// Steve Brunton
//
// Date: 22 Aug 2008
//
// $Revision$
// $LastChangedDate$
// $LastChangedBy$
// $HeadURL$
#include "OutputForce.h"
#include "BaseFlow.h"
#include "St... | 24.738636 | 102 | 0.617363 | Mopolino8 |
b13c791bf3ca14b21d43409fe63b3a10840666f8 | 2,433 | cpp | C++ | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | mqtt/client.cpp | dkesler-execom/WolkSDK-Cpp | fd353d34affa5c252f5a1022c9fc1b6ae9a285a5 | [
"Apache-2.0"
] | null | null | null | // client.cpp
// Implementation of the client class for the mqtt C++ client library.
/*******************************************************************************
* Copyright (c) 2013-2017 Frank Pagliughi <fpagliughi@mindspring.com>
*
* All rights reserved. This program and the accompanying materials
* are made... | 30.037037 | 81 | 0.649404 | dkesler-execom |
b13de41571636040a9341e59272578a3a9d6b082 | 4,484 | cpp | C++ | tests/VkUploadPixelsTests.cpp | avaer/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 3 | 2018-10-28T09:55:58.000Z | 2018-12-09T05:09:38.000Z | tests/VkUploadPixelsTests.cpp | BensonDu/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 1 | 2018-10-21T04:53:25.000Z | 2018-10-21T04:53:25.000Z | tests/VkUploadPixelsTests.cpp | BensonDu/skia | b211ebc328e9df69f95fc58e7363775ec2d0c14d | [
"BSD-3-Clause"
] | 4 | 2018-08-10T03:09:14.000Z | 2018-10-21T00:04:47.000Z | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// This is a GPU-backend specific test. It relies on static intializers to work
#include "SkTypes.h"
#if defined(SK_VULKAN)
#include "GrContextFactory.h"
#include "GrContex... | 41.518519 | 99 | 0.564005 | avaer |
b140520194ff200a3a995ad3e1562425ee0b55d1 | 8,952 | cpp | C++ | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | aluaces/chrono | 675ff6c1105814973dd7f844bd19385d9760f90c | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | src/chrono_vehicle/cosim/mbs/ChVehicleCosimVehicleNode.cpp | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | 38.093617 | 119 | 0.610813 | aluaces |
b14921bbd501308fc83cac6141b2bdb1cc90a6e0 | 1,431 | inl | C++ | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | 3 | 2019-09-20T23:26:36.000Z | 2019-10-03T17:44:12.000Z | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | null | null | null | unit_tests/api/cl_retain_release_sampler_tests.inl | FelipeMLopez/compute-runtime | 3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8 | [
"MIT"
] | 3 | 2019-05-16T07:22:51.000Z | 2019-11-11T03:05:32.000Z | /*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/context/context.h"
#include "cl_api_tests.h"
using namespace NEO;
typedef api_tests clRetainReleaseSamplerTests;
namespace ULT {
TEST_F(clRetainReleaseSamplerTests, GivenValidSamplerWhenRetainingThenSamplerR... | 29.8125 | 107 | 0.682041 | FelipeMLopez |
b14936afdabe04db37d6ccfb7c00fe785d633d16 | 27,372 | cpp | C++ | test/unit/common/test_data_descriptor.cpp | haampie/DLA-Future | b8f3c8af8eaa5732f035e3af3a65194fb24e7eb3 | [
"BSD-3-Clause"
] | null | null | null | test/unit/common/test_data_descriptor.cpp | haampie/DLA-Future | b8f3c8af8eaa5732f035e3af3a65194fb24e7eb3 | [
"BSD-3-Clause"
] | null | null | null | test/unit/common/test_data_descriptor.cpp | haampie/DLA-Future | b8f3c8af8eaa5732f035e3af3a65194fb24e7eb3 | [
"BSD-3-Clause"
] | null | null | null | //
// Distributed Linear Algebra with Future (DLAF)
//
// Copyright (c) 2018-2019, ETH Zurich
// All rights reserved.
//
// Please, refer to the LICENSE file in the root directory.
// SPDX-License-Identifier: BSD-3-Clause
//
#include "dlaf/common/data_descriptor.h"
#include <memory>
#include <type_traits>
#include <... | 37.49589 | 105 | 0.716426 | haampie |
b14bc0829b9f8f176aef586a0dec353987a18f67 | 4,607 | cpp | C++ | GLSLParametricCurve/BezierCurve/BezierCurveMain.cpp | jxt1234/ThirdPartyUsefulCode | a91813b2b0b7c521ecceff2be40ba5962635bbfa | [
"Apache-2.0"
] | 2 | 2017-04-12T13:47:48.000Z | 2017-08-08T11:51:39.000Z | GLSLParametricCurve/BezierCurve/BezierCurveMain.cpp | jxt1234/ThirdPartyUsefulCode | a91813b2b0b7c521ecceff2be40ba5962635bbfa | [
"Apache-2.0"
] | null | null | null | GLSLParametricCurve/BezierCurve/BezierCurveMain.cpp | jxt1234/ThirdPartyUsefulCode | a91813b2b0b7c521ecceff2be40ba5962635bbfa | [
"Apache-2.0"
] | null | null | null | /*
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be... | 23.625641 | 86 | 0.712177 | jxt1234 |
b14bc9a0f231be280762b19cb00aebf2e5c55308 | 5,199 | cpp | C++ | src/Apps/RtcClient/RtcClient.cpp | miseri/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 1 | 2021-07-14T08:15:05.000Z | 2021-07-14T08:15:05.000Z | src/Apps/RtcClient/RtcClient.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | null | null | null | src/Apps/RtcClient/RtcClient.cpp | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 2 | 2021-07-14T08:15:02.000Z | 2021-07-14T08:56:10.000Z | #include "RtcClientPch.h"
#include "RtcClient.h"
#include <grpc++/channel_interface.h>
#include <grpc++/client_context.h>
#include <grpc++/status.h>
#include <grpc++/stream.h>
using grpc::CompletionQueue;
using grpc::ChannelInterface;
using grpc::ClientContext;
using grpc::ClientReader;
using grpc::ClientReaderWriter;... | 25.737624 | 134 | 0.688017 | miseri |
b14cce1384a48e80692e55e175a6423c5fd03243 | 1,392 | cpp | C++ | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 1 | 2020-09-27T12:55:41.000Z | 2020-09-27T12:55:41.000Z | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 177 | 2020-05-04T09:14:05.000Z | 2022-03-25T00:02:12.000Z | Calculator/src/main/View/CalcScreen.cpp | Songtech-0912/InstantCalc | 2b36a3a7c47a7ae358eea36a4e2d7f120456dc86 | [
"MIT"
] | 1 | 2021-10-31T04:42:41.000Z | 2021-10-31T04:42:41.000Z | #ifndef TEST
#include "CalcScreen.h"
#include "../Any/View.h"
#include <SDL.h>
#include "../Any/Enums.h"
#include "../Struct/Pair.h"
#include "../Struct/Message.h"
#include "../Struct/Rect.h"
#include "../Struct/Point.h"
#include "../Struct/Size.h"
namespace ii887522::Calculator
{
CalcScreen::CalcScreen(SDL_Renderer... | 27.84 | 126 | 0.731322 | Songtech-0912 |
b14d73045f84e5931765dac2cef570d38b7abdfa | 1,740 | cpp | C++ | platform/default/src/mbgl/storage/asset_file_source.cpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 5 | 2019-12-02T07:13:06.000Z | 2019-12-02T14:34:36.000Z | platform/default/src/mbgl/storage/asset_file_source.cpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2020-11-21T06:55:47.000Z | 2020-11-21T06:55:52.000Z | platform/default/src/mbgl/storage/asset_file_source.cpp | mueschm/mapbox-gl-native | b07db0f8d01f855dcd336aa1baabde94c5c1740d | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2020-01-03T21:38:55.000Z | 2020-01-03T21:38:55.000Z | #include <mbgl/storage/asset_file_source.hpp>
#include <mbgl/storage/file_source_request.hpp>
#include <mbgl/storage/local_file_request.hpp>
#include <mbgl/storage/response.hpp>
#include <mbgl/util/string.hpp>
#include <mbgl/util/thread.hpp>
#include <mbgl/util/url.hpp>
namespace {
const std::string assetProtocol = "... | 29 | 101 | 0.655747 | mueschm |
b151042c8b05ea1b56fee3bf423bc78e250072a4 | 12,920 | cpp | C++ | src/mailews/libews/src/impl/ews_push_notification_server.cpp | stonewell/exchange-ews-thunderbird | 7b8cc41621ff29deb4145ad905344fecd60ccb0c | [
"MIT"
] | 17 | 2016-02-24T15:13:04.000Z | 2022-03-31T22:07:20.000Z | src/mailews/libews/src/impl/ews_push_notification_server.cpp | stonewell/exchange-ews-thunderbird | 7b8cc41621ff29deb4145ad905344fecd60ccb0c | [
"MIT"
] | 3 | 2016-02-24T20:05:09.000Z | 2017-04-18T04:23:56.000Z | src/mailews/libews/src/impl/ews_push_notification_server.cpp | stonewell/exchange-ews-thunderbird | 7b8cc41621ff29deb4145ad905344fecd60ccb0c | [
"MIT"
] | 8 | 2018-06-01T08:32:35.000Z | 2021-07-01T01:22:20.000Z | #include "libews.h"
#include "ewsnNotificationServiceBindingService.h"
#include "ewsnNotificationServiceBinding12Service.h"
#include "ews_push_notification_server.h"
#include <iostream>
#include <sstream>
#include <memory>
#include "urlparser.h"
#include "libews_c_subscribe_callback.h"
#ifndef _WIN32
#define closes... | 32.708861 | 147 | 0.655882 | stonewell |
b151a8d6e3b44fa6faebb6e4c111070d0dd085d1 | 1,950 | hpp | C++ | AirLib/include/physics/PhysicsEngineBase.hpp | whatseven/AirSim | fe7e4e7c782cf1077594c1ee6cc1bbfec3f66bd1 | [
"MIT"
] | 7 | 2020-05-22T18:00:19.000Z | 2021-01-07T08:31:19.000Z | AirLib/include/physics/PhysicsEngineBase.hpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 4 | 2020-08-21T07:48:06.000Z | 2021-03-14T21:06:41.000Z | AirLib/include/physics/PhysicsEngineBase.hpp | Abdulkadir-Muhendis/AirSim | c6f0729006ecd6d792a750edc7e27021469c5649 | [
"MIT"
] | 7 | 2020-05-22T20:08:22.000Z | 2021-01-22T09:39:17.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef airsim_core_PhysicsEngineBase_hpp
#define airsim_core_PhysicsEngineBase_hpp
#include "common/UpdatableContainer.hpp"
#include "common/Common.hpp"
#include "PhysicsBody.hpp"
namespace msr { namespace airl... | 36.111111 | 94 | 0.692821 | whatseven |
b151e54b639883e69c4ddf8e8c5b17ccbaf6a1ac | 137,676 | cxx | C++ | inetsrv/iis/iisrearc/iisplus/w3isapi/server_support.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/iisrearc/iisplus/w3isapi/server_support.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/iisrearc/iisplus/w3isapi/server_support.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1999-2001 Microsoft Corporation
Module Name :
server_support.cxx
Abstract:
IIS Plus ServerSupportFunction command implementations
Author:
Wade Hilmo (wadeh) 05-Apr-2000
Project:
w3isapi.dll
--*/
#include "precomp.hxx"
... | 30.145829 | 129 | 0.464947 | npocmaka |
b1524e07f8eaa10642fa8ed49eaac42a1b87935b | 1,526 | cpp | C++ | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | toolsets/test/clang_test.cpp | lukka/evoke | 793a067e2d70c4c5da77f75c7aadc734d633068d | [
"Apache-2.0"
] | null | null | null | #include "dotted.h"
#include "Component.h"
#include "File.h"
#include "Toolset.h"
#include "Project.h"
#include <algorithm>
#include <set>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(clang_compile)
{
Component c("hello", true);
Project p("./");
File *input = p.CreateFile(c, "hello/src/gretting... | 35.488372 | 134 | 0.669069 | lukka |
b1555e2995b958b94e86804ee67b6feff543f063 | 3,300 | cpp | C++ | src/PlatformUtils.cpp | TroyNeubauer/TMalloc | 77be16040ddad08aea0f98611f70525c5f944cd6 | [
"Apache-2.0"
] | null | null | null | src/PlatformUtils.cpp | TroyNeubauer/TMalloc | 77be16040ddad08aea0f98611f70525c5f944cd6 | [
"Apache-2.0"
] | null | null | null | src/PlatformUtils.cpp | TroyNeubauer/TMalloc | 77be16040ddad08aea0f98611f70525c5f944cd6 | [
"Apache-2.0"
] | null | null | null |
#include "PlatformUtils.h"
#include <Windows.h>
#include <psapi.h>
#include <TCHAR.h>
#include <pdh.h>
//total CPU usage
static PDH_HQUERY cpuQuery;
static PDH_HCOUNTER cpuTotal;
//Process CPU time
static ULARGE_INTEGER lastCPU, lastSysCPU, lastUserCPU;
static int numProcessors;
static HANDLE self;
void PlatformUt... | 26.190476 | 90 | 0.780303 | TroyNeubauer |
b1559583e47919e0a837b5fcd0bb97833b43ecc6 | 1,459 | hpp | C++ | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | 1 | 2021-09-02T16:09:26.000Z | 2021-09-02T16:09:26.000Z | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | null | null | null | libraries/plugins/witness/include/steem/plugins/witness/witness_plugin_objects.hpp | DunnCreativeSS/ccd | 83531f2c902a7e8bea351c86c4ca0e4b03820d5b | [
"MIT"
] | null | null | null | #pragma once
#include <CreateCoin/chain/CreateCoin_object_types.hpp>
#ifndef CreateCoin_WITNESS_SPACE_ID
#define CreateCoin_WITNESS_SPACE_ID 19
#endif
namespace CreateCoin { namespace chain {
struct by_account;
} }
namespace CreateCoin { namespace plugins { namespace witness {
using namespace CreateCoin::chain;
e... | 28.607843 | 139 | 0.751199 | DunnCreativeSS |
b15717f205bad2b2ea5706d07b6808061cd79de4 | 2,734 | hpp | C++ | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | cpp/include/raft/linalg/detail/eltwise.hpp | akifcorduk/raft | 5de31e04f03ed457ec1cb1148be54ff1cf9888cd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2022, NVIDIA 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 ... | 35.051282 | 100 | 0.740673 | akifcorduk |
b158572c0dd699fad0141dc51996b0c5bbcbbc73 | 2,413 | cpp | C++ | openjdk11/src/hotspot/cpu/arm/icBuffer_arm.cpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | 2 | 2018-06-19T05:43:32.000Z | 2018-06-23T10:04:56.000Z | openjdk11/src/hotspot/cpu/arm/icBuffer_arm.cpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | openjdk11/src/hotspot/cpu/arm/icBuffer_arm.cpp | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 36.014925 | 110 | 0.765437 | iootclab |
b15a1f47e0029a20ee776b4d9b169df9d89590b4 | 2,084 | cpp | C++ | beScene/source/beSerializationParameters.cpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | beScene/source/beSerializationParameters.cpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | beScene/source/beSerializationParameters.cpp | gcodebackups/breeze-2 | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | [
"MIT"
] | null | null | null | /****************************************************/
/* breeze Engine Scene Module (c) Tobias Zirr 2011 */
/****************************************************/
#include "beSceneInternal/stdafx.h"
#include "beScene/beSerializationParameters.h"
#include <beEntitySystem/beSerializationParameters.h>
namesp... | 38.592593 | 133 | 0.753839 | gcodebackups |
b15ac9a062f21c3f2e67b4623c02db1fdbbf981a | 77 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.4-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #include <vnl/vnl_vector_fixed.hxx>
VNL_VECTOR_FIXED_INSTANTIATE(double,4);
| 19.25 | 39 | 0.831169 | rdsouza10 |
b15bcd81aeaf9e3b64c09ca41e58b7b830d861fb | 7,790 | cc | C++ | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 92 | 2015-02-09T22:42:11.000Z | 2022-03-25T09:14:50.000Z | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 1,618 | 2015-01-05T19:39:13.000Z | 2022-03-27T20:28:45.000Z | src/Core/Datatypes/Mesh/Tests/LatticeVolumeMeshTests.cc | kimjohn1/SCIRun | 62ae6cb632100371831530c755ef0b133fb5c978 | [
"MIT"
] | 64 | 2015-02-20T17:51:23.000Z | 2021-11-19T07:08:08.000Z | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 31.92623 | 97 | 0.62362 | kimjohn1 |
b15c0cbad4bfe40d6b175643ae4ef05aadad32a0 | 439 | hpp | C++ | library/ATF/tagNMTOOLBARA.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/tagNMTOOLBARA.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/tagNMTOOLBARA.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <_TBBUTTON.hpp>
#include <tagNMHDR.hpp>
#include <tagRECT.hpp>
START_ATF_NAMESPACE
struct tagNMTOOLBARA
{
tagNMHDR hdr;
int iItem;
... | 20.904762 | 108 | 0.67426 | lemkova |
b15d0d237ff0e7cce48d10ccabdcdcd397e7ad51 | 3,594 | hxx | C++ | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 8 | 2021-04-16T13:17:20.000Z | 2022-01-05T09:14:03.000Z | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 16 | 2021-04-19T07:59:52.000Z | 2022-02-07T11:14:55.000Z | src/tst/reporter.hxx | igagis/testy | a38281336816bec1651d818fa7aad89ecade17b2 | [
"MIT"
] | 3 | 2021-04-17T02:33:46.000Z | 2022-02-21T15:37:55.000Z | /*
MIT License
Copyright (c) 2021 Ivan Gagis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | 25.132867 | 84 | 0.720367 | igagis |
b15f3224e73fcfaa3b1b5f901633d592af8a948e | 623 | cpp | C++ | SingleSource/Regression/C++/pointer_method2.cpp | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | SingleSource/Regression/C++/pointer_method2.cpp | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 519 | 2020-09-15T07:40:51.000Z | 2022-03-31T20:51:15.000Z | SingleSource/Regression/C++/pointer_method2.cpp | Nuullll/llvm-test-suite | afbdd0a9ee7770e074708b68b34a6a5312bb0b36 | [
"Apache-2.0"
] | 117 | 2020-06-24T13:11:04.000Z | 2022-03-23T15:44:23.000Z | #include <stdio.h>
struct A {
int a;
virtual void foo() = 0;
void bar() { printf("A::bar(): a=%x\n", a); }
};
struct B {
int b;
virtual void foo() = 0;
void bar() { printf("B::bar(): b=%x\n", b); }
};
struct C : A, B {
int c;
virtual void foo() { printf("C::foo(), c=%x\n", c); }
void bar() { printf... | 16.394737 | 55 | 0.483146 | Nuullll |