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
c1eb064191533e5c5cc156e350e664c2772c8c64
297
hpp
C++
hiro/reference/popup-menu.hpp
mp-lee/higan
c38a771f2272c3ee10fcb99f031e982989c08c60
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
hiro/reference/popup-menu.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
hiro/reference/popup-menu.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
namespace phoenix { struct pPopupMenu : public pObject { PopupMenu& popupMenu; void append(Action& action); void remove(Action& action); void setVisible(); pPopupMenu(PopupMenu& popupMenu) : pObject(popupMenu), popupMenu(popupMenu) {} void constructor(); void destructor(); }; }
18.5625
80
0.713805
mp-lee
c1eb0c0f4b9c7f7d610f56c1ff3fd0c93f7860fe
1,270
cpp
C++
Project_Euler/015/sol.cpp
Zovube/Tasks-solutions
fde056189dd5f630197d0516d3837044bc339e49
[ "MIT" ]
2
2018-11-08T05:57:22.000Z
2018-11-08T05:57:27.000Z
Project_Euler/015/sol.cpp
Zovube/Tasks-solutions
fde056189dd5f630197d0516d3837044bc339e49
[ "MIT" ]
null
null
null
Project_Euler/015/sol.cpp
Zovube/Tasks-solutions
fde056189dd5f630197d0516d3837044bc339e49
[ "MIT" ]
null
null
null
// simple dp #include<bits/stdc++.h> using namespace std; #define PI acos(-1) #define fi first #define se second #define pb push_back #define sz(a) (int)(a).size() #define all(c) (c).begin(), (c).end() #define TIMESTAMP fprintf(stderr, "Execution time: %.3lf s.\n", 1.0*clock()/CLOCKS_PE...
19.84375
91
0.549606
Zovube
c1ed592b965e247d6105e416c0e74d888d2993f8
17,878
cc
C++
tensorflow/core/kernels/sparse_fill_empty_rows_op.cc
AdaAlarm/tensorflow
e0db063159751276a92d88a4ad6d481b1199318c
[ "Apache-2.0" ]
10
2021-05-25T17:43:04.000Z
2022-03-08T10:46:09.000Z
tensorflow/core/kernels/sparse_fill_empty_rows_op.cc
AdaAlarm/tensorflow
e0db063159751276a92d88a4ad6d481b1199318c
[ "Apache-2.0" ]
1,056
2019-12-15T01:20:31.000Z
2022-02-10T02:06:28.000Z
tensorflow/core/kernels/sparse_fill_empty_rows_op.cc
AdaAlarm/tensorflow
e0db063159751276a92d88a4ad6d481b1199318c
[ "Apache-2.0" ]
6
2016-09-07T04:00:15.000Z
2022-01-12T01:47:38.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
40.265766
80
0.639277
AdaAlarm
c1eed8184c2b2aafdf58f16ecf2d8030a13da7e5
611
hpp
C++
lib/STL+/strings/print_basic.hpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
3
2018-05-07T19:09:23.000Z
2019-05-03T14:19:38.000Z
deps/stlplus/strings/print_basic.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
deps/stlplus/strings/print_basic.hpp
evpo/libencryptmsg
fa1ea59c014c0a9ce339d7046642db4c80fc8701
[ "BSD-2-Clause-FreeBSD", "BSD-3-Clause" ]
null
null
null
#ifndef STLPLUS_PRINT_BASIC #define STLPLUS_PRINT_BASIC //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004 onwards // License: BSD License, see ../docs/lic...
29.095238
80
0.517185
knela96
c1eef41280d3d3c2fab97e760c7765473cf58862
4,015
hpp
C++
include/ulocal/http_request_parser.hpp
metthal/ulocal
882dc159ce23f1c30572b8798f05458541bd67a9
[ "MIT" ]
1
2019-11-05T10:59:14.000Z
2019-11-05T10:59:14.000Z
include/ulocal/http_request_parser.hpp
metthal/ulocal
882dc159ce23f1c30572b8798f05458541bd67a9
[ "MIT" ]
null
null
null
include/ulocal/http_request_parser.hpp
metthal/ulocal
882dc159ce23f1c30572b8798f05458541bd67a9
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <ulocal/http_header_table.hpp> #include <ulocal/http_request.hpp> #include <ulocal/string_stream.hpp> #include <ulocal/url_args.hpp> namespace ulocal { namespace detail { enum class RequestState { Start, StatusLineMethod, StatusLineResource, StatusLineHttpVersion, Heade...
23.074713
86
0.637111
metthal
c1efaf1f0e22efa51831b570b21b463797966ad9
9,379
cpp
C++
unpack/src/unpack.cpp
legnaleurc/dvd
0c35a56a2d145bd040b36aa3b72270f90e89dd8c
[ "MIT" ]
null
null
null
unpack/src/unpack.cpp
legnaleurc/dvd
0c35a56a2d145bd040b36aa3b72270f90e89dd8c
[ "MIT" ]
12
2020-03-22T04:11:45.000Z
2022-03-13T12:45:49.000Z
unpack/src/unpack.cpp
legnaleurc/dvd
0c35a56a2d145bd040b36aa3b72270f90e89dd8c
[ "MIT" ]
null
null
null
#include "unpack.hpp" #include <memory> #include <iomanip> #include <archive.h> #include <archive_entry.h> #include <cpprest/http_client.h> #include <cpprest/rawptrstream.h> #include <boost/filesystem.hpp> #include "types.hpp" #include "exception.hpp" #include "text.hpp" const uint64_t CHUNK_SIZE = 65536; class ...
27.748521
80
0.624693
legnaleurc
c1f055550b53d0e0ab5c404bcdb07a72e097e8ee
18,025
cpp
C++
external/webkit/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
null
null
null
external/webkit/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
null
null
null
external/webkit/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
1
2020-03-08T00:59:27.000Z
2020-03-08T00:59:27.000Z
/* * Copyright (C) 2008, 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 condit...
38.188559
185
0.718502
ghsecuritylab
c1f163bac44b15fbc3bb22e2350cd315de115ae2
3,329
cpp
C++
config_parser.cpp
skordal/bacteria
dbeb929f04acd945a8a122ad767134db993e4819
[ "MIT" ]
1
2020-05-11T10:13:30.000Z
2020-05-11T10:13:30.000Z
config_parser.cpp
skordal/bacteria
dbeb929f04acd945a8a122ad767134db993e4819
[ "MIT" ]
null
null
null
config_parser.cpp
skordal/bacteria
dbeb929f04acd945a8a122ad767134db993e4819
[ "MIT" ]
null
null
null
/*************************************************/ /* Bacteria - The interesting bacteria simulator */ /* (c) Kristian K. Skordal 2009 - 2012 */ /*************************************************/ #include "config_parser.h" using namespace std; config_parser::config_parser(const string & filename) : file...
27.065041
85
0.650045
skordal
c1f16d92c41bbed005a894f23bb4ae192ca2bbb4
1,314
hpp
C++
src/graphics/al_stb_font.hpp
AlloSphere-Research-Group/al_lib
94d23fe71b79d3464a658f16ca34c2040e6d7334
[ "BSD-3-Clause" ]
26
2018-11-05T23:29:43.000Z
2022-03-17T18:16:49.000Z
src/graphics/al_stb_font.hpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
41
2018-01-19T18:34:41.000Z
2022-01-27T23:52:01.000Z
src/graphics/al_stb_font.hpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
11
2018-01-05T16:42:19.000Z
2022-01-27T22:08:01.000Z
#ifndef INCLUDE_LOAD_FONT_MODULE_HPP #define INCLUDE_LOAD_FONT_MODULE_HPP #include <vector> #include <cstdint> namespace al_stb { // Wrapper for all the data needed for font rendering struct FontData { struct BakedChar { unsigned short x0, y0, x1, y1; float xoff, yoff, xadvance; }; // to be c...
32.04878
86
0.7207
AlloSphere-Research-Group
c1f21d7f4348df96f7be5c0adb1b9650304048e0
1,912
cc
C++
ui/gfx/mojom/ca_layer_params_mojom_traits.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
ui/gfx/mojom/ca_layer_params_mojom_traits.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
ui/gfx/mojom/ca_layer_params_mojom_traits.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 2017 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/gfx/mojom/ca_layer_params_mojom_traits.h" #include "build/build_config.h" #include "mojo/public/cpp/system/platform_handle.h" #include "ui/g...
31.866667
79
0.737448
zealoussnow
c1f221e503a8d9d84ac2315241bf0f00542e1849
12,257
cxx
C++
Plugins/SciberQuestToolKit/SciberQuest/vtkSQSeedPointLatice.cxx
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
1
2020-05-21T20:20:59.000Z
2020-05-21T20:20:59.000Z
Plugins/SciberQuestToolKit/SciberQuest/vtkSQSeedPointLatice.cxx
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
null
null
null
Plugins/SciberQuestToolKit/SciberQuest/vtkSQSeedPointLatice.cxx
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
5
2016-04-14T13:42:37.000Z
2021-05-22T04:59:42.000Z
/* ____ _ __ ____ __ ____ / __/___(_) / ___ ____/ __ \__ _____ ___ / /_ / _/__ ____ _\ \/ __/ / _ \/ -_) __/ /_/ / // / -_|_-</ __/ _/ // _ \/ __/ /___/\__/_/_.__/\__/_/ \___\_\_,_/\__/___/\__/ /___/_//_/\__(_) Copyright 2012 SciberQuest Inc. */ /*===================== Progr...
25.913319
84
0.558048
mathstuf
c1f96a7f659ea493bcef1b4a2b79323f2082816b
3,568
hpp
C++
src/DoxygenScraper.hpp
StratifyLabs/dox2md
e09f8ae9a2d2fe86fb87aeb8da13b83eddd5157b
[ "MIT" ]
null
null
null
src/DoxygenScraper.hpp
StratifyLabs/dox2md
e09f8ae9a2d2fe86fb87aeb8da13b83eddd5157b
[ "MIT" ]
null
null
null
src/DoxygenScraper.hpp
StratifyLabs/dox2md
e09f8ae9a2d2fe86fb87aeb8da13b83eddd5157b
[ "MIT" ]
null
null
null
#ifndef DOXYGENSCRAPER_HPP #define DOXYGENSCRAPER_HPP #include "ApplicationPrinter.hpp" #include <sapi/var.hpp> class DoxygenScraperKey { public: DoxygenScraperKey(const String &key, const String &kind, bool is_array) { m_key = key; m_kind = kind; m_is_array = is_array; } const String &key() const ...
28.31746
80
0.584361
StratifyLabs
c1f976aba1888c50ac559a3e5f0b2f2581c55bc0
4,553
cpp
C++
saber/funcs/impl/amd/saber_pooling_with_index.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
533
2018-05-18T06:14:04.000Z
2022-03-23T11:46:30.000Z
saber/funcs/impl/amd/saber_pooling_with_index.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
100
2018-05-26T08:32:48.000Z
2022-03-17T03:26:25.000Z
saber/funcs/impl/amd/saber_pooling_with_index.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
167
2018-05-18T06:14:35.000Z
2022-02-14T01:44:20.000Z
/* Copyright (c) 2018 Anakin Authors, 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 app...
30.557047
87
0.652976
baajur
c1f9b3b68535bcee5705bcab7e10873b017b4daa
4,573
cpp
C++
cvt/vision/slam/stereo/ORBTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
11
2017-04-04T16:38:31.000Z
2021-08-04T11:31:26.000Z
cvt/vision/slam/stereo/ORBTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
null
null
null
cvt/vision/slam/stereo/ORBTracking.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
8
2016-04-11T00:58:27.000Z
2022-02-22T07:35:40.000Z
/* The MIT License (MIT) Copyright (c) 2011 - 2013, Philipp Heise and Sebastian Klose 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 limitat...
35.726563
130
0.604417
tuxmike
c1f9f7513a2a54aedbe9b6e87fb09dc7446d4a19
2,304
cpp
C++
src/test/interface/diagnose_test.cpp
danluu/cmdstan
7f96708bfbe6c3b8f716aacd2e7053099158a7aa
[ "BSD-3-Clause" ]
null
null
null
src/test/interface/diagnose_test.cpp
danluu/cmdstan
7f96708bfbe6c3b8f716aacd2e7053099158a7aa
[ "BSD-3-Clause" ]
null
null
null
src/test/interface/diagnose_test.cpp
danluu/cmdstan
7f96708bfbe6c3b8f716aacd2e7053099158a7aa
[ "BSD-3-Clause" ]
null
null
null
#include <fstream> #include <sstream> #include <gtest/gtest.h> #include <test/utility.hpp> using cmdstan::test::get_path_separator; using cmdstan::test::run_command; using cmdstan::test::run_command_output; TEST(CommandDiagnose, corr_gauss) { std::string path_separator; path_separator.push_back(get_path_separator...
29.538462
87
0.692708
danluu
c1fa62ee8eb65bd86710c7feb664722db9d09a5f
9,908
hpp
C++
ql/experimental/credit/defaultevent.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
3,358
2015-12-18T02:56:17.000Z
2022-03-31T02:42:47.000Z
ql/experimental/credit/defaultevent.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
965
2015-12-21T10:35:28.000Z
2022-03-30T02:47:00.000Z
ql/experimental/credit/defaultevent.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
1,663
2015-12-17T17:45:38.000Z
2022-03-31T07:58:29.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2009 StatPro Italia srl Copyright (C) 2009 Jose Aparicio This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free ...
40.11336
98
0.587707
jiangjiali
c1fa9f585bebd1676f0db76abb1cdc07616d0165
564
hpp
C++
Modules/planning/FastPlanner/plan_env/ThirdParty/arc_utilities/include/arc_utilities/arc_exceptions.hpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
1,217
2020-07-02T13:15:18.000Z
2022-03-31T06:17:44.000Z
Modules/planning/FastPlanner/plan_env/ThirdParty/arc_utilities/include/arc_utilities/arc_exceptions.hpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
167
2020-07-12T15:35:43.000Z
2022-03-31T11:57:40.000Z
Modules/planning/FastPlanner/plan_env/ThirdParty/arc_utilities/include/arc_utilities/arc_exceptions.hpp
473867143/Prometheus
df1e1b0d861490223ac8b94d8cc4796537172292
[ "BSD-3-Clause" ]
270
2020-07-02T13:28:00.000Z
2022-03-28T05:43:08.000Z
#include <stdexcept> #include <string> #include <sstream> #ifndef ARC_EXCEPTIONS_HPP #define ARC_EXCEPTIONS_HPP #define throw_arc_exception(type, ...) arc_exceptions::ArcException<type>(__FILE__, __LINE__, __VA_ARGS__) namespace arc_exceptions { template <typename ExceptionType> inline void ArcException(cons...
25.636364
106
0.702128
473867143
c1fbe2baa36ea9540f5790c317ca70f0a7a1c796
6,798
cpp
C++
src/runtime/allocators/FreeListAllocator.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
src/runtime/allocators/FreeListAllocator.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
src/runtime/allocators/FreeListAllocator.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
#include "runtime/allocators/FreeListAllocator.h" #include <fmt/format.h> #include <cassert> #include <unistd.h> using namespace Shiny; using namespace Shiny::FreeListImpl; //------------------------------------------------------------------------------ FreeListAllocator::~FreeListAllocator() { reset(); } //------...
31.041096
80
0.59135
smacdo
c1fd3b80a2e768b6cee18df6ee91978b3b682e92
22,473
hpp
C++
support-lib/jni/djinni_support.hpp
skabbes/djinni
814ea3571c6d936cb549fe9b17c4150178f3b4d2
[ "Apache-2.0" ]
null
null
null
support-lib/jni/djinni_support.hpp
skabbes/djinni
814ea3571c6d936cb549fe9b17c4150178f3b4d2
[ "Apache-2.0" ]
null
null
null
support-lib/jni/djinni_support.hpp
skabbes/djinni
814ea3571c6d936cb549fe9b17c4150178f3b4d2
[ "Apache-2.0" ]
null
null
null
// // Copyright 2014 Dropbox, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
37.268657
103
0.650158
skabbes
c1fd8772618988d03f9f93e386b7fc4c4abe81d5
15,364
hpp
C++
src/lt_math.hpp
leohahn/lt
2f0d2fc4142e5692cedea3607aff39a0a0cf095f
[ "Unlicense" ]
null
null
null
src/lt_math.hpp
leohahn/lt
2f0d2fc4142e5692cedea3607aff39a0a0cf095f
[ "Unlicense" ]
null
null
null
src/lt_math.hpp
leohahn/lt
2f0d2fc4142e5692cedea3607aff39a0a0cf095f
[ "Unlicense" ]
null
null
null
#ifndef LT_MATH_HPP #define LT_MATH_HPP #include <stdio.h> #include <cmath> #include <iostream> #include <iomanip> #include <cstring> #include <type_traits> #include <limits> #include "lt_core.hpp" #include "math.h" #ifndef LT_PI #define LT_PI 3.14159265358979323846 #endif struct Point3f { f32 x, y, z; exp...
25.269737
108
0.545236
leohahn
c1fdca1d9b2367b6916e34a6037e56024d0d6e57
1,190
cpp
C++
lista7/11areaTriangulo.cpp
GE28/exercicios-CPP
7070d6f749c859ca0a7bac39812558b0795d18c6
[ "MIT" ]
1
2021-08-31T22:32:22.000Z
2021-08-31T22:32:22.000Z
lista7/11areaTriangulo.cpp
GE28/exercicios-CPP
7070d6f749c859ca0a7bac39812558b0795d18c6
[ "MIT" ]
null
null
null
lista7/11areaTriangulo.cpp
GE28/exercicios-CPP
7070d6f749c859ca0a7bac39812558b0795d18c6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define LINHAS 2 #define COLUNAS 50 void calculeAreas(double triangulos[LINHAS][COLUNAS], double areas[]) { for (int i = 0; i < COLUNAS; i++) { areas[i] = (triangulos[0][i] * triangulos[1][i]) / 2; cout << "A área do " << i + 1 << "º triângulo é " << areas[i] << endl...
28.333333
74
0.457983
GE28
c1fe001e93703950318908c961a80d6fb92f1ba1
520
hpp
C++
src/ContourPlotStage.hpp
edroque93/StageCV
4a323eb545879e2d04e5667a17adab06aa4f6c55
[ "MIT" ]
null
null
null
src/ContourPlotStage.hpp
edroque93/StageCV
4a323eb545879e2d04e5667a17adab06aa4f6c55
[ "MIT" ]
null
null
null
src/ContourPlotStage.hpp
edroque93/StageCV
4a323eb545879e2d04e5667a17adab06aa4f6c55
[ "MIT" ]
null
null
null
#pragma once #include <string_view> #include <opencv2/opencv.hpp> #include "GeneratorStage.hpp" #include "FilterStage.hpp" #include "ContourDetectionStage.hpp" class ContourPlotStage : public FilterStage { public: ContourPlotStage(GeneratorStage &input, ContourDetectionStage &contour); void Execute(); std...
24.761905
76
0.736538
edroque93
c1ffdcade3e2d8f7923a37f7155b08bf8740d39f
2,228
cpp
C++
aws-cpp-sdk-macie2/source/model/IpAddressDetails.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-macie2/source/model/IpAddressDetails.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-macie2/source/model/IpAddressDetails.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/macie2/model/IpAddressDetails.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { names...
18.566667
69
0.716338
lintonv
de007515b2da63587cc6a500ff9665679cf2c254
86,107
cpp
C++
Src/lunaui/cards/CardWindowManager.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/lunaui/cards/CardWindowManager.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/lunaui/cards/CardWindowManager.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2008-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...
29.960682
189
0.732066
ericblade
de039450ccb7ee81838d6dffa3d0cba18eddfc5a
1,560
cpp
C++
framework/tarscpp/unittest/testcode/source/testcase/util/test_tc_pack.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
framework/tarscpp/unittest/testcode/source/testcase/util/test_tc_pack.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
framework/tarscpp/unittest/testcode/source/testcase/util/test_tc_pack.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
#include "TarsServantName.h" #include "TarsTest/TestcaseServer/RPCTest.h" #include "gtest/gtest.h" #include "servant/AdminF.h" #include "servant/Application.h" #include <cassert> #include <iostream> #include "util/tc_pack.h" using namespace std; using namespace tars; using namespace TarsTest; TEST(TarsUtilTestcase, ...
17.333333
44
0.507692
hfcrwx
de048781cc5c3f9937c1008ba847870104bb8ca7
648
cpp
C++
CSES/Number Spiral.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
CSES/Number Spiral.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
CSES/Number Spiral.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<iostream> using namespace std; #define mod 10000000007 #define all(x) (x).begin(), (x).end() typedef long long ll; void subMain(){ ll r, c; cin >> r; cin >> c; ll ans = 0; ll z = max(r, c); ll z2 = (z - 1) * (z - 1); if (z % 2 == 0) { if (z == c) { ans = z2 + r; ...
12
37
0.467593
XitizVerma
de04fc4c98a15ef101d3a636183d07cab467c68f
2,253
cpp
C++
basic/3.cpp
happylittlecat2333/pokemon
f5c297aa5b7e5fe999974a9dd568c37c27f4b1da
[ "MIT" ]
null
null
null
basic/3.cpp
happylittlecat2333/pokemon
f5c297aa5b7e5fe999974a9dd568c37c27f4b1da
[ "MIT" ]
null
null
null
basic/3.cpp
happylittlecat2333/pokemon
f5c297aa5b7e5fe999974a9dd568c37c27f4b1da
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #define pi 3.14 using namespace std; class Shape { protected: float area; //派生类可以访问protected,外部访问不了;派生类共有 public: Shape(); //构造函数 float Area(); //同名隐藏;输出area ~Shape(); //析构函数 }; class Rectangle : public Shape { private: float length, width; //长宽 public: Rectangle(f...
16.566176
68
0.628939
happylittlecat2333
de05a19de88130412aa239bdc84607cb88268214
1,984
cpp
C++
src/Core/Scene/CSceneIterator.cpp
henriquegemignani/PrimeWorldEditor
741185e8d695c5bc86b7efbfadaf4e5dcd67d4d9
[ "MIT" ]
32
2018-12-17T20:22:32.000Z
2019-06-14T06:48:25.000Z
src/Core/Scene/CSceneIterator.cpp
henriquegemignani/PrimeWorldEditor
741185e8d695c5bc86b7efbfadaf4e5dcd67d4d9
[ "MIT" ]
10
2019-11-25T04:54:05.000Z
2022-02-12T20:20:56.000Z
src/Core/Scene/CSceneIterator.cpp
henriquegemignani/PrimeWorldEditor
741185e8d695c5bc86b7efbfadaf4e5dcd67d4d9
[ "MIT" ]
10
2019-11-22T09:16:00.000Z
2021-11-21T22:55:54.000Z
#include "CSceneIterator.h" #include "CScene.h" CSceneIterator::CSceneIterator(CScene *pScene, FNodeFlags AllowedNodeTypes /*= eAllNodeTypes*/, bool AllowHiddenNodes /*= false*/) : mpScene(pScene) , mAllowHiddenNodes(AllowHiddenNodes) , mNodeFlags(AllowedNodeTypes) , mpCurNode(nullptr) { mMapIterat...
27.178082
130
0.55998
henriquegemignani
de06835940a08947464fa22014aecaf987652ba1
17,397
cc
C++
components/offline_pages/background/pick_request_task_unittest.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
components/offline_pages/background/pick_request_task_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/offline_pages/background/pick_request_task_unittest.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/offline_pages/background/pick_request_task.h" #include <memory> #include <set> #include "base/bind.h" #include "base/test/test_simp...
36.018634
81
0.737656
xzhan96
900356520d1644a56ff7e1a5bb5c4b0431d176a4
3,882
cc
C++
chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.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
chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.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
chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.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 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/sync_file_system/drive_backend/metadata_db_migration_util.h" #include <memory> #include "base/files/file_path.h" #include "base...
42.195652
85
0.684956
zealoussnow
90044551c41793b722cde64188cefbb72f5c5e1c
1,132
cpp
C++
iree/compiler/Dialect/LinalgExt/IR/LinalgExtDialect.cpp
KKimj/iree
0d6768c194489225eaa12b3d8eda5752099ae10a
[ "Apache-2.0" ]
1
2021-07-20T23:37:11.000Z
2021-07-20T23:37:11.000Z
iree/compiler/Dialect/LinalgExt/IR/LinalgExtDialect.cpp
KoolJBlack/iree
f300aee8c9d0da48179737b77abe690ab58e12f2
[ "Apache-2.0" ]
null
null
null
iree/compiler/Dialect/LinalgExt/IR/LinalgExtDialect.cpp
KoolJBlack/iree
f300aee8c9d0da48179737b77abe690ab58e12f2
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/compiler/Dialect/LinalgExt/IR/LinalgExtDialect.h" #include "iree/compiler/Dialect...
31.444444
80
0.764134
KKimj
9005aa0ee10d0b20e9cd22bc685fe0053a2cfbb5
6,516
cpp
C++
cpp/oneapi/dal/algo/kmeans/test/batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
188
2016-04-16T12:11:48.000Z
2018-01-12T12:42:55.000Z
cpp/oneapi/dal/algo/kmeans/test/batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
1,198
2020-03-24T17:26:18.000Z
2022-03-31T08:06:15.000Z
cpp/oneapi/dal/algo/kmeans/test/batch.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
93
2018-01-23T01:59:23.000Z
2020-03-16T11:04:19.000Z
/******************************************************************************* * Copyright 2021 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
35.606557
100
0.585635
cmsxbc
9007f010fc70494b9cb03902e9bd5a1b000e3a32
4,206
hxx
C++
src/ssl/NameCache.hxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
1
2022-03-15T22:54:39.000Z
2022-03-15T22:54:39.000Z
src/ssl/NameCache.hxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
null
null
null
src/ssl/NameCache.hxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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 abo...
28.612245
80
0.737993
nn6n
901059cbdf1a351c4e96ca22bab157173cfa00e8
2,603
cc
C++
StRoot/StMcEvent/StMcSvtLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StMcEvent/StMcSvtLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StMcEvent/StMcSvtLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StMcSvtLadderHitCollection.cc,v 2.5 2005/01/27 23:40:48 calderon Exp $ * * Author: Manuel Calderon de la Barca Sanchez, Oct 1999 *************************************************************************** * * Description: Monte...
25.519608
106
0.594698
xiaohaijin
90183a01785e0cb09c6d13539f9d2eabbdb6540f
2,117
cpp
C++
lib/rendering/raytracer.cpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
lib/rendering/raytracer.cpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
2
2017-06-01T16:43:37.000Z
2017-06-07T16:17:51.000Z
lib/rendering/raytracer.cpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
#include "raytracer.hpp" #include "ray.hpp" #include "scene.hpp" #include "primitive/iprimitive.hpp" namespace Rendering { RayTracer::RayTracer(unsigned long pixelWidth, unsigned long pixelHeight, double width, double height, double depth) : m_pixel_width(pixelWidth) , m_pixel_height(pixelHeight) , widt...
23.522222
119
0.665092
julienlopez
901864f6c5ebaa32c3709ad8528b0c4cc0ce91fc
5,268
cpp
C++
src/unittest.cpp
mdavidsaver/pvsx
3329b4d4ca9a7caa8658a993ff88fbbbac764f98
[ "BSD-3-Clause" ]
null
null
null
src/unittest.cpp
mdavidsaver/pvsx
3329b4d4ca9a7caa8658a993ff88fbbbac764f98
[ "BSD-3-Clause" ]
null
null
null
src/unittest.cpp
mdavidsaver/pvsx
3329b4d4ca9a7caa8658a993ff88fbbbac764f98
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright - See the COPYRIGHT that is included with this distribution. * pvxs is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. */ #include "pvxs/version.h" #if !defined(GCC_VERSION) || GCC_VERSION>VERSION_INT(4,9,0,0) # include <regex>...
24.502326
106
0.583523
mdavidsaver
901a5e5c825e9912d1fd0125af06fc595a81657e
6,612
cpp
C++
src/editor/src/material/material_thumbnail.cpp
AirGuanZ/Atrc
a0c4bc1b7bb96ddffff8bb1350f88b651b94d993
[ "MIT" ]
358
2018-11-29T08:15:05.000Z
2022-03-31T07:48:37.000Z
src/editor/src/material/material_thumbnail.cpp
happyfire/Atrc
74cac111e277be53eddea5638235d97cec96c378
[ "MIT" ]
23
2019-04-06T17:23:58.000Z
2022-02-08T14:22:46.000Z
src/editor/src/material/material_thumbnail.cpp
happyfire/Atrc
74cac111e277be53eddea5638235d97cec96c378
[ "MIT" ]
22
2019-03-04T01:47:56.000Z
2022-01-13T06:06:49.000Z
#include <agz/editor/material/material_thumbnail.h> #include <agz/tracer/core/intersection.h> #include <agz/tracer/core/bsdf.h> #include <agz/tracer/core/light.h> #include <agz/tracer/core/sampler.h> #include <agz/tracer/create/envir_light.h> #include <agz/tracer/create/texture2d.h> #include <agz/tracer/utility/sphere_...
27.781513
83
0.515578
AirGuanZ
901b8d620c5436fbb9d5e84d41d8def00b92882e
10,680
cpp
C++
aten/src/TH/generic/THTensorLapack.cpp
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
6
2021-09-05T06:00:59.000Z
2022-01-07T07:05:18.000Z
aten/src/TH/generic/THTensorLapack.cpp
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
2
2022-01-10T03:56:45.000Z
2022-02-01T03:39:54.000Z
aten/src/TH/generic/THTensorLapack.cpp
deltabravozulu/pytorch
c6eef589971e45bbedacc7f65533d1b8f80a6895
[ "Intel" ]
2
2021-07-02T10:18:21.000Z
2021-08-18T10:10:28.000Z
#ifndef TH_GENERIC_FILE #define TH_GENERIC_FILE "TH/generic/THTensorLapack.cpp" #else /* Check if self is transpose of a contiguous matrix */ static int THTensor_(isTransposedContiguous)(THTensor *self) { return self->stride(0) == 1 && self->stride(1) == self->size(0); } /* Check if self contains any inf or NaN val...
33.584906
115
0.625375
deltabravozulu
901c99d9ebe505fde0a6c9311fd970357766b100
27,140
cpp
C++
src/SpecialFormat.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
52
2016-05-26T19:24:37.000Z
2022-03-24T16:13:48.000Z
src/SpecialFormat.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
17
2017-02-04T00:10:50.000Z
2022-01-19T09:56:18.000Z
src/SpecialFormat.cpp
simonowen/samdisk
9b1391dd233015db633cb83b43d62c15a98f4e3a
[ "MIT" ]
9
2016-05-13T02:16:05.000Z
2020-08-30T11:34:34.000Z
// Copy-protected formats that require special support // // Contains detection and generation for each track format. // Output will be in bitstream or flux format (or both), // depending on the format requirements. #include "SAMdisk.h" #include "IBMPC.h" #include "BitstreamTrackBuilder.h" #include "FluxTrackBuilder.h...
31.303345
116
0.583567
simonowen
901efcd4a787e99a1fcef91d96c5071343ed3ada
1,918
cpp
C++
src/cpp_solver/Solver/GroupNodes/CubeNodeG2.cpp
pabloqb2000/py-rubik_solver
c1cf83fa62b6ff0dce9859fe59296c85a57f8d3f
[ "Apache-2.0" ]
3
2021-09-11T14:44:40.000Z
2021-12-28T00:51:02.000Z
src/cpp_solver/Solver/GroupNodes/CubeNodeG2.cpp
pabloqb2000/py-rubik_solver
c1cf83fa62b6ff0dce9859fe59296c85a57f8d3f
[ "Apache-2.0" ]
null
null
null
src/cpp_solver/Solver/GroupNodes/CubeNodeG2.cpp
pabloqb2000/py-rubik_solver
c1cf83fa62b6ff0dce9859fe59296c85a57f8d3f
[ "Apache-2.0" ]
4
2021-09-12T02:29:24.000Z
2021-12-18T13:39:46.000Z
#include "CubeNodeG2.h" /** * Create a CubeNode from a Cube * @param cube base cube */ CubeNodeG2::CubeNodeG2 (const Cube& cube) : CubeNode(cube) { } bool CubeNodeG2::isGoal() { typedef Cube::FACE FACE; // IDEA: replace this->getColor with this->cube[idx]; in all CubeNode files // Corners, left and r...
29.96875
77
0.521376
pabloqb2000
901f101e6158d262e259036cc96ba9a9dcb35690
2,026
cpp
C++
pnpoly.cpp
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
pnpoly.cpp
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
pnpoly.cpp
alexkaiser/heart_valves
53f30ec3680503542890a84949b7fb51d1734272
[ "BSD-3-Clause" ]
null
null
null
int pnpoly(int nvert, double *vertx, double *verty, double testx, double testy){ // Source: https://wrf.ecse.rpi.edu//Research/Short_Notes/pnpoly.html // modified here for double precision // Copyright (c) 1970-2003, Wm. Randolph Franklin // // Permission is hereby granted, free of charge, to ...
48.238095
96
0.674235
alexkaiser
901feb3289d07ded85985c67c72e8adb8b78afa2
758
cpp
C++
Game/Game/PlayerMovingStopState.cpp
nguyenlamlll/directx-game
984942291a8dda1b6814dda9fc26215f067b9228
[ "MIT" ]
1
2021-02-17T13:06:38.000Z
2021-02-17T13:06:38.000Z
Game/Game/PlayerMovingStopState.cpp
nguyenlamlll/directx-game
984942291a8dda1b6814dda9fc26215f067b9228
[ "MIT" ]
26
2019-09-28T09:02:09.000Z
2019-12-27T07:24:22.000Z
Game/Game/PlayerMovingStopState.cpp
nguyenlamlll/directx-game
984942291a8dda1b6814dda9fc26215f067b9228
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "PlayerMovingStopState.h" PlayerMovingStopState::PlayerMovingStopState(Player* player, Animation* animation) { m_player = player; m_animation = animation; } PlayerMovingStopState::~PlayerMovingStopState() { } void PlayerMovingStopState::Update(float deltaTime) { m_animation->setPosi...
18.95
82
0.783641
nguyenlamlll
9020cc40228d66a0aee9e49b4b2e3e331d86a334
5,596
cpp
C++
LuaSTG/src/LuaWrapper/LW_ParticleSystem.cpp
Legacy-LuaSTG-Engine/LuaSTG-Sub
c7d21da53fc86efe4e3907738f8fed324581dee0
[ "MIT" ]
6
2022-02-26T09:21:40.000Z
2022-02-28T11:03:23.000Z
LuaSTG/src/LuaWrapper/LW_ParticleSystem.cpp
Legacy-LuaSTG-Engine/LuaSTG-Sub
c7d21da53fc86efe4e3907738f8fed324581dee0
[ "MIT" ]
null
null
null
LuaSTG/src/LuaWrapper/LW_ParticleSystem.cpp
Legacy-LuaSTG-Engine/LuaSTG-Sub
c7d21da53fc86efe4e3907738f8fed324581dee0
[ "MIT" ]
null
null
null
#include "LuaWrapper.hpp" namespace LuaSTGPlus::LuaWrapper { std::string_view const ParticleSystemWrapper::ClassID("lstg.ParticleSystemInstance"); ParticleSystemWrapper::UserData* ParticleSystemWrapper::Cast(lua_State* L, int idx) { return (UserData*)luaL_checkudata(L, idx, ClassID.data()); } Partic...
25.907407
113
0.580593
Legacy-LuaSTG-Engine
9022058d0badf93cb70ad6ae677ef30a406c68c4
2,560
cpp
C++
main.cpp
kevinyxlu/cs32lab06
784aeae13eec100be6a9e7d9aa69a6fec5a8f8d2
[ "MIT" ]
null
null
null
main.cpp
kevinyxlu/cs32lab06
784aeae13eec100be6a9e7d9aa69a6fec5a8f8d2
[ "MIT" ]
null
null
null
main.cpp
kevinyxlu/cs32lab06
784aeae13eec100be6a9e7d9aa69a6fec5a8f8d2
[ "MIT" ]
null
null
null
// CS32 lab06 // Completed by: Kevin Lu and Kevin Lai #include <iostream> #include <string> #include <fstream> #include <vector> #include <memory> #include "demogData.h" #include "psData.h" #include "parse.h" #include "dataAQ.h" using namespace std; int main() { /*//Deboog output ofstream myfile; myfile....
32.820513
87
0.657031
kevinyxlu
90228f4eb56d6f1a331f8cec173e6cf50f980f8a
1,264
cpp
C++
Kattis/muddyhike.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/muddyhike.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/muddyhike.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// DFS binary_searching // https://open.kattis.com/problems/muddyhike #include <bits/stdc++.h> #define For(i, n) for (int i = 0; i < n; ++i) #define Forcase int __t = 0; cin >> __t; while (__t--) #define pb push_back #define ll long long #define ull unsigned long long #define ar array using namespace std; const i...
21.423729
61
0.459652
YourName0729
9023b99e394de3e5e6a43839576352f0d51e0556
25,489
cc
C++
components/services/storage/service_worker/service_worker_resource_ops.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
components/services/storage/service_worker/service_worker_resource_ops.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/services/storage/service_worker/service_worker_resource_ops.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The 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/services/storage/service_worker/service_worker_resource_ops.h" #include "base/numerics/checked_math.h" #include "base/pickle.h" #inc...
31.901126
83
0.725725
zealoussnow
902490ec381baf78b59811adc1193eeaf38ca22a
4,940
cpp
C++
src/core/NEON/kernels/NEDepthConcatenateKernel.cpp
Acidburn0zzz/ComputeLibrary
f4a254c2745aeaab6f7276a675147d707002fe7a
[ "MIT" ]
1
2017-09-07T09:13:53.000Z
2017-09-07T09:13:53.000Z
src/core/NEON/kernels/NEDepthConcatenateKernel.cpp
jialiang19/test_armComputeLibrary
5dbb9970a01289f292429f8083e83921a3ccd9e4
[ "MIT" ]
null
null
null
src/core/NEON/kernels/NEDepthConcatenateKernel.cpp
jialiang19/test_armComputeLibrary
5dbb9970a01289f292429f8083e83921a3ccd9e4
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 ARM Limited. * * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights ...
46.603774
178
0.729352
Acidburn0zzz
902543871d7490ae6a429f7702bfe3d0595a67e9
6,780
hpp
C++
include/AndroidHalStreamOut.hpp
hidenorly/AndroidAudioHalHelper
f3ea1c4833382bea76aea3d145d0f0bef9faa02e
[ "Apache-2.0" ]
null
null
null
include/AndroidHalStreamOut.hpp
hidenorly/AndroidAudioHalHelper
f3ea1c4833382bea76aea3d145d0f0bef9faa02e
[ "Apache-2.0" ]
null
null
null
include/AndroidHalStreamOut.hpp
hidenorly/AndroidAudioHalHelper
f3ea1c4833382bea76aea3d145d0f0bef9faa02e
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2021 hidenorly Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
32.596154
303
0.765339
hidenorly
9025dc4a8b2d99bb948acee1c9ea6a716cb0fb77
552
cpp
C++
applications/ParticlesEditor/src/ParticlesEditor.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ParticlesEditor/src/ParticlesEditor.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ParticlesEditor/src/ParticlesEditor.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <mtt/editorLib/EditorApplication.h> #include <MainWindow.h> int main(int argc, char* argv[]) { VkPhysicalDeviceFeatures features{}; features.samplerAnisotropy = VK_TRUE; features.geometryShader = VK_TRUE; mtt::EditorApplication application( argc, argv, ...
25.090909
61
0.530797
AluminiumRat
902694d213826185749d052ae9ae56617ae2ad58
16,817
cc
C++
Engine/app/physXfeature/physicsCore/PhysicsDynamic.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
26
2015-01-15T12:57:40.000Z
2022-02-16T10:07:12.000Z
Engine/app/physXfeature/physicsCore/PhysicsDynamic.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
null
null
null
Engine/app/physXfeature/physicsCore/PhysicsDynamic.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
17
2015-02-18T07:51:31.000Z
2020-06-01T01:10:12.000Z
/**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn 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...
28.263866
159
0.662068
BikkyS
9026bfaae15f2420e5935d7435da17d74021a30d
2,528
cpp
C++
Source/Holodeck/Sensors/Private/RangeFinderSensor.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
47
2018-10-05T01:54:17.000Z
2022-02-19T04:53:24.000Z
Source/Holodeck/Sensors/Private/RangeFinderSensor.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
36
2018-10-05T03:43:24.000Z
2021-04-23T19:19:47.000Z
Source/Holodeck/Sensors/Private/RangeFinderSensor.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
12
2018-10-08T11:45:24.000Z
2021-09-21T08:08:40.000Z
// MIT License (c) 2019 BYU PCCL see LICENSE file #include "Holodeck.h" #include "RangeFinderSensor.h" #include "Json.h" URangeFinderSensor::URangeFinderSensor() { SensorName = "RangeFinderSensor"; } // Allows sensor parameters to be set programmatically from client. void URangeFinderSensor::ParseSensorParms(FStrin...
33.263158
131
0.741297
AdrianSchoisengeier
9027979e51cf74adfe0e6bc3b083d48950c71fee
755
cpp
C++
problems/baekjoon/p2217.cpp
yejun614/algorithm-solve
ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9
[ "MIT" ]
null
null
null
problems/baekjoon/p2217.cpp
yejun614/algorithm-solve
ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9
[ "MIT" ]
null
null
null
problems/baekjoon/p2217.cpp
yejun614/algorithm-solve
ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9
[ "MIT" ]
null
null
null
/** * (210704) 로프 * https://www.acmicpc.net/problem/2217 * * [풀이] * 로프문제는 각 로프를 선택해서 최대중량을 알아내는 문제입니다. * 여기서 최대중량은 선택한 로프 중 최소중량을 가진 로프의 * 중량에 선택한 로프의 개수를 곱하면 얼마나 중량을 버틸수 있는지 * 계산할 수 있습니다. * * 어떤 로프들을 사용해야 최대중량을 얻을 수 있는지 알고리즘은 * 다음과 같습니다. * * 1) 입력받은 숫자들을 배열에 넣고 오름차순으로 정렬합니다. * 2) 차례대로 배열을 순회하면서 (로프의 개수)-...
16.413043
46
0.590728
yejun614
9027d77ab257fa763445f46ae0d08c6a882c0dbc
423
cpp
C++
leetcode/SubsetSums.cpp
atpk/CP
0eee3af02bb0466c85aeb8dd86cf3620567a354c
[ "MIT" ]
null
null
null
leetcode/SubsetSums.cpp
atpk/CP
0eee3af02bb0466c85aeb8dd86cf3620567a354c
[ "MIT" ]
null
null
null
leetcode/SubsetSums.cpp
atpk/CP
0eee3af02bb0466c85aeb8dd86cf3620567a354c
[ "MIT" ]
null
null
null
class Solution { public: vector<int> res; void subset(vector<int> arr, int l, int r, int sum){ if(l>r){ res.push_back(sum); return; } subset(arr, l+1, r, sum + arr[l]); subset(arr, l+1, r, sum); } vector<int> subsetSums(vector<int> arr, in...
21.15
56
0.472813
atpk
9028e5bdb9c61b0fe6c16d878f84453c1a6d71ec
3,076
cpp
C++
src/app/main.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
src/app/main.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
src/app/main.cpp
jbuckmccready/staticpendulum_gui
8c14019e5903c531cca5cfefeeb22a1beca8b000
[ "MIT" ]
null
null
null
/* =========================================================================== * The MIT License (MIT) * * Copyright (c) 2016 Jedidiah Buck McCready <jbuckmccready@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
42.722222
148
0.698635
jbuckmccready
902bc378ac077708962ba3869cf4561fddce47bc
1,544
cpp
C++
src/GameState/GPaddleProcess.cpp
isabella232/boin
380a6d73dcf9f613f842ba4d7d5bb4b683d75c8b
[ "MIT" ]
null
null
null
src/GameState/GPaddleProcess.cpp
isabella232/boin
380a6d73dcf9f613f842ba4d7d5bb4b683d75c8b
[ "MIT" ]
1
2021-02-24T05:30:19.000Z
2021-02-24T05:30:19.000Z
src/GameState/GPaddleProcess.cpp
isabella232/boing
380a6d73dcf9f613f842ba4d7d5bb4b683d75c8b
[ "MIT" ]
null
null
null
#include "GPaddleProcess.h" static const TInt DELTA_X = 4; GPaddleProcess::GPaddleProcess(GGameState *aGameState) { mGameState = aGameState; mState = MOVE_STATE; mSprite = new BSprite(0, PLAYER_SLOT, IMG_PADDLE, STYPE_PLAYER); mSprite->w = 8; mSprite->h = 32; mSprite->flags |= SFLAG_RENDER | SFLAG_CHECK; ...
19.544304
66
0.639249
isabella232
902c1a162f3a5c576154f5b74ee99898f82fbf01
16,504
cpp
C++
Engine/AI/Pathfinding/NavigationGrid.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
47
2018-04-27T02:16:26.000Z
2022-02-28T05:21:24.000Z
Engine/AI/Pathfinding/NavigationGrid.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
2
2018-11-13T18:46:41.000Z
2022-03-12T00:04:44.000Z
Engine/AI/Pathfinding/NavigationGrid.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
6
2019-08-10T21:56:23.000Z
2020-10-21T11:18:29.000Z
/**************************************************************************** // Usagi Engine, Copyright © Vitei, Inc. 2013 ****************************************************************************/ // NavigationGrid.cpp #include "Engine/Common/Common.h" #include "Engine/Debug/Rendering/DebugRender.h" #include "Navi...
23.815296
145
0.667172
vitei
902c3e72905ac8887c9c8dc833f2224fb09a59e8
2,953
cpp
C++
TAO/tests/Portable_Interceptors/PICurrent/ClientRequestInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/Portable_Interceptors/PICurrent/ClientRequestInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/Portable_Interceptors/PICurrent/ClientRequestInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: ClientRequestInterceptor.cpp 91652 2010-09-08 14:42:59Z johnnyw $ #include "ClientRequestInterceptor.h" #include "tao/CORBA_String.h" #include "ace/Log_Msg.h" #include "ace/OS_NS_string.h" ClientRequestInterceptor::ClientRequestInterceptor ( PortableInterceptor::SlotId id, PortableInterceptor::Current_ptr...
23.814516
76
0.608872
cflowe
902cd5a585d087fb3212da81977fbf035171d5f7
2,820
cpp
C++
Source/LSL/Private/LSLOutletComponent.cpp
brifsttar/plugin-UE4
9a1dcbe8ad01b58c606d6849fc441ed2306abb7f
[ "MIT" ]
6
2021-01-19T21:47:37.000Z
2022-01-30T21:20:35.000Z
Source/LSL/Private/LSLOutletComponent.cpp
brifsttar/plugin-UE4
9a1dcbe8ad01b58c606d6849fc441ed2306abb7f
[ "MIT" ]
5
2020-09-18T16:23:35.000Z
2022-02-16T13:44:17.000Z
Source/LSL/Private/LSLOutletComponent.cpp
brifsttar/plugin-UE4
9a1dcbe8ad01b58c606d6849fc441ed2306abb7f
[ "MIT" ]
4
2020-05-22T09:57:56.000Z
2021-08-19T04:05:22.000Z
// Copyright (c) 2021 Chadwick Boulay #include "LSLOutletComponent.h" #include "LSLPrivatePCH.h" #include <string> // Sets default values for this component's properties ULSLOutletComponent::ULSLOutletComponent() : StreamName(), StreamType(), SamplingRate(LSL_IRREGULAR_RATE), ChannelFormat(EChannelFormat::cfmt_fl...
26.603774
203
0.724823
brifsttar
902ec8b78de2dbf6959b99b085cec39bf3b5a3a8
2,510
tcc
C++
ulmblas/level3/mkernel/mtrlsm.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
95
2015-05-14T15:21:44.000Z
2022-03-17T08:02:08.000Z
ulmblas/level3/mkernel/mtrlsm.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
4
2020-06-25T14:59:49.000Z
2022-02-16T12:45:00.000Z
ulmblas/level3/mkernel/mtrlsm.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
40
2015-09-14T02:43:43.000Z
2021-12-26T11:43:36.000Z
#ifndef ULMBLAS_LEVEL3_MKERNEL_MTRLSM_TCC #define ULMBLAS_LEVEL3_MKERNEL_MTRLSM_TCC 1 #include <ulmblas/level3/ukernel/ugemm.h> #include <ulmblas/level3/mkernel/mtrlsm.h> #include <ulmblas/level3/ukernel/utrlsm.h> namespace ulmBLAS { template <typename IndexType, typename T, typename TB> void mtrlsm(IndexType mc,...
26.989247
61
0.436653
sneha0401
90322515c4e788b9ffda2393041910b55f07f5a3
3,829
hpp
C++
CSGOSimple/IGameTypes.hpp
YMY1666527646/CustomHooks-csgo
c79cb831dbcab044969abf556b5bfe6fab5b187c
[ "MIT" ]
7
2022-02-08T18:19:07.000Z
2022-03-25T22:17:55.000Z
CSGOSimple/IGameTypes.hpp
Kajus14/CustomHooks-csgo
aebc092ff4c5930ec7672501ba5b450dc0cbe5ba
[ "MIT" ]
null
null
null
CSGOSimple/IGameTypes.hpp
Kajus14/CustomHooks-csgo
aebc092ff4c5930ec7672501ba5b450dc0cbe5ba
[ "MIT" ]
5
2022-02-04T09:29:11.000Z
2022-03-21T15:09:13.000Z
#pragma once class IGameTypes { public: virtual ~IGameTypes() {} virtual bool Initialize(bool force) = 0; virtual bool IsInitialized() const = 0; virtual bool SetGameTypeAndMode(const char* gameType, const char* gameMode) = 0; virtual bool GetGameTypeAndModeFromAlias(const char* alias, int& gameType, int& game...
42.076923
171
0.785061
YMY1666527646
9036671551e843ee603b0533bcce09b44366a71f
7,020
cpp
C++
src/appleseed/renderer/kernel/shading/oslshadergroupexec.cpp
dcoeurjo/appleseed
d5558afa7a351cb834977d8c8411b62542ea7019
[ "MIT" ]
null
null
null
src/appleseed/renderer/kernel/shading/oslshadergroupexec.cpp
dcoeurjo/appleseed
d5558afa7a351cb834977d8c8411b62542ea7019
[ "MIT" ]
null
null
null
src/appleseed/renderer/kernel/shading/oslshadergroupexec.cpp
dcoeurjo/appleseed
d5558afa7a351cb834977d8c8411b62542ea7019
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2014-2018 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any perso...
31.061947
86
0.687037
dcoeurjo
9037b221b6c9246a2dff9a8cb96c035ec5390146
6,125
cpp
C++
src/hvr_avl_tree.cpp
agrippa/hoover
f8adcad8d125f68c66b875600c27e4c5caf147e5
[ "BSD-3-Clause" ]
4
2018-05-22T02:01:26.000Z
2020-10-13T04:55:30.000Z
src/hvr_avl_tree.cpp
agrippa/hoover
f8adcad8d125f68c66b875600c27e4c5caf147e5
[ "BSD-3-Clause" ]
1
2018-08-16T22:36:03.000Z
2018-08-16T22:36:03.000Z
src/hvr_avl_tree.cpp
agrippa/hoover
f8adcad8d125f68c66b875600c27e4c5caf147e5
[ "BSD-3-Clause" ]
7
2018-05-21T23:37:38.000Z
2021-03-18T01:45:56.000Z
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <assert.h> #include <string.h> #include "hvr_avl_tree.h" struct hvr_avl_node dummy = { {&dummy, &dummy}, 0, 0, 0 }, *nnil = &dummy; static struct hvr_avl_node *new_node(uint32_t key, uint64_t value, hvr_avl_node_allocator *tracker) { stru...
28.755869
79
0.651592
agrippa
9037c2602116afcb72a7d62db2d00c3a1ba311d7
2,677
cc
C++
ui/aura/window_port_local.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
ui/aura/window_port_local.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
ui/aura/window_port_local.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "ui/aura/window_port_local.h" #include "ui/aura/client/cursor_client.h" #include "ui/aura/env.h" #include "ui/aura/window.h" #include "ui/aura/w...
29.097826
80
0.7161
google-ar
9037d20577c7e61345a3e8273e147d6fae44841b
847
cc
C++
packages/SPn/spn/Fixed_Source_Solver.pt.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/SPn/spn/Fixed_Source_Solver.pt.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/SPn/spn/Fixed_Source_Solver.pt.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file SPn/spn/Fixed_Source_Solver.pt.cc * \author Thomas M. Evans * \date Fri Feb 21 14:41:20 2014 * \brief Fixed_Source_Solver explicit instantiation. * \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle,...
33.88
79
0.455726
GCZhang
903b27b7c3f2be22668ea126222a03a54ddcedb3
1,920
cpp
C++
Bullet Hell/Sprite.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
Bullet Hell/Sprite.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
Bullet Hell/Sprite.cpp
PotatoesBasket/Bullet-Hell
0d6c12f4a73d37567afbf885278848cff315a62e
[ "MIT" ]
null
null
null
#include "Sprite.h" #include "ResourceManager.h" Sprite::Sprite(SpriteType sprite) { m_texture = ResourceManager::getInstance().loadTexture(sprite.filename); m_columnCount = sprite.columnCount; m_rowCount = sprite.rowCount; m_animSpeed = sprite.animSpeed; m_sheetWidth = m_texture->as<aie::Texture>()->getWidth();...
28.656716
82
0.732292
PotatoesBasket
903f230540dc19a1d0e8ebdb1d733b4d165c4bed
1,457
cpp
C++
NaoTHSoccer/Source/Cognition/Modules/Infrastructure/TeamCommunicator/TeamCommReceiveEmulator.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
15
2015-01-12T10:46:29.000Z
2022-03-28T05:13:14.000Z
NaoTHSoccer/Source/Cognition/Modules/Infrastructure/TeamCommunicator/TeamCommReceiveEmulator.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
2
2019-01-20T21:07:50.000Z
2020-01-22T14:00:28.000Z
NaoTHSoccer/Source/Cognition/Modules/Infrastructure/TeamCommunicator/TeamCommReceiveEmulator.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
5
2018-02-07T18:18:10.000Z
2019-10-15T17:01:41.000Z
/** * @file TeamCommReceiveEmulator.cpp */ #include "TeamCommReceiveEmulator.h" unsigned int robotNumber = 999; //An arbitrary robot number that does not stand in conflict with real robots' messages TeamCommReceiveEmulator::TeamCommReceiveEmulator(): nextMessageTime(getFrameInfo().getTime()) {} TeamCommReceiveEmula...
29.734694
118
0.724777
tarsoly
9040d3facda72fcc84f533e9ed78e70d9a9b4e93
958
hpp
C++
SandboxRendering/SandboxRendering/Src/GameManagerWorldComponent.hpp
filu005/PolyEngineExamples
7d18753c068617fa5e4167cbc2269d39726253ce
[ "MIT" ]
null
null
null
SandboxRendering/SandboxRendering/Src/GameManagerWorldComponent.hpp
filu005/PolyEngineExamples
7d18753c068617fa5e4167cbc2269d39726253ce
[ "MIT" ]
null
null
null
SandboxRendering/SandboxRendering/Src/GameManagerWorldComponent.hpp
filu005/PolyEngineExamples
7d18753c068617fa5e4167cbc2269d39726253ce
[ "MIT" ]
null
null
null
#pragma once #include <UniqueID.hpp> #include <Collections/Dynarray.hpp> #include <ECS/ComponentBase.hpp> #include <Rendering/MeshRenderingComponent.hpp> #include <Rendering/PostprocessSettingsComponent.hpp> #include <Rendering/Lighting/LightSourceComponent.hpp> using namespace Poly; class GameManagerWorldComponent ...
28.176471
54
0.836117
filu005
9044b364bb9b18c0c19e1e27c7ebbfa22acdec0e
43,741
cpp
C++
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Android.com.fuse.ExperimentalHttp.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Android.com.fuse.ExperimentalHttp.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Android.com.fuse.ExperimentalHttp.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <Android.Base.AndroidB-e9b6d531.h> #include <Android.Base.JNI.h> #include <Android.Base.Primitiv-2b9696be.h> #include <Android.Base.Primitiv-45253430.h> #include <Android.Base.Primitiv-e43...
55.020126
364
0.751835
marferfer
90486f4bb552f7863fce45307fe01193fbb0c9fb
1,491
cpp
C++
longest-palindromic-substring/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
3
2018-05-08T14:08:50.000Z
2019-02-28T00:10:14.000Z
longest-palindromic-substring/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
longest-palindromic-substring/solution.cpp
Javran/leetcode
f3899fe1424d3cda72f44102bab6dd95a7c7a320
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <cstdio> #include <cassert> class Solution { public: std::string longestPalindrome(std::string s) { int slen = s.length(); if (slen == 0) return s; // at least one. int beginInd = 0, endInd = 0, maxLen = 1; // try o...
25.706897
68
0.389671
Javran
9049331e22900bb730fc03015c128deff987fd69
99
hh
C++
F/src/server.hh
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
114
2015-04-14T10:30:05.000Z
2021-06-11T02:57:59.000Z
F/src/server.hh
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
null
null
null
F/src/server.hh
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
11
2015-07-26T02:11:32.000Z
2020-04-02T21:06:15.000Z
#ifndef SERVER_HH_ # define SERVER_HH_ namespace Server { void init(); void doIO(); } #endif
9
19
0.686869
vaginessa
90494eff9b6b4378bd3aed6255336a356df90957
16,367
cpp
C++
compute/tensor/src/fully_connected.cpp
chillingche/bolt
255307a3a02264dab665a2399f5cd49d57317697
[ "MIT" ]
1
2021-05-14T06:31:37.000Z
2021-05-14T06:31:37.000Z
compute/tensor/src/fully_connected.cpp
jianfeifeng/bolt
08577f80291a8a99f64fc24454a17832c56eb02b
[ "MIT" ]
null
null
null
compute/tensor/src/fully_connected.cpp
jianfeifeng/bolt
08577f80291a8a99f64fc24454a17832c56eb02b
[ "MIT" ]
null
null
null
// Copyright (C) 2019. Huawei Technologies Co., Ltd. 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 limitation the rights to use,...
36.615213
149
0.586546
chillingche
9049599bcbcfa042e94b3d9a5075f66afe9a7745
2,668
cpp
C++
LeetCode/C++/852. Peak Index in a Mountain Array.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/852. Peak Index in a Mountain Array.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/852. Peak Index in a Mountain Array.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
/** Let's call an array A a mountain if the following properties hold: A.length >= 3 There exists some 0 < i < A.length - 1 such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[A.length - 1] Given an array that is definitely a mountain, return any i such that A[0] < A[1] < ... A[i-1] < A[i] > A[i+1] > ... > A[...
25.902913
134
0.545727
shreejitverma
904be75537e53684ca7b8993089986dcd5fc166c
2,714
cc
C++
neb/test/host_status/ctor_default.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/test/host_status/ctor_default.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/test/host_status/ctor_default.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2013,2015 Centreon ** ** 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...
33.097561
75
0.565954
sdelafond
904befbc82b10499dee8fb798dfb4f5198dcf60b
2,773
cpp
C++
src/test/resources/botan/symm_block_cipher.cpp
oxisto/cpg
60ec86139dfa657122d58d3739f9353efd7323f8
[ "Apache-2.0" ]
96
2019-12-06T19:05:41.000Z
2022-03-29T16:35:06.000Z
src/test/resources/botan/symm_block_cipher.cpp
oxisto/cpg
60ec86139dfa657122d58d3739f9353efd7323f8
[ "Apache-2.0" ]
660
2019-12-11T13:33:43.000Z
2022-03-31T07:06:10.000Z
src/test/resources/botan/symm_block_cipher.cpp
oxisto/cpg
60ec86139dfa657122d58d3739f9353efd7323f8
[ "Apache-2.0" ]
34
2019-12-12T14:34:05.000Z
2022-03-24T12:46:47.000Z
#include <iostream> #include <stdexcept> #include <cassert> #include <botan/aead.h> #include <botan/hex.h> #include <botan/block_cipher.h> #include <botan/auto_rng.h> /*BAD example MS1(BlockCiphers) #define __CIPHER "Twofish/CBC" */ #define __CIPHER "AES-256/CBC" #define __KEY_LENGTH 32 #define __IV_LENGTH 16 /* BA...
31.511364
115
0.665705
oxisto
904c01640bec1b7e437075078a10dabc531e405f
289
cpp
C++
Day-6/array-string.cpp
suubh/100-Days-of-Code
9939ea68406459dc8118a37d8cb44da012dfc678
[ "MIT" ]
1
2021-06-03T17:33:51.000Z
2021-06-03T17:33:51.000Z
Day-6/array-string.cpp
suubh/100-Days-of-Code
9939ea68406459dc8118a37d8cb44da012dfc678
[ "MIT" ]
1
2021-07-28T01:31:26.000Z
2021-07-28T01:31:26.000Z
Day-6/array-string.cpp
suubh/100-Days-of-Code
9939ea68406459dc8118a37d8cb44da012dfc678
[ "MIT" ]
1
2021-12-19T15:34:50.000Z
2021-12-19T15:34:50.000Z
#include<iostream> #include<string> using namespace std; int main(){ //Array of string //Method 1 char *str[3]={"Hi","Hello","Bye"}; for(int i=0;i<3;i++){ cout << str[i]; } //Method 2 char s[3][10]={"Hi","Hello","Bye"}; for(int i=0;i<3;i++){ cout << s[i]; } return 0; }
15.210526
36
0.546713
suubh
904ef6abd8a9694a1d90e916290f1b867639a77b
983
cpp
C++
LEDA/test/graphics/window/lclock.cpp
2ashish/smallest_enclosing_circle
889916a3011ab2b649ab7f1fc1e042f879acecce
[ "MIT" ]
null
null
null
LEDA/test/graphics/window/lclock.cpp
2ashish/smallest_enclosing_circle
889916a3011ab2b649ab7f1fc1e042f879acecce
[ "MIT" ]
null
null
null
LEDA/test/graphics/window/lclock.cpp
2ashish/smallest_enclosing_circle
889916a3011ab2b649ab7f1fc1e042f879acecce
[ "MIT" ]
null
null
null
/******************************************************************************* + + LEDA 6.3 + + + lclock.c + + + Copyright (c) 1995-2010 + by Algorithmic Solutions Software GmbH + All rights reserved. + *******************************************************************************/ #include <LEDA/graphics/...
18.203704
80
0.525941
2ashish
904fbe01774a8a69afaee24e524997fd64c9e880
11,227
cpp
C++
minorGems/crypto/hashes/sha1.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
1
2020-01-16T00:07:11.000Z
2020-01-16T00:07:11.000Z
minorGems/crypto/hashes/sha1.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
null
null
null
minorGems/crypto/hashes/sha1.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
2
2019-09-17T12:08:20.000Z
2020-09-26T00:54:48.000Z
/* * Modification History * * 2002-May-25 Jason Rohrer * Changed to use minorGems endian.h * Added a function for hashing an entire string to a hex digest. * Added a function for getting a raw digest. * Fixed a deletion bug. * * 2003-August-24 Jason Rohrer * Switched to use minorGems hex encoding. * * 2...
30.180108
84
0.607999
PhilipLudington
9056532d5533384a189b6b5822ec03d8b0ba92e2
4,137
cpp
C++
src/GPath.cpp
jkchang62/GraphicsEngine
f38566b57a6ef111c18bed697a90729a5ebeb8d1
[ "MIT" ]
null
null
null
src/GPath.cpp
jkchang62/GraphicsEngine
f38566b57a6ef111c18bed697a90729a5ebeb8d1
[ "MIT" ]
null
null
null
src/GPath.cpp
jkchang62/GraphicsEngine
f38566b57a6ef111c18bed697a90729a5ebeb8d1
[ "MIT" ]
null
null
null
/* * Copyright 2018 Mike Reed */ #include "GPath.h" #include "GMatrix.h" GPath::GPath() {} GPath::~GPath() {} GPath& GPath::operator=(const GPath& src) { if (this != &src) { fPts = src.fPts; fVbs = src.fVbs; } return *this; } GPath& GPath::reset() { fPts.clear(); fVbs.clear();...
25.22561
87
0.435581
jkchang62
90566595bade6f3dbd13606257fd7518e62bbca4
3,508
cc
C++
SimFastTiming/FastTimingCommon/src/MTDShapeBase.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
SimFastTiming/FastTimingCommon/src/MTDShapeBase.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
SimFastTiming/FastTimingCommon/src/MTDShapeBase.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "FWCore/MessageLogger/interface/MessageLogger.h" #include "SimFastTiming/FastTimingCommon/interface/MTDShapeBase.h" MTDShapeBase::~MTDShapeBase() { } MTDShapeBase::MTDShapeBase() : qNSecPerBin_ ( 1./kNBinsPerNSec ), indexOfMax_ ( 0 ), timeOfMax_ ( 0. ), shape_ ( DVec(k1NSecBinsTotal, 0.0)...
21.78882
118
0.645667
nistefan
905730d5bb507964f80cdf24c2ed765b7ebbdd09
614
cpp
C++
DAY-10/allIndex.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
DAY-10/allIndex.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
null
null
null
DAY-10/allIndex.cpp
Mitushi-23/DSA-60Days
e8bd2766331fb7d99c11ab96fcc803d9c20ccd1e
[ "MIT" ]
1
2021-10-05T10:09:32.000Z
2021-10-05T10:09:32.000Z
#include <bits/stdc++.h> using namespace std; void all(int a[], int n, int x, int i) { if (n == 0) return; if (a[0] == x) { cout << i << " "; } i++; return all(a + 1, n - 1, x, i); } void all1(int a[], int n, int x) { if (n == 0) return; if (a[n - 1] == x) ...
14.27907
38
0.369707
Mitushi-23
905aafcc250a9489837ef2f8c9bc61b823efb726
13,683
cpp
C++
src/communication/test/communication_test.cpp
Kurossa/rpi_tcp_listener
68299ba73661a147405e726d8e26a1a68303df39
[ "Unlicense", "MIT" ]
null
null
null
src/communication/test/communication_test.cpp
Kurossa/rpi_tcp_listener
68299ba73661a147405e726d8e26a1a68303df39
[ "Unlicense", "MIT" ]
null
null
null
src/communication/test/communication_test.cpp
Kurossa/rpi_tcp_listener
68299ba73661a147405e726d8e26a1a68303df39
[ "Unlicense", "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "gmock/gmock.h" #include <utilities/zip.h> #include <communication/communication.h> #include <cstring> #include <fstream> #include <sys/time.h> // Mock function that is only available using root privilages int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __...
32.044496
116
0.66652
Kurossa
905d187b46cf46d791d0e4c0eb5f5f6e7b1b3dca
7,092
cpp
C++
src/QPMatrix.cpp
Isaac-Kwon/c-qupid
5e298517d645a433c6fd8b0a17ac3ad5d332f357
[ "BSD-3-Clause" ]
null
null
null
src/QPMatrix.cpp
Isaac-Kwon/c-qupid
5e298517d645a433c6fd8b0a17ac3ad5d332f357
[ "BSD-3-Clause" ]
1
2021-04-12T07:24:39.000Z
2021-04-12T07:25:01.000Z
src/QPMatrix.cpp
Isaac-Kwon/qupid
5e298517d645a433c6fd8b0a17ac3ad5d332f357
[ "BSD-3-Clause" ]
null
null
null
#include "iostream" #include "stdlib.h" #include "stdarg.h" #include "sstream" #include "QPMatrix.hpp" QPMatrix::QPMatrix(): fElement(0), fM(0), fN(0){ // Init(); } QPMatrix::QPMatrix(const int n): fElement(0), fM(n), fN(n){ Init(); } QPMatrix::QPMatrix(const int m, const int n): fElement(0), fM(m), fN(n){...
21.754601
126
0.516356
Isaac-Kwon
905d8c3c349e1684c79a64080eeff8a41ca4e8a2
6,485
cpp
C++
ReactSkia/textlayoutmanager/RSkTextLayoutManager.cpp
react-native-skia/react-native-skia
44f160ef2bc38e8b60609500e4834212e2728e95
[ "MIT" ]
643
2021-08-02T05:04:20.000Z
2022-03-27T22:56:02.000Z
ReactSkia/textlayoutmanager/RSkTextLayoutManager.cpp
react-native-skia/react-native-skia
44f160ef2bc38e8b60609500e4834212e2728e95
[ "MIT" ]
13
2021-09-01T12:41:42.000Z
2022-03-28T11:08:44.000Z
ReactSkia/textlayoutmanager/RSkTextLayoutManager.cpp
react-native-skia/react-native-skia
44f160ef2bc38e8b60609500e4834212e2728e95
[ "MIT" ]
16
2021-08-31T07:08:45.000Z
2022-02-14T12:36:15.000Z
/* * Copyright (C) 1994-2021 OpenTV, Inc. and Nagravision S.A. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RSkTextLayoutManager.h" using namespace skia::textlayout; namespace facebook { namespace react { Point calcul...
42.94702
227
0.658751
react-native-skia
905fc45188fbb58d1eeab6f6c0ab850029cf3ed6
2,344
cc
C++
ehpc/src/model/ListInvocationStatusResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ehpc/src/model/ListInvocationStatusResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ehpc/src/model/ListInvocationStatusResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
31.675676
118
0.784556
iamzken
9061d5688be35392bb652f23bd14aedb69460002
3,943
cpp
C++
demo_app/julia.cpp
nvpro-samples/vk_compute_mipmaps
613b94e4d36e6f357472e9c7a3163046deb55678
[ "Apache-2.0" ]
12
2021-07-24T18:33:22.000Z
2022-03-12T16:20:49.000Z
demo_app/julia.cpp
nvpro-samples/vk_compute_mipmaps
613b94e4d36e6f357472e9c7a3163046deb55678
[ "Apache-2.0" ]
null
null
null
demo_app/julia.cpp
nvpro-samples/vk_compute_mipmaps
613b94e4d36e6f357472e9c7a3163046deb55678
[ "Apache-2.0" ]
3
2021-08-04T02:27:12.000Z
2022-03-13T08:43:24.000Z
// Copyright 2021 NVIDIA CORPORATION // SPDX-License-Identifier: Apache-2.0 // Implementation functions for Julia Set compute shader. #include "julia.hpp" #include "nvh/container_utils.hpp" #include "make_compute_pipeline.hpp" // GLSL polyglot #include "shaders/julia.h" Julia::Julia(VkDevice device, ...
35.522523
75
0.70454
nvpro-samples
90622b97132a1cf7946f4a85652e79249a2fc218
171
hpp
C++
include/wmma_extension/tcec/detail/wmma_extension_include.hpp
enp1s0/wmma_extension
665a7a1f469ecffb8eaf609ba07f9b9720c52813
[ "MIT" ]
7
2020-02-18T00:09:28.000Z
2021-02-19T17:33:01.000Z
include/wmma_extension/tcec/detail/wmma_extension_include.hpp
wmmae/wmma_extension
665a7a1f469ecffb8eaf609ba07f9b9720c52813
[ "MIT" ]
null
null
null
include/wmma_extension/tcec/detail/wmma_extension_include.hpp
wmmae/wmma_extension
665a7a1f469ecffb8eaf609ba07f9b9720c52813
[ "MIT" ]
1
2021-01-13T12:22:49.000Z
2021-01-13T12:22:49.000Z
#ifndef __WMMAE_MMA_F32_F32_DETAIL_INCLUDE_HPP__ #define __WMMAE_MMA_F32_F32_DETAIL_INCLUDE_HPP__ #include "../../wmma_extension.hpp" #include "../../wmma_mma.hpp" #endif
28.5
48
0.812865
enp1s0
9064c34ea8bc0c4ea87d9425f1f54f02ef7ef46b
9,953
cpp
C++
DemoApps/GLES2/Blur/source/TwoPassLinearScaledBlurredDraw.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoApps/GLES2/Blur/source/TwoPassLinearScaledBlurredDraw.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/GLES2/Blur/source/TwoPassLinearScaledBlurredDraw.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...
48.55122
222
0.721491
alejandrolozano2
90678e8dbdf6b7c018d4b960b9b7ad41ef5f5b4a
3,200
cxx
C++
Modules/Core/Common/test/itkIndexGTest.cxx
ferdymercury/ITK
b0a86ded2edd698a6f4a3e58a9db23523a7eb871
[ "Apache-2.0" ]
1
2015-02-04T14:15:35.000Z
2015-02-04T14:15:35.000Z
Modules/Core/Common/test/itkIndexGTest.cxx
ferdymercury/ITK
b0a86ded2edd698a6f4a3e58a9db23523a7eb871
[ "Apache-2.0" ]
null
null
null
Modules/Core/Common/test/itkIndexGTest.cxx
ferdymercury/ITK
b0a86ded2edd698a6f4a3e58a9db23523a7eb871
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
33.333333
120
0.68125
ferdymercury
9068d9dc5f44f41a912c3b0f30b5604817200057
48,623
cpp
C++
consensus/server/src/consensusobject.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
consensus/server/src/consensusobject.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
consensus/server/src/consensusobject.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
// consensus/server/src/consensusobject.cpp // // Copyright (c) 2011, 2012 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // 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....
29.612058
188
0.682681
joydit
9069b46b940fe044853abc6156c0f29c116f85e9
1,471
cpp
C++
pylib/kpoints/PyKPoints.cpp
mirzaelahi/quest
c433175802014386c2b1bf3c8932cd66b0d37c8e
[ "Apache-2.0" ]
null
null
null
pylib/kpoints/PyKPoints.cpp
mirzaelahi/quest
c433175802014386c2b1bf3c8932cd66b0d37c8e
[ "Apache-2.0" ]
null
null
null
pylib/kpoints/PyKPoints.cpp
mirzaelahi/quest
c433175802014386c2b1bf3c8932cd66b0d37c8e
[ "Apache-2.0" ]
null
null
null
/* * File: KPoints.cpp * Copyright (C) 2014 K M Masum Habib <masum.habib@gmail.com> * * Created on February 17, 2014, 12:21 AM */ #include "kpoints/KPoints.h" #include "boostpython.hpp" /** * Python exporters. */ namespace qmicad{ namespace python{ using namespace kpoints; void export_KPoints(){ voi...
35.878049
107
0.673012
mirzaelahi
906e1cfa9e83c695cee152ea62736128521e988b
1,632
hpp
C++
include/GlobalNamespace/IMultiplayerRichPresenceData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/IMultiplayerRichPresenceData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/IMultiplayerRichPresenceData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes // Including type: IRichPresenceData #include "GlobalNamespace/IRichPresenceData.hpp" // Completed includes // Begin il2cpp-utils forward declare...
41.846154
108
0.718137
darknight1050
906e2d942116c7f284b401c3a8afdab5b092e0ae
1,345
hpp
C++
impl/jamtemplate/common/camera.hpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/camera.hpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/camera.hpp
Thunraz/JamTemplateCpp
ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea
[ "CC0-1.0" ]
null
null
null
#ifndef GUARD_JAMTEMPLATE_CAMERA_HPP_GUARD #define GUARD_JAMTEMPLATE_CAMERA_HPP_GUARD #include "cam_interface.hpp" #include <functional> namespace jt { class Camera : public CamInterface { public: /// Constructor explicit Camera(float zoom = 1.0f); jt::Vector2 getCamOffset() override; void setCamOff...
26.372549
79
0.704833
Thunraz
90753cdc2933595a3400c49ac5ef9b130ffd0061
4,593
cpp
C++
2019/cpp/day_3.cpp
rmottus/advent-of-code
6b803ed61867125375028ce8943c919b1d8ae365
[ "MIT" ]
null
null
null
2019/cpp/day_3.cpp
rmottus/advent-of-code
6b803ed61867125375028ce8943c919b1d8ae365
[ "MIT" ]
null
null
null
2019/cpp/day_3.cpp
rmottus/advent-of-code
6b803ed61867125375028ce8943c919b1d8ae365
[ "MIT" ]
null
null
null
#include <vector> #include <utility> #include <iostream> #include <sstream> #include <climits> using namespace std; typedef pair<int, int> intpair; // This is using a much better algorithm that I did used in python // Instead of creating an array tracking each point each wire covers, then looping over these for both...
31.033784
131
0.515567
rmottus
9076137103080706ca67045aa9119ec3eeb43666
4,669
cpp
C++
OgreMain/src/Compositor/Pass/OgreCompositorPassDef.cpp
jondo2010/ogre
c1e836d453b2bca0d4e2eb6a32424fe967092b52
[ "MIT" ]
null
null
null
OgreMain/src/Compositor/Pass/OgreCompositorPassDef.cpp
jondo2010/ogre
c1e836d453b2bca0d4e2eb6a32424fe967092b52
[ "MIT" ]
null
null
null
OgreMain/src/Compositor/Pass/OgreCompositorPassDef.cpp
jondo2010/ogre
c1e836d453b2bca0d4e2eb6a32424fe967092b52
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
40.25
101
0.627758
jondo2010
907aee87765ac5d6b56251594e16ce2c64ea646b
1,477
cpp
C++
fibercore/lib_utils.cpp
Wiladams/fiberdyne
916a257f6f00a5fa639a627240423e6d16961199
[ "Apache-2.0" ]
null
null
null
fibercore/lib_utils.cpp
Wiladams/fiberdyne
916a257f6f00a5fa639a627240423e6d16961199
[ "Apache-2.0" ]
null
null
null
fibercore/lib_utils.cpp
Wiladams/fiberdyne
916a257f6f00a5fa639a627240423e6d16961199
[ "Apache-2.0" ]
null
null
null
#include "utils.h" #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /** * Check to see if the input starts with "0x"; if it does, return the decoded * bytes of the following data (presumed to be hex coded). If not, just return * the contents. This routine allocates memory, so has to...
25.912281
78
0.525389
Wiladams
907d8fcf48b8be9db4026a6dbf17b57af31bfb53
3,964
cpp
C++
modules/boost/simd/sdk/unit/memory/utility/make_aligned.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/unit/memory/utility/make_aligned.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/unit/memory/utility/make_aligned.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // 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. // ...
38.862745
80
0.589051
psiha
907fa619951534d8911fe1f039e67a7a9e814c0f
792
cpp
C++
Source/EstCore/Private/EstCore.cpp
edgarbarney/Estranged.Core
289c672da77f30789f19c317815ea8f973885a25
[ "MIT" ]
23
2018-10-28T00:47:58.000Z
2021-06-07T04:54:32.000Z
Source/EstCore/Private/EstCore.cpp
edgarbarney/Estranged.Core
289c672da77f30789f19c317815ea8f973885a25
[ "MIT" ]
null
null
null
Source/EstCore/Private/EstCore.cpp
edgarbarney/Estranged.Core
289c672da77f30789f19c317815ea8f973885a25
[ "MIT" ]
3
2020-04-11T17:19:43.000Z
2021-09-21T10:47:26.000Z
#include "EstCore.h" #include "Modules/ModuleManager.h" extern ENGINE_API float GAverageFPS; IMPLEMENT_GAME_MODULE(FEstCoreModule, EstCore); // Default to something low so we don't start at zero float FEstCoreModule::LongAverageFrameRate = 25.f; void FEstCoreModule::StartupModule() { TickDelegate = FTickerDelegate...
26.4
79
0.79798
edgarbarney
9082f1387eeb7e26821d0043d1af9626a3b86c24
3,521
cpp
C++
Core/MAGESLAM/Source/Image/OrbFeatureDetector.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
70
2020-05-07T03:09:09.000Z
2022-02-11T01:04:54.000Z
Core/MAGESLAM/Source/Image/OrbFeatureDetector.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
3
2020-06-01T00:34:01.000Z
2020-10-08T07:43:32.000Z
Core/MAGESLAM/Source/Image/OrbFeatureDetector.cpp
syntheticmagus/mageslam
ba79a4e6315689c072c29749de18d70279a4c5e4
[ "MIT" ]
16
2020-05-07T03:09:13.000Z
2022-03-31T15:36:49.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //------------------------------------------------------------------------------ // OrbFeatureDetector.cpp // // The feature detector detects the orb features in an image and // also computes the BRIEF descriptors for them. The init settings ...
34.519608
210
0.652087
syntheticmagus
9087a52c279a863d67cda2f3404293017382bd0b
32,049
cc
C++
Lodestar/io/proto/ls.proto.systems.pb.cc
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
4
2020-06-05T14:08:23.000Z
2021-06-26T22:15:31.000Z
Lodestar/io/proto/ls.proto.systems.pb.cc
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
2
2021-06-25T15:14:01.000Z
2021-07-01T17:43:20.000Z
Lodestar/io/proto/ls.proto.systems.pb.cc
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
1
2021-06-16T03:15:23.000Z
2021-06-16T03:15:23.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ls.proto.systems.proto #include "ls.proto.systems.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descripto...
37.136732
192
0.714718
helkebir
9087e0d2276d874818d343f315eff0fe1715ea4c
4,155
cpp
C++
test/main.cpp
AdamYuan/VulkanQueueSelector
e6c51175cfbb887d08c48a285126c8e9ea2fa033
[ "Unlicense" ]
1
2021-01-24T10:37:25.000Z
2021-01-24T10:37:25.000Z
test/main.cpp
AdamYuan/VulkanQueueSelector
e6c51175cfbb887d08c48a285126c8e9ea2fa033
[ "Unlicense" ]
1
2022-03-28T16:10:27.000Z
2022-03-29T02:53:23.000Z
test/main.cpp
AdamYuan/VulkanQueueSelector
e6c51175cfbb887d08c48a285126c8e9ea2fa033
[ "Unlicense" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include "vk_queue_selector.h" #include <cstdio> #include <vector> static void fakeGetPhysicalDeviceQueueFamilyProperties0(VkPhysicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties *pQueueFamilyProperties) { if(pQueueFamilyProperty...
39.951923
161
0.776895
AdamYuan