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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
332e6b469c8ed12faf9d2ec78af3c71c43d4d15e | 1,740 | cpp | C++ | cpp_project/commercial.cpp | pnavaro/irmar-git-project | 4cf81bca8a493d1abaf94c589d8db09fce59a040 | [
"MIT"
] | null | null | null | cpp_project/commercial.cpp | pnavaro/irmar-git-project | 4cf81bca8a493d1abaf94c589d8db09fce59a040 | [
"MIT"
] | null | null | null | cpp_project/commercial.cpp | pnavaro/irmar-git-project | 4cf81bca8a493d1abaf94c589d8db09fce59a040 | [
"MIT"
] | null | null | null | // Class automatically generated by Dev-C++ New Class wizard
#include <iostream>
#include "commercial.h" // class's header file
using namespace std;
// class constructor
Commercial::Commercial(const char* nom, const char* rue, int codePostal,
const char* ville, float salaireMensuel, int lesVentes, float leTaux)
:Empl... | 19.333333 | 73 | 0.695977 | pnavaro |
332f04b476425becdfd4d2dd9605d44ef22c47e5 | 3,274 | cpp | C++ | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 44 | 2018-04-04T09:48:50.000Z | 2021-01-15T10:45:22.000Z | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 28 | 2018-05-04T13:44:52.000Z | 2020-03-27T03:38:03.000Z | src/Cpu_stub.cpp | oujx28/Ulordrig | cab7fa4e01c1cb93211a81a6fad20c604e960328 | [
"MIT"
] | 9 | 2018-04-19T03:47:46.000Z | 2019-04-14T11:02:51.000Z | /* UlordRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
... | 23.385714 | 75 | 0.638974 | oujx28 |
332f620329c15eeea6e2990baf0873fdfa5c1821 | 19,415 | cxx | C++ | ds/security/protocols/msv_sspi/test/sspi/sspi.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/protocols/msv_sspi/test/sspi/sspi.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/protocols/msv_sspi/test/sspi/sspi.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 2001 Microsoft Corporation
Module Name:
sspi.cxx
Abstract:
sspi
Author:
Larry Zhu (LZhu) January 1, 2002 Created
Environment:
User Mode
Revision History:
--*/
#include "precomp.hxx"
#pragma hdrstop
#include "sspi.hxx"
#... | 31.466775 | 99 | 0.525161 | npocmaka |
3330fc2f1abd9b7bf15926a00bf2379bcbb0e621 | 5,193 | cpp | C++ | pkgs/apps/freqmine/src/fpmax.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | pkgs/apps/freqmine/src/fpmax.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | pkgs/apps/freqmine/src/fpmax.cpp | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | /*
Author: Jianfei Zhu
Concordia University
Date: Feb. 10, 2004
Copyright (c) 2004, Concordia University, Montreal, Canada
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- R... | 24.728571 | 113 | 0.701521 | manggoguy |
3330fde17bf0ebe928b49a1ec0be3c761b017232 | 45,707 | cc | C++ | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | 1 | 2021-01-05T05:56:04.000Z | 2021-01-05T05:56:04.000Z | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | 1 | 2021-01-26T05:15:20.000Z | 2021-01-26T05:15:20.000Z | test/extensions/clusters/redis/redis_cluster_test.cc | mengmichael1/envoy | cafccb2f92f90952619465c4f3a4f69ce43e2d55 | [
"Apache-2.0"
] | null | null | null | #include <bitset>
#include <chrono>
#include <memory>
#include <vector>
#include "envoy/config/cluster/redis/redis_cluster.pb.h"
#include "envoy/config/cluster/redis/redis_cluster.pb.validate.h"
#include "envoy/config/cluster/v3/cluster.pb.h"
#include "envoy/extensions/filters/network/redis_proxy/v3/redis_proxy.pb.h"
... | 43.324171 | 100 | 0.69683 | mengmichael1 |
3331139de82861cc8f6e5e025b2084bd2fd47043 | 5,030 | hpp | C++ | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | solvers/elliptic/elliptic.hpp | MalachiTimothyPhillips/libparanumal | f3fd4505df56207b05aa86164124ab6bad83f92a | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limitatio... | 30.858896 | 79 | 0.757058 | MalachiTimothyPhillips |
3332526f3d566e703fa2abc40ae7419c1f800ddc | 8,266 | hpp | C++ | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 8 | 2018-03-30T02:05:03.000Z | 2021-01-07T10:55:16.000Z | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 1 | 2021-05-10T02:48:10.000Z | 2021-05-10T02:48:10.000Z | libraries/chain/include/graphene/chain/config.hpp | InsurChain/insur-core | c1743f1ced41b82cd7632016639230dfd1669704 | [
"MIT"
] | 3 | 2018-03-30T03:45:57.000Z | 2019-05-23T17:05:08.000Z | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | 52.316456 | 127 | 0.74256 | InsurChain |
33325315971482f45af6013fca9c643bc35df8b2 | 2,300 | cpp | C++ | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | CLRS/BinaryTree/FindLeavesofBinaryTree.cpp | ComputerProgrammerStorager/DataStructureAlgorithm | 508f7e37898c907ea7ea6ec40749621a2349e93f | [
"MIT"
] | null | null | null | /*
Given the root of a binary tree, collect a tree's nodes as if you were doing this:
Collect all the leaf nodes.
Remove all the leaf nodes.
Repeat until the tree is empty.
Example 1:
Input: root = [1,2,3,4,5]
Output: [[4,5,3],[2],[1]]
Explanation:
[[3,5,4],[2],[1]] and [[3,4,5],[2],[1]] are also considered corre... | 25.842697 | 157 | 0.596087 | ComputerProgrammerStorager |
3332b46a90a8fc09175490fffedfe4c6501d26c6 | 1,780 | cpp | C++ | C++/course-schedule.cpp | black-shadows/LeetCode-Solutions | b1692583f7b710943ffb19b392b8bf64845b5d7a | [
"Fair",
"Unlicense"
] | 1 | 2020-04-16T08:38:14.000Z | 2020-04-16T08:38:14.000Z | course-schedule.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | null | null | null | course-schedule.cpp | Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise | f1111b4edd401a3fc47111993bd7250cf4dc76da | [
"MIT"
] | 1 | 2021-12-25T14:48:56.000Z | 2021-12-25T14:48:56.000Z | // Time: O(|V| + |E|)
// Space: O(|E|)
// Topological sort solution.
class Solution {
public:
bool canFinish(int numCourses, vector<vector<int>>& prerequisites) {
// Store courses with in-degree zero.
queue<int> zeroInDegree;
// in-degree, out-degree
unordered_m... | 34.901961 | 84 | 0.512921 | black-shadows |
3333156cc7b2178d3ffa7b14e9e95d88d9a9af45 | 731 | hpp | C++ | caffe-distri/include/common.hpp | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | 1 | 2021-01-03T09:26:07.000Z | 2021-01-03T09:26:07.000Z | caffe-distri/include/common.hpp | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | null | null | null | caffe-distri/include/common.hpp | jenniew/IntelCaffeOnSpark_mirror | 7b79ff25d5eed5f472ea7b1572f9c7fa9dcdc46c | [
"Apache-2.0"
] | 1 | 2016-07-19T14:42:37.000Z | 2016-07-19T14:42:37.000Z | // Copyright 2016 Yahoo Inc.
// Licensed under the terms of the Apache 2.0 license.
// Please see LICENSE file in the project root for terms.
#ifndef CAFFE_DISTRI_COMMON_HPP_
#define CAFFE_DISTRI_COMMON_HPP_
#include <jni.h>
#include <vector>
#include "caffe/caffe.hpp"
#include "caffe/common.hpp"
using namespace ca... | 25.206897 | 102 | 0.746922 | jenniew |
33349d9f0702121de810cca7b2449ace0e01ffe9 | 41,624 | cpp | C++ | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 19,438 | 2019-05-20T15:11:11.000Z | 2022-03-31T23:31:32.000Z | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 7,882 | 2019-05-20T01:03:52.000Z | 2022-03-31T23:26:31.000Z | Userland/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 2,721 | 2019-05-23T00:44:57.000Z | 2022-03-31T22:49:34.000Z | /*
* Copyright (c) 2020, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Debug.h>
#include <AK/Function.h>
#include <LibJS/AST.h>
#include <LibJS/Bytecode/BasicBlock.h>
#include <LibJS/Bytecode/Generator.h>
#include <LibJS/Bytecode/Interpreter.h>
#include ... | 48.120231 | 394 | 0.686359 | r00ster91 |
3336a95d4e3b353008216a696220379a64c5294a | 1,566 | cpp | C++ | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/mail/NodeMessage.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | #include <NodeMessage.h>
#include <kits/StorageKit.h>
#include <fs_attr.h>
#include <stdlib.h>
/*
These functions gives a nice BMessage interface to node attributes,
by letting you transfer attributes to and from BMessages. It makes
it so you can use all the convenient Find...() and Add...() functions
pr... | 23.373134 | 72 | 0.66092 | stasinek |
33373e6855e083d26b7765a96b276a1166653ebb | 6,325 | cpp | C++ | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | src/Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Evolution/Systems/RelativisticEuler/Valencia/PrimitiveFromConservative.hpp"
#include <cmath>
#include <limits>
#include "DataStructures/DataVector.hpp" // IWYU pragma: keep
#include "DataStructures/Tensor/EagerMath/DotProduct.hpp"
#incl... | 40.544872 | 85 | 0.700553 | trami18 |
3337439d6e49f9b8d95ada647f65f12d8e2853f4 | 10,370 | cpp | C++ | avogadro/qtplugins/scriptfileformats/fileformatscript.cpp | berquist/avogadrolibs | e169315d8f9527d6b8bee1b7426eabb8a188073b | [
"BSD-3-Clause"
] | 2 | 2020-03-28T11:01:12.000Z | 2021-06-13T10:38:28.000Z | avogadro/qtplugins/scriptfileformats/fileformatscript.cpp | berquist/avogadrolibs | e169315d8f9527d6b8bee1b7426eabb8a188073b | [
"BSD-3-Clause"
] | 2 | 2015-09-08T21:06:43.000Z | 2018-03-07T18:26:18.000Z | avogadro/qtplugins/scriptfileformats/fileformatscript.cpp | berquist/avogadrolibs | e169315d8f9527d6b8bee1b7426eabb8a188073b | [
"BSD-3-Clause"
] | 2 | 2021-02-27T01:47:50.000Z | 2021-04-02T08:31:42.000Z | /******************************************************************************
This source file is part of the Avogadro project.
Copyright 2013 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distri... | 29.293785 | 80 | 0.624687 | berquist |
33380e066506e538883f055b0d8f02de8251b3c7 | 3,277 | hpp | C++ | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | TstarMassReco/interface/RecoUtils.hpp | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : RecoUtils.hh
* Description : Utility functions for converting CMSSW object to fitting results
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
*********************************************************... | 47.492754 | 121 | 0.577968 | NTUHEP-Tstar |
33391325665e6fb86dc0fb14f9a5fdb5a28449ce | 3,999 | cpp | C++ | tests/MdFpTest.cpp | AbandonedCart/Play-CodeGen | c464cd367e19533cb3bb39b0f1987cde2131b737 | [
"BSD-2-Clause"
] | null | null | null | tests/MdFpTest.cpp | AbandonedCart/Play-CodeGen | c464cd367e19533cb3bb39b0f1987cde2131b737 | [
"BSD-2-Clause"
] | null | null | null | tests/MdFpTest.cpp | AbandonedCart/Play-CodeGen | c464cd367e19533cb3bb39b0f1987cde2131b737 | [
"BSD-2-Clause"
] | 1 | 2020-06-09T15:21:35.000Z | 2020-06-09T15:21:35.000Z | #include "MdFpTest.h"
#include "MemStream.h"
CMdFpTest::CMdFpTest()
{
}
CMdFpTest::~CMdFpTest()
{
}
void CMdFpTest::Compile(Jitter::CJitter& jitter)
{
Framework::CMemStream codeStream;
jitter.SetStream(&codeStream);
jitter.Begin();
{
//Add
jitter.MD_PushRel(offsetof(CONTEXT, src0));
... | 27.770833 | 77 | 0.669667 | AbandonedCart |
333b7557c1c2ca087dcd1433ee15f37ad9f8fc0a | 1,852 | cpp | C++ | src/backend/gporca/libgpos/src/error/CErrorHandlerStandard.cpp | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 5,535 | 2015-10-28T01:05:40.000Z | 2022-03-30T13:46:53.000Z | src/backend/gporca/libgpos/src/error/CErrorHandlerStandard.cpp | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 9,369 | 2015-10-28T07:48:01.000Z | 2022-03-31T23:56:42.000Z | src/backend/gporca/libgpos/src/error/CErrorHandlerStandard.cpp | bradfordb-vmware/gpdb | 5cc23bd1df4133aaa7a80174f5b0950933a83cc2 | [
"PostgreSQL",
"Apache-2.0"
] | 1,800 | 2015-10-28T01:08:25.000Z | 2022-03-29T13:29:36.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2008 - 2010 Greenplum, Inc.
//
// @filename:
// CErrorHandlerStandardStandard.cpp
//
// @doc:
// Implements standard error handler
//--------------------------------------------------------------------... | 25.722222 | 77 | 0.585313 | bradfordb-vmware |
333bf36d7e90d68278ad50b2ba0744b1cd425556 | 2,566 | cpp | C++ | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/reorg_layer.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/reorg_layer.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/reorg_layer.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | #include "caffe/layers/reorg_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template<typename Dtype>
void ReorgLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype> *> &bottom,
const vector<Blob<Dtype> *> &top) {
CHECK_NE(top[0], bottom[0]) << ... | 38.298507 | 110 | 0.583788 | hito0512 |
333c58b9aa04ecde8e67c2b395c24c24f16b4787 | 1,656 | cpp | C++ | source/plugins/channel/PluginFactory.cpp | rohankumardubey/NFSmartPlayer | 959a7b8503c380769771ba96d152e34c76cd276f | [
"Apache-2.0"
] | 17 | 2020-10-07T20:27:14.000Z | 2022-02-01T06:13:01.000Z | source/plugins/channel/PluginFactory.cpp | rohankumardubey/NFSmartPlayer | 959a7b8503c380769771ba96d152e34c76cd276f | [
"Apache-2.0"
] | 1 | 2021-06-16T05:14:06.000Z | 2021-06-16T05:14:06.000Z | source/plugins/channel/PluginFactory.cpp | rohankumardubey/NFSmartPlayer | 959a7b8503c380769771ba96d152e34c76cd276f | [
"Apache-2.0"
] | 3 | 2021-02-09T11:42:52.000Z | 2022-03-19T10:06:35.000Z | /*
* Copyright (c) 2016 Spotify AB.
*
* 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,... | 33.795918 | 76 | 0.733696 | rohankumardubey |
333d71890bba236bfb2410f0a18453cdae81f702 | 172 | cpp | C++ | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | 5 | 2018-01-31T16:50:39.000Z | 2018-09-23T19:18:11.000Z | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | null | null | null | sources/classes/c_baseclasses.cpp | lukis101/ArcanistsScribblings | f05f83314066c12fcf64405ef45e538294fec296 | [
"MIT"
] | null | null | null |
//#include "SDL/SDL.h"
//#include <iostream>
//#include "classes/c_baseclasses.h"
//#include "functions/logic.h"
//#include "globals.h"
//#include "classes/c_baseclass.h"
| 21.5 | 36 | 0.697674 | lukis101 |
333dc29672c97df278d65b1dffbbea7797dd0f20 | 1,293 | hpp | C++ | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | http_parser/utils/find.hpp | zerhud/std_http_utils | 0c37eecc242a93a7bf7d2d7ea8f0eb9f51d77293 | [
"MIT"
] | null | null | null | #pragma once
/*************************************************************************
* Copyright © 2022 Hudyaev Alexy <hudyaev.alexy@gmail.com>
* This file is part of http_parser.
* Distributed under the MIT License.
* See accompanying file LICENSE (at the root of this repository)
*****************************... | 32.325 | 76 | 0.556071 | zerhud |
333e8c510602b4572f7fb7a665581c53fcf1d206 | 2,555 | hpp | C++ | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/boolean/functions/if_one_else_zero.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 31.9375 | 190 | 0.646184 | psiha |
333f597861ed901be25f25753175e181f6f94f6a | 1,266 | cpp | C++ | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/plc/src/document/EXACTLY.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | // This file was generated using Parlex's cpp_generator
#include "EXACTLY.hpp"
#include "plange_grammar.hpp"
#include "parlex/detail/document.hpp"
#include "EXPRESSION.hpp"
#include "IC.hpp"
plc::EXACTLY plc::EXACTLY::build(parlex::detail::ast_node const & n) {
static auto const * b = state_machine().behavior;
p... | 45.214286 | 152 | 0.71248 | dlin172 |
334038fc5382de376e28dc2a08b4190a2f11bbad | 417 | cpp | C++ | BOCA/AB/src/validator.cpp | Raquel29/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | 1 | 2020-05-24T02:22:13.000Z | 2020-05-24T02:22:13.000Z | BOCA/AB/src/validator.cpp | danielsaad/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | null | null | null | BOCA/AB/src/validator.cpp | danielsaad/PC1-IFB-CC | 36b55e95373a5f022651545248d8cb66bac1cd3f | [
"MIT"
] | 4 | 2019-05-15T10:55:57.000Z | 2019-10-26T13:46:48.000Z | #include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
const int MIN_N = 2;
const int MAX_N = 1e5;
const double MIN_VALUE = 0.0;
const double MAX_VALUE = 10.0;
int main(int argc, char* argv[]) {
registerValidation(argc, argv);
int n = inf.readInt(MIN_N,MAX_N,"n");
inf.readEoln();
inf.re... | 19.857143 | 52 | 0.657074 | Raquel29 |
33407ef0747e90112dffe5b4bd15a0c62064c56e | 315,827 | cpp | C++ | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 1,244 | 2015-01-02T21:08:56.000Z | 2022-03-22T21:34:16.000Z | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 125 | 2015-01-22T01:08:00.000Z | 2020-05-25T08:28:17.000Z | test/std/experimental/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp | georgix/llvm_libcxx | 9962ddfa24575d41ffeeaaf4f90a33ea859980dd | [
"MIT"
] | 124 | 2015-01-12T15:06:17.000Z | 2022-03-26T07:48:53.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 54.04295 | 88 | 0.569888 | georgix |
3340a84f5d1d80057b6bed08cf898648910a7d4e | 1,415 | cpp | C++ | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/shared/tf2/tf_gamemovement_pyro.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Auto Repair
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "tf_gamemovement_pyro.h"
#include "tf_movedata.h"
CTFGameMovementPyro::CTFGameMovem... | 28.877551 | 98 | 0.727208 | cstom4994 |
33411775443682a41df3e93e2b64836d95801609 | 14,093 | hpp | C++ | packages/kokkos/core/src/Qthreads/Kokkos_Qthreads_TaskQueue_impl.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | packages/kokkos/core/src/Qthreads/Kokkos_Qthreads_TaskQueue_impl.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | packages/kokkos/core/src/Qthreads/Kokkos_Qthreads_TaskQueue_impl.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | 31.884615 | 84 | 0.599234 | mathstuf |
3341da3ac75a229cac515014d5546f34172fffdb | 5,046 | cpp | C++ | third_party/ComputeLibrary/tests/validation/CPP/Permute.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/ComputeLibrary/tests/validation/CPP/Permute.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/ComputeLibrary/tests/validation/CPP/Permute.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 ... | 41.02439 | 254 | 0.749108 | gautamkmr |
3343906aec9fcac9c07f049ef8546ce1e37d391e | 257 | cpp | C++ | Untitled2.cpp | vkku/cppWorkspace | 1b07511eb30929139a3769cffc0be9e4683c8683 | [
"MIT"
] | 1 | 2016-10-20T17:08:02.000Z | 2016-10-20T17:08:02.000Z | Untitled2.cpp | vkku/cppWorkspace | 1b07511eb30929139a3769cffc0be9e4683c8683 | [
"MIT"
] | null | null | null | Untitled2.cpp | vkku/cppWorkspace | 1b07511eb30929139a3769cffc0be9e4683c8683 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
using namespace std;
int main()
{
string str;
cout<<"\nEnter String\n";
getline(cin, str);
for(string::reverse_iterator rev = str.rbegin() ; rev != str.rend() ; rev++)
cout<<*rev;
return 0;
}
| 18.357143 | 80 | 0.603113 | vkku |
3347264e7abc190b2f9beeb3a38c6c862f31c616 | 4,692 | cpp | C++ | src/solvers/strings/string_constraint_generator_constants.cpp | lpmi-13/cbmc | dc4ffae64430ac5b1c971da44ce0dba189a5b6bf | [
"BSD-4-Clause"
] | null | null | null | src/solvers/strings/string_constraint_generator_constants.cpp | lpmi-13/cbmc | dc4ffae64430ac5b1c971da44ce0dba189a5b6bf | [
"BSD-4-Clause"
] | null | null | null | src/solvers/strings/string_constraint_generator_constants.cpp | lpmi-13/cbmc | dc4ffae64430ac5b1c971da44ce0dba189a5b6bf | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Generates string constraints for constant strings
Author: Romain Brenguier, romain.brenguier@diffblue.com
\*******************************************************************/
/// \file
/// Generates string constraints for constant string... | 37.536 | 80 | 0.717178 | lpmi-13 |
334dbaed6a78b6e28124d5dc304920922173bb65 | 4,209 | cpp | C++ | source/algorithms/class_idmrg.cpp | DavidAce/DMRG | e465fd903eade1bf6aa74daacd8e2cf02e9e9332 | [
"MIT"
] | 9 | 2017-10-31T22:50:28.000Z | 2022-03-10T15:45:27.000Z | source/algorithms/class_idmrg.cpp | DavidAce/DMRG | e465fd903eade1bf6aa74daacd8e2cf02e9e9332 | [
"MIT"
] | null | null | null | source/algorithms/class_idmrg.cpp | DavidAce/DMRG | e465fd903eade1bf6aa74daacd8e2cf02e9e9332 | [
"MIT"
] | 1 | 2019-07-16T00:27:56.000Z | 2019-07-16T00:27:56.000Z | //
// Created by david on 2018-01-18.
//
#include "class_idmrg.h"
#include <config/nmspc_settings.h>
#include <general/nmspc_tensor_extra.h>
#include <tensors/class_tensors_infinite.h>
#include <tensors/edges/class_edges_infinite.h>
#include <tensors/model/class_model_infinite.h>
#include <tensors/state/class_state_in... | 38.263636 | 153 | 0.674982 | DavidAce |
3351218184d4e3d0f5a0b4c6048198aedf0c67bd | 798 | hpp | C++ | src/duke/streams/SingleFileStream.hpp | hradec/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 51 | 2015-01-07T18:36:39.000Z | 2021-11-30T15:24:44.000Z | src/duke/streams/SingleFileStream.hpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 1 | 2015-01-08T10:48:43.000Z | 2015-02-11T19:32:14.000Z | src/duke/streams/SingleFileStream.hpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 18 | 2015-05-11T12:43:37.000Z | 2019-11-29T11:15:41.000Z | #pragma once
#include "IMediaStream.hpp"
#include "duke/attributes/Attributes.hpp"
#include "duke/io/IO.hpp"
#include <mutex>
namespace sequence {
struct Item;
}
namespace duke {
class SingleFileStream final : public duke::IMediaStream {
public:
SingleFileStream(const sequence::Item& item);
~SingleFileStream... | 21 | 76 | 0.749373 | hradec |
3352b3882b2ab38b5ac7ca00f367c4ecdbb57303 | 6,503 | cpp | C++ | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 6 | 2015-03-21T10:20:55.000Z | 2019-03-10T14:04:43.000Z | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 1 | 2020-07-04T23:48:49.000Z | 2020-07-04T23:48:49.000Z | legacy/project/src/common/GraphicsData.cpp | gunnbr/lime | 87cd4b2dbb4b32d7cbe8a03895e0d2a35f8662cc | [
"MIT"
] | 2 | 2016-01-24T20:01:59.000Z | 2019-10-26T22:52:43.000Z | #include <Graphics.h>
namespace nme
{
// --- GraphicsPath ------------------------------------------
void GraphicsPath::initPosition(const UserPoint &inPoint)
{
commands.push_back(pcBeginAt);
data.push_back(inPoint.x);
data.push_back(inPoint.y);
}
void GraphicsPath::clear()
{
commands.resize(0);
data... | 23.733577 | 114 | 0.565893 | gunnbr |
3352ee924a53250514f942069e6b96ba72d835fe | 76,306 | cpp | C++ | automated-tests/src/dali/utc-Dali-CameraActor.cpp | Coquinho/dali-core | 97a968a80ad681b1cbbc219fa6729f2344672476 | [
"Apache-2.0",
"BSD-3-Clause"
] | 21 | 2016-11-18T10:26:40.000Z | 2021-11-02T09:46:15.000Z | automated-tests/src/dali/utc-Dali-CameraActor.cpp | Coquinho/dali-core | 97a968a80ad681b1cbbc219fa6729f2344672476 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2016-10-18T17:39:12.000Z | 2020-12-01T11:45:36.000Z | automated-tests/src/dali/utc-Dali-CameraActor.cpp | expertisesolutions/dali-core | 444ee3f60f12a23aca07059c5e1109f26613e44e | [
"Apache-2.0",
"BSD-3-Clause"
] | 16 | 2017-03-08T15:50:32.000Z | 2021-05-24T06:58:10.000Z | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 35.976426 | 180 | 0.755091 | Coquinho |
33533c34088ba4131af99f6493e0c7c67909292b | 25,711 | cc | C++ | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | 1 | 2022-03-23T16:16:41.000Z | 2022-03-23T16:16:41.000Z | self_test/poisson/tree_rotation_tests/tree_3d.cc | PuneetMatharu/oomph-lib | edd590cbb4f3ef9940b9738f18275ea2fb828c55 | [
"RSA-MD"
] | null | null | null | //LIC// ====================================================================
//LIC// This file forms part of oomph-lib, the object-oriented,
//LIC// multi-physics finite-element library, available
//LIC// at http://www.oomph-lib.org.
//LIC//
//LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel
//LIC//
//L... | 28.007625 | 79 | 0.598071 | PuneetMatharu |
3353cb6ede5da5fd87ab26a7495727020406705d | 2,162 | cpp | C++ | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsWeapon/Source/CsWp/Public/Projectile/Data/CsLibrary_Data_ProjectileWeapon.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Projectile/Data/CsLibrary_Data_ProjectileWeapon.h"
#include "CsWp.h"
// Library
#include "Library/CsLibrary_Valid.h"
// Data
#include "Projectile/Data/CsData_ProjectileWeapon.h"
namespace NCsWeapon
{
namespace NProjectile
{
namespace NDa... | 32.268657 | 158 | 0.703515 | closedsum |
3353d36cdcef350ede0f2ff412c7ea068d026a76 | 791 | cpp | C++ | CodeForces/Complete/400-499/475A-BayanBus.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/400-499/475A-BayanBus.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/400-499/475A-BayanBus.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <iostream>
#include <vector>
int main(){
std::string top = "+------------------------+\n";
std::string first = "|#.#.#.#.#.#.#.#.#.#.#.|D|)\n";
std::string second = "|#.#.#.#.#.#.#.#.#.#.#.|.|\n";
std::string aisle = "|#.......................|\n";
std::string ... | 26.366667 | 68 | 0.35019 | Ashwanigupta9125 |
3353f63b821cddf0568afdb7e2bcfd9bc2f67f13 | 752 | cpp | C++ | src/dynamics/neuron_models/FitzHugh_Nagumo.cpp | yi1306c12/zweifel4suna | 1d166899b46345449e86e50c27fc4d6335a6b7d4 | [
"Apache-2.0"
] | null | null | null | src/dynamics/neuron_models/FitzHugh_Nagumo.cpp | yi1306c12/zweifel4suna | 1d166899b46345449e86e50c27fc4d6335a6b7d4 | [
"Apache-2.0"
] | null | null | null | src/dynamics/neuron_models/FitzHugh_Nagumo.cpp | yi1306c12/zweifel4suna | 1d166899b46345449e86e50c27fc4d6335a6b7d4 | [
"Apache-2.0"
] | null | null | null |
#include"FitzHugh_Nagumo.h"
FitzHugh_Nagumo::FitzHugh_Nagumo(double a, double b, double tal, double discretization_time)
{
this->a=a;
this->b=b;
this->tal=tal;
this->discretization_time= discretization_time;
restingState();
}
FitzHugh_Nagumo::~FitzHugh_Nagumo()
{
}
//set the neuron to resting state
void Fitz... | 12.745763 | 92 | 0.632979 | yi1306c12 |
335429359dac1d5601556f4550f4270b20170e8a | 10,227 | cpp | C++ | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | 3 | 2019-07-11T18:16:48.000Z | 2019-07-18T11:53:34.000Z | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | 5 | 2019-07-19T07:16:53.000Z | 2019-08-16T07:23:47.000Z | src/linux_platform.cpp | glitchheart/glitchheartengine | 7adf14475f8feb6239e12a9ce2cfd9c005592443 | [
"MIT"
] | null | null | null | #include <time.h>
#include <errno.h>
#include <sys/sendfile.h>
#include <sys/mman.h>
#include "unistd.h"
#include <dirent.h>
#include "dlfcn.h"
#include "linux_threading.cpp"
struct PlatformHandle
{
i32 handle;
};
inline PLATFORM_FILE_EXISTS(linux_file_exists)
{
struct stat buffer;
return (stat(file_path,... | 22.526432 | 123 | 0.582967 | glitchheart |
335653f54dd2f8c39bf3f44e2158859f4386ba2e | 15,542 | cpp | C++ | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 4 | 2020-02-26T19:33:16.000Z | 2020-12-06T07:50:11.000Z | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 12 | 2020-05-13T03:50:11.000Z | 2021-09-16T16:26:06.000Z | src/modes/hip/device.cpp | luspi/occa | a6d9846fc67f35dea1c3af1ef3dc36bbe1fdd244 | [
"MIT"
] | 10 | 2020-03-02T15:55:02.000Z | 2021-12-03T02:44:10.000Z | #include <occa/core/base.hpp>
#include <occa/io/output.hpp>
#include <occa/tools/env.hpp>
#include <occa/tools/misc.hpp>
#include <occa/tools/sys.hpp>
#include <occa/modes/hip/device.hpp>
#include <occa/modes/hip/kernel.hpp>
#include <occa/modes/hip/memory.hpp>
#include <occa/modes/hip/stream.hpp>
#include <occa/modes/... | 34.461197 | 92 | 0.527538 | luspi |
3357b93b10a6f3a9f27e362a1cc42e5746774512 | 8,308 | cpp | C++ | src/wren/Config.cpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 1,561 | 2019-09-04T11:32:32.000Z | 2022-03-31T18:00:09.000Z | src/wren/Config.cpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 2,184 | 2019-09-03T11:35:02.000Z | 2022-03-31T10:01:44.000Z | src/wren/Config.cpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 1,013 | 2019-09-07T05:09:32.000Z | 2022-03-31T13:01:28.000Z | // Copyright 1996-2021 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 30.884758 | 127 | 0.69066 | Justin-Fisher |
33589817109583ff5c0107e065fa2b2f95d9f573 | 152,808 | cpp | C++ | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp | Ybalrid/ogre-next | 8a4919be31c4262643a77534f883e35fdf850f4a | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
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 pe... | 38.307345 | 182 | 0.573445 | Ybalrid |
3358c5e078d542649f3778d2702e7a73cc809bf0 | 1,501 | cpp | C++ | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | quic/common/test/TimeUtilTest.cpp | jsquyres/mvfst | 4dd8efffcbd49db0e7a70f534c2f01bac74cd0ed | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, 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 <quic/common/TimeUtil.h>
#include <gtest/gtest.h>
namespace quic {
namespace test {
using namespace std;
using namesp... | 31.270833 | 66 | 0.711526 | jsquyres |
3359e463a9f49f08f03780efc8e4f8f4db39b0f6 | 2,250 | cpp | C++ | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | 1 | 2021-09-04T19:23:37.000Z | 2021-09-04T19:23:37.000Z | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | null | null | null | tests/lsutils_alloc_chunk_test.cpp | hamsham/LightUtils | ae909ee0e6d8915b1447cbb41aceceb98df1a2e6 | [
"BSD-3-Clause"
] | 1 | 2015-10-16T06:07:58.000Z | 2015-10-16T06:07:58.000Z |
#include <cassert>
#include <cstdio>
#include <iostream>
#include "lightsky/utils/ChunkAllocator.hpp"
int main()
{
constexpr unsigned alloc_table_size = 1024*1024;
constexpr unsigned block_size = 512;
constexpr unsigned max_allocations = alloc_table_size / block_size;
// test allocator of 64 bytes... | 25 | 95 | 0.492889 | hamsham |
335a1f7e2f14d2f765af640085054541005f500e | 10,910 | hpp | C++ | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | src/lib/xml_compiler/include/pqrs/xml_compiler/detail/extracted_ptree.hpp | liasica/Karabiner_CN | 5e9e4cb6734777bc9eecc57c5fcd0e8010c2bdc2 | [
"Unlicense"
] | null | null | null | // This header intentionally has no include guards.
class extracted_ptree final {
public:
extracted_ptree(const xml_compiler& xml_compiler,
const pqrs::string::replacement& replacement,
const boost::property_tree::ptree& pt,
const std::string& xml_file_path) : xm... | 35.537459 | 126 | 0.534189 | liasica |
335a29459ce03656ae931eab214d07e1c2aae99e | 41,119 | hpp | C++ | include/librealsense2/hpp/rs_processing.hpp | NobuoTsukamoto/librealsense | bc0910f8ba3c33307ff247a29dd2b9e9ef1b269d | [
"Apache-2.0"
] | 5 | 2021-09-23T13:31:32.000Z | 2021-09-28T05:41:09.000Z | include/librealsense2/hpp/rs_processing.hpp | NobuoTsukamoto/librealsense | bc0910f8ba3c33307ff247a29dd2b9e9ef1b269d | [
"Apache-2.0"
] | 1 | 2021-07-07T08:10:40.000Z | 2021-07-07T08:10:40.000Z | include/librealsense2/hpp/rs_processing.hpp | NobuoTsukamoto/librealsense | bc0910f8ba3c33307ff247a29dd2b9e9ef1b269d | [
"Apache-2.0"
] | 2 | 2021-01-25T01:18:47.000Z | 2021-03-18T06:44:07.000Z | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
#ifndef LIBREALSENSE_RS2_PROCESSING_HPP
#define LIBREALSENSE_RS2_PROCESSING_HPP
#include "rs_types.hpp"
#include "rs_frame.hpp"
#include "rs_options.hpp"
namespace rs2
{
/**
* The source u... | 34.728885 | 285 | 0.579221 | NobuoTsukamoto |
335aa0963e6cf863ffe332b7167bf4272db2a7e6 | 5,033 | cpp | C++ | prj.core/shape_representation_models/src/run_length_encoding.cpp | BeamOfLight/shape_representation_models | ac9b4444717fed19837067fcc22fee92476a3907 | [
"Apache-2.0"
] | null | null | null | prj.core/shape_representation_models/src/run_length_encoding.cpp | BeamOfLight/shape_representation_models | ac9b4444717fed19837067fcc22fee92476a3907 | [
"Apache-2.0"
] | null | null | null | prj.core/shape_representation_models/src/run_length_encoding.cpp | BeamOfLight/shape_representation_models | ac9b4444717fed19837067fcc22fee92476a3907 | [
"Apache-2.0"
] | null | null | null | /**
https://github.com/BeamOfLight/shape_representation_models.git
run_length_encoding.cpp
@author Denis Borisoglebskiy
@version 1.0 2016-10-04
*/
#include <shape_representation_models/run_length_encoding.h>
ShapeRepresentationModels::RunLengthEncoding::RunLengthEncoding(size_t pointRepresentationS... | 33.331126 | 154 | 0.648122 | BeamOfLight |
335bc2f9af7c624a447443c6eab1d4fe73502faa | 29,733 | cxx | C++ | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | 29.092955 | 144 | 0.612518 | arobert01 |
335bf526893c58bcc3c289f9db41283003db3465 | 6,371 | cxx | C++ | Modules/IO/SpatialObjects/test/itkPolygonGroupSpatialObjectXMLFileTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/IO/SpatialObjects/test/itkPolygonGroupSpatialObjectXMLFileTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/IO/SpatialObjects/test/itkPolygonGroupSpatialObjectXMLFileTest.cxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 30.051887 | 113 | 0.621096 | arobert01 |
335c4ea94b60c2b37eac096a95aa53644fd4b39b | 1,554 | cpp | C++ | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | 4 | 2022-01-09T18:13:29.000Z | 2022-01-09T18:15:54.000Z | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | null | null | null | src/scenemanager.cpp | thatretrodev/unnamedgame | 9292a8d6a02206b0cceb063e24d53dbd2e048f3d | [
"MIT"
] | null | null | null | #include "raylib.h"
#include "scenemanager.hpp"
SceneManager::SceneManager(bool* gameRunning) {
this->gameRunning = gameRunning;
}
void SceneManager::SwitchScene(int SceneID) {
this->sceneType = SceneID;
switch (this->sceneType) {
case 1:
this->mainMenuScene.Init(this->gameRunning);
break;
case 2:
th... | 21.287671 | 101 | 0.637066 | thatretrodev |
3361caf94ebab2538bda5e7af1ed1c0f5caf0c7f | 189,134 | cc | C++ | sync/engine/syncer_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | sync/engine/syncer_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | sync/engine/syncer_unittest.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Syncer unit tests. Unfortunately a lot of these tests
// are outdated and need to be reworked and updated.
#include <algorithm>
#include <limits>
#i... | 39.109595 | 80 | 0.69456 | pozdnyakov |
3364518322a07a828793414021d6a4ee5feacb8b | 770 | cc | C++ | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | test/google-test/loan_controllers_parser_test/loan_controllers_parser_test.cc | fadi-alkhoury/fisim | 08d91973251c94b8ac60b1889b41ffa3ace0d8ad | [
"MIT"
] | null | null | null | #include "json_helpers.h"
#include "rapidjson/document.h"
#include "rapidjson/filereadstream.h"
#include "simulator.h"
#include <gtest/gtest.h>
namespace {
TEST(ParserLoansDataTest, test00) {
using namespace rapidjson;
FILE* fp = std::fopen("./test/google-test/loan_controllers_parser_test/loan_controllers_tes... | 27.5 | 134 | 0.720779 | fadi-alkhoury |
336527597c5d575414f18202a7e0c7ad5b9fca4f | 114,677 | cc | C++ | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | zircon/kernel/vm/vm_unittest.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 1 | 2021-08-15T04:29:11.000Z | 2021-08-15T04:29:11.000Z | // Copyright 2016 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <align.h>
#include <assert.h>
#include <err.h>
#include <lib/instrumentation/asan.h>
#include <lib/unittest/unittest.h>
#... | 33.57055 | 100 | 0.704971 | oshunter |
3367ee41962a88463f61d018b666983548147c2f | 1,033 | cpp | C++ | src/GUI/GHGUIWidgetRendererModelXMLLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/GUI/GHGUIWidgetRendererModelXMLLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/GUI/GHGUIWidgetRendererModelXMLLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | #include "GHGUIWidgetRendererModelXMLLoader.h"
#include "GHXMLObjFactory.h"
#include "GHGUIWidgetRendererModel.h"
#include "GHXMLNode.h"
#include "GHPlatform/GHDebugMessage.h"
GHGUIWidgetRendererModelXMLLoader::GHGUIWidgetRendererModelXMLLoader(const GHXMLObjFactory& objFactory)
: mObjFactory(objFactory)
{
}
void* ... | 27.918919 | 129 | 0.766699 | GoldenHammerSoftware |
33684bb6b44f771fa38c699b33d5f8c05b88a25c | 3,446 | hpp | C++ | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 3 | 2019-11-25T17:21:28.000Z | 2021-09-10T15:45:57.000Z | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | null | null | null | Source/Matter/MatterCCZ4.impl.hpp | boxuange/GRChomboo | 22cf6751a3be29776f35a39f433f6bb497280720 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T23:01:02.000Z | 2022-02-24T23:01:02.000Z | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#if !defined(MATTERCCZ4_HPP_)
#error "This file should only be included through MatterCCZ4.hpp"
#endif
#ifndef MATTERCCZ4_IMPL_HPP_
#define MATTERCCZ4_IMPL_HPP_
#include "DimensionDefinitions.hpp"
t... | 32.509434 | 80 | 0.663378 | boxuange |
3368af3eb9ebe7d634f92ca778a33c09ee112913 | 4,944 | cpp | C++ | Development/External/wxWindows_2.4.0/contrib/utils/convertrc/convert.cpp | addstone/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 37 | 2020-05-22T18:18:47.000Z | 2022-03-19T06:51:54.000Z | Development/External/wxWindows_2.4.0/contrib/utils/convertrc/convert.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | null | null | null | Development/External/wxWindows_2.4.0/contrib/utils/convertrc/convert.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 27 | 2020-05-17T01:03:30.000Z | 2022-03-06T19:10:14.000Z | //wxConvertApp Programming Utility
/*This program currently offers 3 useful conversions
1. Converts most of an .RC file into a wxXml file
2. Converts most of an .wxr file into a wxXml file
3. Converts portions of an .RC file into a wxr file
*/
#ifdef __GNUG__
#pragma implementation "convert.cpp"
#pragma interface "... | 22.170404 | 89 | 0.622977 | addstone |
3369b7a724d1f8ff24bc30f97d6e4c348a0202a0 | 4,332 | cpp | C++ | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 60 | 2019-11-30T00:30:33.000Z | 2022-03-26T03:44:53.000Z | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 8 | 2019-12-16T07:55:54.000Z | 2022-03-09T21:01:02.000Z | src/main.cpp | stoneface86/trackerboy | 68cbb4c56ec4bbccfd1fe172a57451bdaba91561 | [
"MIT"
] | 3 | 2021-08-06T07:17:15.000Z | 2022-03-08T03:39:06.000Z |
#include "forms/MainWindow.hpp"
#include <QApplication>
#include <QCommandLineParser>
#include <QDateTime>
#include <QFontDatabase>
#include <QFile>
#include <QFileInfo>
#include <QElapsedTimer>
#include <QMessageBox>
#include <QPointer>
#include <QStringBuilder>
#include <QtDebug>
#include <QTextStream>
#include <i... | 26.414634 | 97 | 0.64012 | stoneface86 |
336a96defe3ef94edeed2ef440f748d6a63e90e9 | 4,076 | hpp | C++ | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | ql/termstructures/volatility/equityfx/localvolsurface.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2003 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... | 34.252101 | 81 | 0.685967 | urgu00 |
336b7506cb7d7047d0747d93840f7666c4f72411 | 3,232 | cpp | C++ | iree/compiler/Dialect/HAL/Target/LLVM/LLVMIRPasses.cpp | EmperorYP7/iree | fffa1f3e33bc1031c790583166ce82c91dd8b3e7 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/HAL/Target/LLVM/LLVMIRPasses.cpp | EmperorYP7/iree | fffa1f3e33bc1031c790583166ce82c91dd8b3e7 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Dialect/HAL/Target/LLVM/LLVMIRPasses.cpp | EmperorYP7/iree | fffa1f3e33bc1031c790583166ce82c91dd8b3e7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 39.414634 | 80 | 0.751856 | EmperorYP7 |
336ba268880895efe4786fb1506bed32bd33679c | 78,296 | cpp | C++ | kratos/utilities/specifications_utilities.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | kratos/utilities/specifications_utilities.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | kratos/utilities/specifications_utilities.cpp | clazaro/Kratos | b947b82c90dfcbf13d60511427f85990d36b90be | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Vicente Mataix Ferrandiz
// ... | 53.590691 | 320 | 0.61537 | clazaro |
336c2f274272c5e15bbb6787f56f08fb3be15f3c | 316 | cpp | C++ | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | vuzway/PAT | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | 5 | 2020-02-10T08:26:19.000Z | 2020-07-09T00:11:16.000Z | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | Assassin2016/zju_data_structures_and_algorithms_in_MOOC | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | null | null | null | PAT (Advanced Level) Practice/1001 A+B Format (20).cpp | Assassin2016/zju_data_structures_and_algorithms_in_MOOC | 5db8ca9295b51ad9e99c815a46e4ac764d7d06c1 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int sum = a + b;
if (sum < 0) printf("-");
string s = to_string(abs(sum));
for (int i = 0; i < s.length(); i++) {
if ((s.length()-1-i+1) % 3 == 0 && i != s.length()-1 && i != 0) printf(",");
printf("%c", s[i]);
}
return 0;
}
| 21.066667 | 78 | 0.490506 | vuzway |
33702a11cb136b3de30662890faddeefc097626c | 3,936 | hpp | C++ | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | 1 | 2019-03-07T12:00:12.000Z | 2019-03-07T12:00:12.000Z | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | null | null | null | engine_template/DebugEditor.hpp | grant-h/gfx | 1ae200350f019fec23dfd7c17fdae74a2e587a57 | [
"MIT"
] | null | null | null | #ifndef _DEBUG_EDITOR_H
#define _DEBUG_EDITOR_H
#include <vector>
#include <memory>
#include <Shader.hpp>
#include <ResourceManager.hpp>
#include <Renderer.hpp>
#include <imgui.h>
#include <TextEditor.h>
extern const TextEditor::Palette custom_palette;
class DebugEditor {
private:
TextEditor text_editor_;
... | 35.142857 | 124 | 0.60747 | grant-h |
337044fb8f5ddb5b107fafd26b38f26f048fdad7 | 362 | hpp | C++ | include/framework/Curves.hpp | ThePythonator/Bucket-Inc | d8d4fc7c3b66cf6b3c96d2ed4612f9ffc4844ba9 | [
"MIT"
] | 2 | 2022-03-17T18:11:07.000Z | 2022-03-17T19:55:35.000Z | include/framework/Curves.hpp | ThePythonator/Rocket-Manager | 61489a9df2ac25b96ac337afd5cb58375533c748 | [
"MIT"
] | null | null | null | include/framework/Curves.hpp | ThePythonator/Rocket-Manager | 61489a9df2ac25b96ac337afd5cb58375533c748 | [
"MIT"
] | null | null | null | #pragma once
#include "Maths.hpp"
namespace Framework {
namespace Curves {
// Linear interpolation, where t is from 0 to 1
int linear(int start, int end, float t);
float linear(float start, float end, float t);
vec2 linear(vec2 start, vec2 end, float t);
// Bezier curve, where t is from 0 to 1
vec2 bezi... | 24.133333 | 49 | 0.690608 | ThePythonator |
3370536bb5f3a819fe9cd00b7bd2794acbeca6af | 7,217 | cpp | C++ | Exercises/BiggerProjects/OpenGLProject/src/Wheel.cpp | WorkingFen/CppBasics | 5c27d03af723bc5bf485ae9f8c7787d1b0751f26 | [
"MIT"
] | null | null | null | Exercises/BiggerProjects/OpenGLProject/src/Wheel.cpp | WorkingFen/CppBasics | 5c27d03af723bc5bf485ae9f8c7787d1b0751f26 | [
"MIT"
] | null | null | null | Exercises/BiggerProjects/OpenGLProject/src/Wheel.cpp | WorkingFen/CppBasics | 5c27d03af723bc5bf485ae9f8c7787d1b0751f26 | [
"MIT"
] | null | null | null | #include "Wheel.h"
Wheel::Wheel(GLuint texture, ShaderProgram *shader)
{
std::vector<GLfloat> newVertices = {
// coordinates // color // texture
2.95f, -0.6f, 0.05f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, // 0
2.95f, -0.6f, -0.05f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, // 1
2.95f, -0.4f, 0.05f, 0.0f, 0.0f, 0.0f, 1.0... | 25.322807 | 61 | 0.640017 | WorkingFen |
3372bcc8537467de772d82323dfede95a9170f38 | 3,017 | cpp | C++ | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 96 | 2020-12-08T22:09:05.000Z | 2022-03-29T21:43:33.000Z | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 94 | 2020-10-31T00:26:11.000Z | 2022-03-23T21:19:59.000Z | src/storage/NFS.cpp | varchar-io/nebula | 5a892b32fa0419d8fb87bd1b8e9f010b8b83fa8b | [
"Apache-2.0"
] | 9 | 2020-11-15T23:20:40.000Z | 2022-03-22T16:23:39.000Z | /*
* Copyright 2017-present varchar.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 29.009615 | 108 | 0.661584 | varchar-io |
3373deabda7f99886ba328849babfd5e51c0f850 | 3,810 | hpp | C++ | libcaf_core/caf/defaults.hpp | tenzir/actor-framework | f3c0377dabd7312c543f03f3fe4e33c61286b170 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-09-30T09:50:34.000Z | 2020-09-30T09:50:34.000Z | libcaf_core/caf/defaults.hpp | tenzir/actor-framework | f3c0377dabd7312c543f03f3fe4e33c61286b170 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-11-26T13:14:47.000Z | 2021-11-26T16:29:58.000Z | libcaf_core/caf/defaults.hpp | tenzir/actor-framework | f3c0377dabd7312c543f03f3fe4e33c61286b170 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-09-30T09:50:00.000Z | 2020-09-30T09:50:00.000Z | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 40.105263 | 80 | 0.582677 | tenzir |
3374a15076d2a5289401f1fa3ba1f8fc7816cb99 | 4,731 | cpp | C++ | mcrouter/lib/config/test/config_preprocessor_test.cpp | edenzik/mcrouter | 6087962cd45530447c51f659a918862e4ad6acc0 | [
"MIT"
] | 2 | 2020-03-19T17:25:21.000Z | 2020-03-19T17:25:29.000Z | mcrouter/lib/config/test/config_preprocessor_test.cpp | fakeNetflix/facebook-repo-mcrouter | cc9fb6ace9e21f174b2d620c3c9e57d99156df47 | [
"MIT"
] | null | null | null | mcrouter/lib/config/test/config_preprocessor_test.cpp | fakeNetflix/facebook-repo-mcrouter | cc9fb6ace9e21f174b2d620c3c9e57d99156df47 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, 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 <string>
#include <vector>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <folly/FileUtil.h>
#include <folly... | 29.754717 | 79 | 0.680194 | edenzik |
3375853291ed3ca2d79c509d2e20858897a5dd2a | 2,011 | cpp | C++ | lldb/test/Shell/Register/Inputs/x86-ymm-write.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 765 | 2015-12-03T16:44:59.000Z | 2022-03-07T12:41:10.000Z | lldb/test/Shell/Register/Inputs/x86-ymm-write.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,815 | 2015-12-11T23:56:05.000Z | 2020-01-10T19:28:43.000Z | lldb/test/Shell/Register/Inputs/x86-ymm-write.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 284 | 2015-12-03T16:47:25.000Z | 2022-03-12T05:39:48.000Z | #include <cinttypes>
#include <cstdint>
#include <cstdio>
union alignas(32) ymm_t {
uint64_t as_uint64[4];
uint8_t as_uint8[32];
};
int main() {
constexpr ymm_t ymm_fill = {
.as_uint64 = { 0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F,
0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F }
};
ymm_t ymm[1... | 26.460526 | 76 | 0.527101 | medismailben |
33765ddc9bbc26f99197006f4a4db6fe60adc2c3 | 2,549 | cpp | C++ | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | test/op/ScatterNdTest.cpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// ScatterNdTest.cpp
// MNNTests
//
// Created by MNN on 2019/11/28.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <MNN/expr/Expr.hpp>
#include <MNN/expr/ExprCreator.hpp>
#include "MNNTestSuite.h"
#include "TestUtils.h"
using namespace MNN::Express;
class ScatterNdTest : public MNNTestCase {
... | 40.460317 | 109 | 0.490781 | JujuDel |
337b9cd5b80093d14bfe28fc84d231c77c260445 | 2,109 | hpp | C++ | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 11 | 2020-07-27T10:17:29.000Z | 2022-03-12T10:41:41.000Z | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 40 | 2020-07-27T09:15:07.000Z | 2022-03-29T11:23:05.000Z | src/shard_port_calculator.hpp | jtcarnes/cpp-driver | 2bdfa2b90c2050b56c0572ba039f576fb5f1a922 | [
"Apache-2.0"
] | 15 | 2020-07-29T20:40:24.000Z | 2022-03-29T06:34:34.000Z | /*
* Copyright (C) 2020 ScyllaDB
*
* 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 ... | 35.15 | 84 | 0.757231 | jtcarnes |
337de4e4b4c51749e387f9f5281c7b38720553f5 | 8,894 | cc | C++ | cpp/controllers/lsqp/tests/collision_avoidance_constraint_test.cc | wx-b/dm_robotics | 5d407622360ccf7f0b4b50bcee84589e2cfd0783 | [
"Apache-2.0"
] | 128 | 2021-09-08T18:39:39.000Z | 2022-03-27T11:29:05.000Z | cpp/controllers/lsqp/tests/collision_avoidance_constraint_test.cc | wx-b/dm_robotics | 5d407622360ccf7f0b4b50bcee84589e2cfd0783 | [
"Apache-2.0"
] | 7 | 2021-10-11T14:26:17.000Z | 2022-03-15T17:26:45.000Z | cpp/controllers/lsqp/tests/collision_avoidance_constraint_test.cc | wx-b/dm_robotics | 5d407622360ccf7f0b4b50bcee84589e2cfd0783 | [
"Apache-2.0"
] | 8 | 2021-09-08T18:25:49.000Z | 2022-02-21T23:45:16.000Z | // Copyright 2020 DeepMind Technologies Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 40.986175 | 80 | 0.724309 | wx-b |
337e6e2c8337686849a847dd6d37ea8db7b1b90e | 5,619 | cpp | C++ | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/facs/gui/lengthprofile/ProfilePane.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// // license___here
#include "ProfilePane.h"
#include "ProfileView.h"
#include "FacsanaduProject.h"
#include "../gates/GateSet.h"
#include "MainWindow.h"
#include "../resource/ImgResource.h"
#include "../data/ProfChannel.h"
// package facsanadu.gui.lengthprofile;
ProfilePane::ProfilePane(MainWindow* mw)
: ... | 21.203774 | 77 | 0.668446 | scignscape |
337fee0446007f4ccfc7f72e1b5a6ad6ea78c8a4 | 2,305 | cpp | C++ | B2G/gecko/toolkit/xre/nsQAppInstance.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/toolkit/xre/nsQAppInstance.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/toolkit/xre/nsQAppInstance.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 32.928571 | 90 | 0.701085 | wilebeast |
338016be257c3bc89c7782b28dcfbac97aa45e74 | 8,411 | cpp | C++ | android/library/maply/jni/src/quadLoading/LoaderReturn_jni.cpp | weatherwary/WhirlyGlobe | b32c1d84c263e58c681350b823df7e01e3677f31 | [
"Apache-2.0"
] | 458 | 2015-01-05T07:31:52.000Z | 2021-04-20T06:58:54.000Z | android/library/maply/jni/src/quadLoading/LoaderReturn_jni.cpp | weatherwary/WhirlyGlobe | b32c1d84c263e58c681350b823df7e01e3677f31 | [
"Apache-2.0"
] | 1,008 | 2015-01-01T20:29:32.000Z | 2021-04-22T16:40:49.000Z | android/library/maply/jni/src/quadLoading/LoaderReturn_jni.cpp | weatherwary/WhirlyGlobe | b32c1d84c263e58c681350b823df7e01e3677f31 | [
"Apache-2.0"
] | 202 | 2015-01-19T07:13:52.000Z | 2021-04-01T19:56:25.000Z | /* LoaderReturn_jni.cpp
* WhirlyGlobeLib
*
* Created by sjg on 3/20/19.
* Copyright 2011-2021 mousebird consulting
*
* 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://ww... | 28.608844 | 127 | 0.72001 | weatherwary |
338057a02276fde72a8984beb137aad989ae576b | 481 | hpp | C++ | src/costa/grid2grid/threads_workspace.hpp | eth-cscs/COSTA | 1c292edc1891bd2af779d623538ea4701e0adb29 | [
"BSD-3-Clause"
] | 7 | 2021-04-01T12:44:43.000Z | 2022-02-04T14:04:06.000Z | src/costa/grid2grid/threads_workspace.hpp | eth-cscs/COSTA | 1c292edc1891bd2af779d623538ea4701e0adb29 | [
"BSD-3-Clause"
] | 3 | 2021-01-11T20:23:03.000Z | 2022-02-17T13:09:59.000Z | src/costa/grid2grid/threads_workspace.hpp | eth-cscs/COSTA | 1c292edc1891bd2af779d623538ea4701e0adb29 | [
"BSD-3-Clause"
] | 1 | 2022-02-21T03:48:13.000Z | 2022-02-21T03:48:13.000Z | #pragma once
#include <memory>
#include <omp.h>
namespace costa {
namespace memory {
template <typename T>
struct threads_workspace {
threads_workspace() = default;
threads_workspace(int block_dim, int max_threads=omp_get_max_threads())
: block_dim(block_dim)
, max_threads(max_threads) {
... | 20.913043 | 75 | 0.66736 | eth-cscs |
3380798e50a5cbdbabe57f552792c922b4ccf40a | 1,055 | cpp | C++ | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | 2 | 2017-07-22T05:20:57.000Z | 2018-07-08T08:48:33.000Z | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | null | null | null | matrix/src/op/Convolution1DGradOp.cpp | Jarlene/Matrix | 7b2e07a46f8d0477243d49c76db575280096e247 | [
"Apache-2.0"
] | null | null | null | //
// Created by Jarlene on 2017/11/5.
//
#include "matrix/include/op/Convolution1DGradOp.h"
namespace matrix {
template<class T, class xpu>
Convolution1DGradOp<T, xpu>::Convolution1DGradOp(Parameter ¶m) {
INIT_PARAMS
}
template<class T, class Context>
bool Convolution1DGradOp<T, C... | 19.90566 | 94 | 0.616114 | Jarlene |
3382684803aa52cab2194432da37a1cc64a6aeaa | 36,935 | cpp | C++ | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 59 | 2019-10-22T16:21:33.000Z | 2022-02-01T20:32:32.000Z | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 51 | 2019-10-23T11:55:08.000Z | 2021-12-21T06:32:11.000Z | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 15 | 2019-10-22T19:56:12.000Z | 2022-01-12T14:45:15.000Z | //===- HexagonMCCodeEmitter.cpp - Hexagon Target Descriptions -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 45.939055 | 87 | 0.425288 | NoamDev |
3382cd8b729c454f1780e8f2ebf2b97a206ae1af | 458 | cpp | C++ | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | 2 | 2020-06-25T12:46:13.000Z | 2021-07-06T06:34:33.000Z | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | null | null | null | Move Zeroes.cpp | durgirajesh/Leetcode | 18b11cd90e8a5ce33f4029d5b7edf9502273bc76 | [
"MIT"
] | null | null | null | class Solution {
public:
void moveZeroes(vector<int>& nums) {
int n=nums.size();
int i=0, j=0;
while(j < n){
if(nums[j] == 0){
j++;
}
else{
nums[i]=nums[j];
... | 17.615385 | 41 | 0.248908 | durgirajesh |
338643254d305d8be40e4fdeb983031cef85bbee | 44,260 | hxx | C++ | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | include/Clothoids/BaseCurve.hxx | MatteoRagni/Clothoids-1 | b7fa270e65ba291a67ff3a3612810595fa436d0f | [
"BSD-2-Clause"
] | null | null | null | /** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* @file BaseCurve.hxx
* @author Matteo Ragni (info@ragni.me)
*
* @copyright Copyright (c) 2022 Matteo Ragni
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... | 32.760918 | 120 | 0.561975 | MatteoRagni |
338775da5154d852759b7f2256d7ceebabd14b54 | 2,611 | ipp | C++ | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 24 | 2015-01-31T15:30:49.000Z | 2022-01-29T08:36:42.000Z | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | ThirdParty/oglplus-develop/implement/eglplus/enums/renderable_type_bit_def.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 9 | 2015-06-08T22:04:15.000Z | 2021-08-16T03:52:11.000Z | /*
* .file eglplus/enums/renderable_type_bit_def.ipp
*
* Automatically generated header file. DO NOT modify manually,
* edit 'source/enums/eglplus/renderable_type_bit.txt' instead.
*
* Copyright 2010-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* ... | 26.11 | 68 | 0.801226 | vif |
338835b0cc9c0883087d2e42f27ff72ffc7b7f80 | 1,335 | cc | C++ | drivers/bluetooth/lib/common/slab_allocator.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/common/slab_allocator.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/common/slab_allocator.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "slab_allocator.h"
#include <memory>
#include "byte_buffer.h"
#include "slab_buffer.h"
namespace btlib {
namespace common {
using SmallBufferT... | 30.340909 | 73 | 0.674157 | PowerOlive |
33887f18db5a2547a8e183ca062d84abb1c839c9 | 11,844 | hpp | C++ | include/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 23 | 2020-08-07T04:09:00.000Z | 2022-03-31T22:10:29.000Z | include/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 6 | 2021-09-29T23:47:31.000Z | 2022-03-30T20:49:23.000Z | include/Org/BouncyCastle/Crypto/Macs/CfbBlockCipherMac.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 17 | 2020-08-20T19:36:52.000Z | 2022-03-30T18:28:24.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: Org.BouncyCast... | 55.867925 | 240 | 0.723658 | sc2ad |
33895b23ae3313620791c20e442f1e45a5d6843c | 10,507 | cc | C++ | chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include <stddef.h>
#include "base/location.h"
#include "base/macros.h"
#include "base/run_loo... | 37.525 | 80 | 0.739126 | metux |
3389ba5c097cd3304e8c34983a2adaea0416e7c9 | 5,905 | cpp | C++ | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | dft.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | #include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#define RADIUS 20
using namespace cv;
using namespace std;
// troca os quadrantes da imagem da DFT
void deslocaDFT(Mat& image ){
Mat tmp, A, B, C, D;
// se a imagem tiver tamanho impar, recorta a regiao para
// evitar có... | 25.343348 | 71 | 0.605588 | mtctr |
338d6d7907b07ef9a6e4398077b27ee2238a7d6d | 3,838 | cpp | C++ | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 1 | 2022-03-26T05:16:22.000Z | 2022-03-26T05:16:22.000Z | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 4 | 2022-02-18T21:35:24.000Z | 2022-03-31T07:15:09.000Z | packages/arb-avm-cpp/avm_values/src/codepoint.cpp | tahmed4/arbitrum | 423adb4a21935b4470a68d0d9b073d7da3e82a7e | [
"Apache-2.0"
] | 1 | 2022-02-24T09:01:44.000Z | 2022-02-24T09:01:44.000Z | /*
* Copyright 2019-2020, Offchain Labs, 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 ... | 30.220472 | 77 | 0.621939 | tahmed4 |
338e4fac82543c03b3144041c6e36485dd981e10 | 2,454 | cpp | C++ | mysql-dst/mysql-cluster/storage/ndb/src/common/debugger/signaldata/CreateTable.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | mysql-dst/mysql-cluster/storage/ndb/src/common/debugger/signaldata/CreateTable.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | mysql-dst/mysql-cluster/storage/ndb/src/common/debugger/signaldata/CreateTable.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | /* Copyright (C) 2007 MySQL AB
Use is subject to license terms
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; version 2 of the License.
This program is distributed in the hope that i... | 38.34375 | 83 | 0.708231 | SJTU-IPADS |
338ffde3f5b7f4117086baac1e5bf9b996ba0bf5 | 194,267 | cpp | C++ | src/locale.cpp | JacobW92/libcxx | 19cd3fd00f0a21023a32da67f134b076ad0c48fe | [
"MIT"
] | 6 | 2019-06-29T07:45:50.000Z | 2021-07-10T20:19:18.000Z | system/lib/libcxx/locale.cpp | binji/emscripten | 7d09ea2eeb1fa424c1c5d96a7ab130f6a7de4e69 | [
"MIT"
] | 2 | 2019-09-29T00:17:39.000Z | 2019-11-05T01:47:03.000Z | system/lib/libcxx/locale.cpp | binji/emscripten | 7d09ea2eeb1fa424c1c5d96a7ab130f6a7de4e69 | [
"MIT"
] | 4 | 2019-08-12T16:08:47.000Z | 2022-01-17T00:08:59.000Z | //===------------------------- locale.cpp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 31.572729 | 117 | 0.563245 | JacobW92 |
3390f5ca0453fff0e87075167b806cf2f07a7e8a | 122,572 | cpp | C++ | hphp/runtime/vm/jit/simplify.cpp | jackwiy/hhvm | 70a29c50903371ed3ab1d085ee03350e0982ed49 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/simplify.cpp | jackwiy/hhvm | 70a29c50903371ed3ab1d085ee03350e0982ed49 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/vm/jit/simplify.cpp | jackwiy/hhvm | 70a29c50903371ed3ab1d085ee03350e0982ed49 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 29.635397 | 80 | 0.616772 | jackwiy |
33948708b8beaa2576b8ca121ae42251a4a48c94 | 2,850 | hpp | C++ | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | 1 | 2021-05-19T06:35:15.000Z | 2021-05-19T06:35:15.000Z | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | C++ Development Root/SourceCode/Domain/Event/EventHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | #pragma once
#include <any>
#include <string>
#include <vector>
#include <memory> // unique_ptr
#include <stdexcept> // domain_error, runtime_error
#include "TechnicalServices/Persistence/PersistenceHandler.hpp"
namespace Domain::Event
{
using TechnicalServices::Persistence::Event;
using TechnicalSer... | 43.181818 | 194 | 0.644561 | Dpham181 |
3395624ea5571f2449e5f684634b3f8dfe774cd7 | 639 | hpp | C++ | libs/gui/include/sge/gui/widget/reference_alignment_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/gui/include/sge/gui/widget/reference_alignment_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/gui/include/sge/gui/widget/reference_alignment_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_GUI_WIDGET_REFERENCE_ALIGNMENT_VECTOR_HPP_INCLUDED
#define SGE_GUI_WIDGET_REFERENCE_ALI... | 29.045455 | 91 | 0.779343 | cpreh |
33962aaba731a57008371bc7be5ad52d6fac5742 | 13,564 | hpp | C++ | include/eve/detail/overload.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/detail/overload.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/detail/overload.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 60.553571 | 101 | 0.280891 | the-moisrex |
339770e6eed6db892c16c69365a6e6b8901c0d7c | 1,140 | cpp | C++ | AIR-ARR/Programowanie Obiektowe/8/prj/src/symbole.cpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | AIR-ARR/Programowanie Obiektowe/8/prj/src/symbole.cpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | AIR-ARR/Programowanie Obiektowe/8/prj/src/symbole.cpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | #include "symbole.hh"
/*!
*\file
*\brief Plik zawiera implementacje metod z nagłówka 'symbole.hh'.
*/
Symbol operator - (Symbol x) {
Symbol Tab[ ] = { e, d, c, b, a };
return Tab[x];
}
Symbol operator + (Symbol x) {
return x;
}
Symbol operator + (Symbol x, Symbol y) {
Symbol Tab[5][5] = {
{ e, a, b, c, d },... | 16.521739 | 66 | 0.509649 | superdyzio |
3399a230903381a7ed614a08eb5025818b78d990 | 11,176 | cc | C++ | centreon-engine/tests/configuration/applier/applier-servicegroup.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 8 | 2020-07-26T09:12:02.000Z | 2022-03-30T17:24:29.000Z | centreon-engine/tests/configuration/applier/applier-servicegroup.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 47 | 2020-06-18T12:11:37.000Z | 2022-03-16T10:28:56.000Z | centreon-engine/tests/configuration/applier/applier-servicegroup.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 5 | 2020-06-29T14:22:02.000Z | 2022-03-17T10:34:10.000Z | /*
* Copyright 2018 - 2019 Centreon (https://www.centreon.com/)
*
* 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 ... | 36.403909 | 80 | 0.745526 | centreon |
339a7139f5e28084d940d3172b0307c81c312f39 | 2,322 | cpp | C++ | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | 1 | 2022-03-29T20:38:40.000Z | 2022-03-29T20:38:40.000Z | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | null | null | null | exercise3/specs.cpp | alex-maleno/Fuzzing-Module | 15aa673a2499dba6bd70a4aa5f86cd091a574434 | [
"BSL-1.0"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "specs.h"
Specs::Specs(int a, int f, int s){
alt = a;
fuel = f;
speed = s;
}
Specs::Specs(){
alt = 0;
fuel = 0;
speed = 0;
}
void Specs::choose_color() {
std::string color;
std::c... | 20.017241 | 56 | 0.47373 | alex-maleno |
339aeaec50f7842ffd5a827eb4f6648f0d15ae78 | 43,465 | cpp | C++ | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp | frank-lesser/lldb | f5a215e2b1350fd0fa25780bc585c78b60b365a2 | [
"Apache-2.0"
] | null | null | null | //===-- DynamicLoaderDarwin.cpp -----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-------------------------------... | 38.842717 | 87 | 0.634787 | frank-lesser |
339bad356e8e18d513bd0f16595581fb5db67491 | 11,051 | cpp | C++ | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0333.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | 1 | 2021-05-28T11:14:34.000Z | 2021-05-28T11:14:34.000Z | // ////////////////////////////////////////////////////////
// # Title
// Special partitions
//
// # URL
// https://projecteuler.net/problem=333
// http://euler.stephan-brumme.com/333/
//
// # Problem
// All positive integers can be partitioned in such a way that each and every term of the partition can be expressed as... | 35.306709 | 167 | 0.620939 | sarvekash |
339bd80b789511d8260df82136142a4932424b97 | 1,226 | cpp | C++ | CODECHEF/codechef7282.cpp | IUC4801/HactoberFest21 | ad52dee669deba54630584435b77a6ab07dc67b2 | [
"Unlicense"
] | 1 | 2021-10-04T14:39:02.000Z | 2021-10-04T14:39:02.000Z | CODECHEF/codechef7282.cpp | IUC4801/HactoberFest21 | ad52dee669deba54630584435b77a6ab07dc67b2 | [
"Unlicense"
] | 1 | 2021-10-06T04:41:55.000Z | 2021-10-06T04:41:55.000Z | CODECHEF/codechef7282.cpp | IUC4801/HactoberFest21 | ad52dee669deba54630584435b77a6ab07dc67b2 | [
"Unlicense"
] | 1 | 2021-10-08T12:31:04.000Z | 2021-10-08T12:31:04.000Z | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define FOR(j, a, in) for (ll i=j ; i<a ; i+=in)
#define MP make_pair
#define PB push_back
#define INF (int)1e9
#define EPS 1e-9
#define PI 3.1415926535897932384626433832795
#define MOD 1000000007
#define SWAP(x, y) do { typeof(x) SWAP = x; x = y; y ... | 15.518987 | 72 | 0.530179 | IUC4801 |
339bf4bc2b58d7acc0662d2277e26e382e2bbf51 | 5,356 | cpp | C++ | src/evo/specialtx.cpp | Palem1988/NewEPM | f510e060a4cf77f71d827b4fb8898e58b73255f7 | [
"MIT"
] | 1 | 2021-01-07T17:29:25.000Z | 2021-01-07T17:29:25.000Z | src/evo/specialtx.cpp | Palem1988/NewEPM | f510e060a4cf77f71d827b4fb8898e58b73255f7 | [
"MIT"
] | null | null | null | src/evo/specialtx.cpp | Palem1988/NewEPM | f510e060a4cf77f71d827b4fb8898e58b73255f7 | [
"MIT"
] | 3 | 2019-12-18T19:37:31.000Z | 2020-09-25T01:05:27.000Z | // Copyright (c) 2018 The Dash Core developers
// Copyright (c) 2018-2019 The PACGlobal developers
// Copyright (c) 2019 The Extreme Private MasternodeCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "cha... | 32.460606 | 146 | 0.674384 | Palem1988 |
339e4e31a2dc79426fb5156af52da3466e2741cb | 345 | cc | C++ | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null | cpptest/infinite_loop.cc | wshonline/test | 2eed4c08798f7a68b139295f080a8df31c55fac4 | [
"MIT"
] | null | null | null |
// 死循环
// 传入形参m,拷贝了新的m,而it指向的是原m的地址
#include <map>
#include <iostream>
void test(std::map<int, int> mp, std::map<int, int>::iterator it) {
while (it != mp.end()) {
std::cout << it->first << std::endl;
it++;
}
}
int main() {
std::map<int, int> mp;
mp[0] = 1;
mp[1] = 2;
auto it = mp.begin();
tes... | 15 | 67 | 0.542029 | wshonline |
339eadde92e7bfec296b9217fa76032912877dc3 | 32,717 | cc | C++ | test/cpp/end2end/hybrid_end2end_test.cc | benjaminp/grpc | dfb1a0f20624417bff408a14b12a23713085b999 | [
"Apache-2.0"
] | 59 | 2019-06-28T03:07:42.000Z | 2022-03-11T23:09:34.000Z | test/cpp/end2end/hybrid_end2end_test.cc | benjaminp/grpc | dfb1a0f20624417bff408a14b12a23713085b999 | [
"Apache-2.0"
] | 5 | 2019-07-31T01:49:08.000Z | 2021-05-08T02:44:21.000Z | test/cpp/end2end/hybrid_end2end_test.cc | dinara92/grpc | 53d82af98c2ac243c45ac28c57062273d03cd9dd | [
"Apache-2.0"
] | 29 | 2019-06-12T03:22:18.000Z | 2022-03-03T16:47:28.000Z | /*
*
* Copyright 2016 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 36.311876 | 80 | 0.704282 | benjaminp |