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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3eb9944fbb633dfa3824ff4a26aadc5fab77b58 | 340 | cpp | C++ | lib/ds/segtree/mergesort-tree/test_merge.cpp | howdepressingitistoloveyou/lib | 42e515ef15914ba6e7c253cdce124944a72bf258 | [
"MIT"
] | null | null | null | lib/ds/segtree/mergesort-tree/test_merge.cpp | howdepressingitistoloveyou/lib | 42e515ef15914ba6e7c253cdce124944a72bf258 | [
"MIT"
] | null | null | null | lib/ds/segtree/mergesort-tree/test_merge.cpp | howdepressingitistoloveyou/lib | 42e515ef15914ba6e7c253cdce124944a72bf258 | [
"MIT"
] | 1 | 2021-09-03T16:52:21.000Z | 2021-09-03T16:52:21.000Z | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define pb push_back
using namespace std;
signed main() {
vector<int> a, b, c;
a.pb(1);
b.pb(1), b.pb(2);
// c.resize(3); // this must be added if you don't use back_inserter.
merge(all(a), all(b), back_inserter(c));
for(auto x : c) cout << x << ' ... | 24.285714 | 70 | 0.582353 | howdepressingitistoloveyou |
f3ec49d4b0e4fa3e55eaa4b268809f9449af3c18 | 551 | hpp | C++ | src/node_factory.hpp | ognjen-petrovic/php-dom-ext | 05bbe6b7a9bf68ca8193db7b314c0c542013e5da | [
"MIT"
] | null | null | null | src/node_factory.hpp | ognjen-petrovic/php-dom-ext | 05bbe6b7a9bf68ca8193db7b314c0c542013e5da | [
"MIT"
] | null | null | null | src/node_factory.hpp | ognjen-petrovic/php-dom-ext | 05bbe6b7a9bf68ca8193db7b314c0c542013e5da | [
"MIT"
] | null | null | null | #include <phpcpp.h>
#include "pugixml.hpp"
//#include "pugixml.cpp"
#ifndef NODE_FACTORY
#define NODE_FACTORY
bool strequal(const pugi::char_t* src, const pugi::char_t* dst)
{
#ifdef PUGIXML_WCHAR_MODE
return wcscmp(src, dst) == 0;
#else
return strcmp(src, dst) == 0;
#endif
}
Php::Value node_... | 22.958333 | 73 | 0.647913 | ognjen-petrovic |
f3ecd56dd94651955bea740e416cea962882ec7a | 45,397 | cpp | C++ | cmds/statsd/tests/e2e/DimensionInCondition_e2e_combination_OR_cond_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 164 | 2015-01-05T16:49:11.000Z | 2022-03-29T20:40:27.000Z | cmds/statsd/tests/e2e/DimensionInCondition_e2e_combination_OR_cond_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 127 | 2015-01-12T12:02:32.000Z | 2021-11-28T08:46:25.000Z | cmds/statsd/tests/e2e/DimensionInCondition_e2e_combination_OR_cond_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 1,141 | 2015-01-01T22:54:40.000Z | 2022-02-09T22:08:26.000Z | // Copyright (C) 2017 The Android Open Source Project
//
// 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 applic... | 55.565483 | 100 | 0.699782 | rio-31 |
f3ece83b18ff39229de524cae9fb2cace09dabef | 986 | cc | C++ | below2.1/zyxab.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/zyxab.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/zyxab.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
bool bsort(string &s1, string &s2){
if(s1.length() == s2.length()){
return s1>s2;
}
else{
return s1.length()<s2.length();
}
}
int main(){
vector<string> v;
int n;
cin>>n;
string candidate;
... | 20.541667 | 54 | 0.471602 | danzel-py |
f3ede1ed5b999e6ae408fe157e70f55f248fcfd7 | 7,268 | cpp | C++ | src/serac/numerics/functional/tests/functional_nonlinear.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | src/serac/numerics/functional/tests/functional_nonlinear.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | src/serac/numerics/functional/tests/functional_nonlinear.cpp | btalamini/serac | f7a1628d05393a3f5efce4d1808a0c3fde9bf188 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019-2022, Lawrence Livermore National Security, LLC and
// other Serac Project Developers. See the top-level LICENSE file for
// details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include <fstream>
#include <iostream>
#include "mfem.hpp"
#include "axom/slic/core/SimpleLogger.hpp"
#include "ser... | 33.493088 | 108 | 0.670748 | btalamini |
f3eef3469ce58ce780b152041761496e9ece5d99 | 4,988 | cpp | C++ | packages/monte_carlo/core/test/tstBremsstrahlungAngularDistributionType.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/core/test/tstBremsstrahlungAngularDistributionType.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/core/test/tstBremsstrahlungAngularDistributionType.cpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file tstBremsstrahlungAngularDistributionType.cpp
//! \author Luke Kersting
//! \brief Bremsstrahlung angular distribution type helper unit tests
//!
//---------------------------------------------------------------------------/... | 36.144928 | 85 | 0.630914 | bam241 |
f3ef1c968b13df9f7ddc6c0bf75a5aa51cd703a9 | 582 | cc | C++ | test/aoc15_d08_unittest.cc | dombalaz/aoc15 | ea7e9f1ae18d9d32a43064e53bf6addbf8ef5fb2 | [
"MIT"
] | 1 | 2020-05-15T08:08:52.000Z | 2020-05-15T08:08:52.000Z | test/aoc15_d08_unittest.cc | dombalaz/aoc15 | ea7e9f1ae18d9d32a43064e53bf6addbf8ef5fb2 | [
"MIT"
] | null | null | null | test/aoc15_d08_unittest.cc | dombalaz/aoc15 | ea7e9f1ae18d9d32a43064e53bf6addbf8ef5fb2 | [
"MIT"
] | null | null | null | #include <aoc15/d08.h>
#include <gtest/gtest.h>
TEST(Day08_Part1_Test, CountCharacters)
{
EXPECT_EQ(countCharacters(R"("")"), 0);
EXPECT_EQ(countCharacters(R"("abc")"), 3);
EXPECT_EQ(countCharacters(R"("aaa\"aaa")"), 7);
EXPECT_EQ(countCharacters(R"("\x27")"), 1);
}
TEST(Day08_Part2_Test, CountEncoded... | 27.714286 | 54 | 0.647766 | dombalaz |
f3f21d0e6fc07bc51e111bc69860288148ffb9ae | 9,531 | cpp | C++ | gen/blink/bindings/modules/v8/V8MediaKeySystemConfiguration.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | gen/blink/bindings/modules/v8/V8MediaKeySystemConfiguration.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | gen/blink/bindings/modules/v8/V8MediaKeySystemConfiguration.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8MediaKeySystemConfiguration.h"
#in... | 43.322727 | 188 | 0.637184 | wenfeifei |
f3f9fc5426f7684dc809191ab496ef1c61d60e24 | 1,963 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/FgThread.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/FgThread.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/FgThread.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 27.263889 | 94 | 0.645441 | jingcao80 |
f3fbba599ceb06c4c8d95740ccb296785d24d653 | 480 | cpp | C++ | Dataset/Leetcode/test/14/297.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/14/297.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/14/297.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
string XXX(vector<string>& strs) {
if(strs.size()==0){return "";}
string pref="";
string str=strs[0];
int index=0;
for(int i=0;;){
if(strs.size()<=i){index++;i=0;}
if(strs[i].size()<=index){break;}
char tmp=strs[i]... | 24 | 52 | 0.445833 | kkcookies99 |
f3fbf56366e9266d5991803876625d605fce1d7c | 6,499 | hpp | C++ | include/ironbeepp/memory_manager.hpp | b1v1r/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 148 | 2015-01-10T01:53:39.000Z | 2022-03-20T20:48:12.000Z | include/ironbeepp/memory_manager.hpp | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 8 | 2015-03-09T15:50:36.000Z | 2020-10-10T19:23:06.000Z | include/ironbeepp/memory_manager.hpp | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 46 | 2015-03-08T22:45:42.000Z | 2022-01-15T13:47:59.000Z | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | 27.538136 | 78 | 0.646099 | b1v1r |
f3fc312ad3cc270061698b8eb6ae6ee69113b0aa | 36,812 | cpp | C++ | source/timemory/variadic/bundle.cpp | pwm1234-sri/timemory | b804c8ab242baaa9546f3e74a568438896233d71 | [
"MIT"
] | 1 | 2021-04-21T13:08:27.000Z | 2021-04-21T13:08:27.000Z | source/timemory/variadic/bundle.cpp | hewhocannotbetamed/timemory | d84ccb79cb452f710917d3fa8c17a5ecf3a07406 | [
"MIT"
] | 1 | 2020-10-30T03:44:18.000Z | 2020-11-05T22:07:19.000Z | source/timemory/variadic/bundle.cpp | hewhocannotbetamed/timemory | d84ccb79cb452f710917d3fa8c17a5ecf3a07406 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020, The Regents of the University of California,
// through Lawrence Berkeley National Laboratory (subject to receipt of any
// required approvals from the U.S. Dept. of Energy). All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy... | 36.196657 | 90 | 0.565984 | pwm1234-sri |
f3fde2be35af0ef133ac5c4853c2ed7d15412704 | 1,124 | cpp | C++ | third_party/antlr/lib/cpp/src/String.cpp | KaihangXing/my-agent-demo | 764a38b93e7487305f12ac15a76e220ebda9db39 | [
"Apache-2.0"
] | 86 | 2015-11-21T12:48:04.000Z | 2022-02-03T17:22:44.000Z | third_party/antlr/lib/cpp/src/String.cpp | KaihangXing/my-agent-demo | 764a38b93e7487305f12ac15a76e220ebda9db39 | [
"Apache-2.0"
] | 16 | 2016-07-15T11:23:24.000Z | 2021-12-26T15:24:10.000Z | third_party/antlr/lib/cpp/src/String.cpp | KaihangXing/my-agent-demo | 764a38b93e7487305f12ac15a76e220ebda9db39 | [
"Apache-2.0"
] | 45 | 2016-02-02T19:58:13.000Z | 2021-10-09T02:47:29.000Z | /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/RIGHTS.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.2/lib/cpp/src/String.cpp#1 $
*/
#include "antlr/String.hpp"
#include <cctype>
#ifdef HAS_NOT_CSTDIO_H
#include <stdio.h>
#else... | 15.39726 | 77 | 0.61032 | KaihangXing |
f3fe2b4b5fd7e95a5d7b392eaa77f58de2c7ba18 | 3,592 | cpp | C++ | source/converters/KSampleRateConverter.cpp | grae22/WavConverter | 6f4f244cc5a12a215bf673f68572217012871ac1 | [
"MIT"
] | null | null | null | source/converters/KSampleRateConverter.cpp | grae22/WavConverter | 6f4f244cc5a12a215bf673f68572217012871ac1 | [
"MIT"
] | null | null | null | source/converters/KSampleRateConverter.cpp | grae22/WavConverter | 6f4f244cc5a12a215bf673f68572217012871ac1 | [
"MIT"
] | null | null | null | #include "KSampleRateConverter.h"
#include "../KWav.h"
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
//-----------------------------------------------------------------------------
using namespace std;
using namespace boost;
//---------------------------------------------------------------... | 23.025641 | 84 | 0.518653 | grae22 |
f3ffe44d534ec44bb5cb7535b0a2d18647c2e506 | 214 | cpp | C++ | Complex/main.cpp | ZPAVelocity/CppExercise | 58ba0eae7dabcc05b2a8b867028ba53a82112abe | [
"MIT"
] | null | null | null | Complex/main.cpp | ZPAVelocity/CppExercise | 58ba0eae7dabcc05b2a8b867028ba53a82112abe | [
"MIT"
] | null | null | null | Complex/main.cpp | ZPAVelocity/CppExercise | 58ba0eae7dabcc05b2a8b867028ba53a82112abe | [
"MIT"
] | null | null | null | #include "Complex.h"
#include <iostream>
using namespace std;
int main()
{
Complex a(1, -7);
Complex b(3, 3);
(a + b).show();
(a - b).show();
(a * b).show();
(a / b).show();
return 0;
} | 15.285714 | 21 | 0.490654 | ZPAVelocity |
6d00e934e39c529b404ee2f0bcce7a2f40b82978 | 9,721 | cpp | C++ | third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "V8TestIntegerIndexed.h"
#include "bindings/core/v8/ExceptionState... | 50.108247 | 530 | 0.791277 | maidiHaitai |
6d03f8eb5f1b093fbc45d7a4bfb14ea93cb945ee | 971 | cpp | C++ | graph-source-code/218-C/2025530.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/218-C/2025530.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/218-C/2025530.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<string>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
int n;
int g[101][101];
int cx[101][2];
int vis[101];
void dfs(int node) {
if (vis[node]) {
return;
}
vis[node] = 1;
fo... | 16.741379 | 44 | 0.421215 | AmrARaouf |
6d0646f2186224ae7de4b51b96e199a0f056c0cd | 676 | cpp | C++ | spoj/ACODE.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | 5 | 2020-06-30T12:44:25.000Z | 2021-07-14T06:35:57.000Z | spoj/ACODE.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | spoj/ACODE.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | // [amitdu6ey]
// g++ -std=c++11 -o2 -Wall filename.cpp -o filename
#include <bits/stdc++.h>
#define ll long long
using namespace std;
void solve(string a){
ll n = a.length();
vector<ll> dp(n,0);
dp[0]=1;
ll num = (a[0]-'0')*10 + (a[1]-'0');
if(num<=26) dp[1]=2;
else dp[1]=1;
fo... | 17.333333 | 52 | 0.412722 | amitdu6ey |
6d06aceaae3b230b1decc93386971c1e41640ef5 | 6,903 | cpp | C++ | taichi/analysis/value_diff.cpp | Robslhc/taichi | a4279bd8e1aa6b7d0d269ff909773d333fab5daa | [
"MIT"
] | 1 | 2022-01-12T18:40:59.000Z | 2022-01-12T18:40:59.000Z | taichi/analysis/value_diff.cpp | isuyu/taichi | e5f439b916b2c9f41e4d096072811e06a85237e6 | [
"MIT"
] | null | null | null | taichi/analysis/value_diff.cpp | isuyu/taichi | e5f439b916b2c9f41e4d096072811e06a85237e6 | [
"MIT"
] | null | null | null | // This pass analyzes compile-time known offsets for two values.
#include "taichi/ir/ir.h"
#include "taichi/ir/analysis.h"
#include "taichi/ir/statements.h"
#include "taichi/ir/visitors.h"
namespace taichi {
namespace lang {
DiffRange operator+(const DiffRange &a, const DiffRange &b) {
return DiffRange(a.related_(... | 32.71564 | 80 | 0.619151 | Robslhc |
6d0ac3633bd5c1cb058c75634d40e5333fa56d80 | 529 | cpp | C++ | example/src/block-array-test.cpp | dangleptr/autotest | 512e8f3bb0b38c64c55587e5f632e3fee5517dcb | [
"MIT"
] | null | null | null | example/src/block-array-test.cpp | dangleptr/autotest | 512e8f3bb0b38c64c55587e5f632e3fee5517dcb | [
"MIT"
] | null | null | null | example/src/block-array-test.cpp | dangleptr/autotest | 512e8f3bb0b38c64c55587e5f632e3fee5517dcb | [
"MIT"
] | null | null | null | #include "autotest/autotest.hpp"
#include "block-array.hpp"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
auto not_empty = [](auto const& self) { return self.size() > 0; };
AutoTest::Interface<block_array<int>>(data, size)
.AUTOTEST_FUN(emplace_back, AutoTest::Args::integral... | 35.266667 | 73 | 0.676749 | dangleptr |
6d0f5c7bd614ebd5cdf346cbc59d9c0db6f18bba | 18,821 | cc | C++ | ui/gl/gl_gl_api_implementation.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/gl/gl_gl_api_implementation.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/gl/gl_gl_api_implementation.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gl/gl_gl_api_implementation.h"
#include <vector>
#include "base/stl_util.h"
#include "base/strings/string_split.h"
#include "base/strin... | 33.54902 | 80 | 0.618671 | mghgroup |
6d14d18c94a3f14ea965ebdc2eee97ed6189220d | 682 | cc | C++ | components/password_manager/content/common/credential_manager_types.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-08-13T21:04:58.000Z | 2015-08-13T21:04:58.000Z | components/password_manager/content/common/credential_manager_types.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/password_manager/content/common/credential_manager_types.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // 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 "components/password_manager/content/common/credential_manager_types.h"
namespace password_manager {
CredentialInfo::CredentialInfo() : type(CR... | 27.28 | 80 | 0.678886 | Fusion-Rom |
6d16e60d7d5b02cc25995ed0b62b0b5d4622a4ed | 5,951 | cpp | C++ | rts-master/Chapter16/Example 16.1/GroupAI.cpp | ericrrichards/rts | 88efe082518434cad97264d9ebd3538004c98cc3 | [
"MIT"
] | 4 | 2015-08-09T17:59:49.000Z | 2019-09-19T10:38:21.000Z | rts-master/Chapter16/Example 16.1/GroupAI.cpp | ericrrichards/rts | 88efe082518434cad97264d9ebd3538004c98cc3 | [
"MIT"
] | null | null | null | rts-master/Chapter16/Example 16.1/GroupAI.cpp | ericrrichards/rts | 88efe082518434cad97264d9ebd3538004c98cc3 | [
"MIT"
] | null | null | null | #include "groupAI.h"
#include "masterAI.h"
#include "strategyMap.h"
GROUPAI::GROUPAI(MASTERAI *_master)
{
m_pMaster = _master;
m_task = TASK_NONE;
m_state = GROUP_STATE_IDLE;
}
GROUPAI::~GROUPAI()
{
//Reset group pointer for all group members
for(int i=0;i<(int)m_members.size();i++)
m_members[i]->m_pGroup = NU... | 20.172881 | 83 | 0.641909 | ericrrichards |
6d178b2f8e06b4ac5e86ffec9d4234ff02d079d9 | 1,307 | hpp | C++ | d_mk66f18/sys_pitmgr_port.hpp | beforelight/HITSIC_Module | 5066d6eeed70b36564b52d2da7c5acd752589996 | [
"Apache-2.0"
] | null | null | null | d_mk66f18/sys_pitmgr_port.hpp | beforelight/HITSIC_Module | 5066d6eeed70b36564b52d2da7c5acd752589996 | [
"Apache-2.0"
] | null | null | null | d_mk66f18/sys_pitmgr_port.hpp | beforelight/HITSIC_Module | 5066d6eeed70b36564b52d2da7c5acd752589996 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018 - 2020 HITSIC
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 26.14 | 75 | 0.750574 | beforelight |
6d19bab8ce7599902baa33d7fccc019277b2e1df | 7,420 | cpp | C++ | plugins/datatools/src/AbstractVolumeManipulator.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 49 | 2017-08-23T13:24:24.000Z | 2022-03-16T09:10:58.000Z | plugins/datatools/src/AbstractVolumeManipulator.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 200 | 2018-07-20T15:18:26.000Z | 2022-03-31T11:01:44.000Z | plugins/datatools/src/AbstractVolumeManipulator.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 31 | 2017-07-31T16:19:29.000Z | 2022-02-14T23:41:03.000Z | /*
* AbstractParticleManipulator.cpp
*
* Copyright (C) 2014 by S. Grottel
* Alle Rechte vorbehalten.
*/
#include "datatools/AbstractVolumeManipulator.h"
#include "datatools/AbstractParticleManipulator.h"
#include "stdafx.h"
using namespace megamol;
/*
* datatools::AbstractVolumeManipulator::AbstractVolumeManip... | 30.409836 | 114 | 0.710916 | masrice |
6d1c3753827761215725e5f7eb256faaede4c48b | 2,648 | hpp | C++ | externals/boost/boost/mp11/integer_sequence.hpp | YuukiTsuchida/v8_embeded | c6e18f4e91fcc50607f8e3edc745a3afa30b2871 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | jeff/common/include/boost/mp11/integer_sequence.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | jeff/common/include/boost/mp11/integer_sequence.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | #ifndef BOOST_MP11_INTEGER_SEQUENCE_HPP_INCLUDED
#define BOOST_MP11_INTEGER_SEQUENCE_HPP_INCLUDED
// Copyright 2015, 2017 Peter Dimov.
//
// 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
#include ... | 27.020408 | 207 | 0.700529 | YuukiTsuchida |
6d1ed81bf606f256df68550054c0a61bac3f244c | 5,674 | cpp | C++ | Dev/asd_cpp/core/Graphics/Resource/asd.MaterialPropertyBlock_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/asd_cpp/core/Graphics/Resource/asd.MaterialPropertyBlock_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/asd_cpp/core/Graphics/Resource/asd.MaterialPropertyBlock_Imp.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z |
#include "asd.MaterialPropertyBlock_Imp.h"
#include "asd.NativeShader_Imp.h"
namespace asd
{
MaterialPropertyBlock_Imp::MaterialPropertyBlock_Imp()
{
}
MaterialPropertyBlock_Imp::~MaterialPropertyBlock_Imp()
{
}
float MaterialPropertyBlock_Imp::GetFloat(const achar* name)
{
if (values.count(name) > 0)
... | 26.514019 | 136 | 0.701974 | GCLemon |
6d1ff86108d887803d8695e166b31d5c27a6b031 | 3,597 | cpp | C++ | underworld/libUnderworld/Underworld/Function/src/Shape.cpp | rbeucher/underworld2 | 76991c475ac565e092e99a364370fbae15bb40ac | [
"CC-BY-4.0"
] | null | null | null | underworld/libUnderworld/Underworld/Function/src/Shape.cpp | rbeucher/underworld2 | 76991c475ac565e092e99a364370fbae15bb40ac | [
"CC-BY-4.0"
] | null | null | null | underworld/libUnderworld/Underworld/Function/src/Shape.cpp | rbeucher/underworld2 | 76991c475ac565e092e99a364370fbae15bb40ac | [
"CC-BY-4.0"
] | null | null | null | /*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... | 37.46875 | 120 | 0.53072 | rbeucher |
6d20302abcf543bd467f31bb85dd72192c36da0b | 1,634 | cpp | C++ | src/database/query.cpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | src/database/query.cpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | src/database/query.cpp | Natureshadow/biboumi | b70136b96e579e8d38a30a298f885899cb80514c | [
"Zlib"
] | null | null | null | #include <database/query.hpp>
#include <database/column.hpp>
void actual_bind(Statement& statement, const std::string& value, int index)
{
statement.bind_text(index, value);
}
void actual_bind(Statement& statement, const std::int64_t& value, int index)
{
statement.bind_int64(index, value);
}
void actual_bind(Sta... | 24.029412 | 111 | 0.717258 | Natureshadow |
6d207c8c722c994b0bc81c92cda7fdf4da90ff86 | 35,776 | hpp | C++ | hpx/runtime/parcelset/parcelport_impl.hpp | alexmyczko/hpx | fd68e000ead9a03a6b5bad49cf4905df1c0b78c4 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/parcelset/parcelport_impl.hpp | alexmyczko/hpx | fd68e000ead9a03a6b5bad49cf4905df1c0b78c4 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/parcelset/parcelport_impl.hpp | alexmyczko/hpx | fd68e000ead9a03a6b5bad49cf4905df1c0b78c4 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2014 Thomas Heller
// Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2007 Richard D Guidry Jr
// Copyright (c) 2011 Bryce Lelbach
// Copyright (c) 2011 Katelyn Kufahl
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at ht... | 36.618219 | 89 | 0.533654 | alexmyczko |
6d2465d0efe5b9113ec836f5c9e53fcc61452b23 | 264 | hpp | C++ | PP/get_reference.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | 3 | 2019-07-12T23:12:24.000Z | 2019-09-05T07:57:45.000Z | PP/get_reference.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | PP/get_reference.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | #pragma once
#include <PP/compose.hpp>
#include <PP/decompose_reference.hpp>
#include <PP/partial_.hpp>
#include <PP/tuple/get.hpp>
#include <PP/value_t.hpp>
namespace PP
{
PP_CIA get_reference_value_t =
compose(tuple::get_ * value_1, decompose_reference);
}
| 20.307692 | 56 | 0.753788 | Petkr |
6d2a001de6472f9134ae5cbebca6307c4c9ba458 | 3,490 | hh | C++ | src/kafka/producer/sender.hh | avelanarius/seastar | d56ec0b618d42b4b9c9dc4839fbd369ae845a94c | [
"Apache-2.0"
] | null | null | null | src/kafka/producer/sender.hh | avelanarius/seastar | d56ec0b618d42b4b9c9dc4839fbd369ae845a94c | [
"Apache-2.0"
] | 7 | 2019-11-19T14:43:39.000Z | 2019-12-14T19:00:49.000Z | src/kafka/producer/sender.hh | avelanarius/seastar | d56ec0b618d42b4b9c9dc4839fbd369ae845a94c | [
"Apache-2.0"
] | null | null | null | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 32.616822 | 144 | 0.747564 | avelanarius |
6d2a0d2b2454d2367f2147651a84a89fc5b9cee8 | 1,073 | cpp | C++ | aws-cpp-sdk-chime-sdk-identity/source/model/AppInstanceAdminSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-chime-sdk-identity/source/model/AppInstanceAdminSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-chime-sdk-identity/source/model/AppInstanceAdminSummary.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime-sdk-identity/model/AppInstanceAdminSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
na... | 17.883333 | 80 | 0.738117 | perfectrecall |
6d2e58523fed576e9149490469f4e138488ea1b7 | 330 | cpp | C++ | StandardAlgorithms/stack/stack_full/stack_full_test.cpp | fraunhoferfokus/acsl-by-example | d8472670150fb3ff4360924af2d0eb14bc80d1e2 | [
"MIT"
] | 90 | 2017-06-14T04:17:53.000Z | 2022-02-07T06:07:36.000Z | StandardAlgorithms/stack/stack_full/stack_full_test.cpp | fraunhoferfokus/acsl-by-example | d8472670150fb3ff4360924af2d0eb14bc80d1e2 | [
"MIT"
] | 22 | 2017-10-18T13:30:41.000Z | 2021-06-17T07:10:16.000Z | StandardAlgorithms/stack/stack_full/stack_full_test.cpp | fraunhoferfokus/acsl-by-example | d8472670150fb3ff4360924af2d0eb14bc80d1e2 | [
"MIT"
] | 19 | 2017-06-21T13:49:31.000Z | 2022-03-31T16:27:06.000Z |
#include <iostream>
#include <cassert>
#include <stack>
#include "stack_full.h"
#include "stack_init.h"
int
main(int argc, char** argv)
{
Stack b;
value_type storage[6];
stack_init(&b, storage, 6);
assert(stack_full(&b) == 0);
std::cout << "\tsuccessful execution of " << argv[0] << "\n";
return EXIT_SU... | 15 | 63 | 0.645455 | fraunhoferfokus |
6d3107231683ec5f6d062acf9605124fe7fd3a90 | 3,682 | cpp | C++ | source/QtWidgets/QDockWidgetSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 11 | 2017-01-30T14:19:11.000Z | 2020-05-30T13:39:16.000Z | source/QtWidgets/QDockWidgetSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 1 | 2017-02-24T20:57:32.000Z | 2018-05-29T13:43:05.000Z | source/QtWidgets/QDockWidgetSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 5 | 2017-01-30T14:19:12.000Z | 2020-03-28T08:54:56.000Z | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QDockWidgetSlots.h"
QDockWidgetSlots::QDockWidget... | 27.274074 | 112 | 0.675177 | orangesocks |
6d34945156d4bd4e8bd74aada0659eea2f18e525 | 667 | cpp | C++ | GFG/C++ BASIC/2 - Flow Control, Function & Loops/greatest_of_three_numbers.cpp | IamBikramPurkait/My-CP-Journey | bbb7fc533b8bcf79367e3f38f4a04de075b43d64 | [
"MIT"
] | 1 | 2021-04-24T03:39:50.000Z | 2021-04-24T03:39:50.000Z | GFG/C++ BASIC/2 - Flow Control, Function & Loops/greatest_of_three_numbers.cpp | IamBikramPurkait/My-CP-Journey | bbb7fc533b8bcf79367e3f38f4a04de075b43d64 | [
"MIT"
] | null | null | null | GFG/C++ BASIC/2 - Flow Control, Function & Loops/greatest_of_three_numbers.cpp | IamBikramPurkait/My-CP-Journey | bbb7fc533b8bcf79367e3f38f4a04de075b43d64 | [
"MIT"
] | null | null | null | // { Driver Code Starts
// Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
// User function Template for C++
class Solution
{
public:
int greatestOfThree(int A, int B, int C)
{
// code here
if (A >= B && A >= C)
return A;
else i... | 17.552632 | 52 | 0.461769 | IamBikramPurkait |
6d360634015d5508c9e38ee1038f858c75995d50 | 15,342 | cpp | C++ | plugins/Soccer.cpp | cgrebeld/opensteerpy | 25adfc50bed808d516ab30656d4a86634f70c532 | [
"MIT"
] | 3 | 2015-02-22T02:27:53.000Z | 2019-06-25T21:05:31.000Z | plugins/Soccer.cpp | onedayitwillmake/OpenSteerMirror | 51a614bb5c62ff7e02514e55a7148cd4d67c67a1 | [
"Unlicense",
"MIT"
] | null | null | null | plugins/Soccer.cpp | onedayitwillmake/OpenSteerMirror | 51a614bb5c62ff7e02514e55a7148cd4d67c67a1 | [
"Unlicense",
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
//
//
// 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
// t... | 38.069479 | 214 | 0.529396 | cgrebeld |
6d36bdd4bf9a0f2e4ee14702f044fb82b7d4506e | 2,977 | cpp | C++ | dev/sample/async_handling_with_sobjectizer/main.cpp | Lord-Kamina/restinio | 00133ac4154626ec094697370d2dbe4ce01727f8 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | dev/sample/async_handling_with_sobjectizer/main.cpp | Lord-Kamina/restinio | 00133ac4154626ec094697370d2dbe4ce01727f8 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | dev/sample/async_handling_with_sobjectizer/main.cpp | Lord-Kamina/restinio | 00133ac4154626ec094697370d2dbe4ce01727f8 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include <type_traits>
#include <iostream>
#include <chrono>
#include <args.hxx>
#include <restinio/all.hpp>
#include <restinio/so5/so_timer_manager.hpp>
// Application agents.
#include "app.hpp"
//
// app_args_t
//
struct app_args_t
{
bool m_help{ false };
std::uint16_t m_port{ 8080 };
app_args_t( int argc, c... | 20.531034 | 78 | 0.62479 | Lord-Kamina |
6d37688c8db2a51bbb0af460475a4f8ff2466522 | 67,948 | cpp | C++ | src/xalanc/XMLSupport/FormatterToHTML.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XMLSupport/FormatterToHTML.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | src/xalanc/XMLSupport/FormatterToHTML.cpp | rherardi/xml-xalan-c-src_1_10_0 | 24e6653a617a244e4def60d67b57e70a192a5d4d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 43.809155 | 244 | 0.726188 | rherardi |
6d3b60c12bc2326a95a50dde0243f199138ddbb1 | 2,443 | hpp | C++ | modules/boost/simd/base/include/boost/simd/operator/functions/is_greater.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/operator/functions/is_greater.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/operator/functions/is_greater.hpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 30.160494 | 178 | 0.635694 | psiha |
6d3cb8363b08e7cbf9a8818f7808855beb034a8a | 1,983 | cpp | C++ | examples/wifi-echo/server/esp32/main/Ble.cpp | balducci-apple/connectedhomeip | d5cbe865ee53557330941a3c4c243f40c3c7b400 | [
"Apache-2.0"
] | null | null | null | examples/wifi-echo/server/esp32/main/Ble.cpp | balducci-apple/connectedhomeip | d5cbe865ee53557330941a3c4c243f40c3c7b400 | [
"Apache-2.0"
] | null | null | null | examples/wifi-echo/server/esp32/main/Ble.cpp | balducci-apple/connectedhomeip | d5cbe865ee53557330941a3c4c243f40c3c7b400 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2020 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 28.73913 | 88 | 0.741301 | balducci-apple |
6d3d4d14bd7efd4a72ed2ad18acbf5f6e8be3e5c | 12,191 | cc | C++ | TFM/click-2.0.1/elements/ip/ipprint.cc | wangyang2013/TFM | cabca56229a7e4dafc76da8d631980fc453c9493 | [
"BSD-3-Clause"
] | 3 | 2018-04-14T14:43:31.000Z | 2019-12-06T13:09:58.000Z | TFM/click-2.0.1/elements/ip/ipprint.cc | nfvproject/TFM | cabca56229a7e4dafc76da8d631980fc453c9493 | [
"BSD-3-Clause"
] | null | null | null | TFM/click-2.0.1/elements/ip/ipprint.cc | nfvproject/TFM | cabca56229a7e4dafc76da8d631980fc453c9493 | [
"BSD-3-Clause"
] | null | null | null | /*
* ipprint.{cc,hh} -- element prints packet contents to system log
* Max Poletto, Eddie Kohler
*
* Copyright (c) 2000 Mazu Networks, Inc.
* Copyright (c) 2005-2008 Regents of the University of California
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and as... | 26.852423 | 126 | 0.608564 | wangyang2013 |
6d3f519baf12a7be77605eccd3aea5fb1c13ef70 | 196 | hpp | C++ | src/geodesy.hpp | xanthospap/ngpt | fa445c5c21e657dda8c47bbbe0a6f1bf1aa45867 | [
"WTFPL"
] | null | null | null | src/geodesy.hpp | xanthospap/ngpt | fa445c5c21e657dda8c47bbbe0a6f1bf1aa45867 | [
"WTFPL"
] | 2 | 2016-01-19T13:42:14.000Z | 2016-01-29T19:00:05.000Z | src/geodesy.hpp | xanthospap/ngpt | fa445c5c21e657dda8c47bbbe0a6f1bf1aa45867 | [
"WTFPL"
] | 3 | 2019-06-01T03:53:41.000Z | 2020-09-21T10:48:08.000Z | #ifndef __GEODESY__
#define __GEODESY__
#include "geoconst.hpp"
namespace ngpt {
void
top2daz(double, double, double,
double&, double&, double&);
} // end namespace geodesy
#endif
| 13.066667 | 35 | 0.693878 | xanthospap |
6d3f9821022fc55e86145ed1fd3bb71e0e9165f0 | 3,616 | cpp | C++ | src/Coal/System/Task.cpp | janitochvvll2311/Coal | 6ed6ba6b058e35c66cbef41552e3106589535b92 | [
"Unlicense"
] | 3 | 2021-12-26T21:41:33.000Z | 2022-03-29T22:33:04.000Z | src/Coal/System/Task.cpp | janitochvvll2311/Coal | 6ed6ba6b058e35c66cbef41552e3106589535b92 | [
"Unlicense"
] | 21 | 2022-03-29T02:51:39.000Z | 2022-03-31T03:38:25.000Z | src/Coal/System/Task.cpp | janitochvvll2311/Coal | 6ed6ba6b058e35c66cbef41552e3106589535b92 | [
"Unlicense"
] | null | null | null | /**
* @file Task.cpp
* @author Juan Jesus Chavez Villa (janitochvvll2311@gmail.com)
* @brief Implementation of Task
* @version 0.1.0
* @date 2022-04-20
*
* @copyright Copyright (c) 2022
*
*/
// Headers
#include <iostream> // To include std::cerr
#include <Coal/System/Task.hpp> // Main header
name... | 26.202899 | 85 | 0.423119 | janitochvvll2311 |
6d3fc078a65aa3e76cff89adf66bb7fe48da9e19 | 128 | hxx | C++ | src/Providers/UNIXProviders/ConcreteComponent/UNIX_ConcreteComponent_ZOS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/ConcreteComponent/UNIX_ConcreteComponent_ZOS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/ConcreteComponent/UNIX_ConcreteComponent_ZOS.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_ZOS
#ifndef __UNIX_CONCRETECOMPONENT_PRIVATE_H
#define __UNIX_CONCRETECOMPONENT_PRIVATE_H
#endif
#endif
| 10.666667 | 42 | 0.851563 | brunolauze |
6d3ff64edc97c8bd05e8ad5a464a1c5e8271698f | 1,046 | cc | C++ | Array_List/907.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | Array_List/907.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | Array_List/907.cc | guohaoqiang/leetcode | 802447c029c36892e8dd7391c825bcfc7ac0fd0b | [
"MIT"
] | null | null | null | //https://leetcode.com/problems/sum-of-subarray-minimums/discuss/170750/JavaC%2B%2BPython-Stack-Solution
class Solution {
public:
int mod = 1e9+7;
int sumSubarrayMins(vector<int>& arr) {
int n = arr.size();
stack<pair<int,int>> left,right;
vector<int> l(n),r(n);
int coun... | 28.27027 | 104 | 0.427342 | guohaoqiang |
6d40ce21e2d37cb6a916580fad76370beccf2908 | 2,775 | cpp | C++ | opencv-3.3.0/modules/imgcodecs/test/test_webp.cpp | AmericaGL/TrashTalk_Dapp | 401f17289261b5f537b239e7759dc039d53211e1 | [
"MIT"
] | 4 | 2018-08-04T20:49:37.000Z | 2022-02-06T01:16:39.000Z | opencv-3.3.0/modules/imgcodecs/test/test_webp.cpp | AmericaGL/TrashTalk_Dapp | 401f17289261b5f537b239e7759dc039d53211e1 | [
"MIT"
] | null | null | null | opencv-3.3.0/modules/imgcodecs/test/test_webp.cpp | AmericaGL/TrashTalk_Dapp | 401f17289261b5f537b239e7759dc039d53211e1 | [
"MIT"
] | 3 | 2018-06-03T23:52:35.000Z | 2021-05-24T14:43:38.000Z | #include "test_precomp.hpp"
using namespace cv;
using namespace std;
using namespace std::tr1;
#ifdef HAVE_WEBP
TEST(Imgcodecs_WebP, encode_decode_lossless_webp)
{
const string root = cvtest::TS::ptr()->get_data_path();
string filename = root + "../cv/shared/lena.png";
cv::Mat img = cv::imread(filename);... | 25.934579 | 64 | 0.611892 | AmericaGL |
6d43584669ca23af0ba9c0ef635f617278e4d18e | 29,210 | cpp | C++ | sh1106.cpp | insightmachineslab/IndustrialAlarmClock | 65210b7e2c4e6ae328c9792c153de06b9ba379bd | [
"Apache-2.0"
] | null | null | null | sh1106.cpp | insightmachineslab/IndustrialAlarmClock | 65210b7e2c4e6ae328c9792c153de06b9ba379bd | [
"Apache-2.0"
] | null | null | null | sh1106.cpp | insightmachineslab/IndustrialAlarmClock | 65210b7e2c4e6ae328c9792c153de06b9ba379bd | [
"Apache-2.0"
] | null | null | null | /**
******************************************************************************
* @file sh1106.c
* @author Waveshare Team
* @version
* @date 21-June-2017
* @brief This file includes the OLED driver for SH1106 display moudle
********************************************************************... | 56.718447 | 113 | 0.649127 | insightmachineslab |
6d44b3d083d0e9c21770213103a2555981d73666 | 175 | hpp | C++ | 2018/ED/T2/include/PaoInferior.hpp | LorhanSohaky/UFSCar | af0e84946cbb61b12dfa738610065bbb0f4887a2 | [
"MIT"
] | 1 | 2021-04-24T05:33:26.000Z | 2021-04-24T05:33:26.000Z | 2018/ED/T2/include/PaoInferior.hpp | LorhanSohaky/UFSCar | af0e84946cbb61b12dfa738610065bbb0f4887a2 | [
"MIT"
] | 8 | 2020-11-21T05:22:13.000Z | 2021-09-22T13:42:22.000Z | 2018/ED/T2/include/PaoInferior.hpp | LorhanSohaky/UFSCar | af0e84946cbb61b12dfa738610065bbb0f4887a2 | [
"MIT"
] | 1 | 2018-11-18T15:50:55.000Z | 2018-11-18T15:50:55.000Z | #ifndef PAO_INFERIOR_HPP
#define PAO_INFERIOR_HPP
#include "Food.hpp"
#include <SFML/Graphics.hpp>
class PaoInferior : public Food {
public:
PaoInferior();
};
#endif
| 13.461538 | 33 | 0.731429 | LorhanSohaky |
6d463322ab6406de9710253ff10e0f8bdc90c5d8 | 675 | cpp | C++ | DAY-2/ModularMultiplicativeInverse.cpp | varshitha1707/DailyCoding | d8a974cf5742cc1a77d638eb188012bb32f31d5f | [
"MIT"
] | 5 | 2021-02-09T08:03:25.000Z | 2021-06-27T15:29:11.000Z | DAY-2/ModularMultiplicativeInverse.cpp | varshitha1707/DailyCoding | d8a974cf5742cc1a77d638eb188012bb32f31d5f | [
"MIT"
] | null | null | null | DAY-2/ModularMultiplicativeInverse.cpp | varshitha1707/DailyCoding | d8a974cf5742cc1a77d638eb188012bb32f31d5f | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int gcd(int a, int m)
{
if (a == 0)
return m;
if (m == 0)
return a;
if (a == m)
return a;
if (a > m)
return gcd(a-m, m);
return gcd(a, m-a);
}
void mulinv(int x, int a, int m )
{
for(int x=1; x<m;x++)
{
i... | 12.735849 | 78 | 0.402963 | varshitha1707 |
6d47c266848604e7ceed273a72119895cf29648d | 523 | cpp | C++ | Ejercicios/Ejercicio6 - Calculadora/calculadora.cpp | YerlinSarabia/cpp | 8bd4ab4eb04f7891878d324e45b1b4d76851db12 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio6 - Calculadora/calculadora.cpp | YerlinSarabia/cpp | 8bd4ab4eb04f7891878d324e45b1b4d76851db12 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio6 - Calculadora/calculadora.cpp | YerlinSarabia/cpp | 8bd4ab4eb04f7891878d324e45b1b4d76851db12 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, char** argv) {
int a=0, b=0;
int suma, multiplicacion, resta, division;
cout << "Ingrese el valor de a: "<<endl;
cin >> a;
cout << "Ingrese el valor de b: "<<endl;
cin >>b;
suma = a+b;
resta = a-b;
multiplicacion = a*b;
division = a/b;
... | 19.37037 | 58 | 0.590822 | YerlinSarabia |
6d47fe5bd0305973800416890dbed87618429372 | 565 | hpp | C++ | include/crocoddyl/multibody/costs/frame-force.hpp | iit-DLSLab/crocoddyl | 2b8b731fae036916ff9b4ce3969e2c96c009593c | [
"BSD-3-Clause"
] | 1 | 2019-12-21T12:11:15.000Z | 2019-12-21T12:11:15.000Z | include/crocoddyl/multibody/costs/frame-force.hpp | iit-DLSLab/crocoddyl | 2b8b731fae036916ff9b4ce3969e2c96c009593c | [
"BSD-3-Clause"
] | null | null | null | include/crocoddyl/multibody/costs/frame-force.hpp | iit-DLSLab/crocoddyl | 2b8b731fae036916ff9b4ce3969e2c96c009593c | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2018-2019, LAAS-CNRS
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#... | 35.3125 | 79 | 0.589381 | iit-DLSLab |
6d487361590a7262bdbed70c048a6479ccd2f8e1 | 7,925 | cpp | C++ | base/fs/rdr2/rdpdr/sys/sessmgr.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/fs/rdr2/rdpdr/sys/sessmgr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/fs/rdr2/rdpdr/sys/sessmgr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1999-2000 Microsoft Corporation
Module Name :
sessmgr.cpp
Abstract:
Keeps track of the collection of session objects for the RDP
device redirector
Revision History:
--*/
#include "precomp.hxx"
#define TRC_FILE "sessmgr"
#include "trc.h"
DrSessionManager::DrSessio... | 24.765625 | 84 | 0.571735 | npocmaka |
6d4891fa900eddefb2096f1bc3b4e27f5b197f95 | 3,716 | cpp | C++ | applications/rtkrabbitct/rtkrabbitct.cpp | ldqcarbon/RTK | 88df8ed953805aca3c5a73c22cb940164e7cc296 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | applications/rtkrabbitct/rtkrabbitct.cpp | ldqcarbon/RTK | 88df8ed953805aca3c5a73c22cb940164e7cc296 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | applications/rtkrabbitct/rtkrabbitct.cpp | ldqcarbon/RTK | 88df8ed953805aca3c5a73c22cb940164e7cc296 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /** RabbitCT - Version 1.0
RabbitCT enables easy benchmarking of backprojection algorithms.
*/
// include the required header files
#include <iostream>
#include <fstream>
#include <stdio.h>
#include "rabbitct.h"
#include "rtkCudaFDKBackProjectionImageFilter.hcu"
#include "rtkMacro.h"
//#define WRITE_OUTPUT
#ifde... | 25.627586 | 97 | 0.697793 | ldqcarbon |
6d4892181db2d59362f48d488d95d100aeee3bcc | 7,777 | cc | C++ | test/libponyc/codegen.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 4,304 | 2016-02-01T14:46:51.000Z | 2022-03-29T15:17:15.000Z | test/libponyc/codegen.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 2,889 | 2016-02-01T11:11:07.000Z | 2022-03-31T20:59:39.000Z | test/libponyc/codegen.cc | rtpax/ponyc | 5af6626fcc894ef201bebfac712c454e6c8b14c9 | [
"BSD-2-Clause"
] | 534 | 2016-02-01T12:42:45.000Z | 2022-03-22T16:45:45.000Z | #include <gtest/gtest.h>
#include <platform.h>
#include <codegen/gentype.h>
#include <../libponyrt/mem/pool.h>
#include "util.h"
#include "llvm_config_begin.h"
#include <llvm/IR/Constants.h>
#include <llvm/IR/Module.h>
#include "llvm_config_end.h"
#define TEST_COMPILE(src) DO(test_compile(src, "ir"))
class Code... | 20.738667 | 80 | 0.593545 | rtpax |
6d4925357d9def9813dcafdcaf6fcfed4bf66cf6 | 4,635 | cc | C++ | modules/image/plugin/PiiImageUnwarpOperation.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-19T22:14:18.000Z | 2020-04-13T23:27:20.000Z | modules/image/plugin/PiiImageUnwarpOperation.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | null | null | null | modules/image/plugin/PiiImageUnwarpOperation.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-16T05:43:15.000Z | 2019-01-29T07:57:11.000Z | /* This file is part of Into.
* Copyright (C) Intopii 2013.
* All rights reserved.
*
* Licensees holding a commercial Into license may use this file in
* accordance with the commercial license agreement. Please see
* LICENSE.commercial for commercial licensing terms.
*
* Alternatively, this file may be used und... | 37.682927 | 114 | 0.681122 | topiolli |
6d51c7b736ca7f024cee45d28d5d6f2b8d4daff4 | 3,170 | cpp | C++ | hardway/hash/Hash.cpp | mgalushka/cpp-start | a7af1668291ffd1c1b606310714880dcbefb3ea5 | [
"MIT"
] | null | null | null | hardway/hash/Hash.cpp | mgalushka/cpp-start | a7af1668291ffd1c1b606310714880dcbefb3ea5 | [
"MIT"
] | null | null | null | hardway/hash/Hash.cpp | mgalushka/cpp-start | a7af1668291ffd1c1b606310714880dcbefb3ea5 | [
"MIT"
] | null | null | null | #include <fenv.h>
#include <iostream>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <time.h>
#include <sys/time.h>
#include <unordered_map>
#include <algorithm>
#include <vector>
#include <map>
#include <tuple>
#include <thread>
#include <chrono>
#include <mutex>
#include <functional>
inline std::size_... | 25.983607 | 103 | 0.620189 | mgalushka |
6d52682e56a71685b9835145f740653fdbe6720e | 993 | cpp | C++ | Code/Libraries/Core/src/customassert.cpp | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | 6 | 2022-01-22T02:18:07.000Z | 2022-02-14T09:30:53.000Z | Code/Libraries/Core/src/customassert.cpp | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | null | null | null | Code/Libraries/Core/src/customassert.cpp | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | null | null | null | #include "core.h"
#include "customassert.h"
#if BUILD_WINDOWS
#include <Windows.h>
#endif
#define ASSERTBUFFERSIZE 1024
bool CustomAssert::ShouldAssert( const char* Assertion, bool& Disable )
{
#if BUILD_WINDOWS
char AssertBuffer[ ASSERTBUFFERSIZE ]; // So we don't do any heap allocations in here
const uint Assert... | 24.825 | 163 | 0.741188 | dphrygian |
6d5370dd199822da8fadcae3abb189f104d0662a | 17,003 | cpp | C++ | GameJam_v3.2/GameEngineBase/gameObject.cpp | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | GameJam_v3.2/GameEngineBase/gameObject.cpp | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | GameJam_v3.2/GameEngineBase/gameObject.cpp | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | #include "GameObject.h"
#include "softBodyComp.h"
#include "mediator.h"
#include "global.h"
#include <Physics2012\Vehicle\DriverInput\Default\hkpVehicleDefaultAnalogDriverInput.h>
// Initial value of the first GameObject ID
// (i.e. the unique IDs of the objects will start at this number)
// Note that using an unsi... | 20.760684 | 164 | 0.646651 | aditgoyal19 |
6d597710504dec39fcaed7e950a718051844f5a1 | 1,473 | cpp | C++ | EU4toV2/Source/Mappers/RegionProvinces/RegionProvinceMapper.cpp | AquosPoke206/EU4toVic2 | 1aa8dc815f118dce231d09f050464c75d6925f02 | [
"MIT"
] | 1 | 2020-10-03T16:01:28.000Z | 2020-10-03T16:01:28.000Z | EU4toV2/Source/Mappers/RegionProvinces/RegionProvinceMapper.cpp | AquosPoke206/EU4toVic2 | 1aa8dc815f118dce231d09f050464c75d6925f02 | [
"MIT"
] | null | null | null | EU4toV2/Source/Mappers/RegionProvinces/RegionProvinceMapper.cpp | AquosPoke206/EU4toVic2 | 1aa8dc815f118dce231d09f050464c75d6925f02 | [
"MIT"
] | null | null | null | #include "RegionProvinceMapper.h"
#include "../../Configuration.h"
#include "OSCompatibilityLayer.h"
#include "ParserHelpers.h"
mappers::RegionProvinceMapper::RegionProvinceMapper()
{
registerKeys();
if (commonItems::DoesFileExist("./blankMod/output/map/region.txt"))
{
parseFile("./blankMod/output/map/region.txt"... | 29.46 | 101 | 0.746096 | AquosPoke206 |
6d59f3426564f9a5a2b072fb47e02138c5597634 | 1,743 | hpp | C++ | src/impl/operators/crossover/vector_based/one_point_crossover.hpp | dominiksisejkovic/OpenECL | de3356cb9bfbe3b6545cc9eeaccc04705330eaf7 | [
"MIT"
] | null | null | null | src/impl/operators/crossover/vector_based/one_point_crossover.hpp | dominiksisejkovic/OpenECL | de3356cb9bfbe3b6545cc9eeaccc04705330eaf7 | [
"MIT"
] | null | null | null | src/impl/operators/crossover/vector_based/one_point_crossover.hpp | dominiksisejkovic/OpenECL | de3356cb9bfbe3b6545cc9eeaccc04705330eaf7 | [
"MIT"
] | null | null | null | // (c) 2020 Dominik Šišejković
// This code is licensed under the MIT license (see LICENSE.txt for details)
#ifndef OPEN_ECL_ONE_POINT_CROSSOVER_HPP
#define OPEN_ECL_ONE_POINT_CROSSOVER_HPP
#include "../../../../utils/random_utils.hpp"
#include "../../../../model/operators/i_crossover.hpp"
#include "solutions/vector_... | 37.085106 | 112 | 0.667814 | dominiksisejkovic |
6d59fa899d15e722a2844e4b7656b2c2494a76ef | 20,336 | cpp | C++ | tracking/src/tracking_lib/ukf.cpp | hywel1994/SARosPerceptionKitti | 82c307facb5b39e47c510fbdb132962cebf09d2e | [
"MIT"
] | null | null | null | tracking/src/tracking_lib/ukf.cpp | hywel1994/SARosPerceptionKitti | 82c307facb5b39e47c510fbdb132962cebf09d2e | [
"MIT"
] | null | null | null | tracking/src/tracking_lib/ukf.cpp | hywel1994/SARosPerceptionKitti | 82c307facb5b39e47c510fbdb132962cebf09d2e | [
"MIT"
] | null | null | null | /******************************************************************************
*
* Author: Simon Appel (simonappel62@gmail.com)
* Date: 25/04/2018
*
*/
#include <tracking_lib/ukf.h>
namespace tracking{
/******************************************************************************/
UnscentedKF::UnscentedKF(ro... | 29.009986 | 80 | 0.660061 | hywel1994 |
6d5aab7110fbf30c386a7e463e7b94ca92dc8b78 | 4,109 | cpp | C++ | export/release/macos/obj/src/__ASSET__OPENFL__assets_fonts_lanapixel_ttf.cpp | BushsHaxs/DOKIDOKI-MAC | 22729124a0b7b637d56ff3b18acb555ec05934f1 | [
"Apache-2.0"
] | null | null | null | export/release/macos/obj/src/__ASSET__OPENFL__assets_fonts_lanapixel_ttf.cpp | BushsHaxs/DOKIDOKI-MAC | 22729124a0b7b637d56ff3b18acb555ec05934f1 | [
"Apache-2.0"
] | null | null | null | export/release/macos/obj/src/__ASSET__OPENFL__assets_fonts_lanapixel_ttf.cpp | BushsHaxs/DOKIDOKI-MAC | 22729124a0b7b637d56ff3b18acb555ec05934f1 | [
"Apache-2.0"
] | 1 | 2021-12-11T09:19:29.000Z | 2021-12-11T09:19:29.000Z | #include <hxcpp.h>
#ifndef INCLUDED___ASSET__OPENFL__assets_fonts_lanapixel_ttf
#include <__ASSET__OPENFL__assets_fonts_lanapixel_ttf.h>
#endif
#ifndef INCLUDED___ASSET__assets_fonts_lanapixel_ttf
#include <__ASSET__assets_fonts_lanapixel_ttf.h>
#endif
#ifndef INCLUDED_lime_text_Font
#include <lime/text/Font.h>
#endif... | 43.252632 | 247 | 0.825505 | BushsHaxs |
6d5af2453075178087a9c27942794943e02d534a | 735 | cpp | C++ | 022-generate-parentheses/generate-parentheses.cpp | nagestx/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | 3 | 2018-12-15T14:07:12.000Z | 2020-07-19T23:18:09.000Z | 022-generate-parentheses/generate-parentheses.cpp | yangyangu/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | null | null | null | 022-generate-parentheses/generate-parentheses.cpp | yangyangu/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | null | null | null | //
// Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
//
//
//
// For example, given n = 3, a solution set is:
//
//
// [
// "((()))",
// "(()())",
// "(())()",
// "()(())",
// "()()()"
// ]
//
class Solution {
private:
void get(vector<str... | 17.5 | 107 | 0.473469 | nagestx |
6d5b63d9d49f4a78871e206dc080137187471a6d | 565 | cpp | C++ | Cplus/MaximizeNumberofNiceDivisors.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | Cplus/MaximizeNumberofNiceDivisors.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | Cplus/MaximizeNumberofNiceDivisors.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null |
class Solution
{
public:
int maxNiceDivisors(int primeFactors)
{
if (primeFactors < 5)
return primeFactors;
int p3 = primeFactors / 3;
int p2 = primeFactors % 3;
if (p2 == 1)
{
--p3;
p2 = 4;
}
else if (p2 == 0)
p2 = 1;
long res = p2;
return res * modPow(3, p3) % MOD;
}
long modPow(in... | 15.694444 | 43 | 0.550442 | JumHorn |
6d5ef4b2a172976896f0af22bb91b8703ca080d9 | 3,674 | cpp | C++ | Chapter11/11.VulkanProject/VulkanProject/VulkanContext.cpp | sonvt1710/CPP-Game-Development-By-Example | 0f237e8827680ca5d426e225ba23619c8b586eeb | [
"MIT"
] | 75 | 2019-06-21T07:04:49.000Z | 2022-03-22T17:55:28.000Z | Chapter11/11.VulkanProject/VulkanProject/VulkanContext.cpp | sonvt1710/CPP-Game-Development-By-Example | 0f237e8827680ca5d426e225ba23619c8b586eeb | [
"MIT"
] | 1 | 2020-09-06T10:51:55.000Z | 2020-09-11T12:29:18.000Z | Chapter11/11.VulkanProject/VulkanProject/VulkanContext.cpp | sonvt1710/CPP-Game-Development-By-Example | 0f237e8827680ca5d426e225ba23619c8b586eeb | [
"MIT"
] | 41 | 2019-06-18T10:37:38.000Z | 2022-03-28T15:22:34.000Z | #include "VulkanContext.h"
VulkanContext* VulkanContext::instance = NULL;
VulkanContext* VulkanContext::getInstance() {
if (!instance) {
instance = new VulkanContext();
}
return instance;
}
VulkanContext::~VulkanContext(){
if (instance) {
delete instance;
instance = nullptr;
}
}
void VulkanContext::i... | 24.824324 | 113 | 0.774905 | sonvt1710 |
6d62814ef1a88b6978ba995bc51011887cb8d7c0 | 2,419 | hpp | C++ | nutation.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | nutation.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | nutation.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | #ifndef CALC_GREENWICH_NUTATION_HPP_
#define CALC_GREENWICH_NUTATION_HPP_
#include "file.hpp"
#include <cmath>
#include <iostream>
#include <vector>
namespace calc_greenwich {
class Nutation {
static std::vector<std::vector<double>> dat_ls; // data of lunisolar parameters
static std::vector<std::vector<double>... | 49.367347 | 118 | 0.634973 | komasaru |
6d62a5e43d720e1421aff83f6510acc3a55179f8 | 5,486 | cpp | C++ | src/mac/osBundle.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | 2 | 2017-01-28T14:11:35.000Z | 2018-02-01T08:22:03.000Z | src/mac/osBundle.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | null | null | null | src/mac/osBundle.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | 2 | 2018-02-01T08:22:04.000Z | 2019-11-01T23:00:21.000Z | //------------------------------ osBundle.cpp ------------------------------
// Infra:
#include <AMDTBaseTools/Include/gtAssert.h>
#include <AMDTBaseTools/Include/gtString.h>
#include <AMDTBaseTools/Include/AMDTDefinitions.h>
// Local:
#include <AMDTOSWrappers/Include/osDebugLog.h>
#include <AMDTOSWrappers/Include/os... | 35.393548 | 153 | 0.58148 | GPUOpen-Tools |
6d66c915284f566e78338b4f34d4fc78e6500818 | 1,444 | cpp | C++ | SimpleDB/src/core/sql/statement_delete.cpp | caivao/SimpleDB | ff90245c5ffc96ea84cf046596d690866c1c8cb6 | [
"MIT"
] | 1 | 2021-01-05T17:01:31.000Z | 2021-01-05T17:01:31.000Z | SimpleDB/src/core/sql/statement_delete.cpp | caivao/SimpleDB | ff90245c5ffc96ea84cf046596d690866c1c8cb6 | [
"MIT"
] | null | null | null | SimpleDB/src/core/sql/statement_delete.cpp | caivao/SimpleDB | ff90245c5ffc96ea84cf046596d690866c1c8cb6 | [
"MIT"
] | null | null | null | //
// statement_delete.cpp
// SimpleDB
//
// Created by lifeng on 2019/6/6.
// Copyright © 2019 feng. All rights reserved.
//
#include "statement_delete.hpp"
#include "expr.hpp"
#include "order.hpp"
namespace SDB {
namespace STMT {
Delete &Delete::delete_from(const std::string &table)
{
... | 24.896552 | 71 | 0.463989 | caivao |
6d67b08081359a9fb9cecfc572a4d1a4d0b2e925 | 9,379 | cc | C++ | tensorflow_text/core/kernels/mst_solver_test.cc | aprasad16/text | c1607c98c70534abc3c75eb231830ce6d87be645 | [
"Apache-2.0"
] | 975 | 2019-05-29T22:10:37.000Z | 2022-03-30T03:43:21.000Z | tensorflow_text/core/kernels/mst_solver_test.cc | aprasad16/text | c1607c98c70534abc3c75eb231830ce6d87be645 | [
"Apache-2.0"
] | 276 | 2019-06-07T23:12:52.000Z | 2022-03-31T17:38:05.000Z | tensorflow_text/core/kernels/mst_solver_test.cc | aprasad16/text | c1607c98c70534abc3c75eb231830ce6d87be645 | [
"Apache-2.0"
] | 192 | 2019-06-04T03:36:42.000Z | 2022-03-31T23:49:17.000Z | // Copyright 2021 TF.Text Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 34.105455 | 80 | 0.662757 | aprasad16 |
6d6947f8edc731c1ff4829331173608301564dc5 | 24,425 | cpp | C++ | src/parse/parser.cpp | BastianBlokland/novus | 3b984c36855aa84d6746c14ff7e294ab7d9c1575 | [
"MIT"
] | 14 | 2020-04-14T17:00:56.000Z | 2021-08-30T08:29:26.000Z | src/parse/parser.cpp | BastianBlokland/novus | 3b984c36855aa84d6746c14ff7e294ab7d9c1575 | [
"MIT"
] | 27 | 2020-12-27T16:00:44.000Z | 2021-08-01T13:12:14.000Z | src/parse/parser.cpp | BastianBlokland/novus | 3b984c36855aa84d6746c14ff7e294ab7d9c1575 | [
"MIT"
] | 1 | 2020-05-29T18:33:37.000Z | 2020-05-29T18:33:37.000Z | #include "parse/parser.hpp"
#include "op_precedence.hpp"
#include "parse/error.hpp"
#include "parse/nodes.hpp"
#include "utilities.hpp"
#include <cassert>
#include <vector>
namespace {
// Maximum depth that expressions are allowed to be nested.
constexpr size_t g_maxRecursionDepth = 100;
auto isPossibleTypeToken(lex... | 34.596317 | 100 | 0.642825 | BastianBlokland |
6d69b6f85b7a2c661f15804a4d50090ce11d64fb | 1,853 | hpp | C++ | deps/boost/include/boost/mpi/detail/offsets.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 80 | 2021-09-07T12:44:32.000Z | 2022-03-29T01:22:19.000Z | deps/boost/include/boost/mpi/detail/offsets.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 2 | 2021-12-23T02:49:42.000Z | 2022-02-15T05:28:24.000Z | deps/boost/include/boost/mpi/detail/offsets.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 25 | 2021-09-14T06:24:25.000Z | 2022-03-20T06:55:07.000Z | // Copyright Alain Miniussi 2014.
// 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)
// Authors: Alain Miniussi
#ifndef BOOST_MPI_OFFSETS_HPP
#define BOOST_MPI_OFFSETS_HPP
#include ... | 37.816327 | 103 | 0.713977 | kindlychung |
6d7225870c66d1f72dfc1040735ce0969f31aaa6 | 3,357 | cpp | C++ | scratch/projects/folds/xRig3.cpp | tingelst/versor | c831231e5011cfd1f62da8948cff7956d2f6670b | [
"BSD-3-Clause"
] | null | null | null | scratch/projects/folds/xRig3.cpp | tingelst/versor | c831231e5011cfd1f62da8948cff7956d2f6670b | [
"BSD-3-Clause"
] | null | null | null | scratch/projects/folds/xRig3.cpp | tingelst/versor | c831231e5011cfd1f62da8948cff7956d2f6670b | [
"BSD-3-Clause"
] | null | null | null | /*
* =====================================================================================
*
* Filename: xRig3.cpp
*
* Description: rig3 net
*
* Version: 1.0
* Created: 07/21/2015 18:12:59
* Revision: none
* Compiler: gcc
*
* Author: Pablo Colapinto (), gmai... | 21.941176 | 140 | 0.355377 | tingelst |
6d738bdc944e725101ce0c176f8156b1d829b56d | 2,173 | cc | C++ | ui/views/corewm/tooltip_controller_test_helper.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | ui/views/corewm/tooltip_controller_test_helper.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ui/views/corewm/tooltip_controller_test_helper.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/corewm/tooltip_controller_test_helper.h"
#include "ui/aura/window.h"
namespace views {
namespace corewm {
namespace test {
Toolt... | 28.973333 | 80 | 0.798435 | iridium-browser |
6d7440910ad179bb7651aff1c3d4f2c764bf8f2a | 7,002 | cpp | C++ | Libraries/AP_Math_mdk5/AP_Math.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | 2 | 2020-03-10T03:00:38.000Z | 2020-05-04T02:40:10.000Z | Libraries/AP_Math_mdk5/AP_Math.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | null | null | null | Libraries/AP_Math_mdk5/AP_Math.cpp | SuWeipeng/xm_rc | 7f5d9bcfc42dff7e9e72a3e096b195ea1a3076aa | [
"Apache-2.0"
] | 3 | 2020-03-10T03:00:48.000Z | 2021-01-26T06:03:49.000Z | #include "AP_Math.h"
template <typename T>
float safe_asin(const T v)
{
const float f = static_cast<float>(v);
if (isnan(f)) {
return 0.0f;
}
if (f >= 1.0f) {
return static_cast<float>(M_PI_2);
}
if (f <= -1.0f) {
return static_cast<float>(-M_PI_2);
}
return asin... | 30.710526 | 110 | 0.663239 | SuWeipeng |
6d7c57829826b74f9759251eb7ba039de1ce3b37 | 6,717 | cpp | C++ | testing/testing_zher2k.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 21 | 2017-10-06T05:05:05.000Z | 2022-03-13T15:39:20.000Z | testing/testing_zher2k.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T00:27:24.000Z | 2017-03-23T00:27:24.000Z | testing/testing_zher2k.cpp | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 4 | 2018-01-09T15:49:58.000Z | 2022-03-13T15:39:27.000Z | /*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@precisions normal z -> c d s
@author Chongxiao Cao
*/
// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#in... | 38.82659 | 107 | 0.441566 | shengren |
6d7e79c566bf1865dac47afda7cad544b5755b0d | 4,026 | cpp | C++ | src/cache/index/query_manager/emkde_query_manager.cpp | EmanuelHerrendorf/mapping-core | d28d85547e8ed08df37dad1da142594d3f07a366 | [
"MIT"
] | null | null | null | src/cache/index/query_manager/emkde_query_manager.cpp | EmanuelHerrendorf/mapping-core | d28d85547e8ed08df37dad1da142594d3f07a366 | [
"MIT"
] | 10 | 2018-03-02T13:58:32.000Z | 2020-06-05T11:12:42.000Z | src/cache/index/query_manager/emkde_query_manager.cpp | EmanuelHerrendorf/mapping-core | d28d85547e8ed08df37dad1da142594d3f07a366 | [
"MIT"
] | 3 | 2018-02-26T14:01:43.000Z | 2019-12-09T10:03:17.000Z | /*
* bema_query_manager.cpp
*
* Created on: 24.05.2016
* Author: koerberm
*/
#include "cache/index/query_manager/emkde_query_manager.h"
#include "util/log.h"
#include "util/exceptions.h"
const GDAL::CRSTransformer EMKDEQueryManager::TRANS_GEOSMSG(CrsId::from_epsg_code(0x9E05),
CrsId::from_epsg_code(4326)... | 25.643312 | 90 | 0.633631 | EmanuelHerrendorf |
6d80a00cdeddab88508bb0c9b4028748643509e0 | 2,591 | cc | C++ | src/python/swig/pyevent.cc | cmlasu/smm_gem5 | 2865229999904d531f5510ca50552b396efeaea0 | [
"BSD-3-Clause"
] | 31 | 2015-12-15T19:14:10.000Z | 2021-12-31T17:40:21.000Z | src/python/swig/pyevent.cc | jcai19/smm_gem5 | 15e10bd32ef4a4d18e5d846b015d11317d319bcc | [
"BSD-3-Clause"
] | 5 | 2015-12-04T08:06:47.000Z | 2020-08-09T21:49:46.000Z | src/python/swig/pyevent.cc | jcai19/smm_gem5 | 15e10bd32ef4a4d18e5d846b015d11317d319bcc | [
"BSD-3-Clause"
] | 21 | 2015-11-05T08:25:45.000Z | 2021-06-19T02:24:50.000Z | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* notice, ... | 36.492958 | 74 | 0.727904 | cmlasu |
6d812d3d90981b8016e2fcbef0d0357e84227579 | 956 | hpp | C++ | include/lea/engine/ecs/typename.hpp | jfalcou/lea | 85c3648af1b67aa70320df1c60fec457f82b5f81 | [
"MIT"
] | 2 | 2019-08-12T22:54:48.000Z | 2020-06-01T22:23:07.000Z | include/lea/engine/ecs/typename.hpp | jfalcou/lea | 85c3648af1b67aa70320df1c60fec457f82b5f81 | [
"MIT"
] | null | null | null | include/lea/engine/ecs/typename.hpp | jfalcou/lea | 85c3648af1b67aa70320df1c60fec457f82b5f81 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
LEA - Little Engine Adventure
Copyright 2020 Joel FALCOU
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
**/
//=============================================... | 27.314286 | 100 | 0.507322 | jfalcou |
6d81358990d3dea2fa3cd832f5fa58d4bbf4628c | 3,571 | cc | C++ | login_manager/user_policy_service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | login_manager/user_policy_service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | null | null | null | login_manager/user_policy_service.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 1 | 2019-02-15T23:05:30.000Z | 2019-02-15T23:05:30.000Z | // Copyright (c) 2012 The Chromium OS 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 "login_manager/user_policy_service.h"
#include <stdint.h>
#include <sys/stat.h>
#include <string>
#include <utility>
#include <vector>
... | 34.669903 | 77 | 0.66956 | emersion |
6d8188019352ad083720c90e9ed84de2704a071f | 1,868 | cpp | C++ | examples/accept.cpp | ksergey/NetBox | e9bc4fbd22561e841d16a2420be0df387cb8477d | [
"Unlicense"
] | 1 | 2019-10-25T03:15:04.000Z | 2019-10-25T03:15:04.000Z | examples/accept.cpp | ksergey/NetBox | e9bc4fbd22561e841d16a2420be0df387cb8477d | [
"Unlicense"
] | null | null | null | examples/accept.cpp | ksergey/NetBox | e9bc4fbd22561e841d16a2420be0df387cb8477d | [
"Unlicense"
] | null | null | null | // ------------------------------------------------------------
// Copyright 2017-present Sergey Kovalevich <inndie@gmail.com>
// ------------------------------------------------------------
#include <cstdlib>
#include <iostream>
#include <netbox/socket_ops.h>
#include <netbox/socket_options.h>
using namespace netbox... | 31.133333 | 110 | 0.485011 | ksergey |
6d8348eb12fe844d8bd0896a45ec8198d95ac157 | 23,372 | cxx | C++ | shell/osshell/lmui/shareui/sfolder.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/osshell/lmui/shareui/sfolder.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/osshell/lmui/shareui/sfolder.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1995 - 1995.
//
// File: sfolder.cxx
//
// Contents: Implementation of IShellFolder
//
// History: 13-Dec-95 BruceFo Created
//
//-------------... | 26.231201 | 115 | 0.51198 | npocmaka |
6d87d1a77f71c224e60bec90adceb2e1154fb397 | 675 | cpp | C++ | LeetCode/Solutions/LC0145.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | LeetCode/Solutions/LC0145.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | LeetCode/Solutions/LC0145.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | /*
Problem Statement: https://leetcode.com/problems/binary-tree-postorder-traversal/
Time: O(n)
Space: O(n)
Author: Mohammed Shoaib, github.com/Mohammed-Shoaib
*/
class Solution {
public:
vector<int> postorderTraversal(TreeNode* root) {
vector<int> order;
stack<TreeNode*> st;
while (!st.empty() || root) {
... | 18.243243 | 81 | 0.586667 | Mohammed-Shoaib |
6d882b5cc08f9be8ea65c15478e3160d987b439e | 1,565 | cpp | C++ | Source/Animation/KeyFrames/KeyFrameDrawOrder.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 7 | 2019-02-27T20:16:53.000Z | 2020-10-11T12:50:39.000Z | Source/Animation/KeyFrames/KeyFrameDrawOrder.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 2 | 2019-09-09T17:09:25.000Z | 2020-03-11T08:47:43.000Z | Source/Animation/KeyFrames/KeyFrameDrawOrder.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 9 | 2018-10-31T03:07:11.000Z | 2021-08-06T08:53:21.000Z | #include "KeyFrameDrawOrder.hpp"
#include "../../Actor.hpp"
#include "../../ActorRenderNode.hpp"
#include "../../BlockReader.hpp"
using namespace nima;
KeyFrameDrawOrder::KeyFrameDrawOrder() :
m_OrderedNodes(NULL),
m_OrderedNodesCount(0)
{
}
KeyFrameDrawOrder::~KeyFrameDrawOrder()
{
delete m_OrderedNodes;
}
... | 24.453125 | 106 | 0.732907 | obeezzy |
6d8bb6c47300e8e64598acb61427848d0ace4ada | 9,194 | hpp | C++ | lib/include/glow_dkg.hpp | fetchai/research-dvrf | 943b335e1733bb9b2ef403e4f8237dfdc4f93952 | [
"Apache-2.0"
] | 16 | 2020-02-08T00:04:58.000Z | 2022-01-18T11:42:07.000Z | lib/include/glow_dkg.hpp | fetchai/research-dvrf | 943b335e1733bb9b2ef403e4f8237dfdc4f93952 | [
"Apache-2.0"
] | null | null | null | lib/include/glow_dkg.hpp | fetchai/research-dvrf | 943b335e1733bb9b2ef403e4f8237dfdc4f93952 | [
"Apache-2.0"
] | 4 | 2021-07-20T08:56:08.000Z | 2022-01-03T01:48:12.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2019-2020 Fetch.AI 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 Licen... | 35.498069 | 118 | 0.646291 | fetchai |
6d8c1efca1f229f75adacec1700215b822893a6f | 6,069 | hpp | C++ | include/outcome/experimental/status_outcome.hpp | libbboze/outcome | 248b05f75c723df56a5fa7988bb7de8b173a98ba | [
"Apache-2.0"
] | null | null | null | include/outcome/experimental/status_outcome.hpp | libbboze/outcome | 248b05f75c723df56a5fa7988bb7de8b173a98ba | [
"Apache-2.0"
] | null | null | null | include/outcome/experimental/status_outcome.hpp | libbboze/outcome | 248b05f75c723df56a5fa7988bb7de8b173a98ba | [
"Apache-2.0"
] | null | null | null | /* A less simple result type
(C) 2018 Niall Douglas <http://www.nedproductions.biz/> (59 commits)
File Created: Apr 2018
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 in the accompanying file
Licenc... | 37.93125 | 221 | 0.629923 | libbboze |
6d8c330307a161f0bec923bab70a54287abed99a | 4,545 | cpp | C++ | src/cargame/TranslationManager.cpp | sppmacd/CarGame | c6b7351daa94b692ab209a5035c85084eafb8a67 | [
"MIT"
] | 1 | 2020-05-13T18:19:17.000Z | 2020-05-13T18:19:17.000Z | src/cargame/TranslationManager.cpp | sppmacd/CarGame | c6b7351daa94b692ab209a5035c85084eafb8a67 | [
"MIT"
] | 5 | 2019-07-15T15:43:38.000Z | 2020-04-18T17:46:24.000Z | src/cargame/TranslationManager.cpp | sppmacd/CarGame | c6b7351daa94b692ab209a5035c85084eafb8a67 | [
"MIT"
] | null | null | null | #include "TranslationManager.hpp"
#include "DebugLogger.hpp"
#include "ModuleManager.hpp"
#include <codecvt>
#include <cstring>
#include <fstream>
#include <iostream>
#include <locale>
#include <sstream>
// error codes
// 01 - not enough values given (too many variables in translation string)
// 02 - language file i... | 28.40625 | 106 | 0.563256 | sppmacd |
6d9133348280986b33e622b0f5535989182fc281 | 8,601 | hpp | C++ | src/Dialect/ONNX/ONNXOpsHelper.hpp | badenh/onnx-mlir | 2d589d579c0656f1886a8e2ccac81a70909a9f98 | [
"Apache-2.0"
] | null | null | null | src/Dialect/ONNX/ONNXOpsHelper.hpp | badenh/onnx-mlir | 2d589d579c0656f1886a8e2ccac81a70909a9f98 | [
"Apache-2.0"
] | null | null | null | src/Dialect/ONNX/ONNXOpsHelper.hpp | badenh/onnx-mlir | 2d589d579c0656f1886a8e2ccac81a70909a9f98 | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
//===------- ONNXOpsHelper.hpp - Helper functions for ONNX dialects -------===//
//
// Copyright 2019 The IBM Research Authors.
//
// =============================================================================
//
// This file contains helper functions for lowering ONNX o... | 39.095455 | 80 | 0.682246 | badenh |
6d92714a80f952cf6494ef13d04ef7b9b8d17693 | 20,078 | cpp | C++ | tcs/csp_solver_mspt_collector_receiver.cpp | qualand/ssc | 9e21ccff7f0a366d1bc8ab23d3ff32e528fcacdf | [
"BSD-3-Clause"
] | null | null | null | tcs/csp_solver_mspt_collector_receiver.cpp | qualand/ssc | 9e21ccff7f0a366d1bc8ab23d3ff32e528fcacdf | [
"BSD-3-Clause"
] | null | null | null | tcs/csp_solver_mspt_collector_receiver.cpp | qualand/ssc | 9e21ccff7f0a366d1bc8ab23d3ff32e528fcacdf | [
"BSD-3-Clause"
] | null | null | null | /**
BSD-3-Clause
Copyright 2019 Alliance for Sustainable Energy, LLC
Redistribution and use in source and binary forms, with or without modification, are permitted provided
that the following conditions are met :
1. Redistributions of source code must retain the above copyright notice, this list of conditions
and the... | 51.089059 | 185 | 0.810589 | qualand |
6d93f456d69bd1496b7b122d8d48abfb0b02ed86 | 8,300 | cpp | C++ | velox/exec/Operator.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | velox/exec/Operator.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | velox/exec/Operator.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 27.666667 | 80 | 0.687349 | vancexu |
6d96c4a7bcdbe8bfdabe459f2b2bb7b17446decf | 1,526 | hpp | C++ | src/org/apache/poi/ss/usermodel/CellCopyPolicy_Builder.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/CellCopyPolicy_Builder.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/CellCopyPolicy_Builder.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/usermodel/CellCopyPolicy.java
#pragma once
#include <fwd-POI.hpp>
#include <org/apache/poi/ss/usermodel/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct default_init_tag;
class poi::ss::usermodel::CellCopyPolicy_Builder
: public virtual ::java::lang::Object
{
pu... | 27.745455 | 75 | 0.733945 | pebble2015 |
6d97682e69a124e2de807678fcc585f7364f8b0b | 32,182 | cc | C++ | dcmtk-3.6.6/dcmdata/libsrc/dcpath.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-3.6.6/dcmdata/libsrc/dcpath.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-3.6.6/dcmdata/libsrc/dcpath.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | /*
*
* Copyright (C) 2008-2020, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Michael ... | 33.592902 | 120 | 0.584488 | happymanx |
6d98342610f5dc90d0611ae41ad2ad8b2bb1e9d9 | 1,210 | cpp | C++ | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/comp/c_rle.cpp | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | 4 | 2019-01-21T11:47:53.000Z | 2020-06-09T02:14:15.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/comp/c_rle.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | null | null | null | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/comp/c_rle.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 6 | 2017-11-09T11:48:10.000Z | 2020-05-24T09:43:07.000Z | #include <openssl/objects.h>
#include <openssl/comp.h>
#ifdef OPENSSL_SYS_WINDOWS
#include <stdio.h>
#include <stdlib.h>
#endif
#include <string.h>
static int rle_compress_block(COMP_CTX *ctx, unsigned char *out,
unsigned int olen, unsigned char *in, unsigned int ilen);
static int rle_expand_block(COMP_CTX *ctx, unsi... | 18.615385 | 64 | 0.685124 | Sirokujira |
6d993b08f69f470eeac79b2baa718a0512256508 | 2,383 | cpp | C++ | collection/cp/bcw_codebook-master/Contest/Shanghai2015/pG.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/bcw_codebook-master/Contest/Shanghai2015/pG.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/bcw_codebook-master/Contest/Shanghai2015/pG.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
template... | 21.663636 | 98 | 0.483424 | daemonslayer |
6d9af7bc63616076f117357ff96189ead8ccf256 | 5,182 | cc | C++ | content/browser/service_worker/service_worker_installed_script_loader.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | content/browser/service_worker/service_worker_installed_script_loader.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | content/browser/service_worker/service_worker_installed_script_loader.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/service_worker/service_worker_installed_script_loader.h"
#include <memory>
#include <string>
#include <utility>
#include "conte... | 38.671642 | 82 | 0.771131 | chromium |
6d9b569f7076995c73d8fe9d68753bccb069faae | 813 | hpp | C++ | lib/pal/TaskDispatcher_CAPI.hpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 30 | 2021-01-12T07:42:00.000Z | 2022-03-02T05:18:58.000Z | lib/pal/TaskDispatcher_CAPI.hpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 173 | 2021-01-06T22:44:50.000Z | 2022-03-30T11:20:53.000Z | lib/pal/TaskDispatcher_CAPI.hpp | lalitb/cpp_client_telemetry | 728b656c6cfaca7cc1f2dd418372d210219a49e8 | [
"Apache-2.0"
] | 29 | 2021-01-25T10:10:16.000Z | 2022-02-21T12:35:16.000Z | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#ifndef TASK_DISPATCHER_CAPI_HPP
#define TASK_DISPATCHER_CAPI_HPP
#include "ITaskDispatcher.hpp"
#include "mat.h"
#include "ctmacros.hpp"
namespace PAL_NS_BEGIN {
class TaskDispatcher_CAPI : public MAT::ITask... | 27.1 | 136 | 0.738007 | lalitb |
6d9d5bb9c7b3915108d4dba53bd6054679b87b5b | 2,524 | cpp | C++ | src/modules/osgVolume/generated_code/_osgVolume.main.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 3 | 2017-04-20T09:11:47.000Z | 2021-04-29T19:24:03.000Z | src/modules/osgVolume/generated_code/_osgVolume.main.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | src/modules/osgVolume/generated_code/_osgVolume.main.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "__call_policies.pypp.hpp"
#include "__convenience.pypp.hpp"
#include "indexing_suite/container_suite.hpp"
#include "indexing_suite/vector.hpp"
#include "wrap_osgVolume.h"
#include "AlphaFuncProperty.pypp.hpp"
#include "CollectPropert... | 19.267176 | 56 | 0.7813 | cmbruns |
6da00680ad78ad9fc5abc6428b98abb7967d7540 | 1,107 | hpp | C++ | etl/_concepts/default_initializable.hpp | tobanteAudio/taetl | 0aa6365aa156b297745f395882ff366a8626e5e0 | [
"BSL-1.0"
] | 4 | 2021-11-28T08:48:11.000Z | 2021-12-14T09:53:51.000Z | etl/_concepts/default_initializable.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | null | null | null | etl/_concepts/default_initializable.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | 1 | 2019-04-29T20:09:19.000Z | 2019-04-29T20:09:19.000Z | /// \copyright Tobias Hienzsch 2019-2021
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
#ifndef TETL_CONCEPTS_DEFAULT_INITIALIZABLE_HPP
#define TETL_CONCEPTS_DEFAULT_INITIALIZABLE_HPP
#include "etl/_concepts/constructible_fr... | 35.709677 | 79 | 0.762421 | tobanteAudio |
6da1089873eb79e271e40cdc04876a35edb018e8 | 1,197 | cc | C++ | garnet/lib/magma/src/magma_util/platform/linux/linux_platform_iommu.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | garnet/lib/magma/src/magma_util/platform/linux/linux_platform_iommu.cc | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | garnet/lib/magma/src/magma_util/platform/linux/linux_platform_iommu.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "linux_platform_iommu.h"
#include "linux_platform_bus_mapper.h"
#include "linux_platform_device.h"
namespace magma {
bool LinuxPlatformIommu::M... | 34.2 | 99 | 0.728488 | opensource-assist |
6da1b18743490e9d050c0442dc051c4ffc38b284 | 5,509 | cpp | C++ | DFS. Tarjan SCC/Source(9).cpp | AlexandraDediu/Fundamental-Algorithms | 92cfc8f135fbe9681427d362634de3b9f049bfbd | [
"Apache-2.0"
] | null | null | null | DFS. Tarjan SCC/Source(9).cpp | AlexandraDediu/Fundamental-Algorithms | 92cfc8f135fbe9681427d362634de3b9f049bfbd | [
"Apache-2.0"
] | null | null | null | DFS. Tarjan SCC/Source(9).cpp | AlexandraDediu/Fundamental-Algorithms | 92cfc8f135fbe9681427d362634de3b9f049bfbd | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "Profiler.h"
#define white 1
#define grey 2
#define black 3
#define tree 4
#define back 5
#define forward 6
#define cross 7
using namespace std;
Profiler profiler("BFS");
int op = 0;
bool topo = true;
int V = 100, component;
int sol[500], contor;
int e = 1000;
int myTime;
typedef stru... | 18.181518 | 214 | 0.614994 | AlexandraDediu |