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
a16615e40774cd9764e73918804da622a41a8333
19,843
cc
C++
cmd/traffic_shell/ConfigUpgradeCmd.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "Apache-2.0" ]
83
2015-01-13T14:44:55.000Z
2021-10-30T07:57:03.000Z
cmd/traffic_shell/ConfigUpgradeCmd.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "Apache-2.0" ]
9
2015-03-13T15:17:28.000Z
2017-04-19T08:53:24.000Z
cmd/traffic_shell/ConfigUpgradeCmd.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "Apache-2.0" ]
50
2015-01-29T14:51:38.000Z
2021-11-10T02:03:35.000Z
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
31.248819
120
0.619412
syucream
a1661b029b0f15548c8263cb81116c609b9b7812
717
cpp
C++
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
src/storage/test/unit/src/model/TemperatureDataModelTest.cpp
karz0n/sensority-collector
0d71a2855fa7fcff9c11475dbf1832a598421949
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "storage/model/TemperatureDataModel.hpp" using namespace testing; using namespace storage; static Matcher<TemperatureData> matchTo(float value, float raw) { return AllOf(Field(&TemperatureData::value, FloatEq(value)), Field(&TemperatureD...
25.607143
78
0.668061
karz0n
a1683771a54c5382ba1be4f8b9bba5f123f39aa9
20,557
cpp
C++
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
null
null
null
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
null
null
null
Tests/UnitTests/ReaderTests/HTKLMFReaderTests.cpp
sunkwei/CNTK
08691e97707538b110ca71bce4ad06c46d840517
[ "Intel" ]
1
2019-10-24T00:35:07.000Z
2019-10-24T00:35:07.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #include "Common/ReaderTestHelper.h" using namespace Microsoft::MSR::CNTK; namespace Microsoft { namespace MSR { namespace CNTK { namespac...
27.445928
265
0.620373
sunkwei
a16838d2d41ace1c21e5d91c4816fe0acc6a2bd5
4,562
hpp
C++
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
104
2019-06-23T14:45:20.000Z
2022-03-20T12:45:29.000Z
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
2
2019-06-28T08:23:23.000Z
2019-07-17T02:37:08.000Z
examples/pppbayestree/gpstk/PZ90Ellipsoid.hpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
28
2019-06-23T14:45:19.000Z
2022-03-20T12:45:24.000Z
#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free S...
28.691824
79
0.599956
shaolinbit
a16a61bc3a617bf13d2c3e1558797606a51ccfab
12,676
hpp
C++
ql/experimental/volatility/noarbsabrinterpolation.hpp
elay00/QuantLib
922e582a0d59f20d5a4480448546942c64490fda
[ "BSD-3-Clause" ]
1
2015-09-21T12:21:33.000Z
2015-09-21T12:21:33.000Z
ql/experimental/volatility/noarbsabrinterpolation.hpp
klausspanderen/quantlib
922e582a0d59f20d5a4480448546942c64490fda
[ "BSD-3-Clause" ]
3
2022-03-09T16:19:13.000Z
2022-03-29T07:33:42.000Z
ql/experimental/volatility/noarbsabrinterpolation.hpp
idreamsfy/QuantLib
d6e44270945d2061364e1b3a8bdb4b4e4cc6bba5
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2014 Peter Caspers This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/o...
43.861592
100
0.545598
elay00
a16a77af3ebe7b7ab1f826c9abd98bdc77afaf98
2,736
cpp
C++
rstbx/simage/ext.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
rstbx/simage/ext.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
rstbx/simage/ext.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
#include <boost/python.hpp> #include <rstbx/simage/image_simple.hpp> namespace rstbx { namespace simage { namespace ext { struct image_simple_wrappers { typedef image_simple wt; static void wrap() { using namespace boost::python; typedef return_value_policy<return_by_value> rbv; ...
31.448276
76
0.611842
rimmartin
a16ab633fcddacd1bd5fa8e422a2f09c8445aea1
4,967
cpp
C++
Src/lunaui/launcher/elements/static/textbox.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/lunaui/launcher/elements/static/textbox.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/lunaui/launcher/elements/static/textbox.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2011-2012 Hewlett-Packard Development Company, L.P. * * 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 * * Unl...
28.877907
135
0.765855
ericblade
a16d4485534a013929a9ee2e64f04644f1ce6de2
2,377
cpp
C++
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
31
2021-12-27T00:45:29.000Z
2022-03-21T11:12:24.000Z
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
7
2022-01-04T03:08:28.000Z
2022-03-02T23:26:20.000Z
src/shape.cpp
WeichenLiu/lajolla_public
daf1a095feb9b8a4a8c727a012f9d6d9a422ac69
[ "MIT" ]
14
2022-01-02T19:43:18.000Z
2022-03-21T06:07:39.000Z
#include "shape.h" #include "intersection.h" #include "point_and_normal.h" #include "ray.h" #include <embree3/rtcore.h> struct register_embree_op { uint32_t operator()(const Sphere &sphere) const; uint32_t operator()(const TriangleMesh &mesh) const; const RTCDevice &device; const RTCScene &scene; }; ...
29.7125
94
0.692469
WeichenLiu
a17518b87616b37d16e0dfdd69e12dfad95a016e
4,497
cpp
C++
arangod/RestHandler/RestExplainHandler.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
1
2020-10-27T12:19:33.000Z
2020-10-27T12:19:33.000Z
arangod/RestHandler/RestExplainHandler.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
null
null
null
arangod/RestHandler/RestExplainHandler.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
1
2020-10-01T08:49:12.000Z
2020-10-01T08:49:12.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
31.447552
109
0.644207
Korov
a17532fa4518dff2cdc826d26861a6b3c800aeed
768
cpp
C++
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
2
2019-05-06T04:29:05.000Z
2019-05-06T09:19:03.000Z
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
null
null
null
COOK82B.cpp
ss6364/CodeForces-contests
40a2ea7fd75d754d9c42c596c5bbfccf8b3ebdc1
[ "Unlicense" ]
null
null
null
// https://www.codechef.com/problems/COOK82B #include<bits/stdc++.h> using namespace std ; #define Fors(n) for(int i=1;i<=n;i++) #define For(n) for(i=0;i<n;i++) #define ll long long #define vint(s) vector<int> s #define pb(x) push_back(x) #define mpair(x,y) make_pair(x,y) #define MOD 1000000007 #define mod 1000...
15.058824
49
0.486979
ss6364
a1777b8e35519526623c3ff122e3095d0e211873
3,519
cpp
C++
ubiprovider/plocation/ubip_plocation.cpp
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
ubiprovider/plocation/ubip_plocation.cpp
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
ubiprovider/plocation/ubip_plocation.cpp
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
#include <string> #include <map> #include <fstream> #include <iostream> #include <boost/thread.hpp> #include<boost/tokenizer.hpp> #include "Provider.hpp" #include "Literal.hpp" #include "Tools.hpp" struct sphysical_location { int latitude, longitude, altitude; sphysical_location() { latitude = longitude = alti...
24.4375
134
0.669793
alexgarzao
a1784c0f4a6fc9fabb8ecb2cf9dd474906cb3dfd
1,346
hpp
C++
apps/caffe/include/caffe/caffe_engine.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/caffe/include/caffe/caffe_engine.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/caffe/include/caffe/caffe_engine.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
#ifndef CAFFE_ENGINE_HPP_ #define CAFFE_ENGINE_HPP_ #include <string> #include <vector> #include <map> #include <atomic> #include "caffe/net.hpp" #include "leveldb/db.h" namespace caffe { /** * @brief */ template <typename Dtype> class CaffeEngine { public: explicit CaffeEngine(const SolverParameter& param); ...
23.206897
63
0.741456
daiwei89
a17caf5021af396e9934c7b5fab5ed0a2d3c86a7
8,826
cpp
C++
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
1
2015-01-04T04:14:43.000Z
2015-01-04T04:14:43.000Z
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
null
null
null
lib/webserver/status.cpp
mukhin/libwebserver
04a72616c2dc6360136123acd4d9295417936102
[ "MIT" ]
null
null
null
// Embedded web-server library // // Copyright 2010 LibWebserver Authors. All rights reserved. #include "status.h" #include <base/basicmacros.h> #include <base/string_helpers.h> #include <cmath> #include <iomanip> #include <numeric> #include <sstream> namespace webserver { WebserverStatus::WebserverStatus() : ...
28.749186
156
0.687288
mukhin
a17cd01dfca1d02b1eaaf1321f8b891c8f6d4ed6
4,993
tpp
C++
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
GA/src/GA/Engine.tpp
Kaylier/Genetic-Algorithm
7d14ec1558699e8dffec1f8d247cf6d25b4e1982
[ "MIT" ]
null
null
null
#include <cassert> #include <cmath> // sqrt #include <GA/Engine.h> template<class Individual> GA::Engine<Individual>::Engine(Objective<Individual> &objective, Crossover<Individual> &crossover, Mutation<Individual> &mutation, S...
29.02907
100
0.667134
Kaylier
a1819445da06e968d3cc2ed37345369c644bd4ae
24
cpp
C++
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
15
2020-12-17T17:14:37.000Z
2022-03-24T11:09:18.000Z
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
11
2021-01-17T00:40:12.000Z
2022-02-02T17:21:07.000Z
tools/databuffer.cpp
mihajlo2003petkovic/MeteorDemod
d7cbd842d1b31b0985ebb0581689afc7435d0684
[ "MIT" ]
5
2021-02-08T12:37:57.000Z
2022-01-23T09:39:59.000Z
#include "databuffer.h"
12
23
0.75
mihajlo2003petkovic
a181e82d68699a1c3766372fb698e6746f748744
12,600
cc
C++
3rdParty/s2geometry/0e7b146/src/s2/s2cap.cc
LLcat1217/arangodb
67c51272915699e0a489e1f8d9da786f4226221a
[ "Apache-2.0" ]
5
2015-11-25T14:24:13.000Z
2017-07-17T21:53:58.000Z
src/s2/s2cap.cc
google/s2-geometry-library
ae470b730441ebe7b0bf630527038acc219b2eb9
[ "Apache-2.0" ]
null
null
null
src/s2/s2cap.cc
google/s2-geometry-library
ae470b730441ebe7b0bf630527038acc219b2eb9
[ "Apache-2.0" ]
null
null
null
// Copyright 2005 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
36.206897
80
0.676508
LLcat1217
a182e3162226097ce0bd1dfa369de8ad53ff48b2
16,293
hpp
C++
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
null
null
null
data_compression/L1/include/hw/lz4_compress.hpp
KitAway/Vitis_Libraries
208ada169cd8ddeac0d26b2568343fab6f968331
[ "Apache-2.0" ]
null
null
null
/* * (c) Copyright 2019 Xilinx, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
37.628176
120
0.595164
KitAway
a183086b4e30020642c4eba326d187db327199be
1,490
cpp
C++
王道刷题/13.cpp
CSU-FulChou/IOS_er
4286677854c4afe61f745bfd087527e369402dc7
[ "MIT" ]
2
2020-02-10T15:20:03.000Z
2020-02-23T07:23:57.000Z
王道刷题/13.cpp
CSU-FulChou/IOS_er
4286677854c4afe61f745bfd087527e369402dc7
[ "MIT" ]
null
null
null
王道刷题/13.cpp
CSU-FulChou/IOS_er
4286677854c4afe61f745bfd087527e369402dc7
[ "MIT" ]
1
2020-02-24T04:46:44.000Z
2020-02-24T04:46:44.000Z
#include<iostream> #include<cstdio> using namespace std; //隐藏条件就是1年1月1日是星期一,把这个时间点设为锚点 // 字符串要用二维数组保存 char weeks[7][20]={"Sunday","Monday","Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; char months[12][20]={"January", "February", "March", "April", "May", "June", "July", "August", "Sept...
24.032258
95
0.508054
CSU-FulChou
a184d88664ee1c60912f5ba6f387cb6b6a3419e9
3,834
cc
C++
src/common/util/base64.cc
septicmk/v6d
3c64e0a324adfe71feb4bfda51d0e55724bfde8d
[ "Apache-2.0" ]
null
null
null
src/common/util/base64.cc
septicmk/v6d
3c64e0a324adfe71feb4bfda51d0e55724bfde8d
[ "Apache-2.0" ]
null
null
null
src/common/util/base64.cc
septicmk/v6d
3c64e0a324adfe71feb4bfda51d0e55724bfde8d
[ "Apache-2.0" ]
null
null
null
/** Copyright 2020-2021 Alibaba Group Holding Limited. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
29.492308
80
0.597027
septicmk
a1851846bfb5782d4de2c1902ce8590d8d87fa45
1,078
cpp
C++
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-grafana/source/model/AwsSsoAuthentication.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/grafana/model/AwsSsoAuthentication.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
17.966667
74
0.74397
perfectrecall
a186079e4da2710a643d8e100ca6d292be8f63d9
492
cpp
C++
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
5
2020-06-26T08:54:26.000Z
2020-06-26T16:58:17.000Z
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
3
2020-04-28T14:38:26.000Z
2020-05-21T13:41:34.000Z
huemodule.std/std.cpp
HueStudios/HueLang
3b89d6d88c6b61cc5cd94017280821d2571338e5
[ "MIT" ]
null
null
null
#include "std.h" extern "C" void ModuleEntry(Environment *env) { cout << "Std library loaded" << endl; Word helloword = env->definitionTable.TokToWord("hello"); env->AddPrimaryDefinition(helloword, &__hello); } void __hello(Environment& env) { cout << "This word was added by the STD lib" << endl; ...
30.75
112
0.628049
HueStudios
a18707911d335e2d6166b905c0e01bde5c02763e
13,501
cpp
C++
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
2
2021-06-30T18:01:31.000Z
2021-06-30T21:49:06.000Z
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
benchmark/testv5.cpp
shubhamsingh91/Pinocchio_ss
683f6d1ea445cf65e74056f2b18eb65a4151ff0f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// same as testv4 but saves time values as texts and can run for all cases // checking some boost options, ABA forward dynamics etc. #include "pinocchio/algorithm/joint-configuration.hpp" #include "pinocchio/algorithm/cholesky.hpp" #include "pinocchio/parsers/urdf.hpp" #include "pinocchio/parsers/sample-models.hpp" #i...
34.617949
161
0.545663
shubhamsingh91
a1874ce6557c8a3cd0ac6f6fb84d7c1b346ef3a0
580
cpp
C++
src/GameState/status/GStartLevelProcess.cpp
isabella232/modite-adventure
66c7779271706ec35e0a2f808afe92d7e15e0f85
[ "MIT" ]
5
2020-12-02T12:28:14.000Z
2021-02-16T18:02:09.000Z
src/GameState/status/GStartLevelProcess.cpp
pedrohyvo/modite-adventure
8c273803bd60747a169be3ba3f06b3419cc0ebff
[ "MIT" ]
2
2021-01-22T18:51:48.000Z
2021-01-28T18:43:43.000Z
src/GameState/status/GStartLevelProcess.cpp
pedrohyvo/modite-adventure
8c273803bd60747a169be3ba3f06b3419cc0ebff
[ "MIT" ]
2
2021-01-26T23:22:36.000Z
2021-02-03T10:07:03.000Z
#include "Game.h" #include "GStartLevelProcess.h" GStartLevelProcess::GStartLevelProcess(const char *aName, TInt aLevel) : GProcess(ATTR_GONE) { mTimer = 5 * FRAMES_PER_SECOND; sprintf(mText, "%s level %2d", aName, aLevel); TInt len = strlen(mText); mX = gViewPort->mRect.Width()/2 - len*12/2; } GStartLevelPro...
26.363636
115
0.713793
isabella232
a18a1ea44b185e0ad34c81873885da5fd0f5c0fe
4,150
cc
C++
base/win/wait_chain.cc
nctl144/cy-gurl
fef56d043b1f4fca22e721addc331241a8c97e46
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
base/win/wait_chain.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
base/win/wait_chain.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/win/wait_chain.h" #include <memory> #include "base/logging.h" #include "base/strings/stringprintf.h" namespace base { namespace win { n...
27.483444
80
0.661205
nctl144
a18a3955ba380f57baac4cf7350d64b90aa612bd
322
cpp
C++
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
app/app_camera/app_camera.cpp
yjf0602/PiApp
58c34b933be77106a57e15204feb340960f7ee94
[ "MIT" ]
null
null
null
#include "app_camera.h" App_Camera::App_Camera() { icon_n = cv::imread(APP_CAMERA_ICON_N); icon_p = cv::imread(APP_CAMERA_ICON_P); app_name = "Camera"; printf("camera icon: %d*%d\r\n", icon_n.cols, icon_n.rows); } App_Camera::~App_Camera() { } void App_Camera::init() { } void App_Camera::run() { ...
12.88
63
0.649068
yjf0602
a18a801f26e67cbfdc3e26e2a50c866e66cba1b2
3,371
cpp
C++
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/ValueLabel.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2015 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
35.114583
149
0.643726
alejandrolozano2
a18be7c2cee38c65b917be2325016c45e23cc8d7
1,393
cpp
C++
source/og-core/scenegraph/i3dNodeRender.cpp
OpenWebGlobe/Application-SDK
b819ca8ccb44b70815f6c5332cfb041ea23dab61
[ "MIT" ]
4
2015-12-20T01:38:05.000Z
2019-07-02T11:01:29.000Z
source/og-core/scenegraph/i3dNodeRender.cpp
OpenWebGlobe/Application-SDK
b819ca8ccb44b70815f6c5332cfb041ea23dab61
[ "MIT" ]
null
null
null
source/og-core/scenegraph/i3dNodeRender.cpp
OpenWebGlobe/Application-SDK
b819ca8ccb44b70815f6c5332cfb041ea23dab61
[ "MIT" ]
6
2015-01-20T09:18:39.000Z
2021-02-06T08:19:30.000Z
/******************************************************************************* Project : i3D Studio Purpose : Begin Render Node Creation Date : 17.3.2011 Author : Martin Christen Copyright : Copyright (c) 2011 by FHNW. All rights reserved. *****************************************************...
21.765625
80
0.401292
OpenWebGlobe
a190e9254ddffb21b15b34bf39da3111946d4064
2,060
cpp
C++
clients/cpp-tiny/generated/lib/Models/GithubRespositoryContainer.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-tiny/generated/lib/Models/GithubRespositoryContainer.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-tiny/generated/lib/Models/GithubRespositoryContainer.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
#include "GithubRespositoryContainer.h" using namespace Tiny; GithubRespositoryContainer::GithubRespositoryContainer() { _class = std::string(); _links = GithubRespositoryContainerlinks(); repositories = GithubRepositories(); } GithubRespositoryContainer::GithubRespositoryContainer(std::string jsonString) { th...
14.507042
78
0.712621
cliffano
a191addd7d3e0e32781fb7b435df1c346baf5f92
318
cpp
C++
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
main.cpp
procedural/redgpu_info
6c2d07f1d0e418a7de983e0278e3c370954a7eed
[ "Apache-2.0" ]
null
null
null
#ifdef _WIN32 #include "C:/RedGpuSDK/redgpu.h" #endif #ifdef __linux__ #include "/opt/RedGpuSDK/redgpu.h" #endif #include <stdlib.h> // For malloc, free int main() { RedContext context = 0; redCreateContext(malloc, free, 0, 0, 0, RED_SDK_VERSION_1_0_135, 0, 0, 0, 0, 0, 0, 0, &context, 0, 0, 0, 0); }
24.461538
111
0.650943
procedural
084b2481ea4f85f1b5b00829903e8eafa29fce5a
4,438
cc
C++
chrome/browser/ui/webui/options/options_ui_browsertest.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
chrome/browser/ui/webui/options/options_ui_browsertest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
chrome/browser/ui/webui/options/options_ui_browsertest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.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 "chrome/browser/ui/webui/options/options_ui_browsertest.h" #include "base/strings/string16.h" #include "base/strings/utf_string_conversions....
33.368421
80
0.728256
iplo
084d60ef1459f29bc6ae251359805bcfc4549c95
11,448
cpp
C++
symengine/tests/polynomial/test_uratpoly_flint.cpp
jmig5776/symengine
03babc5c56b047b2fe81ef6f8391d1845e6bb66c
[ "MIT" ]
11
2020-02-15T23:54:19.000Z
2020-11-28T12:45:45.000Z
symengine/tests/polynomial/test_uratpoly_flint.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
11
2015-07-18T04:13:48.000Z
2017-06-08T07:05:14.000Z
symengine/tests/polynomial/test_uratpoly_flint.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
1
2020-09-10T13:08:39.000Z
2020-09-10T13:08:39.000Z
#include "catch.hpp" #include <chrono> #include <symengine/polys/uintpoly_flint.h> #include <symengine/polys/uintpoly_piranha.h> #include <symengine/polys/uratpoly.h> #include <symengine/polys/uintpoly.h> #include <symengine/pow.h> #include <symengine/symengine_exception.h> #ifdef HAVE_SYMENGINE_PIRANHA using SymEngi...
36.342857
80
0.593117
jmig5776
0853954cb326f342415182b6f9e82f3edbfa08d9
1,080
cpp
C++
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-09-20T23:26:36.000Z
2019-10-03T17:44:12.000Z
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
null
null
null
runtime/helpers/dispatch_info.cpp
FelipeMLopez/compute-runtime
3e3d2d3b3ac9129b1ee9c4251a2586fef0b300b8
[ "MIT" ]
3
2019-05-16T07:22:51.000Z
2019-11-11T03:05:32.000Z
/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/dispatch_info.h" #include "runtime/kernel/kernel.h" namespace NEO { bool DispatchInfo::usesSlm() const { return (kernel == nullptr) ? false : kernel->slmTotalSize > 0; } bool DispatchInfo::usesSta...
27
120
0.712037
FelipeMLopez
085af273d77f94edc1ca0279099a1745e38223b5
59,217
cpp
C++
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp
maciejkotSW/OpenPegasus
cda54c82ef53fd00cd6be98b1d34518b51c823a4
[ "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
37.741874
80
0.480217
maciejkotSW
085b95c6db0127bdcc6d076a74ff463e2c2245b8
4,002
hpp
C++
lib/inc/libral/resource.hpp
puppetlabs/libral
8f18f1022ef3676a3df6d13d6b483d2100c5bc97
[ "Apache-2.0" ]
68
2017-01-06T18:32:02.000Z
2019-03-16T01:56:41.000Z
lib/inc/libral/resource.hpp
puppetlabs-toy-chest/libral
8f18f1022ef3676a3df6d13d6b483d2100c5bc97
[ "Apache-2.0" ]
41
2017-01-19T19:42:23.000Z
2017-11-08T21:38:03.000Z
lib/inc/libral/resource.hpp
puppetlabs-toy-chest/libral
8f18f1022ef3676a3df6d13d6b483d2100c5bc97
[ "Apache-2.0" ]
15
2017-01-08T02:45:56.000Z
2021-03-24T11:18:09.000Z
#pragma once #include <map> #include <libral/value.hpp> namespace libral { /** An individual thing that we manage The resource only has one set of attributes, whether this resource represents 'is' or 'should' state is therefore depending on the context in which the resource is used. A res...
27.791667
75
0.631184
puppetlabs
085bd25c5b4ba881982d18bab38a30c4b80db522
375
cc
C++
src/ui/lib/key_util/key_util_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/ui/lib/key_util/key_util_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/ui/lib/key_util/key_util_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.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 "src/ui/lib/key_util/key_util.h" #include <gtest/gtest.h> #include "hid-parser/usages.h" #include "hid/usages.h" namespace root_presenter { nam...
25
73
0.741333
allansrc
08608f158017d3b26380dd413f6fecaf39b22612
10,623
cxx
C++
main/oox/source/shape/ShapeContextHandler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/oox/source/shape/ShapeContextHandler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/oox/source/shape/ShapeContextHandler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
30.438395
123
0.696884
Grosskopf
0861c31cba7a3998f40a562c80b4904013d06899
3,939
cpp
C++
Eudora71/Eudora/QCImageList.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
1
2019-06-15T17:46:11.000Z
2019-06-15T17:46:11.000Z
Eudora71/Eudora/QCImageList.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
Eudora71/Eudora/QCImageList.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
#include "stdafx.h" #include "windowsx.h" #include "QCGraphics.h" #include "QCImageList.h" #include "SafetyPal.h" #include "resource.h" #include "DebugNewHelpers.h" class QCCommon16ImageList g_theCommon16ImageList; class QCCommon32ImageList g_theCommon32ImageList; class QCMailboxImageList g_theMailboxImageList; c...
19.403941
94
0.694846
ivanagui2
0862bd901dbd34f2e4fb66fef66af446cac11af1
1,279
hpp
C++
Support/Modules/UDLib/UDItemInfoTagContentCreator.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/UDLib/UDItemInfoTagContentCreator.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/UDLib/UDItemInfoTagContentCreator.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
#ifndef UDITEMINFOTAGCONTENTCREATOR_HPP #define UDITEMINFOTAGCONTENTCREATOR_HPP #pragma once #include "UDDefinitions.hpp" #include "FloatingMenu.hpp" namespace UD { namespace ItemInfoTag { class UD_DLL_EXPORT InfoTagContentCreator { public: enum class EntryLayoutMethod { OneColumn, TwoColumns }; class UD_DLL...
21.677966
82
0.751368
graphisoft-python
08633ec8b6270d7720e1e366a6018814ef834aab
423
cpp
C++
ADCore/ADApp/pluginSrc/test_forward_reference.cpp
jerryjiahaha/areaDetector
a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231
[ "MIT" ]
20
2015-01-07T09:02:42.000Z
2021-07-27T14:35:19.000Z
ADCore/ADApp/pluginSrc/test_forward_reference.cpp
jerryjiahaha/areaDetector
a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231
[ "MIT" ]
400
2015-01-06T14:44:30.000Z
2022-02-07T17:45:32.000Z
ADCore/ADApp/pluginSrc/test_forward_reference.cpp
jerryjiahaha/areaDetector
a0ebc33a94a3cccffb4c9489d4b8e8ff33bf4231
[ "MIT" ]
72
2015-01-23T23:23:02.000Z
2022-02-07T15:14:35.000Z
#include <NDPluginStats.h> void test_forward_reference() { // Creating the object as an automatic variable causes a compilation error on Linux but compiles fine on Windows NDPluginStats stats = NDPluginStats("STATS1", 20, 0, "SIM1", 0, 0, 0, 0, 0, 1); // Creating the object as a heap variable works fine on Linux an...
38.454545
112
0.716312
jerryjiahaha
0868d450facd44e942b5a8894b8151b4ee39fd12
3,169
cpp
C++
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
src/Player.cpp
gabrielahavranova/bomberman-game
bf50bbec8d1eb9dd4dfa59873ed50c06f6d7d592
[ "MIT" ]
null
null
null
#include "./include/Player.h" class Bomb; Player::Player() { player_src_rect = {0, 0, TILE_DIM, TILE_DIM }; player_dest_rect = {0, 0, TILE_DIM, TILE_DIM}; } void Player::render() { player_dest_rect.x = pos_coords2D.x; player_dest_rect.y = pos_coords2D.y; renderScore(); TextureManager::draw(p...
25.97541
121
0.650363
gabrielahavranova
086e11a11f63a7e233f43322e35aaa3c8935f6b7
1,612
cpp
C++
interpreter/interpreter.cpp
wangyouming/DesignPatterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
1
2019-11-12T09:03:17.000Z
2019-11-12T09:03:17.000Z
interpreter/interpreter.cpp
wangyouming/design_patterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
null
null
null
interpreter/interpreter.cpp
wangyouming/design_patterns
ae3b3934480306bdce4bcbdec92553a688338fc3
[ "MIT" ]
null
null
null
#include <iostream> // std::cout std::endl #include <map> // std::map using std::cout; using std::endl; using std::string; class Context { public: void set(const string& key, bool value) { map_.insert({key, value}); } bool get(const string& key) { return map_[key]; } ...
19.901235
73
0.614764
wangyouming
0870392dd41da1af2a9cec0cdaad73ac3171f0d6
4,605
cc
C++
contrib/language/filters/http/test/language_integration_test.cc
naveensrinivasan/envoy
6931f18c3bacb0e41a64d2107b2c0d0cd683ad80
[ "Apache-2.0" ]
1
2022-03-02T14:23:12.000Z
2022-03-02T14:23:12.000Z
contrib/language/filters/http/test/language_integration_test.cc
naveensrinivasan/envoy
6931f18c3bacb0e41a64d2107b2c0d0cd683ad80
[ "Apache-2.0" ]
153
2021-10-04T04:32:48.000Z
2022-03-31T04:22:40.000Z
contrib/language/filters/http/test/language_integration_test.cc
naveensrinivasan/envoy
6931f18c3bacb0e41a64d2107b2c0d0cd683ad80
[ "Apache-2.0" ]
1
2021-12-14T02:39:44.000Z
2021-12-14T02:39:44.000Z
#include "test/integration/http_integration.h" namespace Envoy { class HttpFilterLanguageIntegrationTest : public testing::TestWithParam<Network::Address::IpVersion>, public HttpIntegrationTest { public: HttpFilterLanguageIntegrationTest() : HttpIntegrationTest(Http::CodecClient::Type::HTTP1, GetPara...
39.025424
98
0.67861
naveensrinivasan
0871b734b5f57f2f78f75119b7d254e79de3bbeb
132
cpp
C++
daemon/yettad.cpp
dingjingmaster/yetta
86977d0a670cfd7c3a9a511290e52b03abb44cef
[ "MIT" ]
null
null
null
daemon/yettad.cpp
dingjingmaster/yetta
86977d0a670cfd7c3a9a511290e52b03abb44cef
[ "MIT" ]
null
null
null
daemon/yettad.cpp
dingjingmaster/yetta
86977d0a670cfd7c3a9a511290e52b03abb44cef
[ "MIT" ]
null
null
null
#include <yetta-daemon.h> int main(int argc, char *argv[]) { YettaDaemon app (argc, argv, "yettad"); return app.exec(); }
14.666667
43
0.621212
dingjingmaster
08724aa8f4440172d96f1b637c1cb0c124c845f8
8,799
cc
C++
src/ui/scenic/lib/gfx/tests/image_pipe_render_unittest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/gfx/tests/image_pipe_render_unittest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/ui/scenic/lib/gfx/tests/image_pipe_render_unittest.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/ui/scenic/cpp/commands.h> #include <gtest/gtest.h> #include "src/ui/lib/escher/flib/fence.h" #include "src/ui/lib/escher/test/gtest_vulkan....
41.701422
100
0.726105
opensource-assist
0874e429c80093215cb31ed8dac5a23ca3858a6e
1,522
cpp
C++
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/tst/engine/gui/visibility.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#include "gui_access.hpp" #include "engine/gui/view_refresh.hpp" #include "engine/gui/update.hpp" #include <catch2/catch.hpp> SCENARIO("Adding view (show) to already updated group.", "[gui][Visibility]") { // this test verified a bug when working with tabs. View group1 = ViewAccess::create_group( Layout::RELATIV...
28.185185
79
0.676741
shossjer
087508ef1969baea4c597ca48c0715b9050b4d45
3,129
cpp
C++
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
277
2015-01-04T20:42:36.000Z
2022-03-21T06:52:03.000Z
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
31
2015-01-05T08:00:38.000Z
2016-01-05T01:18:59.000Z
src/pal/src/misc/strutil.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
46
2015-01-21T00:41:59.000Z
2021-03-23T07:00:01.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*++ Module Name: strutil.cpp Abstract: Various string-related utility functions --*/ #include "pal/corunix.hpp" #include "pal/thread.hpp" #incl...
20.45098
102
0.612656
CyberSys
0875d3ef0f5b8da850ca2e01ab5de311d9e958ea
22,124
cpp
C++
DdsJs/DomainParticipantWrap.cpp
rjnieves/DdsJs
90939e43b2f62d908b1f43dc61dc4fa54ba4c1e4
[ "Apache-2.0" ]
null
null
null
DdsJs/DomainParticipantWrap.cpp
rjnieves/DdsJs
90939e43b2f62d908b1f43dc61dc4fa54ba4c1e4
[ "Apache-2.0" ]
null
null
null
DdsJs/DomainParticipantWrap.cpp
rjnieves/DdsJs
90939e43b2f62d908b1f43dc61dc4fa54ba4c1e4
[ "Apache-2.0" ]
null
null
null
/** * \file DomainParticipantWrap.cpp * \brief Contains the implementation for the \c DomainParticipantWrap class. * \author Rolando J. Nieves * \date 2014-07-28 16:06:08 */ #include <arpa/inet.h> #include <cstring> #include <sstream> #include "ddsjs_base.hh" #include "DomainParticipantWrap.hh" #include "Publisher...
29.696644
135
0.579054
rjnieves
0876b21d67c4098018aa913f8ca45d32be2b96e2
11,174
cc
C++
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
2
2019-06-15T15:25:54.000Z
2021-09-22T07:40:12.000Z
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/openvslam/match/bow_tree.cc
Ling-Bao/openvslam
8e891482c1950be3bbf1c0565299bc8c6e5d9910
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
1
2019-10-24T08:42:22.000Z
2019-10-24T08:42:22.000Z
#include "openvslam/match/bow_tree.h" #include "openvslam/data/frame.h" #include "openvslam/data/keyframe.h" #include "openvslam/data/landmark.h" #ifdef USE_DBOW2 #include <DBoW2/FeatureVector.h> #else #include <fbow/fbow.h> #endif namespace openvslam { namespace match { unsigned int bow_tree::match_frame_and_keyfra...
38.136519
153
0.563809
Ling-Bao
08772ee8d1714875946cd401bc3af2f58a414ec8
38,861
cpp
C++
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
src/protocols/mqtt5/Mqtt5Serialization.cpp
mnaveedb/finalmq
3c3b2b213fa07bb5427a1364796b19d732890ed2
[ "MIT" ]
null
null
null
//MIT License //Copyright (c) 2020 bexoft GmbH (mail@bexoft.de) //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to use, copy, ...
26.204316
205
0.591158
mnaveedb
08775931b8cde79d768ba6aada16e089b0127451
1,208
hpp
C++
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
1
2021-05-21T16:20:15.000Z
2021-05-21T16:20:15.000Z
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
null
null
null
include/Utils.hpp
qqwertyui/zipper
fa57b23971988fa39cbbf142837bb55458c54e46
[ "Apache-2.0" ]
null
null
null
#ifndef UTILS_HPP #define UTILS_HPP #include <cstdint> #include <string> #include <vector> #include <memory> #include <fstream> #include <cstddef> class DosTime { public: DosTime(uint16_t time, uint16_t date); uint8_t second; uint8_t minute; uint8_t hour; uint8_t day; uint8_t month; uint16_t year; }; ...
20.133333
121
0.716887
qqwertyui
087888b4613453adf2c32912ba0b7d7f2c71cf43
430
cpp
C++
projects/example/my-api-repo/do_stuff_fuzzer.cpp
rbehjati/oss-fuzz
a31e58fb5c9984915fdc79610660b326df20b937
[ "Apache-2.0" ]
7,629
2016-07-25T20:21:54.000Z
2022-03-30T15:55:51.000Z
projects/example/my-api-repo/do_stuff_fuzzer.cpp
rbehjati/oss-fuzz
a31e58fb5c9984915fdc79610660b326df20b937
[ "Apache-2.0" ]
4,786
2016-09-13T15:00:30.000Z
2022-03-31T23:57:39.000Z
projects/example/my-api-repo/do_stuff_fuzzer.cpp
rbehjati/oss-fuzz
a31e58fb5c9984915fdc79610660b326df20b937
[ "Apache-2.0" ]
1,825
2016-08-30T16:48:19.000Z
2022-03-31T08:58:09.000Z
// Copyright 2017 Google Inc. All Rights Reserved. // Licensed under the Apache License, Version 2.0 (the "License"); #include "my_api.h" #include <string> // Simple fuzz target for DoStuff(). // See http://libfuzzer.info for details. extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { std::st...
30.714286
73
0.716279
rbehjati
087e0b5b86587a14bdd714f18829f00733d498e9
20,881
hpp
C++
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
configuration/configurator/schemas/SchemaCommon.hpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2015 HPCC Systems®. 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...
34.976549
182
0.658829
miguelvazq
08808679455df51fa25983a062e062f79a3e0c71
505
cpp
C++
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
1
2017-03-16T09:38:48.000Z
2017-03-16T09:38:48.000Z
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
huawei/TwoStackForQueue/TwoStackForQueue/main.cpp
RainChang/My_ACM_Exercises
36872bdcb49cbb3eebde4bb9c7d154d057775b72
[ "Apache-2.0" ]
null
null
null
// // main.cpp // TwoStackForQueue // // Created by Rain on 08/03/2017. // Copyright © 2017 Rain. All rights reserved. // #include <iostream> #include <algorithm> #include <vector> #include <stack> using namespace std; int main(int argc, const char * argv[]) { // insert code here... stack<int> s1; ...
16.290323
47
0.540594
RainChang
0881b5a2456dff821383d4a6a098a3575ca109af
2,005
cpp
C++
src/core/vertex_buffer.cpp
fentacoder/PenEngine
6f9bf8527ff3fe194737238361bc8db504de877e
[ "Apache-2.0" ]
null
null
null
src/core/vertex_buffer.cpp
fentacoder/PenEngine
6f9bf8527ff3fe194737238361bc8db504de877e
[ "Apache-2.0" ]
null
null
null
src/core/vertex_buffer.cpp
fentacoder/PenEngine
6f9bf8527ff3fe194737238361bc8db504de877e
[ "Apache-2.0" ]
null
null
null
/************************************************************************************************* Copyright 2021 Jamar Phillip Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyri...
33.416667
105
0.701746
fentacoder
0881fa228fb52003ebcc87e84457362b52f977fb
665
hpp
C++
include/zasm/program/label.hpp
clayne/zasm
b7c1d8c529acb5dfc9f8574307d5cd6685f9c8ac
[ "MIT" ]
59
2021-11-23T18:15:10.000Z
2022-03-31T08:02:04.000Z
include/zasm/program/label.hpp
clayne/zasm
b7c1d8c529acb5dfc9f8574307d5cd6685f9c8ac
[ "MIT" ]
8
2021-12-28T10:01:29.000Z
2022-03-06T12:20:49.000Z
include/zasm/program/label.hpp
clayne/zasm
b7c1d8c529acb5dfc9f8574307d5cd6685f9c8ac
[ "MIT" ]
7
2021-11-25T08:39:45.000Z
2022-02-19T08:15:27.000Z
#pragma once #include <cstdint> namespace zasm { class Label { public: enum class Id : int32_t { Invalid = -1, }; private: Id _id{ Id::Invalid }; public: constexpr Label() noexcept = default; constexpr explicit Label(const Id id) noexc...
15.833333
54
0.476692
clayne
088339e3d661afdbe838c1cf3419784d83baf0fe
6,752
cc
C++
chrome/browser/policy/profile_policy_connector.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/policy/profile_policy_connector.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/policy/profile_policy_connector.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/policy/profile_policy_connector.h" #include <vector> #include "base/logging.h" #include "chrome/browser/browser_process.h" ...
36.896175
86
0.781102
pozdnyakov
08882e1f43f71d258698d6b669c262e35a54d049
735
cpp
C++
src/bq-r.cpp
sarahkittyy/bq-r
5aa4b4c05542d423009bb1362cab07f9871df9a1
[ "MIT" ]
null
null
null
src/bq-r.cpp
sarahkittyy/bq-r
5aa4b4c05542d423009bb1362cab07f9871df9a1
[ "MIT" ]
8
2021-01-06T00:08:08.000Z
2021-01-16T19:32:34.000Z
src/bq-r.cpp
sarahkittyy/bq-r
5aa4b4c05542d423009bb1362cab07f9871df9a1
[ "MIT" ]
null
null
null
#include "bq-r.hpp" #include <iostream> #include <imgui-SFML.h> #include <imgui.h> app::app() : m_window(sf::VideoMode(800, 600), "bq-r") { ImGui::SFML::Init(m_window); } int app::run() { // clock for measuring deltas between frames sf::Clock imgui_clock; while (m_window.isOpen()) { // event handling sf::E...
16.704545
55
0.634014
sarahkittyy
08898e952d967a66dd06b9b34feb5174261cfeef
456
cpp
C++
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
20
2016-08-11T19:51:13.000Z
2021-09-02T13:10:58.000Z
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
9
2016-08-11T11:59:24.000Z
2021-07-16T09:44:28.000Z
slicing/src/slicingMethods/SlicingMethod.cpp
mattulbrich/llreve
68cb958c1c02177fa0db1965a8afd879a97c2fc4
[ "BSD-3-Clause" ]
7
2017-08-19T14:42:27.000Z
2020-05-20T16:14:13.000Z
/* * This file is part of * llreve - Automatic regression verification for LLVM programs * * Copyright (C) 2016 Karlsruhe Institute of Technology * * The system is published under a BSD license. * See LICENSE (distributed with this file) for details. */ #include "SlicingMethod.h" using namespace std; using...
20.727273
66
0.736842
mattulbrich
088f3836c8218a6b0529fad653f40bd9a22ef215
7,664
cpp
C++
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/obsidian_sanctum/instance_obsidian_sanctum.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
33.911504
184
0.596294
ZON3DEV
08906bc31eb2e097931970bdcd5bd3f6a8f99249
7,645
cpp
C++
example-blink/src/ofApp.cpp
vohoaiviet/ofxFaceTracker
d0bc2e77c57dc598df498c9096296f1124d4ca33
[ "MIT" ]
null
null
null
example-blink/src/ofApp.cpp
vohoaiviet/ofxFaceTracker
d0bc2e77c57dc598df498c9096296f1124d4ca33
[ "MIT" ]
null
null
null
example-blink/src/ofApp.cpp
vohoaiviet/ofxFaceTracker
d0bc2e77c57dc598df498c9096296f1124d4ca33
[ "MIT" ]
null
null
null
#include "ofApp.h" //=================================================================== // Used to extract eye rectangles. from ProCamToolkit GLdouble modelviewMatrix[16], projectionMatrix[16]; GLint viewport[4]; void updateProjectionState() { glGetDoublev(GL_MODELVIEW_MATRIX, modelviewMatrix); glGetDoublev(GL_PROJ...
33.095238
118
0.687116
vohoaiviet
0891556f637294fd4c9bb3433a362ff39d2c8055
530
cc
C++
tests/CompileTests/ElsaTestCases/t0291.cc
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/CompileTests/ElsaTestCases/t0291.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/CompileTests/ElsaTestCases/t0291.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
// t0291.cc // friend function with definition at point of declaration struct A { friend int foo() { return 2; } }; // 11.4 para 5 is (IMO) unclear about precisely what names are in // scope in an inline friend definition; gcc likes the following // code, so I'm putting it in my test suite too.. int I; ...
22.083333
79
0.59434
maurizioabba
0891ce2a90700f808ba8610410ab59eb4c38a1ab
14,578
cpp
C++
Lib/src/Elements/Atom.cpp
undisputed-seraphim/TBTK
45a0875a11da951f900b6fd5e0773ccdf8462915
[ "Apache-2.0" ]
96
2016-04-21T16:46:56.000Z
2022-01-15T21:40:25.000Z
Lib/src/Elements/Atom.cpp
undisputed-seraphim/TBTK
45a0875a11da951f900b6fd5e0773ccdf8462915
[ "Apache-2.0" ]
4
2016-10-19T16:56:20.000Z
2020-04-14T01:31:40.000Z
Lib/src/Elements/Atom.cpp
undisputed-seraphim/TBTK
45a0875a11da951f900b6fd5e0773ccdf8462915
[ "Apache-2.0" ]
19
2016-10-19T14:21:58.000Z
2021-04-15T13:52:09.000Z
/* Copyright 2017 Kristofer Björnson * * 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...
19.081152
75
0.624365
undisputed-seraphim
0892b3fc71781977b697a7a2ad44ebf9cc612489
1,124
cpp
C++
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
null
null
null
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
1
2020-04-03T09:49:25.000Z
2020-04-03T09:50:29.000Z
FrameRateCalculator.cpp
jambolo/Misc
0b2779c9bb1954294a722bddd51dc2ad5e449a1c
[ "MIT" ]
null
null
null
#include "FrameRateCalculator.h" #include <chrono> using namespace std::chrono; using namespace std::chrono_literals; FrameRateCalculator::FrameRateCalculator() : nFrames_(0) , frameRate_(0.0f) , averageFrameRate_(0.0f) { oldTime_ = oldTime2_ = high_resolution_clock::now(); } //! //! @param t Time o...
26.139535
92
0.647687
jambolo
089416b2c0c9b573aea004cbc2bde14d2ed5154a
1,817
cpp
C++
src/vjudge/HYSBZ/2330/23153460_TLE_0ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/HYSBZ/2330/23153460_TLE_0ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/HYSBZ/2330/23153460_TLE_0ms_0kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <cstdio> #include <cctype> #include <queue> #include <algorithm> using namespace std; struct Node{ int h, dis, cnt; bool vis; } nodes[233333]; struct Edge { int to, nex, w; } edges[2333333]; int n, k, cnt, ans; int read() { int ret, f = 1; char ch; while(!isdigit(ch = getchar())) (c...
23.294872
77
0.438635
lnkkerst
089419ac9d1f21b04343038a308079c2ecdfefed
5,017
cpp
C++
Other/giftwrapping/hearding.cpp
lemmingapex/UVA_Online_Judge
4ea218fc140d12ead1ee2ed51dabce21b4dca51c
[ "MIT" ]
1
2022-02-24T20:18:29.000Z
2022-02-24T20:18:29.000Z
Other/giftwrapping/hearding.cpp
lemmingapex/UVA_Online_Judge
4ea218fc140d12ead1ee2ed51dabce21b4dca51c
[ "MIT" ]
null
null
null
Other/giftwrapping/hearding.cpp
lemmingapex/UVA_Online_Judge
4ea218fc140d12ead1ee2ed51dabce21b4dca51c
[ "MIT" ]
null
null
null
// Scott Wiedemann // 04/29/2012 // hearding.cpp #include <math.h> #include <stdio.h> #include <vector> #define SIZE 10000 using namespace std; class Point { public: double x,y; Point() { } Point(const double& A, const double& B) { x=A; y=B; } Point operator+ (const Point& a) const { P...
19.67451
138
0.598565
lemmingapex
0894ceb5bf675d9df94dd225bbbd7c31b102f3f2
105,625
cpp
C++
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
vm/CheckJni.cpp
flowcoaster/android_platform_dalvik
de43d1017cd6e987a202ac2d977a716f46d429e7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2008 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 app...
38.14554
136
0.620507
flowcoaster
0895447c4d3756c74ac58c1fae6017bbf84173b3
2,838
cpp
C++
hw/Assignment2-vs2008/Word Ladder/Word Ladder/WordLadder.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
hw/Assignment2-vs2008/Word Ladder/Word Ladder/WordLadder.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
hw/Assignment2-vs2008/Word Ladder/Word Ladder/WordLadder.cpp
Liquidibrium/PAbstractions
e3cf51b5d713a181abdda87ed5205d998289f878
[ "MIT" ]
null
null
null
/* * File: WordLadder.cpp * -------------------------- * Name: [TODO: enter name here] * Section: [TODO: enter section leader here] * This file is the starter project for the Word Ladder problem. * [TODO: rewrite the documentation] */ #include <iostream>e #include "console.h" #include "simpio.h" #include "lexi...
25.567568
76
0.674419
Liquidibrium
08961aefa3d4b1ad40dd570bd6497b8cc501ba88
1,855
cpp
C++
03_Tutorial/T02_XMCocos2D-v3/Source/ClickAndMoveTest/ClickAndMoveTest.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T02_XMCocos2D-v3/Source/ClickAndMoveTest/ClickAndMoveTest.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T02_XMCocos2D-v3/Source/ClickAndMoveTest/ClickAndMoveTest.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
#include "ClickAndMoveTest.h" #include "../testResource.h" enum { kTagSprite = 1, }; void ClickAndMoveTestScene::runThisTest() { auto layer = new MainLayer(); layer->autorelease(); addChild(layer); Director::getInstance()->replaceScene(this); } MainLayer::MainLayer() { auto listener = EventL...
26.884058
79
0.577898
mcodegeeks
089b34e456829d7729aff86f2842f6c178dd98c9
12,040
cpp
C++
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
44
2016-05-06T00:47:11.000Z
2022-02-11T06:51:37.000Z
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
3
2016-06-27T12:37:31.000Z
2021-03-24T12:39:48.000Z
src/RTL/Component/Importing/CIFXInternetReadBufferX.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
15
2016-02-28T11:08:30.000Z
2021-06-01T03:32:01.000Z
//*************************************************************************** // // Copyright (c) 2000 - 2006 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
21.385435
81
0.684551
alemuntoni
089ba1beb32f6574bc5d3300b4fd914258f8b778
294
cpp
C++
3_OOP/LyThuyet-T6/Bai-3/main.cpp
SummerSad/HCMUS-Lectures
b376e144e2601a73684e2ff437ab5c94a943909c
[ "MIT" ]
8
2020-05-11T09:48:40.000Z
2022-03-28T13:43:27.000Z
3_OOP/LyThuyet-T6/Bai-3/main.cpp
SummerSad/HCMUS-Lectures
b376e144e2601a73684e2ff437ab5c94a943909c
[ "MIT" ]
null
null
null
3_OOP/LyThuyet-T6/Bai-3/main.cpp
SummerSad/HCMUS-Lectures
b376e144e2601a73684e2ff437ab5c94a943909c
[ "MIT" ]
4
2021-04-13T04:01:50.000Z
2021-12-10T01:12:15.000Z
#include "Xe.h" #include <iostream> using namespace std; int main(void) { XeMay a; a.themHang(10); a.themXang(200); a.chay(100); cout << a.xang() << endl; XeTai b; b.themHang(1000); b.themXang(100); b.chay(1000); cout << b.hetXang() << endl; cout << b.xang() << endl; return 0; }
14
29
0.608844
SummerSad
089bc39c3595d84a74de45116f1380f4ba67c094
3,340
cpp
C++
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/visual-scripting/processors/logical/gates/XorProcessor.cpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#include "XorProcessor.hpp" #include <type-system/types/logical/gates/Xor.hpp> #include <utility> namespace inexor::visual_scripting { using namespace inexor::entity_system; using namespace inexor::entity_system::type_system; using Xor = entity_system::type_system::Xor; using EntityTypePtrOpt = std::optional<Entity...
41.75
240
0.746108
inexorgame
089e0e7e7e56b1fb1d345ab36f0527b92210a877
287
cpp
C++
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
1
2021-04-04T15:47:36.000Z
2021-04-04T15:47:36.000Z
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
pointers/pointer6.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int sum(int *a,int size){ int ans=0; for(int i=0;i< size;i++) { ans+=a[i]; } return ans; } int main(){ int a[10]={1,2,3,4,5,3,22,66,44,4}; cout<<sizeof(a)<<endl; cout<<sum(a+2,3)<<endl; }
13.045455
36
0.484321
manish1822510059
08a12b45156def996e2aef19400bc90cf52415e8
3,899
cc
C++
cplusplus/Tadpole5/tadpole/lex/test_token.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
cplusplus/Tadpole5/tadpole/lex/test_token.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
cplusplus/Tadpole5/tadpole/lex/test_token.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
// Copyright (c) 2021 ASMlover. All rights reserved. // // _____ _ _ // |_ _|_ _ __| |_ __ ___ | | ___ // | |/ _` |/ _` | '_ \ / _ \| |/ _ \ // | | (_| | (_| | |_) | (_) | | __/ // |_|\__,_|\__,_| .__/ \___/|_|\___| // |_| // // Redistribution and use in source and binar...
31.443548
71
0.630675
ASMlover
08a407ccc1dc7996c4ffa7e1f3bc64503b9af909
10,584
cpp
C++
src/mongo/logger/rotatable_file_writer.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
4
2018-02-06T01:53:12.000Z
2018-02-20T01:47:36.000Z
src/mongo/logger/rotatable_file_writer.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
null
null
null
src/mongo/logger/rotatable_file_writer.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
3
2018-02-06T01:53:18.000Z
2021-07-28T09:48:15.000Z
/* Copyright 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, ...
37.399293
100
0.558579
SunguckLee
08a4e32ddc96af4c433751993c60590e552592fe
2,682
cc
C++
native_client_sdk/src/libraries/nacl_io/passthroughfs/real_node.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
native_client_sdk/src/libraries/nacl_io/passthroughfs/real_node.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
native_client_sdk/src/libraries/nacl_io/passthroughfs/real_node.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 "nacl_io/passthroughfs/real_node.h" #include <errno.h> #include "nacl_io/kernel_handle.h" #include "nacl_io/kernel_wrap_real.h" namespace nacl...
22.537815
78
0.61223
Fusion-Rom
08a5be3c183f278f696ea14de23bd5c64a885845
2,203
hpp
C++
src/actor/context/Context.hpp
SpeedXer/Nebula
62f55ab2f45f7e95580b800ef351da9b3073becf
[ "MIT" ]
null
null
null
src/actor/context/Context.hpp
SpeedXer/Nebula
62f55ab2f45f7e95580b800ef351da9b3073becf
[ "MIT" ]
1
2019-12-31T01:10:26.000Z
2019-12-31T01:10:26.000Z
src/actor/context/Context.hpp
wincsb/Nebula
70a7baf24d17ae59a0f2788af45887fc2b1092df
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Project: Nebula * @file Context.hpp * @brief * @author Bwar * @date: 2019年2月16日 * @note * Modify history: ******************************************************************************/ #ifndef SRC_ACTOR_CONTEXT_HPP_ #...
27.5375
80
0.679074
SpeedXer
08a8b25904d305e39dceace1ce1e0c6d96131f5d
112
hpp
C++
FirstOrderLogic/libfol-basictypes/variable.hpp
s3ponia/FOL-parser
5cbfc1bf02acae78104238781b9c5c4e71ffe925
[ "MIT" ]
null
null
null
FirstOrderLogic/libfol-basictypes/variable.hpp
s3ponia/FOL-parser
5cbfc1bf02acae78104238781b9c5c4e71ffe925
[ "MIT" ]
null
null
null
FirstOrderLogic/libfol-basictypes/variable.hpp
s3ponia/FOL-parser
5cbfc1bf02acae78104238781b9c5c4e71ffe925
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace fol::types { using Variable = std::string; } // namespace fol::types
16
29
0.705357
s3ponia
08a91a5be4c4d09cf056247a5d2fc20c3c35850d
13,908
cpp
C++
libOSR/src/OSRUnity.cpp
snowymo/OnlineSurfaceReconstruction
2f44e292c69a16a9d8fe1f292a92396a652a8b06
[ "BSD-3-Clause" ]
null
null
null
libOSR/src/OSRUnity.cpp
snowymo/OnlineSurfaceReconstruction
2f44e292c69a16a9d8fe1f292a92396a652a8b06
[ "BSD-3-Clause" ]
null
null
null
libOSR/src/OSRUnity.cpp
snowymo/OnlineSurfaceReconstruction
2f44e292c69a16a9d8fe1f292a92396a652a8b06
[ "BSD-3-Clause" ]
null
null
null
#include "dllwrapper/OSRUnity.h" #include "osr/common.h" #include "osr/Colors.h" //#include "gui/ScanRenderer.h" #include <stdio.h> osr::Data* CreateOSRData() { // std::streambuf *psbuf; // std::ofstream filestr; // remove("test.txt"); // filestr.open("test.txt", std::ios::app); // psbuf = filestr.rdbuf(); ...
32.194444
162
0.649195
snowymo
08ab76ca3c0ca3f8ab82aa7833aa8cd8883d7e82
7,091
cpp
C++
test/rocprim/test_thread.cpp
stanleytsang-amd/rocPRIM
1a4135dfc43f90f465c336a551bccbe359d40f11
[ "MIT" ]
null
null
null
test/rocprim/test_thread.cpp
stanleytsang-amd/rocPRIM
1a4135dfc43f90f465c336a551bccbe359d40f11
[ "MIT" ]
null
null
null
test/rocprim/test_thread.cpp
stanleytsang-amd/rocPRIM
1a4135dfc43f90f465c336a551bccbe359d40f11
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved. // // 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 limitati...
32.231818
117
0.659145
stanleytsang-amd
08ac132da4f1f72aa169fd338d6b87a257715ef8
3,843
cc
C++
src/xpu-0.1.5/xpu/net/udp_socket.cc
qbee-eu/qx-simulator
4e795dafd87bd226cd228437a67f2c10db4bff0b
[ "Apache-2.0" ]
null
null
null
src/xpu-0.1.5/xpu/net/udp_socket.cc
qbee-eu/qx-simulator
4e795dafd87bd226cd228437a67f2c10db4bff0b
[ "Apache-2.0" ]
null
null
null
src/xpu-0.1.5/xpu/net/udp_socket.cc
qbee-eu/qx-simulator
4e795dafd87bd226cd228437a67f2c10db4bff0b
[ "Apache-2.0" ]
2
2021-03-10T22:03:32.000Z
2021-04-20T09:47:29.000Z
udp_socket::udp_socket() throw (socket_exception) : active_socket(SOCK_DGRAM, IPPROTO_UDP) { set_broadcast(); } udp_socket::udp_socket(unsigned short local_port) throw (socket_exception) : active_socket(SOCK_DGRAM, IPPROTO_UDP) { set_local_port(local_port); set_broadcast(); } udp_socket::udp_socket(co...
32.567797
117
0.696591
qbee-eu
08ad68ed8a061fe0c92070d98e01f28801f24c23
541
cpp
C++
source/365.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/365.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/365.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 365.cpp // LeetCode // // Created by Narikbi on 19.04.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
17.451613
58
0.656192
narikbi
08b0beb7e49b3a1f844dd83191613b7b0b37a0ab
2,111
cpp
C++
src/Kalem_Hash_Checker.cpp
ferhatgec/kalem
556fc8b3cb6946c6be5654aa44f7146832c14d78
[ "MIT" ]
5
2020-12-29T19:52:53.000Z
2021-06-11T17:36:30.000Z
src/Kalem_Hash_Checker.cpp
ferhatgec/kalem
556fc8b3cb6946c6be5654aa44f7146832c14d78
[ "MIT" ]
null
null
null
src/Kalem_Hash_Checker.cpp
ferhatgec/kalem
556fc8b3cb6946c6be5654aa44f7146832c14d78
[ "MIT" ]
null
null
null
/* MIT License # # Copyright (c) 2021 Ferhat Geçdoğan All Rights Reserved. # Distributed under the terms of the MIT License. # # */ #include <string> #include <fstream> #include <functional> #include <sstream> #include "../include/Kalem_Hash_Checker.hpp" #include "../include/libs/FileSystemPlusPlus.hpp" bool KalemH...
27.064103
90
0.57082
ferhatgec
08b3ce0e16746a951c5b63cc25ca988acd273a75
13,128
hpp
C++
include/state_saver.hpp
Neargye/yacppl
032d8c044c84e0942607220679ca2d4da48631bd
[ "MIT" ]
10
2018-12-13T06:52:13.000Z
2022-02-21T16:39:58.000Z
include/state_saver.hpp
Neargye/yacppl
032d8c044c84e0942607220679ca2d4da48631bd
[ "MIT" ]
null
null
null
include/state_saver.hpp
Neargye/yacppl
032d8c044c84e0942607220679ca2d4da48631bd
[ "MIT" ]
1
2020-06-02T08:05:13.000Z
2020-06-02T08:05:13.000Z
// _____ _ _ _____ _____ // / ____| | | | / ____| / ____|_ _ // | (___ | |_ __ _| |_ ___ | (___ __ ___ _____ _ __ | | _| |_ _| |_ // \___ \| __/ _` | __/ _ \ \___ \ / _` \ \ / / _ \ '__| | | |_ _|_ _| // ____) | || (_| | ||...
39.542169
175
0.722273
Neargye
08b3dc2d136c62283a6a80327a3071d99406c7ec
1,223
hpp
C++
Spades Game/Game/Net/ClientEventHandler.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
6
2017-01-04T22:40:50.000Z
2019-11-24T15:37:46.000Z
Spades Game/Game/Net/ClientEventHandler.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
1
2016-09-18T19:10:01.000Z
2017-08-04T23:53:38.000Z
Spades Game/Game/Net/ClientEventHandler.hpp
jmasterx/StemwaterSpades
05e5d7c6d380d2f5986bd91269887f16c3e71962
[ "Unlicense" ]
2
2015-11-21T16:42:18.000Z
2019-04-21T20:41:39.000Z
#ifndef CGE_CLIENT_EVENT_HANDLER_HPP #define CGE_CLIENT_EVENT_HANDLER_HPP #include "Game/Net/ServerEventProvider.hpp" #include "Game/Net/NetEventListener.hpp" namespace cge { class ClientEventHandler : public ServerEventProvider, public NetEventListener { public: ClientEventHandler(void); virtual void fetchSer...
47.038462
168
0.762878
jmasterx
08b906f340ee58501dd0bb709eb314dc44601c53
10,371
cc
C++
google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/protobufwireadaptertest.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/protobufwireadaptertest.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/protobufwireadaptertest.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
32.208075
80
0.773696
Keneral
08be2b29cbe58b463019d929c190fd62ce6dd37a
2,238
cpp
C++
src/mlpack/methods/gmm/gmm_probability_main.cpp
NaxAlpha/mlpack-build
1f0c1454d4b35eb97ff115669919c205cee5bd1c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2018-05-21T11:08:36.000Z
2022-03-12T07:52:14.000Z
src/mlpack/methods/gmm/gmm_probability_main.cpp
okmegy/Mlpack
ac9abef3c1353f483ed1af42ba5a7432f291ca1a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/gmm/gmm_probability_main.cpp
okmegy/Mlpack
ac9abef3c1353f483ed1af42ba5a7432f291ca1a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file gmm_probability_main.cpp * @author Ryan Curtin * * Given a GMM, calculate the probability of points coming from it. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license alon...
34.430769
79
0.703753
NaxAlpha
08bec8b14d8f7c6c750f4cab4eafaed88a6db114
2,028
cpp
C++
wide-IDE/cpwin.cpp
nickmain/Amzi-Prolog
6ce17a494fc93f3f27e02896a6a5ff7ac4b33c3e
[ "MIT" ]
86
2016-04-16T06:35:44.000Z
2021-04-14T05:46:32.000Z
wide-IDE/cpwin.cpp
nickmain/Amzi-Prolog
6ce17a494fc93f3f27e02896a6a5ff7ac4b33c3e
[ "MIT" ]
20
2021-05-09T20:54:54.000Z
2021-05-14T13:12:05.000Z
wide-IDE/cpwin.cpp
nickmain/Amzi-Prolog
6ce17a494fc93f3f27e02896a6a5ff7ac4b33c3e
[ "MIT" ]
15
2016-04-16T19:10:45.000Z
2020-11-04T04:07:21.000Z
//----------------------------------------------------------- // Extended Windows Predicates, MFC version // #include "stdafx.h" #include <direct.h> #include <io.h> #include "amzi.h" #include "conview.h" #include "proprog.h" #include "cpwin.h" /* TF EXPFUNC p_keyb(ENGid); PRED_INIT winPreds[] = { //...
20.28
64
0.496055
nickmain
08c2f4a2a8b272af322be5139ca8ca252d73d27b
270
cpp
C++
src/CountingBits.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/CountingBits.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/CountingBits.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "CountingBits.hpp" vector<int> CountingBits::countBits(int num) { vector<int> ret(num + 1, 0); if (num == 0) return ret; ret[1] = 1; for (int i = 2; i <= num; i++) ret[i] = (i & 0x1) ? ret[i / 2] + 1 : ret[i / 2]; return ret; }
18
57
0.503704
yanzhe-chen
08c4acaa94e2e5a33936607e333c5e23ef529012
1,196
cc
C++
media/base/renderer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/base/renderer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
media/base/renderer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "media/base/renderer.h" #include "base/logging.h" namespace media { Renderer::Renderer() = default; Renderer::~Renderer() = default; void Ren...
28.47619
79
0.747492
zealoussnow
c09311a05b90dcbe5f105bc66a448033f05f385d
9,278
cpp
C++
externals/wasm-compiler/llvm/tools/llvm-lto2/llvm-lto2.cpp
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
llvm/tools/llvm-lto2/llvm-lto2.cpp
squirrel-explorer/eagleeye-ios
9569e1d3cf2759490557337dd940e88907517052
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
llvm/tools/llvm-lto2/llvm-lto2.cpp
squirrel-explorer/eagleeye-ios
9569e1d3cf2759490557337dd940e88907517052
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===-- llvm-lto2: test harness for the resolution-based LTO interface ----===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.738182
80
0.595279
JaminChan
c0934c3e35e6384d025f570650d814fc9101700a
2,717
hpp
C++
ql/experimental/exoticoptions/writerextensibleoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
2
2021-12-12T01:27:45.000Z
2022-01-25T17:44:12.000Z
ql/experimental/exoticoptions/writerextensibleoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
19
2020-11-23T08:36:10.000Z
2022-03-28T10:06:53.000Z
ql/experimental/exoticoptions/writerextensibleoption.hpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
5
2020-06-04T15:19:22.000Z
2020-06-18T08:24:37.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2011 Master IMAFA - Polytech'Nice Sophia - Université de Nice Sophia Antipolis This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org...
35.285714
93
0.691204
urgu00
c098c6c896dacd8d817ee0b9e36cc0605fc29ba7
3,834
cpp
C++
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_07_big.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
null
null
null
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_07_big.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
1
2022-02-06T17:40:09.000Z
2022-02-10T22:48:19.000Z
src/main/cpp/edu/rice/habanero/benchmarks/caf/caf_07_big.cpp
tud-ccc/savina
914be6292f379a119751a8b5a38e35e6a99de69d
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <fstream> #include <stdlib.h> #include "benchmark_runner.hpp" using namespace std; using namespace caf; class config : public actor_system_config { public: int n = 20000; int w = 120; config() { opt_group{custom_options_, "global"} .add(n, "nnn,n", "nu...
23.521472
69
0.624674
tud-ccc
c09c771b7f2613188ed139fa02a9a483ba78a391
15,215
hxx
C++
main/tools/inc/tools/errcode.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/tools/inc/tools/errcode.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/tools/inc/tools/errcode.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
47.546875
78
0.640946
Grosskopf
c09cf6b2b1ef0c22292a5c688253029e431c11e4
28,313
cpp
C++
llvm-3.9.0.src/tools/lld/ELF/Relocations.cpp
oscourse-tsinghua/OS2018spring-projects-g02
4adfd1c00096b1ff804a5874d9c400043a087d92
[ "MIT" ]
4
2018-10-14T04:17:32.000Z
2021-08-10T04:05:39.000Z
llvm-3.9.0.src/tools/lld/ELF/Relocations.cpp
Hoblovski/OS2018spring-projects-g02
6a4894a1114848b064bcb847362a1f62746b3337
[ "MIT" ]
2
2018-04-12T03:53:11.000Z
2018-04-15T12:44:28.000Z
llvm-3.9.0.src/tools/lld/ELF/Relocations.cpp
Hoblovski/OS2018spring-projects-g02
6a4894a1114848b064bcb847362a1f62746b3337
[ "MIT" ]
1
2018-04-11T05:05:24.000Z
2018-04-11T05:05:24.000Z
//===- Relocations.cpp ----------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
40.160284
80
0.645781
oscourse-tsinghua
c09e50a22c50058c83d458917f2448e63981aad9
3,919
cpp
C++
src/placeholder.cpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
7
2017-10-08T08:08:25.000Z
2020-04-27T09:25:00.000Z
src/placeholder.cpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
null
null
null
src/placeholder.cpp
matt-harvey/swx
e7b10fe7d4bf0bd6581ceada53ad14b08bc1d852
[ "Apache-2.0" ]
1
2020-04-27T09:24:42.000Z
2020-04-27T09:24:42.000Z
/* * Copyright 2014 Matthew Harvey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
27.405594
92
0.592498
matt-harvey
c0a474de71bc395d6c17a885e849620c4148b3ec
965
cpp
C++
src/physical_device.cpp
QSXW/VKCPP
c3fed2159dca0d63b4eb5e15b9a1e5fbcf05bfb8
[ "Apache-2.0" ]
null
null
null
src/physical_device.cpp
QSXW/VKCPP
c3fed2159dca0d63b4eb5e15b9a1e5fbcf05bfb8
[ "Apache-2.0" ]
null
null
null
src/physical_device.cpp
QSXW/VKCPP
c3fed2159dca0d63b4eb5e15b9a1e5fbcf05bfb8
[ "Apache-2.0" ]
null
null
null
#include "physical_device.h" namespace VKCPP { PFN_vkGetPhysicalDeviceFeatures PhysicalDevice::GetFeatures; PFN_vkGetPhysicalDeviceFormatProperties PhysicalDevice::GetFormatProperties; PFN_vkGetPhysicalDeviceImageFormatProperties PhysicalDevice::GetImageFormatProperties; PF...
38.6
99
0.781347
QSXW
c0a51fdae624a6940332dab6737455c8882ef07a
290
cpp
C++
Tools/HttpConnect/HttpConnect_1/main.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
Tools/HttpConnect/HttpConnect_1/main.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
Tools/HttpConnect/HttpConnect_1/main.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include "HttpConnect.h" int main() { HttpConnect *http = new HttpConnect(); // http->getData("127.0.0.1", "/login", "id=Administrator&pw=\"\""); http->postData("http://192.168.0.116/upImg/upimg", "/login","id=Administrator&pw=123"); system("pause"); return 0; }
22.307692
88
0.648276
liangjisheng
c0a5c0dc7967767d9dbb0f8cd037f6ec48e651b5
101
cpp
C++
InterviewBit/C++/FunctionBasic.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
1
2021-07-22T07:37:31.000Z
2021-07-22T07:37:31.000Z
InterviewBit/C++/FunctionBasic.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
InterviewBit/C++/FunctionBasic.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
int compute(int A, int B) { // Your code goes here int ans = A * A + B * B; return ans; }
20.2
28
0.524752
ShubhamJagtap2000
c0a5d4076e8dd25ef54dfc89b93189856dc85667
3,598
cpp
C++
C_Code/basics/test/test.cpp
xiaoandx/learningCode
2c41bc7199ef21a70d1935f32296d520e18f719f
[ "MIT" ]
13
2020-10-25T15:38:15.000Z
2022-02-21T02:21:24.000Z
C_Code/basics/test/test.cpp
xiaoandx/learningCode
2c41bc7199ef21a70d1935f32296d520e18f719f
[ "MIT" ]
4
2020-10-26T08:37:27.000Z
2020-12-14T08:49:51.000Z
C_Code/basics/test/test.cpp
xiaoandx/learningCode
2c41bc7199ef21a70d1935f32296d520e18f719f
[ "MIT" ]
10
2020-10-25T15:38:30.000Z
2021-09-15T03:54:39.000Z
/* * @explain: Copyright (c) 2020 WEI.ZHOU. All rights reserved. * The following code is only used for learning and communication, not for illegal and commercial use. * If the code is used, no consent is required, but the author has nothing to do with any problems * and consequences. * * In case of code problem...
26.651852
102
0.481934
xiaoandx
c0a645232f88d2368775fc3ec7c5af5b1bb8e760
3,684
cpp
C++
external/webkit/Source/WebCore/page/PluginHalter.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
Source/WebCore/page/PluginHalter.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
Source/WebCore/page/PluginHalter.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2009 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
30.957983
112
0.698426
ghsecuritylab