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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b8bbbded467cad466b585b5f59ac99dee81a551 | 1,177 | cpp | C++ | android-31/android/drm/DrmConvertedStatus.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/drm/DrmConvertedStatus.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/drm/DrmConvertedStatus.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JByteArray.hpp"
#include "./DrmConvertedStatus.hpp"
namespace android::drm
{
// Fields
jint DrmConvertedStatus::STATUS_ERROR()
{
return getStaticField<jint>(
"android.drm.DrmConvertedStatus",
"STATUS_ERROR"
);
}
jint DrmConvertedStatus::STATUS_INPUTDATA_ERROR()
{
return getStaticField... | 18.390625 | 78 | 0.692438 | YJBeetle |
4b8c0a1a8b99bfff9517b5566b0c5b6d66751cec | 1,553 | cpp | C++ | examples/Threads/token.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/Threads/token.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | null | null | null | examples/Threads/token.cpp | azerothcore/lib-ace | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | [
"DOC"
] | 1 | 2020-04-26T03:07:12.000Z | 2020-04-26T03:07:12.000Z | // Test out the ACE Token class.
#include "ace/OS_main.h"
#include "ace/Token.h"
#include "ace/Task.h"
#include "ace/OS_NS_time.h"
#if defined (ACE_HAS_THREADS)
class My_Task : public ACE_Task<ACE_MT_SYNCH>
{
public:
My_Task (int n);
virtual int svc (void);
static void sleep_hook (void *);
... | 20.168831 | 80 | 0.584031 | azerothcore |
4b8cfe567f44bb39daf95396c860e0d198a6cf04 | 3,609 | hpp | C++ | Support/Modules/GSRoot/IChannelX.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/GSRoot/IChannelX.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/GSRoot/IChannelX.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z | // *****************************************************************************
//
// IChannelX - facade for IBinaryChannel and IProtocolX
//
// Module: GSRoot
// Namespace: GS
// Contact person: FM
//
// SG compatible
//
// ********************************************************************... | 37.59375 | 80 | 0.564976 | graphisoft-python |
4b91f517f4ea60bcd0000af4532094ca6a4d46e1 | 128,536 | cc | C++ | protocal/routing/routing.pb.cc | racestart/g2r | d115ebaab13829d716750eab2ebdcc51d79ff32e | [
"Apache-2.0"
] | 1 | 2020-03-05T12:49:21.000Z | 2020-03-05T12:49:21.000Z | protocal/routing/routing.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | null | null | null | protocal/routing/routing.pb.cc | gA4ss/g2r | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | [
"Apache-2.0"
] | 1 | 2020-03-25T15:06:39.000Z | 2020-03-25T15:06:39.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: routing/routing.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "routing/routing.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once... | 34.880868 | 125 | 0.711731 | racestart |
4b9686a3e5a95572d2db9aa9018c540c4c34bdef | 3,505 | hpp | C++ | lib/audiodev/AudioSubmix.hpp | Austint30/boo | e9b2c5f96c4d48e57ca5b8eb0aa41504f4a81672 | [
"MIT"
] | 7 | 2016-04-16T04:37:59.000Z | 2022-02-01T12:39:04.000Z | lib/audiodev/AudioSubmix.hpp | Jcw87/boo | c4bb325d059eb032c48a72a99a0b3f0a419d8017 | [
"MIT"
] | 8 | 2016-07-13T03:20:04.000Z | 2021-06-30T05:07:10.000Z | lib/audiodev/AudioSubmix.hpp | Jcw87/boo | c4bb325d059eb032c48a72a99a0b3f0a419d8017 | [
"MIT"
] | 11 | 2016-04-16T04:40:46.000Z | 2022-02-06T04:23:17.000Z | #pragma once
#include <array>
#include <cstddef>
#include <cstdint>
#include <list>
#include <mutex>
#include <unordered_map>
#include <vector>
#include "boo/audiodev/IAudioSubmix.hpp"
#include "lib/audiodev/Common.hpp"
#if defined(__x86_64__) || defined(_M_AMD64)
#include <immintrin.h>
#elif defined(__aarch64__) ||... | 27.382813 | 101 | 0.750357 | Austint30 |
4b976d2fcb1f0c18c51c96b07f21b0b3e0cd673f | 6,711 | cpp | C++ | tests/stress_block_in.cpp | zsummer/fn_log | bc06f15c1b1500684dbe556ee36f10f5caad32a8 | [
"MIT"
] | 4 | 2019-05-26T14:23:09.000Z | 2019-05-31T08:19:54.000Z | tests/stress_block_in.cpp | zsummer/fn_log | bc06f15c1b1500684dbe556ee36f10f5caad32a8 | [
"MIT"
] | null | null | null | tests/stress_block_in.cpp | zsummer/fn_log | bc06f15c1b1500684dbe556ee36f10f5caad32a8 | [
"MIT"
] | 1 | 2019-05-27T13:07:36.000Z | 2019-05-27T13:07:36.000Z |
#define FN_LOG_MAX_CHANNEL_SIZE 4
#define FN_LOG_MAX_LOG_SIZE 1000
#define FN_LOG_MAX_LOG_QUEUE_SIZE 100000
#include "fn_log.h"
static const std::string example_config_text =
R"----(
# 压测配表
# 0通道为异步模式写文件, info多线程文件输出和一个CATEGORY筛选的屏显输出
- channel: 0
sync: null
priority: trace
category: 0
categ... | 24.582418 | 123 | 0.539711 | zsummer |
4b986d6e2451f9ffa3f6e16c208b0675734d5c4a | 848 | hpp | C++ | tools/lib/completion_context_finder.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 51 | 2019-05-06T01:33:34.000Z | 2021-11-17T11:44:54.000Z | tools/lib/completion_context_finder.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 191 | 2019-05-06T18:31:24.000Z | 2020-06-19T06:48:06.000Z | tools/lib/completion_context_finder.hpp | stryku/cmakesl | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | [
"BSD-3-Clause"
] | 3 | 2019-10-12T21:03:29.000Z | 2020-06-19T06:22:25.000Z | #pragma once
#include "common/source_location.hpp"
#include "completion_contextes.hpp"
#include "sema/sema_node_visitor.hpp"
#include <variant>
namespace cmsl::tools {
class completion_context_finder : public sema::empty_sema_node_visitor
{
public:
explicit completion_context_finder(unsigned absolute_position);
... | 26.5 | 70 | 0.787736 | stryku |
4b9addd7f36891aba07ad1c6a862ac23bc73347d | 431 | cpp | C++ | REDSI_1160929_1161573/boost_1_67_0/libs/smart_ptr/test/sp_explicit_inst_test.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/smart_ptr/test/sp_explicit_inst_test.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | REDSI_1160929_1161573/boost_1_67_0/libs/smart_ptr/test/sp_explicit_inst_test.cpp | Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo | eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8 | [
"MIT"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | //
// Explicit instantiations are reported to exist in user code
//
// Copyright (c) 2014 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#include <boost/shared_ptr.hpp>
template cla... | 17.958333 | 62 | 0.675174 | Wultyc |
4b9db2573a91b1b29a759c3b4083a6951755ca12 | 2,927 | cpp | C++ | MarchingCubes/openCLGLUtilities.cpp | b-z/Marching-Cubes-GPU | bba4d90a65758c5603bc57b8e65784109d5e7fa4 | [
"BSD-3-Clause"
] | null | null | null | MarchingCubes/openCLGLUtilities.cpp | b-z/Marching-Cubes-GPU | bba4d90a65758c5603bc57b8e65784109d5e7fa4 | [
"BSD-3-Clause"
] | null | null | null | MarchingCubes/openCLGLUtilities.cpp | b-z/Marching-Cubes-GPU | bba4d90a65758c5603bc57b8e65784109d5e7fa4 | [
"BSD-3-Clause"
] | null | null | null | #include "openCLGLUtilities.hpp"
#include <Windows.h>
#include <wingdi.h>
cl::Context createCLGLContext(cl_device_type type, cl_vendor vendor) {
cl::Platform platform = getPlatform(type, vendor);
#if defined(__APPLE__) || defined(__MACOSX)
// Apple (untested)
cl_context_properties cps[] = {
CL_CGL... | 29.565657 | 144 | 0.660403 | b-z |
4b9f20b4d75a9a3f7488a03c24289550eaeb5344 | 4,014 | cpp | C++ | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | 2 | 2015-11-06T03:18:28.000Z | 2016-06-29T07:43:10.000Z | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | null | null | null | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | null | null | null | /*****************************************************************************
* Dwarf Mine - The 13-11 Benchmark
*
* Copyright (c) 2013 Bünger, Thomas; Kieschnick, Christian; Kusber,
* Michael; Lohse, Henning; Wuttke, Nikolai; Xylander, Oliver; Yao, Gary;
* Zimmermann, Florian
*
* Permission is hereby granted, free of... | 34.016949 | 127 | 0.622571 | mp13on11 |
4ba0581db3167a6d6058955047ce5e215e2e0eb3 | 24,274 | cpp | C++ | src/external/libjson/Source/JSONWorker.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | src/external/libjson/Source/JSONWorker.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | src/external/libjson/Source/JSONWorker.cpp | ZeroInfinite/turicreate | dd210c2563930881abd51fd69cb73007955b33fd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | #include "JSONWorker.h"
bool used_ascii_one = false; //used to know whether or not to check for intermediates when writing, once flipped, can't be unflipped
inline json_char ascii_one(void) json_nothrow {
used_ascii_one = true;
return JSON_TEXT('\1');
}
#ifdef JSON_READ_PRIORITY
JSONNode JSONWorker::parse(const j... | 36.068351 | 207 | 0.656834 | shreyasvj25 |
4ba1e0432e36963c14c0621ea03e5c85e3f9de82 | 15,484 | cpp | C++ | windows/advcore/gdiplus/engine/text/otls/chaining.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/advcore/gdiplus/engine/text/otls/chaining.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/advcore/gdiplus/engine/text/otls/chaining.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /***********************************************************************
************************************************************************
*
* ******** CHAINING.CPP ********
*
* Open Type Layout Services Library Header File
*
* This module deals with chaining contex... | 38.807018 | 92 | 0.432834 | npocmaka |
4ba648fbff3e4f2cfb1f3932ec829a3dd136f4bc | 1,642 | cpp | C++ | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null |
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,p,n) for( i = p; i<n;i++)
#define lld long long int
#define Clear(a,b) memset(a,b,sizeof(a))
template<class T>inline bool read(T &x) {
int c=getchar();
int sgn=1;
while(~c&&c<'0'||c>'9') {
if(c=='-')sgn=-1;
c=... | 18.244444 | 82 | 0.416565 | akazad13 |
4ba8c43e4bd8351c1a7fd1a24491b9e32d5d43ce | 1,749 | cc | C++ | trunk/third_party/webrtc/video_engine/internal/video_engine.cc | goddino/libjingle | 9516bee51c73af4c3082e74b88ed1198a0eb2bb1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 7 | 2015-08-06T01:46:07.000Z | 2020-10-20T09:14:58.000Z | trunk/third_party/webrtc/video_engine/internal/video_engine.cc | goddino/libjingle | 9516bee51c73af4c3082e74b88ed1198a0eb2bb1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | trunk/third_party/webrtc/video_engine/internal/video_engine.cc | goddino/libjingle | 9516bee51c73af4c3082e74b88ed1198a0eb2bb1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 16 | 2015-01-08T01:47:24.000Z | 2022-02-25T06:06:06.000Z | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 29.15 | 80 | 0.736421 | goddino |
4baa81884e5b02233b0d352b352d4759631cd839 | 3,258 | cpp | C++ | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | 1 | 2021-01-10T16:06:02.000Z | 2021-01-10T16:06:02.000Z | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | #include "sdl-display.hpp"
#include <SDL.h>
#include <SDL2_gfxPrimitives.h>
#include <iostream>
#include "sdl-constants.hpp"
#include "sdl-utils.hpp"
#include "sdl-window-icon.hpp"
sprinkler::sdl::SDLDisplay::SDLDisplay(int height, int width, gfx::Point position)
: Display(width, height) {
window_ = std::uniq... | 36.2 | 97 | 0.645795 | leocov-dev |
4baaf8e374e98d7b5b1f671305d80b1b78af8432 | 5,490 | hpp | C++ | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 14 | 2019-03-18T12:51:43.000Z | 2021-11-09T14:40:36.000Z | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 41 | 2019-10-08T19:53:55.000Z | 2021-11-23T06:56:03.000Z | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 8 | 2019-06-20T07:11:52.000Z | 2021-10-05T13:44:07.000Z | #pragma once
#include "../cuda/cudaParticlesData.cuh"
#include "../lookupTables.hpp"
namespace sphexa
{
namespace sph
{
namespace cuda
{
template <typename T>
__global__ void findNeighbors(const cuda::DeviceLinearOctree<T> o, const int *clist, const int n, const T *x, const T *y, const T *z, const T *h, const T dis... | 34.099379 | 223 | 0.517851 | j-piccinali |
4babec0303841d43ea3124e9d56acc0043cfa327 | 325 | cpp | C++ | 0621-Task Scheduler/cpp_0621/main.cpp | ooooo-youwillsee/leetcode | 07b273f133c8cf755ea40b3ae9df242ce044823c | [
"MIT"
] | 12 | 2020-03-18T14:36:23.000Z | 2021-12-19T02:24:33.000Z | 0621-Task Scheduler/cpp_0621/main.cpp | ooooo-youwillsee/leetcode | 07b273f133c8cf755ea40b3ae9df242ce044823c | [
"MIT"
] | null | null | null | 0621-Task Scheduler/cpp_0621/main.cpp | ooooo-youwillsee/leetcode | 07b273f133c8cf755ea40b3ae9df242ce044823c | [
"MIT"
] | null | null | null | #include <iostream>
#include "Solution1.h"
void test(vector<char> tasks, int n) {
Solution solution;
auto cnt = solution.leastInterval(tasks, n);
cout << cnt << endl;
}
int main() {
test({'A', 'A', 'A', 'A', 'A', 'A', 'B', 'C', 'D', 'E', 'F', 'G'}, 2); // 16
test({'A', 'A', 'A', 'B', 'B', 'B'}, 2); // 8
return ... | 21.666667 | 77 | 0.507692 | ooooo-youwillsee |
4bb16ac9b778c39bfadcac7459f191a8c8a7f947 | 1,618 | cpp | C++ | src/shogun/loss/LogLoss.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 2,753 | 2015-01-02T11:34:13.000Z | 2022-03-25T07:04:27.000Z | src/shogun/loss/LogLoss.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 2,404 | 2015-01-02T19:31:41.000Z | 2022-03-09T10:58:22.000Z | src/shogun/loss/LogLoss.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 1,156 | 2015-01-03T01:57:21.000Z | 2022-03-26T01:06:28.000Z | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Shashwat Lal Das, Fernando Iglesias
*/
#include <shogun/loss/LogLoss.h>
using namespace shogun;
float64_t LogLoss::loss(float64_t z)
{
return (z >= 0) ? log(1 + exp(-z)) : -z + log(1 + exp(z));
}
float64_t LogLoss::fi... | 25.68254 | 101 | 0.663782 | ShankarNara |
4bb5a22c79868f775c5e12e9707b821393065021 | 730 | hpp | C++ | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 41 | 2019-05-22T17:13:14.000Z | 2021-02-25T08:15:24.000Z | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 2 | 2019-05-08T21:59:12.000Z | 2019-05-16T21:41:13.000Z | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 1 | 2019-07-03T01:21:35.000Z | 2019-07-03T01:21:35.000Z | #pragma once
#include "common/include.hpp"
namespace goma {
enum LightType {
Directional = 0,
Point = 1,
Spot = 2,
Ambient = 3,
Area = 4,
};
struct Light {
std::string name;
LightType type{LightType::Directional};
glm::vec3 position{glm::vec3(0.0f)};
glm::vec3 direction{0.0f, 0.... | 20.857143 | 55 | 0.620548 | AttilioProvenzano |
4bb5fa850538954aba44c2cf2cda75340f07e363 | 3,283 | cpp | C++ | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 2 | 2020-10-28T15:02:41.000Z | 2021-10-02T13:18:24.000Z | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 4 | 2020-10-07T05:59:13.000Z | 2021-10-02T08:01:27.000Z | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 51 | 2020-10-01T03:07:30.000Z | 2021-10-05T16:25:22.000Z | #include<iostream>
using namespace std;
int main()
{
int i,j;
int cost; //weight of edge
//defining number of vertices
int n;
cout<<"Enter the number of vertices you want in the graph ";
cin>>n;
//declaring an array that contain all the vertices
int vertices[n];
fo... | 20.778481 | 117 | 0.52452 | VishalGupta0609 |
4bbe941222c19d19578cb80c2be64541790b7b9f | 1,889 | cpp | C++ | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | #include "utility.hpp"
template<typename T1,typename T2>
bool isIntersecting(const T1& mA,const T2& mB)
{
return ((mA.right() >= mB.left())
&& (mA.left() <= mB.right())
&& (mA.bottom() >= mB.top())
&& (mA.top() <= mB.bottom()));
}
void solvePaddleBallCollision(const Paddle& mpaddle, Ball& mball) noexcept
{
if... | 29.984127 | 133 | 0.676019 | ishansheth |
4bbf2bc7d4d3d78e24399c214954553968472ddb | 219 | hpp | C++ | src/modules/osgDB/generated_code/InputIterator.pypp.hpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 17 | 2015-06-01T12:19:46.000Z | 2022-02-12T02:37:48.000Z | src/modules/osgDB/generated_code/InputIterator.pypp.hpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 7 | 2015-07-04T14:36:49.000Z | 2015-07-23T18:09:49.000Z | src/modules/osgDB/generated_code/InputIterator.pypp.hpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 7 | 2015-11-28T17:00:31.000Z | 2020-01-08T07:00:59.000Z | // This file has been generated by Py++.
#ifndef InputIterator_hpp__pyplusplus_wrapper
#define InputIterator_hpp__pyplusplus_wrapper
void register_InputIterator_class();
#endif//InputIterator_hpp__pyplusplus_wrapper
| 24.333333 | 45 | 0.858447 | JaneliaSciComp |
4bc016ea50ad0250bbe3cda56d071c552c8601db | 677 | cpp | C++ | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | #include "engine.h"
#include "helper.h"
// Add only very first state game should jump into
#include "teststate.h"
#include "menustate.h"
#include "playstate.h"
int main()
{
//Instance of game engine (Holds the sfml screen)
engine game;
//Mainly to initialise the sf::window
game.init(1280,800,"Rocky ... | 18.805556 | 73 | 0.624815 | Danduriel |
4bc8eeb76fabe9f3cb2260af163788f89cc37a42 | 673 | cpp | C++ | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include <iostream>
int sumOfFactor(int x) {
constexpr int MAX{100001};
static int saved[MAX]{};
if (x < MAX && saved[x] != 0) {
return saved[x];
}
int sum{1};
for (int i{2}; i * i <= x; i++) {
if (x % i == 0) {
sum += i;
if (i * i != x) {
... | 19.794118 | 55 | 0.36107 | Guyutongxue |
4bc8fab1a0c2d8b5300f554025e93423e72c2c11 | 518 | cpp | C++ | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | /*
* dealer-ring-party.cpp
*
*/
#include "Protocols/DealerShare.h"
#include "Protocols/DealerInput.h"
#include "Processor/RingMachine.hpp"
#include "Processor/Machine.hpp"
#include "Protocols/Replicated.hpp"
#include "Protocols/DealerPrep.hpp"
#include "Protocols/DealerInput.hpp"
#include "Protocols/DealerMC.hpp"
... | 22.521739 | 75 | 0.754826 | triplewz |
4bc941c08123f0f7fc432a5ef85918bda9fe0f8d | 16,043 | cpp | C++ | dlls/zombiemaster/zm_powers_concom.cpp | renannprado/zombie_master | 8c9dff1877703ed0c90367ce94a59f7e76e1c4a8 | [
"MIT"
] | null | null | null | dlls/zombiemaster/zm_powers_concom.cpp | renannprado/zombie_master | 8c9dff1877703ed0c90367ce94a59f7e76e1c4a8 | [
"MIT"
] | null | null | null | dlls/zombiemaster/zm_powers_concom.cpp | renannprado/zombie_master | 8c9dff1877703ed0c90367ce94a59f7e76e1c4a8 | [
"MIT"
] | null | null | null | //=============================================================================
// Copyright (c) Zombie Master Development Team. All rights reserved.
// The use and distribution terms for this software are covered by the MIT
// License (http://opensource.org/licenses/mit-license.php) which
// can be found in the file L... | 32.086 | 195 | 0.685096 | renannprado |
4bca49cd934285d53fb56bf6b6b35585b0f1dfe4 | 237 | hpp | C++ | MazeSolver/Source/Dijsktra.hpp | Darhal/Maze-Solver | f8d46a6b3732a391efff63ed663ab47000b61388 | [
"MIT"
] | null | null | null | MazeSolver/Source/Dijsktra.hpp | Darhal/Maze-Solver | f8d46a6b3732a391efff63ed663ab47000b61388 | [
"MIT"
] | null | null | null | MazeSolver/Source/Dijsktra.hpp | Darhal/Maze-Solver | f8d46a6b3732a391efff63ed663ab47000b61388 | [
"MIT"
] | null | null | null | #pragma once
#include "maze.hpp"
class Maze;
class Dijsktra
{
public:
Dijsktra(Maze* maze);
void Start(const Pair& start, const Pair& end);
uint32_t minDistance(uint32_t dist[], bool sptSet[], uint32_t V);
private:
Maze* maze;
}; | 14.8125 | 66 | 0.708861 | Darhal |
4bcd7dae511726a26dfc95f97da671ad64e71681 | 2,158 | cpp | C++ | Source/Pyramid.cpp | jetspiking/Blockworld | be452d31563f33924ba3e03ee6beb5b9e7058cc5 | [
"MIT"
] | null | null | null | Source/Pyramid.cpp | jetspiking/Blockworld | be452d31563f33924ba3e03ee6beb5b9e7058cc5 | [
"MIT"
] | null | null | null | Source/Pyramid.cpp | jetspiking/Blockworld | be452d31563f33924ba3e03ee6beb5b9e7058cc5 | [
"MIT"
] | null | null | null | #include "Pyramid.h"
// E
// +
// / \`.
// /' \ `.
// /. \ `.
// C /+------\---'+ D
// /' ` . \ '
// /' ` . \'
// A +------------+ B
Pyramid::Pyramid(glm::vec3 position, glm::vec3 dimensions) : Shape::Shape(position, dimensions)
{
this->set_... | 40.716981 | 146 | 0.635774 | jetspiking |
4bcf0831bf1af81ed822869ddd24a1b5816e4e1c | 447 | cpp | C++ | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | null | null | null | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | null | null | null | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | 2 | 2020-04-21T23:52:31.000Z | 2020-04-24T13:37:28.000Z | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
int minCostClimbingStairs(vector<int>& cost) {
int n = cost.size();
vector<int> dp(n);
dp[0] = cost[0], dp[1] = cost[1];
for (int i = 2; i < n; ++i)
{
dp[i] = min(dp[i - 1], dp[i - 2]) + cost[i];
}
return min(dp[n - 1], dp[n - 2]);
}... | 17.88 | 47 | 0.583893 | DaechurJeong |
4bd1184aa998e4637545a1c355d3de860a293a6a | 1,788 | cpp | C++ | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cassert>
using namespace std;
class Solution {
public:
void print(vector<vector<char>>& board) {
for(int i = 0; i < 9; i++) {
for(int j = 0; j < 9; j++) {
cout << board[i][j] << ' ';
}
cout << '\n';
... | 28.380952 | 70 | 0.342841 | Nilesh-Das |
4bdf207a97258c246beae0a7edc6cc9a3a626f60 | 744 | hpp | C++ | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:00.000Z | 2020-12-23T15:31:59.000Z | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | null | null | null | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:03.000Z | 2020-12-23T15:32:55.000Z | //
// Created by Quentin Liardeaux on 11/19/19.
//
#ifndef R_TYPE_IEVENT_HPP
#define R_TYPE_IEVENT_HPP
#include <string>
#include <functional>
#include <any>
using namespace std;
namespace ecs {
class Event {
public:
Event(string const &type, any value);
Event(const Event &other);
Ev... | 20.666667 | 75 | 0.620968 | LiardeauxQ |
4be18c82bc402d7e5e2dda622c69e28d8abac806 | 558 | cpp | C++ | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | null | null | null | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:51:52.000Z | 2021-02-24T15:51:52.000Z | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | 1 | 2019-12-17T00:42:54.000Z | 2019-12-17T00:42:54.000Z | #include <iostream>
#include <functional>
#include "realtime_utilities/parallel_computing.h"
int main(int argc, char* argv[])
{
auto function = [](int a) -> int
{
std::cout << "inside: " << a * 10 << std::endl;
return a*10;
};
realtime_utilities::tasks tasks;
std::vector< std::future<int> > res;
... | 16.909091 | 51 | 0.577061 | CNR-STIIMA-IRAS |
4be47a3fabc9d5d911f771eb6cb2bb882b0a1c4b | 1,641 | cpp | C++ | USACOClassGold/src/pumping.cpp | javaarchive/USACOClass2020 | 4ae563014b9b2da3e1361e175d38e72308a8da89 | [
"MIT"
] | null | null | null | USACOClassGold/src/pumping.cpp | javaarchive/USACOClass2020 | 4ae563014b9b2da3e1361e175d38e72308a8da89 | [
"MIT"
] | null | null | null | USACOClassGold/src/pumping.cpp | javaarchive/USACOClass2020 | 4ae563014b9b2da3e1361e175d38e72308a8da89 | [
"MIT"
] | null | null | null | #include <iostream>
#include <queue>
#include <vector>
#define MAXNODES 1001
using namespace std;
int graph[MAXNODES][MAXNODES] = {0};
int flowage[MAXNODES][MAXNODES] = {0};
int minDist[1001];
int minFlow[1001];
int N,M;
int dijkstra(int minflow){
fill(minDist, minDist + MAXNODES, INT32_MAX);
priority_queue<p... | 28.789474 | 86 | 0.502133 | javaarchive |
4be50ea6ef605ffa178a85342c9564c37ca331df | 2,240 | cpp | C++ | src/runtime/base/memory/sweepable.cpp | jizillon/hiphop-php | d3ba41757e2c50797827a5f68b7fb7b43974ed7a | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/runtime/base/memory/sweepable.cpp | jizillon/hiphop-php | d3ba41757e2c50797827a5f68b7fb7b43974ed7a | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/runtime/base/memory/sweepable.cpp | jizillon/hiphop-php | d3ba41757e2c50797827a5f68b7fb7b43974ed7a | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | 34.461538 | 79 | 0.501786 | jizillon |
4be8d1e71cbb426494f6eee0c2a282471967cdf7 | 6,388 | cpp | C++ | src/plugins/xerces/serializer.cpp | mirunix/libelektra | a808874567b2c0c823f7619fa72078d89802bca1 | [
"BSD-3-Clause"
] | null | null | null | src/plugins/xerces/serializer.cpp | mirunix/libelektra | a808874567b2c0c823f7619fa72078d89802bca1 | [
"BSD-3-Clause"
] | 1 | 2019-06-25T11:54:12.000Z | 2019-06-25T11:54:12.000Z | src/plugins/xerces/serializer.cpp | mirunix/libelektra | a808874567b2c0c823f7619fa72078d89802bca1 | [
"BSD-3-Clause"
] | 1 | 2021-07-06T18:09:20.000Z | 2021-07-06T18:09:20.000Z | /**
* @file
*
* @brief serialization implementation for xerces plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#include "serializer.hpp"
#include "util.hpp"
#include <xercesc/dom/DOM.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <map>
#include <kdbeas... | 35.292818 | 131 | 0.705385 | mirunix |
4be954fbaca08908d2211cb51275342e0a13e78c | 329 | cpp | C++ | Tools/file/stdout_2.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 5 | 2019-09-17T09:12:15.000Z | 2021-05-29T10:54:39.000Z | Tools/file/stdout_2.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | null | null | null | Tools/file/stdout_2.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 2 | 2021-07-26T06:36:12.000Z | 2022-01-23T15:20:30.000Z |
#include<stdio.h>
int main()
{
char ch;
// printf("Please input an character:");
// 上一行代码与下一行代码等价,都是向显示器输出提示
fprintf(stdout,"Please input an character:");
if(fscanf(stdin,"%c",&ch))
printf("The character was:%c\n",ch);
else
{
fprintf(stderr,"Erroe reading an character from stdin!\n");
exit(1);
}
re... | 17.315789 | 61 | 0.653495 | liangjisheng |
4beb6c64baf73a10fe3276a7f04d32df4c6d1d5f | 41 | hpp | C++ | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/config/platform/vms.hpp>
| 20.5 | 40 | 0.780488 | miathedev |
4bf6e7dafeccb6e175f2c3feb3b64498ee88439b | 809 | cpp | C++ | src/main.cpp | qubard/chatterino2 | bad9d5e521b36fa4657dc544164ed65c8a630f25 | [
"MIT"
] | null | null | null | src/main.cpp | qubard/chatterino2 | bad9d5e521b36fa4657dc544164ed65c8a630f25 | [
"MIT"
] | null | null | null | src/main.cpp | qubard/chatterino2 | bad9d5e521b36fa4657dc544164ed65c8a630f25 | [
"MIT"
] | null | null | null | #include "BrowserExtension.hpp"
#include "RunGui.hpp"
#include "singletons/Paths.hpp"
#include "singletons/Settings.hpp"
#include <QApplication>
#include <QStringList>
#include <memory>
using namespace chatterino;
int main(int argc, char **argv)
{
auto shared = std::make_shared<QString>();
log(std::atomic_is... | 23.794118 | 67 | 0.648949 | qubard |
4bf7ea3678948cc7b1420406fcee92633bdc1742 | 6,315 | cpp | C++ | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | 3 | 2018-06-25T20:02:26.000Z | 2021-07-08T09:38:33.000Z | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | 13 | 2018-05-05T09:38:39.000Z | 2021-03-17T11:48:07.000Z | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Federico Fuga on 16/12/17.
//
#include "msqlitecpp/v1/sqlitestatement.h"
using namespace sqlite;
struct sqlite::SQLiteStatement::Impl {
std::weak_ptr<SQLiteStorage> mDb;
sqlite3_stmt *stmt = nullptr;
};
sqlite::SQLiteStatement::SQLiteStatement()
{
}
sqlite::SQLiteStatement::SQLiteStateme... | 25.566802 | 118 | 0.674426 | studiofuga |
4bf9864a0b2f25c58c34a2e167cfd34a581da93e | 1,053 | cpp | C++ | Leetcode/Random Questions/Easy/MajorityElement.cpp | Snehakri022/Competitive-Programming-Solutions | 62a2cbb2d71a040d81e3e71ad6353a86007b8cb7 | [
"MIT"
] | 40 | 2020-07-25T19:35:37.000Z | 2022-01-28T02:57:02.000Z | Leetcode/Random Questions/Easy/MajorityElement.cpp | Snehakri022/Competitive-Programming-Solutions | 62a2cbb2d71a040d81e3e71ad6353a86007b8cb7 | [
"MIT"
] | 160 | 2021-04-26T19:04:15.000Z | 2022-03-26T20:18:37.000Z | Leetcode/Random Questions/Easy/MajorityElement.cpp | Snehakri022/Competitive-Programming-Solutions | 62a2cbb2d71a040d81e3e71ad6353a86007b8cb7 | [
"MIT"
] | 24 | 2020-05-03T08:11:53.000Z | 2021-10-04T03:23:20.000Z | class Solution {
public:
int majorityElement(vector<int>& nums) {
int cnt = 0, res;
for(int i=0; i<nums.size(); i++)
{
if(cnt == 0) res = nums[i];
if(res == nums[i]) ++cnt;
else --cnt;
}
return res;
}
};
// Time Complexity - O(n)
// Sp... | 19.867925 | 44 | 0.458689 | Snehakri022 |
ef042e8b371aad1b5c30e9b16df40b0c48210aad | 2,630 | cpp | C++ | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | #include "Extractor.hpp"
#include <iostream>
#include <stdexcept>
#include "archive.h"
#include "archive_entry.h"
void Extractor::Extract(const std::string_view data)
{
struct archive* src = CreateRead(data);
struct archive* dst = CreateDiskWrite();
try
{
CopyArchive(src, dst);
}
catch (...)
{
archive_re... | 21.209677 | 88 | 0.70038 | debugzxcv |
ef057c271c7c3e886c6e16f0050b8190a0e3ba37 | 7,451 | cpp | C++ | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | 1 | 2015-01-29T01:58:56.000Z | 2015-01-29T01:58:56.000Z | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | 1 | 2015-03-27T11:21:08.000Z | 2015-03-27T11:21:08.000Z | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | null | null | null | #include "Vector4.h"
#include "Matrix.h"
#include "MathHelper.h"
#include "Quaternion.h"
#include "Vector2.h"
#include "Vector3.h"
namespace YAX
{
const Vector4 One = Vector4(1, 1, 1, 1);
const Vector4 UnitX = Vector4(1, 0, 0, 0);
const Vector4 UnitY = Vector4(0, 1, 0, 0);
const Vector4 UnitZ = Vector4(0, 0, 1, 0... | 23.357367 | 152 | 0.610522 | Swillis57 |
ef086a03619f9cb0f6fcd0eef3e57c5dcc570252 | 2,494 | cpp | C++ | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | 1 | 2021-09-20T01:26:51.000Z | 2021-09-20T01:26:51.000Z | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | null | null | null | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | null | null | null | //
// sql_connection_pool.cpp
//
//
// Created by apple on 8/18/21.
//
#include <stdio.h>
connection_pool::connection_pool()
{
this->CurConn=0;
this->FreeConn=0;
}
//RAII机制销毁连接池
connection_pool::~connection_pool()
{
DestroyPool();
}
//构造初始化
void connection_pool::init(string url, string User,string P... | 17.56338 | 114 | 0.556937 | luanshaaa |
ef0eac238d569447382aa06fe75a6fa29ba0979b | 3,588 | cc | C++ | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | 4 | 2015-03-08T07:56:29.000Z | 2017-10-12T04:19:27.000Z | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | null | null | null | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | null | null | null | /* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */
/*********************************************************************
Copyright 1999-2007, University of Cincinnati. All rights reserved.
By using this software the USER indicates that he or she has read,
understood and will comply with the f... | 29.652893 | 76 | 0.698997 | nerdling |
ef1232f9fdd43727761e20d6f30d761879cc5982 | 8,361 | cpp | C++ | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | // ------------------------------------------
// File abc.cc
// ------------------------------------------
#include <string>
#include "a.h"
#include "abscissa.h"
#include "absurdum.h"
#include "ack.h"
#include "abc.h"
// ------------------------------------------
int* allafall(int fasa, std::string* fast) {
if (... | 35.88412 | 70 | 0.625045 | karl97 |
ef16aac990f3496622a597797813a9656f0b37bc | 5,236 | hpp | C++ | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | CQBIT/Firmware | 6a60fba96de255134ac0e021cd1f31c67be95d74 | [
"BSD-3-Clause"
] | 1 | 2020-05-29T01:05:18.000Z | 2020-05-29T01:05:18.000Z | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | ZMurphyy/Firmware | 177fe4bade08440a0ae2c2679d5972b8e316ec66 | [
"BSD-3-Clause"
] | null | null | null | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | ZMurphyy/Firmware | 177fe4bade08440a0ae2c2679d5972b8e316ec66 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. 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. Redistri... | 41.888 | 98 | 0.750955 | CQBIT |
ef16cf8fd5324c621648102564497d8f3c41a9ed | 5,430 | hpp | C++ | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp
//! \author Alex Robinson
//! \brief The line energy adjoint photon scattering distribution
//!
//----------------------------------------------------------------... | 37.972028 | 96 | 0.666667 | bam241 |
fa9c08682ab4562d2f3186a7d07ce0213167c122 | 1,019 | cpp | C++ | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "IndexBuffer.h"
#include "BrickEngine/Renderer/Renderer.h"
#include "BrickEngine/Renderer/OpenGL/OpenGLIndexBuffer.h"
namespace BrickEngine {
Ref<IndexBuffer> IndexBuffer::Create(uint32_t* data, uint32_t count)
{
switch (Renderer::GetAPI())
{
case RendererAPI::Unknown:
BRIC... | 25.475 | 74 | 0.727184 | HomelikeBrick42 |
fa9c3c1575ac6aa988855322b1cc459dbb2d3e35 | 3,347 | cpp | C++ | src/lib/drishti/face/gpu/FaceStabilizer.cpp | ZJCRT/drishti | 7c0da7e71cd4cff838b0b8ef195855cb68951839 | [
"BSD-3-Clause"
] | 346 | 2017-05-13T05:12:51.000Z | 2022-01-31T08:57:14.000Z | src/lib/drishti/face/gpu/FaceStabilizer.cpp | ZJCRT/drishti | 7c0da7e71cd4cff838b0b8ef195855cb68951839 | [
"BSD-3-Clause"
] | 238 | 2017-05-12T20:22:26.000Z | 2021-06-08T20:54:11.000Z | src/lib/drishti/face/gpu/FaceStabilizer.cpp | ZJCRT/drishti | 7c0da7e71cd4cff838b0b8ef195855cb68951839 | [
"BSD-3-Clause"
] | 84 | 2017-06-30T06:50:56.000Z | 2022-03-24T01:21:54.000Z | /*! -*-c++-*-
@file face/gpu/FaceStabilizer.cpp
@author David Hirvonen
@brief Simple interface to stabilize the eyes (similarity transformation).
\copyright Copyright 2014-2016 Elucideye, Inc. All rights reserved.
\license{This project is released under the 3 Clause BSD License.}
*/
#include "drishti/fac... | 35.231579 | 112 | 0.670451 | ZJCRT |
fa9dff5b2d896402c6e33d2a7099a75a4d63e545 | 2,274 | hpp | C++ | src/include/migraphx/op/if_op.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | src/include/migraphx/op/if_op.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | src/include/migraphx/op/if_op.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | #ifndef MIGRAPHX_GUARD_OPERATORS_IF_OP_HPP
#define MIGRAPHX_GUARD_OPERATORS_IF_OP_HPP
#include <array>
#include <migraphx/check_shapes.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/functional.hpp>
#include <migraphx/config.hpp>
#include <migraphx/module.hpp>
#include <cmath>
#include <utility>
#include <set... | 30.32 | 100 | 0.584872 | raramakr |
fa9e47e09c98884d7591635221c32e60480fc583 | 1,475 | cc | C++ | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 241 | 2018-03-27T15:04:14.000Z | 2022-03-31T14:44:18.000Z | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 384 | 2018-03-28T10:34:36.000Z | 2022-03-31T20:19:37.000Z | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 54 | 2018-04-28T22:43:19.000Z | 2022-03-31T14:44:22.000Z | #include "lu_update.h"
namespace ipx {
Int LuUpdate::Factorize(const Int* Bbegin, const Int* Bend, const Int* Bi,
const double* Bx, bool strict_abs_pivottol) {
updates_ = 0;
return _Factorize(Bbegin, Bend, Bi, Bx, strict_abs_pivottol);
}
void LuUpdate::GetFactors(SparseMatrix* L, Spar... | 23.412698 | 75 | 0.667797 | chrhansk |
faa4d9ce9a6ab626fd62be440772ff2c89d4b793 | 548 | cpp | C++ | Appserver/src/servicios/RespuestaActualizarPosicion.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | 2 | 2016-06-06T03:26:49.000Z | 2017-08-06T18:12:33.000Z | Appserver/src/servicios/RespuestaActualizarPosicion.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | 60 | 2016-03-19T16:01:27.000Z | 2016-06-23T16:26:10.000Z | Appserver/src/servicios/RespuestaActualizarPosicion.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | null | null | null | #include "RespuestaActualizarPosicion.h"
RespuestaActualizarPosicion::RespuestaActualizarPosicion()
{
//ctor
}
RespuestaActualizarPosicion::~RespuestaActualizarPosicion()
{
//dtor
}
void RespuestaActualizarPosicion::setRespuestaActualizacionCorrecta(){
this->respuesta.setCodigo(200);
this->respuesta.... | 24.909091 | 72 | 0.797445 | seguijoaquin |
faa5d9282dc24eadd8aae59ebd3c2e9246bd15c0 | 4,151 | cpp | C++ | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 24 | 2017-12-21T13:57:34.000Z | 2021-12-08T01:12:32.000Z | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 28 | 2018-11-01T23:34:08.000Z | 2019-10-07T17:42:54.000Z | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 4 | 2018-04-24T19:28:51.000Z | 2020-07-19T14:06:23.000Z | /*******************************************************************************
* This file is part of the "Data structures and algorithms" course. FMI 2018/19
*******************************************************************************/
/**
* @file separate_chaining_hash.cpp
* @author Ivan Filipov
* @date... | 31.210526 | 88 | 0.626596 | kruztev |
faa9b5e2ca6265b83fed3b5e28a84cbeab16945d | 1,482 | cpp | C++ | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../graphics/drawable/Icon.hpp"
#include "../../os/Parcel.hpp"
#include "../../../JString.hpp"
#include "./GetWalletCardsError.hpp"
namespace android::service::quickaccesswallet
{
// Fields
JObject GetWalletCardsError::CREATOR()
{
return getStaticObjectField(
"android.service.quickaccesswallet.GetW... | 23.52381 | 95 | 0.709177 | YJBeetle |
faaa9caa847f6b6550e85973e7bd6200b3e87ccc | 314 | cpp | C++ | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 17 | 2015-12-08T18:50:03.000Z | 2022-03-16T01:23:20.000Z | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | null | null | null | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 6 | 2017-04-04T18:16:23.000Z | 2020-06-28T11:07:22.000Z | #include <cstdio>
using namespace std;
int main() {
int cases;
scanf("%d", &cases);
for (int i = 0; i < cases; i++) {
long long s, d, r1, r2;
scanf("%lld %lld", &s, &d);
r1 = (s+d)/2;
r2 = s-r1;
if (r2 >=0 && r1 - r2 == d) printf("%lld %lld\n", r1, r2);
else printf("impossible\n");
}
return 0;
} | 19.625 | 60 | 0.519108 | MaSteve |
faac660f7683212f00cc87e2dbbc0471617883b0 | 5,107 | cpp | C++ | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 6 | 2020-08-27T00:14:44.000Z | 2022-01-20T11:11:12.000Z | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 1 | 2021-02-02T07:02:33.000Z | 2021-02-03T08:30:24.000Z | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 1 | 2020-08-27T00:14:32.000Z | 2020-08-27T00:14:32.000Z | #include <string>
#include <vector>
#include <map>
#include <fstream>
#include <iostream>
#include <functional>
uint32_t adler32(std::string & input)
{
//uint32_t MOD_ADLER = 65521;
uint32_t a = 1;
uint32_t b = 0;
std::size_t Size = input.size();
for (std::size_t i = 0; i < Size ; i++ ){
a = (a + in... | 24.791262 | 120 | 0.504797 | jwnam |
faad3d21b83bbc83e8f185e237835df1929c0f3a | 1,083 | cpp | C++ | source/renderer/Effects/EffectFactoryList.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | 4 | 2015-06-23T19:23:31.000Z | 2017-01-05T07:08:08.000Z | source/renderer/Effects/EffectFactoryList.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | null | null | null | source/renderer/Effects/EffectFactoryList.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | null | null | null | #include "EffectManager.hpp"
#include "OpenGLESEffect.hpp"
#include "BlurEffect.hpp"
#include "RippleEffect.hpp"
#include "MorphEffect.hpp"
#include "ColorEffect.hpp"
#include "GradientEffect.hpp"
#include "DropShadowEffect.hpp"
namespace Z
{
EffectManager::EffectFactoryItem EffectManager::s_EffectFactories[] =
{ ... | 37.344828 | 99 | 0.66759 | skelleher |
faad80a483b98bbb86df5b4a0f58dbfdedf34472 | 7,893 | cpp | C++ | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 211 | 2020-06-08T19:38:26.000Z | 2022-03-25T13:51:05.000Z | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 24 | 2020-06-30T00:05:31.000Z | 2022-03-26T08:28:05.000Z | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 56 | 2020-06-08T06:56:12.000Z | 2022-03-25T13:51:10.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "AdvancedIdentityLibrary.h"
//General Log
DEFINE_LOG_CATEGORY(AdvancedIdentityLog);
void UAdvancedIdentityLibrary::GetPlayerAuthToken(APlayerController * PlayerController, FString & AuthToken, EBlueprintResultSwitch &Resul... | 33.587234 | 195 | 0.766502 | Ji-Rath |
faaf0579add76f1ace7e96e0b4cd192a432f5fb5 | 89 | cpp | C++ | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | #include "Chapter7Map.h"
Chapter7Map::Chapter7Map()
{
}
Chapter7Map::~Chapter7Map()
{
} | 9.888889 | 27 | 0.707865 | AnWooJin |
faaf227493eed0fea7e5ac75d4fa467e487c95b5 | 1,484 | cpp | C++ | Segment Tree/Sum (mem optim (Euler tour)).cpp | yokeshrana/Fast_Algorithms_in_Data_Structures | 2346fee16c6c3ffceac7cb79b1f449b4d8dc9df2 | [
"MIT"
] | 4 | 2021-01-15T16:30:48.000Z | 2021-08-12T03:17:00.000Z | Segment Tree/Sum (mem optim (Euler tour)).cpp | andy489/Fast_Algorithms_in_Data_Structures | 0f28a75030df3367902f0aa859a34096ea2b2582 | [
"MIT"
] | null | null | null | Segment Tree/Sum (mem optim (Euler tour)).cpp | andy489/Fast_Algorithms_in_Data_Structures | 0f28a75030df3367902f0aa859a34096ea2b2582 | [
"MIT"
] | 2 | 2021-02-24T14:50:08.000Z | 2021-02-28T17:39:41.000Z | // github.com/andy489
#include <stdio.h>
#include <algorithm>
int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
const int n = sizeof a / sizeof(int);
int t[2 * n];
using namespace std;
void build(int v, int tl, int tr) {
if (tl == tr)
t[v] = a[tl];
else {
int tm = tl + tr >> 1;
build(v + 1,... | 23.1875 | 69 | 0.382749 | yokeshrana |
faafc1e0afc51c6790ae3650dff35d7d0d8f3aa5 | 1,805 | cpp | C++ | PyQt6-6.0.0/qpy/QtWidgets/qpywidgets_chimera_helpers.cpp | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | null | null | null | PyQt6-6.0.0/qpy/QtWidgets/qpywidgets_chimera_helpers.cpp | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | null | null | null | PyQt6-6.0.0/qpy/QtWidgets/qpywidgets_chimera_helpers.cpp | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | null | null | null | // This is the implementation of the various Chimera helpers.
//
// Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
//
// This file is part of PyQt6.
//
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation a... | 33.425926 | 79 | 0.724654 | sonerkcardak |
fab15ac345de4294ff1ce1546e755c5446dc4a24 | 1,283 | hpp | C++ | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | 1 | 2020-11-19T04:55:20.000Z | 2020-11-19T04:55:20.000Z | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | /*!
******************************************************************************
*
* \file
*
* \brief Header file containing RAJA workgroup Vtable.
*
******************************************************************************
*/
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 23.759259 | 79 | 0.530008 | ggeorgakoudis |
fab586324b9eadc72505f5550a13a534918a5cb8 | 2,011 | cc | C++ | nacl_module/base58_unittest.cc | sowbug/happynine | 0cb1169c67b411ab658187f5c936fdea2e40d372 | [
"MIT"
] | 4 | 2015-02-08T10:53:47.000Z | 2021-11-08T10:21:42.000Z | nacl_module/base58_unittest.cc | sowbug/happynine | 0cb1169c67b411ab658187f5c936fdea2e40d372 | [
"MIT"
] | null | null | null | nacl_module/base58_unittest.cc | sowbug/happynine | 0cb1169c67b411ab658187f5c936fdea2e40d372 | [
"MIT"
] | null | null | null | // Copyright 2014 Mike Tsao <mike@sowbug.com>
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merg... | 33.516667 | 70 | 0.70363 | sowbug |
fabaa8405311da34ea23ced24a9ce91c1c6b751e | 12,243 | cpp | C++ | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2016-01-30T03:25:00.000Z | 2022-01-23T23:29:22.000Z | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 1 | 2018-09-01T09:46:34.000Z | 2019-01-12T15:05:50.000Z | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2017-01-05T14:55:02.000Z | 2021-03-30T14:05:10.000Z | /**
* @file
* @author Mamadou Babaei <info@babaei.net>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 - 2021 Mamadou Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 24.633803 | 170 | 0.548477 | NuLL3rr0r |
fabadb519efc48bf5a5ca684942147b894107661 | 20,824 | cpp | C++ | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 11 | 2020-08-06T16:08:29.000Z | 2022-03-25T03:47:30.000Z | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 19 | 2020-05-21T21:36:06.000Z | 2021-03-26T14:07:51.000Z | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 2 | 2021-05-04T05:19:31.000Z | 2022-03-23T15:16:11.000Z | /******************************************************************************
* Copyright 2021 ETC 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/l... | 43.20332 | 121 | 0.72354 | ETCLabs |
fabbc019a3348fd6f5da53809e4ddd7d785c9e6d | 4,177 | cpp | C++ | tug_observers/tug_observer_plugins/tug_score_observer/src/ScorePlugin.cpp | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | tug_observers/tug_observer_plugins/tug_score_observer/src/ScorePlugin.cpp | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | tug_observers/tug_observer_plugins/tug_score_observer/src/ScorePlugin.cpp | annajohny/sdp | 2f66e226fc335ae357001d07fbc74d30ab469509 | [
"BSD-3-Clause"
] | null | null | null | /*
This file is part of the tug model based diagnosis software for robots
Copyright (c) 2015, Clemens Muehlbacher, Stefan Loigge
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 sou... | 49.141176 | 755 | 0.692124 | annajohny |
fabe8603965df282e9acfaaf5f9e46a918d36ffe | 4,157 | hpp | C++ | src/gmatutil/util/datawriter/DataBucket.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/gmatutil/util/datawriter/DataBucket.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/gmatutil/util/datawriter/DataBucket.hpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //$Id$
//------------------------------------------------------------------------------
// DataBucket
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as represented ... | 36.147826 | 85 | 0.691364 | IncompleteWorlds |
fabf0ccfe8b774815ce0642000249c3ab15da1a2 | 723 | cpp | C++ | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
void insertionSort(vector<int> &a) {
int n = a.size(), cnt = 0;
for (int i = 1; i < n; ++i) {
int j = i - 1, tmp = a[i];
for (; j >= 0 && a[j] > tmp; --j) {
a[j + 1] = a[j];
++cnt;
}
a[j + 1] = t... | 17.634146 | 43 | 0.391425 | Frodocz |
fac5c4647bc2bf981cd936717c068d814a9d8d89 | 1,638 | cpp | C++ | Antiplagiat/Antiplagiat/bin/Debug/22865.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | 1 | 2015-07-04T14:45:32.000Z | 2015-07-04T14:45:32.000Z | Antiplagiat/Antiplagiat/bin/Debug/22865.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | Antiplagiat/Antiplagiat/bin/Debug/22865.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include<vector>
using namespace std;
int reb1[10000],rebnext[10000],startreb[5000],zalup[5000],canbe[5000];
int n;
int dfs(int v,int mark){
if (zalup[v]==mark)return 0;
zalup[v]=mark;
int sum=0;
for (int i=startreb[v];i!=-1;i=rebnext[i]) {
sum+=dfs(reb1[i],mark);
}
r... | 24.088235 | 76 | 0.393773 | DmitryTheFirst |
facc03ab172bf9cedd1b8d129dcac5b66bcbe0ea | 751 | hh | C++ | Tek2/Piscine-CPP/cpp_santa/TablePepeNoel.hh | Estayparadox/Epitech-Bundle | e4395961bb86bf494e3c84ab44c27b5a9afc6c6c | [
"MIT"
] | 30 | 2018-10-26T12:54:11.000Z | 2022-02-04T18:18:57.000Z | Tek2/Piscine-CPP/cpp_santa/TablePepeNoel.hh | Estayparadox/Epitech-Bundle | e4395961bb86bf494e3c84ab44c27b5a9afc6c6c | [
"MIT"
] | null | null | null | Tek2/Piscine-CPP/cpp_santa/TablePepeNoel.hh | Estayparadox/Epitech-Bundle | e4395961bb86bf494e3c84ab44c27b5a9afc6c6c | [
"MIT"
] | 26 | 2018-11-20T18:11:39.000Z | 2022-01-28T21:05:30.000Z | //
// TablePepeNoel.hh for in /home/guarni_l/cpp_santa
//
// Made by Luca GUARNIERI
// Login <guarni_l@epitech.net>
//
// Started on Sun Jan 17 03:56:38 2016 Luca GUARNIERI
// Last update Sun Jan 17 07:44:22 2016 Luca GUARNIERI
//
#ifndef TABLEPEPENOEL_HH_
# define TABLEPEPENOEL_HH_
# include "LittlePony.hh"
# ... | 20.861111 | 54 | 0.708389 | Estayparadox |
facc3ef96373a65ab1db80f8e76107a0a83577c9 | 16,030 | cpp | C++ | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2019 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#include "support/events.h"
... | 34.252137 | 125 | 0.61441 | IntegralTeam |
facd605b0a237d940d86fd9a0bcca8318f4233da | 3,049 | cpp | C++ | B2G/gecko/tools/reorder/elf_symbol_table.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/tools/reorder/elf_symbol_table.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/tools/reorder/elf_symbol_table.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <string>
#include <fstream>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
... | 25.838983 | 88 | 0.61102 | wilebeast |
fad2bc97addb647194245af0db622327adba7dc8 | 516,372 | cpp | C++ | gtsam/3rdparty/GeographicLib/src/GeodesicExact.cpp | karamach/gtsam | 35f9b710163a1d14d8dc4fcf50b8dce6e0bf7e5b | [
"BSD-3-Clause"
] | 105 | 2017-12-02T14:39:49.000Z | 2022-02-19T18:20:25.000Z | trunk/gtsam/3rdparty/GeographicLib/src/GeodesicExact.cpp | shaolinbit/PPP-BayesTree | 6f469775277a1a33447bf4c19603c796c2c63c75 | [
"MIT"
] | 5 | 2016-07-05T16:21:08.000Z | 2020-05-13T16:50:42.000Z | trunk/gtsam/3rdparty/GeographicLib/src/GeodesicExact.cpp | shaolinbit/PPP-BayesTree | 6f469775277a1a33447bf4c19603c796c2c63c75 | [
"MIT"
] | 66 | 2015-06-01T11:22:38.000Z | 2022-02-18T11:03:57.000Z | /**
* \file GeodesicExact.cpp
* \brief Implementation for GeographicLib::GeodesicExact class
*
* Copyright (c) Charles Karney (2012-2013) <charles@karney.com> and licensed
* under the MIT/X11 License. For more information, see
* http://geographiclib.sourceforge.net/
*
* This is a reformulation of the geodesic ... | 64.911628 | 80 | 0.683194 | karamach |
fad6a221417ec88efe820a0a99dcf21737187b1b | 3,508 | cpp | C++ | src/luxrays/core/color/spd.cpp | aedancullen/LuxCore | 2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a | [
"Apache-2.0"
] | 1 | 2020-07-19T22:00:26.000Z | 2020-07-19T22:00:26.000Z | src/luxrays/core/color/spd.cpp | aedancullen/LuxCore | 2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a | [
"Apache-2.0"
] | null | null | null | src/luxrays/core/color/spd.cpp | aedancullen/LuxCore | 2b2289ce985ddc1ba1a44f932e1f76ee9a1c3e3a | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | 28.064 | 77 | 0.504846 | aedancullen |
fad6b7be50104a099ce57c1566e5b1ee29a5911c | 19,979 | cpp | C++ | audio/common/Semantic/jhcTripleMem.cpp | Bhaskers-Blu-Org1/ALIA | 3184441a0720e75322497b0ed60fad35e843b900 | [
"Apache-2.0"
] | 1 | 2020-03-01T13:22:34.000Z | 2020-03-01T13:22:34.000Z | audio/common/Semantic/jhcTripleMem.cpp | IBM/ALIA | 4dc5e76c3280ece5471eddca875c6b7fa35e6beb | [
"Apache-2.0"
] | null | null | null | audio/common/Semantic/jhcTripleMem.cpp | IBM/ALIA | 4dc5e76c3280ece5471eddca875c6b7fa35e6beb | [
"Apache-2.0"
] | 1 | 2020-06-29T15:11:03.000Z | 2020-06-29T15:11:03.000Z | // jhcTripleMem.cpp : collection of semantic triples with search operators
//
// Written by Jonathan H. Connell, jconnell@alum.mit.edu
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 2011-2015 IBM Corporation
//
// Licensed under the Apache License, Version 2.0 (the "Licen... | 22.125138 | 108 | 0.561139 | Bhaskers-Blu-Org1 |
fadb733bcf9a30f11760de8fb5e92107df4ace98 | 3,885 | hpp | C++ | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | /*
See LICENSE file in root folder
*/
#ifndef ___SDW_CloneExpr_H___
#define ___SDW_CloneExpr_H___
#pragma once
#include "ShaderAST/Expr/ExprVisitor.hpp"
namespace ast
{
class ExprCloner
: public expr::Visitor
{
public:
static expr::ExprPtr submit( expr::Expr * expr );
static expr::ExprPtr submit( expr::ExprP... | 43.651685 | 78 | 0.758559 | Praetonus |
fadbd5bf79c03e167658347a73c2102ca685c543 | 6,290 | cpp | C++ | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/SPLASH | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 12 | 2019-09-11T15:52:31.000Z | 2021-11-14T20:33:35.000Z | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 227 | 2019-09-11T08:40:24.000Z | 2020-06-26T14:12:07.000Z | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 2 | 2020-10-26T02:35:18.000Z | 2020-10-26T02:36:01.000Z | #include "pch.h"
#include "CandlePlacementSystem.h"
#include "Sail/entities/components/Components.h"
#include "Network/NWrapperSingleton.h"
#include "Sail/utils/GameDataTracker.h"
#include "Sail/entities/ECS.h"
#include "Sail/entities/systems/physics/UpdateBoundingBoxSystem.h"
#include "Sail/events/EventDispatcher.h... | 35.942857 | 120 | 0.728299 | BTH-StoraSpel-DXR |
fadd48712932fb683728a410f11816edaf6fbaab | 3,107 | cpp | C++ | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 43.760563 | 149 | 0.663663 | dujianxin |
fae2971ceeb3d2c00f22cb689232717f6b6027fb | 24,677 | cpp | C++ | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | //============================================================
// STUDENT NAME: HU KE
// NUS User ID.: NUSRI1613
// COMMENTS TO GRADER:
//
//
// ============================================================
//
// FILE: Main.cpp
#include <Platform/Platform.h>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#in... | 39.546474 | 186 | 0.568627 | HuCoco |
fae5e30f76170ab17e3504fc5740c20e0de08435 | 6,769 | hpp | C++ | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.IO.Stream
#include "System/IO/Stream.hpp"
#include "u... | 38.68 | 108 | 0.684592 | Futuremappermydud |
fae74ef5c8696a64df54c136f27a86b36f484544 | 4,586 | cpp | C++ | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | 3 | 2016-05-28T00:32:55.000Z | 2022-02-28T13:36:04.000Z | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | null | null | null | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | 1 | 2018-10-09T16:42:18.000Z | 2018-10-09T16:42:18.000Z | /*
Fitting nfw mass profile model
Author: Junhua Gu
Last modification 20120721
*/
#include "nfw.hpp"
#include <core/optimizer.hpp>
#include <core/fitter.hpp>
#include <data_sets/default_data_set.hpp>
#include "chisq.hpp"
#include <methods/powell/powell_method.hpp>
#include <iostream>
#include <fstream>
#include ... | 28.6625 | 101 | 0.635194 | sjtuzyk |
fae829b646f33987f6861dfb4ed9ba638c78fc09 | 6,365 | cpp | C++ | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | 2 | 2021-09-28T14:13:27.000Z | 2022-03-26T11:36:48.000Z | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | 72 | 2021-09-29T08:55:26.000Z | 2022-03-29T21:21:00.000Z | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | null | null | null | #include <cubos/core/data/yaml_deserializer.hpp>
using namespace cubos::core::data;
YAMLDeserializer::YAMLDeserializer(memory::Stream& stream) : Deserializer(stream)
{
this->loadDocument();
this->frame.push({Mode::Object, this->document.begin(), false});
}
#define READ_PRIMITIVE(T, value) ... | 31.20098 | 120 | 0.462215 | GameDevTecnico |
fae9de7af953f4dca197aa688e893a5308825d02 | 4,396 | cpp | C++ | src/main/backtest.cpp | fakecoinbase/ondra-novakslashmmbot | 750989fcd382f4aaf5eccaa176145d9090fee1a3 | [
"MIT"
] | null | null | null | src/main/backtest.cpp | fakecoinbase/ondra-novakslashmmbot | 750989fcd382f4aaf5eccaa176145d9090fee1a3 | [
"MIT"
] | null | null | null | src/main/backtest.cpp | fakecoinbase/ondra-novakslashmmbot | 750989fcd382f4aaf5eccaa176145d9090fee1a3 | [
"MIT"
] | null | null | null | #include <imtjson/value.h>
#include "backtest.h"
#include <cmath>
#include "istatsvc.h"
#include "mtrader.h"
#include "sgn.h"
using TradeRec=IStatSvc::TradeRecord;
using Trade=IStockApi::Trade;
using Ticker=IStockApi::Ticker;
BTTrades backtest_cycle(const MTrader_Config &cfg, BTPriceSource &&priceSource, const IStoc... | 30.741259 | 184 | 0.633076 | fakecoinbase |
faed0b70a32e4ccb4b8acc35375a591abfcdb756 | 1,878 | cc | C++ | lib/libfaeris/src/stage/layer/FsColorLayer.cc | NosicLin/Faeris | 018fddccc875fb63347673edef3ad2ff80c87149 | [
"MIT"
] | null | null | null | lib/libfaeris/src/stage/layer/FsColorLayer.cc | NosicLin/Faeris | 018fddccc875fb63347673edef3ad2ff80c87149 | [
"MIT"
] | null | null | null | lib/libfaeris/src/stage/layer/FsColorLayer.cc | NosicLin/Faeris | 018fddccc875fb63347673edef3ad2ff80c87149 | [
"MIT"
] | null | null | null | #include "stage/layer/FsColorLayer.h"
#include "graphics/FsRender.h"
#include "graphics/material/FsMat_V4F_C4F.h"
NS_FS_BEGIN
ColorLayer* ColorLayer::create()
{
ColorLayer* ret=new ColorLayer;
return ret;
}
ColorLayer* ColorLayer::create(Color c)
{
ColorLayer* ret=new ColorLayer;
ret->setColor(c);
return ret;
}
... | 17.229358 | 94 | 0.716187 | NosicLin |
faef7604eb30a14e7a8f67c09fdf2d958271e48b | 30,671 | cpp | C++ | AgreementGINA2.cpp | assarbad/agreementgina2 | 70cd2f676018108efe923387de7acf5b882f3d13 | [
"BSD-3-Clause"
] | null | null | null | AgreementGINA2.cpp | assarbad/agreementgina2 | 70cd2f676018108efe923387de7acf5b882f3d13 | [
"BSD-3-Clause"
] | null | null | null | AgreementGINA2.cpp | assarbad/agreementgina2 | 70cd2f676018108efe923387de7acf5b882f3d13 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
******************************************************************************
*** ***
*** Application/DLL class implementation. *... | 31.652219 | 152 | 0.620651 | assarbad |
faf1ff3a6b589a91ec2dd8a108f1b268da61e7b8 | 219 | hpp | C++ | server/api/include/irods/rsGetHostForPut.hpp | aghsmith/irods | 31d48a47a4942df688da94b30aa8a5b5210261bb | [
"BSD-3-Clause"
] | 1 | 2022-03-08T13:00:56.000Z | 2022-03-08T13:00:56.000Z | server/api/include/irods/rsGetHostForPut.hpp | selroc/irods | d232c7f3e0154cacc3a115aa50e366a98617b126 | [
"BSD-3-Clause"
] | null | null | null | server/api/include/irods/rsGetHostForPut.hpp | selroc/irods | d232c7f3e0154cacc3a115aa50e366a98617b126 | [
"BSD-3-Clause"
] | null | null | null | #ifndef RS_GET_HOST_FOR_PUT_HPP
#define RS_GET_HOST_FOR_PUT_HPP
#include "irods/rcConnect.h"
#include "irods/dataObjInpOut.h"
int rsGetHostForPut( rsComm_t *rsComm, dataObjInp_t *dataObjInp, char **outHost );
#endif
| 21.9 | 82 | 0.803653 | aghsmith |
faf21d027e876586b1746651ccc97ca55b23cc10 | 3,232 | cc | C++ | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 4 | 2015-03-23T05:55:23.000Z | 2019-03-05T02:18:39.000Z | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | null | null | null | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 10 | 2015-03-23T05:55:24.000Z | 2019-03-05T02:18:51.000Z | #include <sys/types.h>
#include "mex.h"
#include <xmmintrin.h>
const int S = 3;
const int NUM_SUB_FILTERS = 4;
/*
* Hyun Oh Song (song@eecs.berkeley.edu)
* Part filter tiling
*/
static inline void do_sum_sse(double *dst, const double *src, const double *src_end) {
while (src != src_end) {
_mm_storeu_pd(dst... | 30.490566 | 110 | 0.625 | rksltnl |
faf255dce639b4c373b5305e3e13a3fa02f5ed25 | 10,986 | cpp | C++ | tests/motionTests.cpp | glumes/Physics3D | 38db12a381361d571389a22d2aac77255ef2fbc7 | [
"MIT"
] | null | null | null | tests/motionTests.cpp | glumes/Physics3D | 38db12a381361d571389a22d2aac77255ef2fbc7 | [
"MIT"
] | null | null | null | tests/motionTests.cpp | glumes/Physics3D | 38db12a381361d571389a22d2aac77255ef2fbc7 | [
"MIT"
] | 1 | 2021-03-28T18:51:10.000Z | 2021-03-28T18:51:10.000Z | #include "testsMain.h"
#include "compare.h"
#include "randomValues.h"
#include "../physics/misc/toString.h"
#include "estimateMotion.h"
#include "../physics/motion.h"
#include "../physics/relativeMotion.h"
#include "../physics/constraints/hardPhysicalConnection.h"
#include "../physics/constraints/motorConstraint.h"... | 40.992537 | 195 | 0.800291 | glumes |
faf383ac145713f5dcfd96f09c5a453b058f5fff | 15,661 | cpp | C++ | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null |
#include "sly.h"
#include "sly/d3d12.h"
#include "sly/engine.h"
#include "sly/scene.h"
//#include "sly/d3d12/gfx/commandlist.h"
#include "sly/io/memorystream.h"
#include "sly/runtime/serialization/json/jsondeserializer.h"
#include "sly/runtime/serialization/json/jsonserializer.h"
#if !_WIN32
// MacOS shader
const ch... | 32.092213 | 138 | 0.616627 | Gibbeon |
faf7f48d652d6bf1a536d50b2b6d9cfd801a8b60 | 1,794 | cpp | C++ | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=5;
const int inf=2147483647;
int mcnt,Win[11];
int Map[4][4];
int dfs(int k1,int k2,int opt);
int check(int key);
int mai... | 20.62069 | 128 | 0.506689 | SYCstudio |
fafd3b66b9deceb94bc9b26a7e498f09b611c710 | 447 | cpp | C++ | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
class A {
public:
A (void) {
foo (); // this->foo ();
}
~A (void) {
foo (); // this->foo ();
}
virtual void foo (void) {
cout << "A::foo(void)" << endl;
}
void bar (void) {
foo (); // this->foo ();
}
};
class B : public A {
public:
void foo (void) {
cout << "B... | 12.771429 | 33 | 0.47651 | jiedou |
fafffecd24c19f558ccbfd465dafd1621b3947d5 | 1,602 | cpp | C++ | C++/2D_array.cpp | codedoc7/hacktoberfest2021-3 | ddf4e173b10d32332b3c6699de70d1e7bee73a68 | [
"MIT"
] | 2 | 2021-12-01T03:35:20.000Z | 2022-02-11T01:10:22.000Z | C++/2D_array.cpp | codedoc7/hacktoberfest2021-3 | ddf4e173b10d32332b3c6699de70d1e7bee73a68 | [
"MIT"
] | null | null | null | C++/2D_array.cpp | codedoc7/hacktoberfest2021-3 | ddf4e173b10d32332b3c6699de70d1e7bee73a68 | [
"MIT"
] | 1 | 2021-10-17T16:24:21.000Z | 2021-10-17T16:24:21.000Z | // 2D array
#include <iostream>
using namespace std;
int main()
{
int arr[6][6];
int count,a,b,max,c,d,e,x,y,i,j;
int check[3][3];
count=a=b=c=d=e=0;
max= -100;
// cout<<max<<endl<<endl;
for (int i = 0; i < 6; i++) {
for (int j = 0; j < 6; j++) {
cin >> arr[i][j];
... | 24.646154 | 81 | 0.28402 | codedoc7 |
4f0177135e5ddd67ef2580a8c0183714d0763353 | 1,737 | cpp | C++ | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2022-01-25T10:43:28.000Z | 2022-01-25T10:43:28.000Z | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2021-07-14T01:23:54.000Z | 2021-07-14T11:26:06.000Z | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2021-07-12T16:37:14.000Z | 2021-07-12T16:37:14.000Z | #include<windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass = TEXT("CreateStruct");
struct tag_Param {
int x;
int y;
TCHAR mes[128];
};
tag_Param Param = { 100,100,TEXT("Create Parameter") };
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPr... | 25.544118 | 160 | 0.743235 | 100dlswjd |
4f01cee9cf6141458ffc1d75a0393c42fbb0d752 | 2,466 | cpp | C++ | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 1 | 2021-01-15T11:26:02.000Z | 2021-01-15T11:26:02.000Z | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 1 | 2021-01-04T17:01:26.000Z | 2021-01-04T17:01:26.000Z | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 2 | 2020-08-01T03:38:18.000Z | 2020-10-25T14:53:01.000Z | #include <jni.h>
#include <dirent.h>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
#include <sstream>
static std::string const LOCAL_PATH("/sdcard/nong");
static std::string const GAME_PATH("/data/data/com.cos8oxx.geometrynong/files");
bool copyFile(
std::string const& srcPath,
... | 19.417323 | 85 | 0.523925 | Cos8o |
4f08d2975084b75570b155e52fcb43e15b6ecf01 | 12,124 | c++ | C++ | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library 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 Software Foundation; either
* version 2.1 of the License, or (at your opti... | 33.216438 | 168 | 0.661003 | OpenXIP |
4f0bb04a4738f1b7b3ca330886ad4b893655850e | 4,468 | cpp | C++ | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | 115 | 2015-04-25T14:18:22.000Z | 2022-03-31T13:12:00.000Z | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | null | null | null | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | 13 | 2015-10-21T02:17:05.000Z | 2021-12-01T20:13:52.000Z | #include "cloth.h"
struct clothpoint
{
vector3 position;
vector3 speed;
vector3 force;
vector3 normal;
};
clothpoint cloth[15][10];
vector3 Gravity;
vector3 wind;
int xrez=14,yrez=9,mod=8;
void initcloth()
{
Gravity.x=-0.0007f;
Gravity.y=-0.0008f;
Gravity.z=0.0001f;
wind.x=-0.00033f;
wind.y=-0.0001f;
wind... | 27.243902 | 134 | 0.60385 | ConspiracyHu |
4f0f3a2012533b4f9164a4622fe18c65a035b028 | 7,630 | cpp | C++ | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
#include <string>
#include <tuple>
#include <vector>
#include "int_computer.h"
using Map = std::vector<std::vector<char>>;
auto read_map(const std::vector<long long>& prog)
{
IntComputer ic(prog);
Map map;
std::vector<char> row;
while (ic.run()) {
auto out... | 22.115942 | 82 | 0.457012 | adrian-stanciu |
4f0f65ab5ae72e5b94f52a7a17dd67ec9285dd8b | 1,654 | cc | C++ | seurat/ingest/json_utils_test.cc | Asteur/vrhelper | 7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53 | [
"Apache-2.0"
] | 819 | 2018-05-04T20:43:55.000Z | 2022-03-22T01:21:24.000Z | seurat/ingest/json_utils_test.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 35 | 2018-05-05T03:50:16.000Z | 2019-11-04T22:56:02.000Z | seurat/ingest/json_utils_test.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 88 | 2018-05-04T20:53:42.000Z | 2022-03-05T03:50:07.000Z | /*
Copyright 2017 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 law or agreed to in ... | 32.431373 | 75 | 0.756348 | Asteur |
4f11a133efd79ee933f8d2829842822ba0464d71 | 1,668 | cc | C++ | RecoTracker/TkSeedingLayers/plugins/SimpleClusterProbabilitySeedComparitor.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoTracker/TkSeedingLayers/plugins/SimpleClusterProbabilitySeedComparitor.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoTracker/TkSeedingLayers/plugins/SimpleClusterProbabilitySeedComparitor.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "RecoTracker/TkSeedingLayers/interface/SeedComparitor.h"
#include "RecoTracker/TkSeedingLayers/interface/SeedComparitorFactory.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <cmath>
class SimpleClusterProbabilitySeedComparitor : public SeedComparitor {
public:
SimpleClusterPr... | 39.714286 | 138 | 0.755995 | nistefan |
4f13ad872293ee0f74bed66d018fce30ae31a00b | 1,000 | cpp | C++ | src/prod/src/data/txnreplicator/statemanager/ApplyType.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/data/txnreplicator/statemanager/ApplyType.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/data/txnreplicator/statemanager/ApplyType.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
namespace... | 29.411765 | 98 | 0.436 | gridgentoo |