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
14c5028ed5cc6188928c31226565c539e32d5163
986
cpp
C++
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
src/interface/graphics/Buffer.cpp
FuriousProton/proton
1bb790932e730d119ad68266159a77ad93eeef99
[ "MIT" ]
null
null
null
// // Created by teeebor on 2017-10-05. // #include <glbinding/gl/gl.h> #include "../../../include/interface/Buffer.h" namespace proton{ using namespace gl; Buffer::Buffer(const void *data, int count, unsigned int componentCount) { load(data,count,componentCount); } void Buffer::load(const vo...
25.947368
83
0.64503
FuriousProton
14c7bb885d9faabbb4f4084bcebda111828df10e
7,774
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/Filter.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/Filter.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/Filter.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
28.580882
104
0.573064
jingcao80
14c921fdda223e050127c85ea61d0bba4216faf4
10,741
hpp
C++
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
lib/quasimo/base/qcor_qsim.hpp
moar55/qcor
e744642c3e87ededf60813a442b7cde502467de4
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the BSD 3-Clause License * which accompanies this distribution. * * Contributors: ...
36.534014
81
0.699935
moar55
14c9cda500cfb12a37e94ef483653a53c21f9ca9
3,898
hpp
C++
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/gpu/multiply.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_GPU_MULTIPLY_HPP #define STAN_MATH_GPU_MULTIPLY_HPP #ifdef STAN_OPENCL #include <stan/math/gpu/matrix_gpu.hpp> #include <stan/math/gpu/kernels/scalar_mul.hpp> #include <stan/math/gpu/kernels/matrix_multiply.hpp> #include <Eigen/Dense> namespace stan { namespace math { /** * Multiplies the specified ...
31.691057
78
0.65803
jrmie
14c9fce899e636ec1555150d0e5145862770f74d
15,557
cpp
C++
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
null
null
null
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
2
2019-02-23T20:46:12.000Z
2019-07-11T15:34:13.000Z
Source/SIMPLib/CoreFilters/CropVertexGeometry.cpp
mmarineBlueQuartz/SIMPL
834f9009944efe69d94b5b77a641d96db3e9543b
[ "NRL" ]
null
null
null
/* ============================================================================ * Copyright (c) 2009-2016 BlueQuartz Software, LLC * * 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...
39.787724
171
0.588353
mmarineBlueQuartz
14c9fe8f249b93c1711aa7410d5ea6873577134b
181
cpp
C++
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
async_pool/test/test.foo.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include <optional> #include "ParallelAccumulate.hpp" TEST_CASE("test the execution of foo", "[foo]") { REQUIRE( 1 == 1); std::optional<int> var; }
18.1
47
0.679558
spjuanjoc
14ca452d2c14a4d2f80275281caaa38f78c4b4a9
790
cpp
C++
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Thread.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string.h> #include <sstream> #include <map> #include <memory> #include <unistd.h> #include <thread> #include <sys/socket.h> #include <netinet/in.h> #include <sys/types.h> #include <state.h> #include "render.h" #include "engine.h" #include "ai.h" #include "client.h" usi...
18.809524
71
0.694937
Kuga23
14d06e9385947693d8a114636e45d72fccd859db
2,074
cpp
C++
01-algorithmic-toolbox/week6/2_partitioning_souvenirs/partition3.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
01-algorithmic-toolbox/week6/2_partitioning_souvenirs/partition3.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
01-algorithmic-toolbox/week6/2_partitioning_souvenirs/partition3.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cassert> #include <numeric> /// Partitioning Souvenirs /// /// Intro: You and two of your friends have just returned back home after visiting various countries. /// Now you would like to evenly split all the souvenirs that all three of you bought. /// /// Input: ...
26.589744
105
0.559306
olpotkin
14d1f462d942e498d312a7d094d7900683effd2b
97,164
cpp
C++
core/sql/executor/sql_buffer.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
core/sql/executor/sql_buffer.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
core/sql/executor/sql_buffer.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
27.737368
119
0.620405
liuyazhou
14d6287cf9a4fb3b87856cf5b60c6159e1a453b6
3,420
hpp
C++
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Security/Principal/WindowsImpersonationContext.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.IDisposable #include "System/IDisposable.hpp" // Including typ...
46.849315
143
0.709942
darknight1050
14d6f2d5ba03d1e3a04bb3b24bc95652e7125096
426
cpp
C++
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
MODDING_API/src/ModdingAPI.cpp
MagicRB/MODDABLE_RPG
567f007b15eead07bac73608a6e980c138553761
[ "MIT" ]
null
null
null
#include "ModdingAPI.hpp" #include <cmath> #include <iostream> chunkified_pos<int> world_to_chunk(int px, int py) { chunkified_pos<int> ch; ch.chunk_x = floor(px / 64.0f); ch.chunk_y = floor(py / 64.0f); ch.x = abs(px) % 64; ch.y = abs(py) % 64; if (ch.chunk_x < 0) { ch.x = 64 - ch.x; } i...
14.689655
50
0.561033
MagicRB
14d733430d971b341d314683fcf38baac9a5ed93
5,887
cpp
C++
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
samples/face/lbf_facemark_detector.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
/* * (C) Copyright 2019 * The Seraphim Project Developers. * * SPDX-License-Identifier: MIT */ #include <csignal> #include <opencv2/imgproc.hpp> #include <opencv2/videoio.hpp> #include <optparse.h> #include <seraphim/polygon.h> #include <seraphim/face/lbf_facemark_detector.h> #include <seraphim/face/lbp_face_dete...
31.31383
96
0.572278
raymanfx
14d83ad941e48001baf6ddca0f1e927411a145c8
2,652
cpp
C++
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
1
2020-10-11T23:37:48.000Z
2020-10-11T23:37:48.000Z
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
null
null
null
lib/Model.cpp
TurboCartPig/gfxprog
385c3c05cba4d102179f48b0c2b7abe0474293d6
[ "MIT" ]
null
null
null
#include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <glove/Model.h> #include <iostream> void process_node(const aiScene *scene, const aiNode *node, std::vector<Vertex3DNormTex> &vertices, std::vector<uint32_t> & indices) { for (si...
30.482759
79
0.662519
TurboCartPig
14d88a6e233c285ba189d1bc7fb2b4e3fc2c4b22
9,025
cpp
C++
serviceMain/src/serviceMain.cpp
epics-base/exampleCPP
bf816da88471171afc6c6b5ed6f912289336c30e
[ "MIT" ]
2
2015-02-09T08:58:06.000Z
2021-11-01T08:16:12.000Z
serviceMain/src/serviceMain.cpp
epics-base/exampleCPP
bf816da88471171afc6c6b5ed6f912289336c30e
[ "MIT" ]
26
2015-06-10T12:03:46.000Z
2021-06-22T15:50:43.000Z
serviceMain/src/serviceMain.cpp
epics-base/exampleCPP
bf816da88471171afc6c6b5ed6f912289336c30e
[ "MIT" ]
10
2015-08-03T20:28:29.000Z
2021-04-16T20:44:44.000Z
/* * Copyright information and license terms for this software can be * found in the file LICENSE that is included with the distribution */ /** * @author mrk */ /* Author: Marty Kraimer */ #include <cstddef> #include <cstdlib> #include <cstddef> #include <string> #include <cstdio> #include <memory> #include <ve...
41.022727
95
0.700831
epics-base
14dace89a156b992fc88b32eb5f5ebe04551b913
2,113
cpp
C++
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// RUN: %clang_cc1 -fsyntax-only -verify %s // C++0x [temp.arg.nontype]p1: // // A template-argument for a non-type, non-template template-parameter shall // be one of: // -- an integral constant expression; or // -- the name of a non-type template-parameter ; or namespace non_type_tmpl_param { template <int...
36.431034
138
0.635589
vidkidz
14db6b31e4a4b8e990d68887ddbc99eae9c16b18
9,281
cpp
C++
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
Sources/Core/Crypto/hash_functions.cpp
ValtoFrameworks/ClanLib
2d6b59386ce275742653b354a1daab42cab7cb3e
[ "Linux-OpenIB" ]
null
null
null
/* ** ClanLib SDK ** Copyright (c) 1997-2016 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
26.979651
92
0.715225
ValtoFrameworks
14db6e74a5db750e5d0085a2240a93f419041cfc
9,285
cpp
C++
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
1
2019-10-22T07:32:45.000Z
2019-10-22T07:32:45.000Z
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
null
null
null
cocos2dx/platform/CCFileUtils.cpp
wingver/cocos2d-x
1e7a0d18a90cc8bb859b876528677e7119b04a49
[ "Zlib", "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2010 cocos2d-x.org http://www.cocos2d-x.org 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 with...
28.925234
123
0.548088
wingver
14dccff1101fa5ec14a714131603e19e95bb6f57
3,277
cc
C++
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
1
2017-01-18T17:04:40.000Z
2017-01-18T17:04:40.000Z
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
null
null
null
libcef_dll/ctocpp/zip_reader_ctocpp.cc
desura/desura-cef1
54106e0abdbbb362b4d547af3095faeb467500d3
[ "BSD-3-Clause" ]
1
2015-07-14T02:36:29.000Z
2015-07-14T02:36:29.000Z
// Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // A portion of this file was generated by the ...
23.746377
79
0.732072
desura
14dd6e9a9e101b9f91e2d0ac0255f434f62d4dcb
3,472
cpp
C++
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
1
2020-04-21T18:47:09.000Z
2020-04-21T18:47:09.000Z
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
Source/World/Generation/Structures/TreeGenerator.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
#include "TreeGenerator.h" #include "../../Chunk/Chunk.h" #include "StructureBuilder.h" constexpr BlockId CACTUS = BlockId::Cactus; namespace { void makeCactus1 (Chunk& chunk, Random<std::minstd_rand>& rand, int x, int y, int z) { StructureBuilder builder; builder.makeColumn(x, z, y, rand.intInRange(4, 7), C...
30.191304
102
0.601094
UglySwedishFish
14df380632e44f767b2aae86c8fc5b4a9c599bd3
21,582
hpp
C++
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
wohaaitinciu/zpublic
0e4896b16e774d2f87e1fa80f1b9c5650b85c57e
[ "Unlicense" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
2
2016-01-08T19:32:57.000Z
2019-10-11T03:50:34.000Z
3rdparty/stlsoft/include/stlsoft/obsolete/conversion_veneer.hpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/obsolete/conversion_veneer.hpp * * Purpose: Raw conversion veneer class. * * Created: 30th July 2002 * Updated: 10th August 2009 * * Home: http://stlsoft.org/ * * Copyright (c) 2002-2009, Mat...
31.69163
205
0.660921
wohaaitinciu
14df72b15cb24dfe3065db9ce7c11d1c257a2752
1,677
cpp
C++
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
11
2020-06-19T15:23:36.000Z
2022-03-29T09:58:48.000Z
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
647
2020-04-07T18:40:51.000Z
2022-03-31T21:07:46.000Z
OpenCDMi/CENCParser.cpp
dautapankumardora/rdkservices
d8b60572bcb4ac549b3ab5a9cffa7fbdd0906e15
[ "BSD-2-Clause" ]
785
2020-03-18T01:47:46.000Z
2022-03-31T15:31:52.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 RDK Management * * 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 cop...
49.323529
173
0.702445
dautapankumardora
14e0fa9bf144ac034c73caec50fdca8ffac24f0e
2,089
cc
C++
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:22:38.000Z
2021-03-02T22:22:38.000Z
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
null
null
null
engine/service/definition_list.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:23:12.000Z
2021-03-02T22:23:12.000Z
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33.693548
77
0.721398
pikacuh
14e26e4628e22a4a8033745d60c59083df74d500
836
cpp
C++
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/552C. Vanya and Scales.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> #include <algorithm> using namespace std; int w, m; vector<long long> powers, all[2]; void rec(int i, long long sum, int end, int idx) { if(i == end) { all[idx].push_back(sum); return; } rec(i + 1, sum, end, idx); rec(i + 1, sum + powers[i], end, idx); rec(i + 1, sum - ...
16.076923
66
0.535885
khaled-farouk
14ed2ce9f81b056d311963aef2187f8b0c469ed3
159
cc
C++
SimG4CMS/FP420/src/FP420HitsObject.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimG4CMS/FP420/src/FP420HitsObject.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimG4CMS/FP420/src/FP420HitsObject.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "SimG4CMS/FP420/interface/FP420HitsObject.h" FP420HitsObject::FP420HitsObject(std::string n, TrackingSlaveSD::Collection& h) : _hits(h), _name(n) {}
39.75
103
0.773585
ckamtsikis
14ef66febc537f75f74c13bcd7779b5054b50de8
7,942
cpp
C++
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/test/IsLayerSupportedTest.cpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include <boost/test/unit_test.hpp> #include "test/TensorHelpers.hpp" #include "LayerTests.hpp" #include "backends/CpuTensorHandle.hpp" #include "backends/RefWorkloadFactory.hpp" #include <st...
33.091667
105
0.801939
KevinRodrigues05
14f0a9f5fd1f54e4453bd514527bfdb524220753
5,466
cpp
C++
qt-creator-opensource-src-4.6.1/src/shared/qbs/src/lib/corelib/generators/generatordata.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
Src/shared/qbs/src/lib/corelib/generators/generatordata.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
null
null
null
Src/shared/qbs/src/lib/corelib/generators/generatordata.cpp
kevinlq/QSD
b618fc63dc3aa5a18701c5b23e3ea3cdd253e89a
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this fil...
35.038462
98
0.677644
kevinlq
14f342ae30c8f9eeecb5589c60e4246f99a48a5f
3,772
hpp
C++
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
4
2022-01-05T14:40:40.000Z
2022-03-05T08:03:19.000Z
lib/geometry/kdtree.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
#include "template/template.hpp" /* * reference : * https://tjkendev.github.io/procon-library/cpp/range_query/kd-tree.html * verify : * https://onlinejudge.u-aizu.ac.jp/problems/DSL_2_C 21/03/29 * https://atcoder.jp/contests/arc010/tasks/arc010_4 21/03/30 */ struct kdtree { struct Point { ...
34.290909
94
0.423383
kuhaku-space
14f3bc9e292df48bb32a96d981acff7f45cdee51
3,063
cpp
C++
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/pwdemos/src/AbstractTexQuartzRenderer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * AbstractTexQuartzRenderer.cpp * * Copyright (C) 2018 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "AbstractTexQuartzRenderer.h" #include "vislib/graphics/gl/IncludeAllGL.h" #include <vector> namespace megamol { namespace demos { /* * AbstractTexQuartzRenderer...
30.326733
106
0.624551
azuki-monster
14f50ed613594b1a2ea093e72960aba62108f45c
1,049
cc
C++
util/crypto_util/mac.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
util/crypto_util/mac.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
util/crypto_util/mac.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
27.605263
75
0.731173
reMarkable
14f689dd9f23ac8156584dcddb473a9d0edd1df0
220
hh
C++
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
include/model/usermodel.hh
MUCZ/meowings
5c691f0a2fb606dad2ddda44f946a94ff8ba3212
[ "Apache-2.0" ]
null
null
null
#ifndef USERMODEL #define USERMODEL #include "user.hh" class UserModel{ public: bool insert(User &user); User query(int id); bool updateState(User user); void resetState(); }; #endif /* USERMODEL */
12.941176
32
0.663636
MUCZ
14ff9bff8bce2f9903a8b29a82d16116d03dae0c
580
cpp
C++
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
1
2018-09-15T20:35:23.000Z
2018-09-15T20:35:23.000Z
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
Challenge18/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
#include <iostream> #include "GetType.h" int main() { const int i = 0; //Output: std::cout << getType(i) << '\n'; //int const unsigned int ui = 0; std::cout << getType(ui) << '\n'; //unsigned int const char c = 0; std::cout << getType(c) << '\n'; //char const bool b = false; std::...
23.2
95
0.527586
GamesTrap
090221e48f082706e2d7383b62d0adb119fdb096
21,652
cpp
C++
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
8
2015-03-16T18:16:35.000Z
2020-10-30T06:35:31.000Z
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
null
null
null
Benchmarks/Applications/ObjectRecognition/FeatureExtractionAndClassification.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
3
2016-03-17T08:27:13.000Z
2020-10-30T06:46:50.000Z
/* * Copyright (c) 2006-2009 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
29.024129
338
0.787225
jlclemon
0904adf7cbbba585ae156ead415d792a96316750
4,027
cpp
C++
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
24
2016-07-04T07:17:24.000Z
2021-12-03T18:58:52.000Z
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
2
2018-01-27T11:11:26.000Z
2018-03-19T11:59:01.000Z
Source/MainComponent.cpp
modosc/ffGuiAttachments
7351d1944e5bcba9a7089c61bca333851ce3bc09
[ "BSD-3-Clause" ]
7
2017-01-04T16:35:57.000Z
2021-10-03T03:40:23.000Z
/* ============================================================================== This file was auto-generated! ============================================================================== */ #include "../JuceLibraryCode/JuceHeader.h" #include "ff_gui_attachments/ff_gui_attachments.h" #include "MainCompone...
31.460938
97
0.636951
modosc
090895fbdd28dc01720017737b6a3197d303774a
1,953
cpp
C++
src/rlScheduler/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
1
2019-12-24T19:07:19.000Z
2019-12-24T19:07:19.000Z
src/rlScheduler/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
src/rlScheduler/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2017 Jacques Florence * All rights reserved. * See License.txt file * */ #include "configuration.h" #include "rlDiscipline.h" #include "maxTempEstimator/envelopeDetector.h" #include "maxTempEstimator/exponentialMaxTempEstimator.h" #include "maxTempEstimator/squareMaxTempEstimator.h" #include "m...
23.53012
111
0.740911
Jacques-Florence
0908e52a400c8c065bc1b489e94b58c6bfe7c914
710
cpp
C++
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
models/processor/zesto/ZCOMPS-bpred/bpred-taken.cpp
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
/* bpred-taken.cpp: Static always taken predictor */ /* * __COPYRIGHT__ GT */ #define COMPONENT_NAME "taken" #ifdef BPRED_PARSE_ARGS if(!strcasecmp(COMPONENT_NAME,type)) { return new bpred_taken_t(); } #else class bpred_taken_t:public bpred_dir_t { public: /* CREATE */ bpred_taken_t() { init(); ...
15.106383
52
0.638028
Basseuph
090967581ab0c547e19fd46ac86d5fbc69c175be
3,110
hpp
C++
routing/world_graph.hpp
xblonde/omim
d940a4761786c994884d2488a469635a4ac76d28
[ "Apache-2.0" ]
1
2021-01-19T08:31:19.000Z
2021-01-19T08:31:19.000Z
routing/world_graph.hpp
frankiewb/omim
0d9302e7b1be470735655337f0183ad04c55b6ad
[ "Apache-2.0" ]
null
null
null
routing/world_graph.hpp
frankiewb/omim
0d9302e7b1be470735655337f0183ad04c55b6ad
[ "Apache-2.0" ]
null
null
null
#pragma once #include "routing/cross_mwm_graph.hpp" #include "routing/edge_estimator.hpp" #include "routing/geometry.hpp" #include "routing/index_graph.hpp" #include "routing/index_graph_loader.hpp" #include "routing/segment.hpp" #include <memory> #include <unordered_map> #include <utility> #include <vector> namespa...
36.162791
102
0.725402
xblonde
0909b53f5f3ba3f09d2bdc9945e45e6c7cb87f75
1,325
cc
C++
src/contest/misc/ZOJ_2860_Breaking_Strings.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
83
2017-08-30T01:20:03.000Z
2022-02-12T13:50:27.000Z
src/contest/misc/ZOJ_2860_Breaking_Strings.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
1
2015-08-20T13:37:59.000Z
2015-08-26T00:56:39.000Z
src/contest/misc/ZOJ_2860_Breaking_Strings.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
41
2017-11-09T06:10:08.000Z
2022-01-11T14:10:25.000Z
#include <bits/stdc++.h> #define mp make_pair #define pb push_back #define INF 1 << 30 #define MOD 1000000007 #define rint(x) scanf("%d", &(x)) #define rlong(x) scanf("%lld", &(x)) #define SIZE 1005 #define l(x) x << 1 #define r(x) x << 1 | 1 #define m(x, y) (x + y) / 2 using namespace std; typedef long long ll; typ...
23.660714
94
0.453585
anshika581
0909e18cd34a9a51ec677dd6746c0a2232c25038
145
hpp
C++
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
options/internal/include/mlibc/thread.hpp
vinix-os/mlibc
4cff8ea22e4dcd25bcce90d00ac5b93a6c51d9d8
[ "MIT" ]
null
null
null
#pragma once #include <mlibc/tcb.hpp> #include <stdint.h> namespace mlibc { Tcb *get_current_tcb(); uintptr_t get_sp(); } // namespace mlibc
12.083333
24
0.710345
vinix-os
0909ffb20f77ce06f1a6e30ed5c60373befc0468
1,845
hpp
C++
src/libs/dotparser/Expression.hpp
AirbusCyber/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
171
2017-11-09T00:37:58.000Z
2021-10-20T08:58:44.000Z
src/libs/dotparser/Expression.hpp
QuoSecGmbH/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
2
2018-01-09T12:13:39.000Z
2019-03-11T09:58:36.000Z
src/libs/dotparser/Expression.hpp
AirbusCyber/grap
dbb037c4e37926e182d0489295b7d901bd0c7c3b
[ "MIT" ]
18
2017-11-09T01:17:23.000Z
2020-04-23T07:02:32.000Z
/* * Expression.h * Definition of the structure used to build the syntax tree. */ #ifndef __EXPRESSION_H__ #define __EXPRESSION_H__ #include "graph.hpp" #include "graphIO.hpp" #include "node_info.hpp" #include <stddef.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <iostream> typedef struc...
19.21875
69
0.737127
AirbusCyber
090dcddd5f26674efa0d9183b86319b3f794d507
134,724
cpp
C++
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
1
2022-03-29T23:17:59.000Z
2022-03-29T23:17:59.000Z
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
null
null
null
boards/ip/hls/x-order_filter/solution1/syn/systemc/x_order_fir.cpp
xupsh/pynq_x_filter
af6dc348b34ede1c071d96a53e44f51fbb2a961c
[ "BSD-3-Clause" ]
null
null
null
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC // Version: 2018.3 // Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved. // // =========================================================== #include "x_order_fir.h"...
46.94216
519
0.69364
xupsh
090e06e8b0eaf77d05e52509ce378d68547f6c49
10,990
cpp
C++
src/cost/configuration_space_cost.cpp
z8674558/idocp
946524db7ae4591b578be2409ca619961572e7be
[ "BSD-3-Clause" ]
43
2020-10-13T03:43:45.000Z
2021-09-23T05:29:48.000Z
src/cost/configuration_space_cost.cpp
z8674558/idocp
946524db7ae4591b578be2409ca619961572e7be
[ "BSD-3-Clause" ]
32
2020-10-21T09:40:16.000Z
2021-10-24T00:00:04.000Z
src/cost/configuration_space_cost.cpp
z8674558/idocp
946524db7ae4591b578be2409ca619961572e7be
[ "BSD-3-Clause" ]
4
2020-10-08T05:47:16.000Z
2021-10-15T12:15:26.000Z
#include "idocp/cost/configuration_space_cost.hpp" #include <iostream> #include <stdexcept> namespace idocp { ConfigurationSpaceCost::ConfigurationSpaceCost(const Robot& robot) : CostFunctionComponentBase(), dimq_(robot.dimq()), dimv_(robot.dimv()), dimu_(robot.dimu()), q_ref_(Eigen::VectorXd::Zer...
29.385027
84
0.643676
z8674558
090fd6e6ba328840af358250e489abbf6db83d71
817
cpp
C++
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
4.27/PlayFabPlugin/PlayFab/Source/PlayFabCommon/Private/PlayFabCommonSettings.cpp
parnic-sks/UnrealMarketplacePlugin
87a9d392de53d2031a3ceafbc79ab86d86ca3a33
[ "Apache-2.0" ]
null
null
null
////////////////////////////////////////////////////// // Copyright (C) Microsoft. 2018. All rights reserved. ////////////////////////////////////////////////////// #include "PlayFabCommonSettings.h" namespace PlayFabCommon { const FString PlayFabCommonSettings::sdkVersion = "1.70.211209"; const FString Play...
37.136364
112
0.69645
parnic-sks
09102ed991acec6383ecdecda5e7412b631308c3
38,522
hxx
C++
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
include/opengm/functions/constraint_functions/label_order_function.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#ifndef OPENGM_LABEL_ORDER_FUNCTION_HXX_ #define OPENGM_LABEL_ORDER_FUNCTION_HXX_ #include <algorithm> #include <vector> #include <cmath> #include <opengm/opengm.hxx> #include <opengm/functions/function_registration.hxx> #include <opengm/utilities/subsequence_iterator.hxx> #include <opengm/functions/constraint_funct...
48.885787
361
0.741005
jasjuang
091037d464c88f3b2609bbc9a494b4f1ac29dd5d
4,219
cpp
C++
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
null
null
null
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
null
null
null
src/RayTracerLib/shapes/Box.cpp
CantTouchDis/ElTrazadoDeRayos
8975f76bcf990b94364e595b3b9f0b4128f6c56e
[ "MIT", "BSL-1.0", "MIT-0", "BSD-3-Clause" ]
1
2021-05-05T08:37:05.000Z
2021-05-05T08:37:05.000Z
/* The MIT License (MIT) Copyright (c) 2014 CantTouchDis <bauschp@informatik.uni-freiburg.de> Copyright (c) 2014 brio1009 <christoph1009@gmail.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...
33.220472
80
0.670301
CantTouchDis
09155d5072ad449f01b8bb4097ab3d71f88d27bf
2,165
hpp
C++
Code/GraphicsCore/Pipeline.hpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
null
null
null
Code/GraphicsCore/Pipeline.hpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
1
2021-10-30T11:19:53.000Z
2021-10-30T11:19:54.000Z
Code/GraphicsCore/Pipeline.hpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Dhiraj Wishal // SPDX-License-Identifier: Apache-2.0 #pragma once #include "DeviceBoundObject.hpp" namespace Flint { class RenderTarget; class ResourcePackager; class ResourcePackage; /** * Flint pipeline object. * This object is used to store information about a rendering or compute pipel...
28.486842
166
0.705312
DhirajWishal
09175a1772e49e91cbe95ac21f6acd5fc93d53db
6,153
hpp
C++
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
1
2020-04-07T07:23:34.000Z
2020-04-07T07:23:34.000Z
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/math/multiprecision.hpp
yDMhaven/pinocchio
fabed17d5ad0dc1c8d251c64cfa656a0215469a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright (c) 2020 INRIA // #ifndef __pinocchio_math_mutliprecision_hpp__ #define __pinocchio_math_mutliprecision_hpp__ #include "pinocchio/math/fwd.hpp" #include <boost/multiprecision/number.hpp> #include <Eigen/Dense> namespace Eigen { namespace internal { template <class Backend, boost::multiprecis...
41.295302
278
0.671705
yDMhaven
091bdd16b600da8268d9fca5284b072e5e926705
1,803
hpp
C++
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
null
null
null
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
null
null
null
include/variadic/detail/numerate.hpp
AnatoliyProjects/variadic
f34a973e527218e3ba0f8146ccbf478d351f6cb2
[ "BSL-1.0" ]
2
2020-05-31T11:50:35.000Z
2020-06-07T18:38:12.000Z
// Copyright 2020 Anatoliy Petrov // (apetrov.projects@gmail.com) // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #ifndef VARIADIC_DETAIL_NUMERATE_HPP #define VARIADIC_DETAIL_NUMERATE_HPP /* variadic */ #i...
29.557377
77
0.707709
AnatoliyProjects
091c0069064b6f7c73f3dd9088f2728cbd3aefbc
5,478
cpp
C++
src/utils/xrLC_Light/Lightmap.cpp
acidicMercury8/xray-1.5
ae094d82b76a8ce916e196654c163894bbf00146
[ "Linux-OpenIB" ]
5
2021-10-30T09:36:07.000Z
2021-12-30T08:14:32.000Z
src/utils/xrLC_Light/Lightmap.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
null
null
null
src/utils/xrLC_Light/Lightmap.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
2
2020-08-04T17:23:16.000Z
2020-10-16T16:53:38.000Z
// Lightmap.cpp: implementation of the CLightmap class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" //#include "build.h" #include "Lightmap.h" #include "xrDeflector.h" #include "xrDXTC.h" #include "xrImage_Filter.h" #include "xrface.h" #include "serialize.h"...
26.721951
165
0.53797
acidicMercury8
091f18e0ba1f8dbb57b3151dcacdd3982b303e3b
11,739
cpp
C++
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
1
2022-02-17T21:18:24.000Z
2022-02-17T21:18:24.000Z
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
null
null
null
util/test/demos/d3d11/d3d11_amd_shader_extensions.cpp
orsonbraines/renderdoc
ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2022 Baldur Karlsson * * 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...
30.973615
113
0.653037
orsonbraines
091f417e8628b6a0ce95fef5ed62303fb56b3e5d
895
cpp
C++
C-Plus-Plus/cp/remove_spaces_from_a_string.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
897
2020-06-25T00:12:52.000Z
2022-03-24T00:49:31.000Z
C-Plus-Plus/cp/remove_spaces_from_a_string.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
5,707
2020-06-24T17:53:28.000Z
2022-01-22T05:03:15.000Z
C-Plus-Plus/cp/remove_spaces_from_a_string.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
1,817
2020-06-25T03:51:05.000Z
2022-03-29T05:14:07.000Z
/* Given a string , remove spaces from it and then return new string. We can solve it By using getline function in C++ and then get a new string. */ #include <bits/stdc++.h> using namespace std; string new_string(string s) { stringstream s2(s); string tem; // Making the string empty s = ""...
21.309524
143
0.611173
zhcet19
091f4406216dd8f9ec0b6f5bd1801b12107496b4
316
cpp
C++
skia/src/core/SkQuadTreePicture.cpp
bonescreater/bones
618ced87a9a2061b0a7879be32b2fea263880f1b
[ "MIT" ]
16
2015-09-02T17:47:53.000Z
2022-03-01T19:12:53.000Z
src/core/SkQuadTreePicture.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
null
null
null
src/core/SkQuadTreePicture.cpp
rgraebert/skia
33a4b46e9f24be6268855478b5c895f883fb4ac5
[ "BSD-3-Clause" ]
6
2015-11-11T13:22:59.000Z
2022-03-01T19:13:02.000Z
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkQuadTreePicture.h" #include "SkQuadTree.h" SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { return SkNEW_ARGS(SkQuadTree, (fBounds)); }
21.066667
73
0.731013
bonescreater
092021ae9945b23983b43648047e7c9260a918b2
1,531
cpp
C++
src/logic/syntax/ELSentence.cpp
JunLi-Galios/repel
e4e7f4ffc95f8d65dd478861080c9c77bab9b797
[ "MIT" ]
null
null
null
src/logic/syntax/ELSentence.cpp
JunLi-Galios/repel
e4e7f4ffc95f8d65dd478861080c9c77bab9b797
[ "MIT" ]
null
null
null
src/logic/syntax/ELSentence.cpp
JunLi-Galios/repel
e4e7f4ffc95f8d65dd478861080c9c77bab9b797
[ "MIT" ]
null
null
null
/* * ELSentence.cpp * * Created on: Dec 19, 2011 * Author: joe */ #include "ELSentence.h" #include "../Domain.h" bool operator==(const ELSentence& a, const ELSentence& b) { if (*a.s_ != *b.s_) return false; if (a.hasInfWeight_ != b.hasInfWeight_) return false; if (!a.hasInfWeight_ && a.w_ != b....
30.62
115
0.647943
JunLi-Galios
0926ecc53d84b320e1f4c0f74bdb29549382911e
16,609
cc
C++
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
project2/solution/solution2.cc
nbdhhzh/CompilerProject-2020Spring
a41a09d4116a3715414f2ffba0f832cf34692736
[ "MIT" ]
null
null
null
// this is a silly solution // just to show you how different // components of this framework work // please bring your wise to write // a 'real' solution :) #include <iostream> #include <fstream> #include <string> #include <vector> #include <sstream> #include <map> #include "json/json.h" #include "IR.h...
31.396975
158
0.582756
nbdhhzh
0926f29c7e79b4e506b54c27e4dd1b9957316334
4,676
hh
C++
include/ignition/utils/detail/ImplPtr.hh
srmainwaring/ign-utils
268d2e645563a0ed8fccd7d14088e87056917d7e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/utils/detail/ImplPtr.hh
srmainwaring/ign-utils
268d2e645563a0ed8fccd7d14088e87056917d7e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/utils/detail/ImplPtr.hh
srmainwaring/ign-utils
268d2e645563a0ed8fccd7d14088e87056917d7e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.763158
75
0.531865
srmainwaring
092734362d089f28b986ea8a7a86fa36e070fdf2
11,087
cpp
C++
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/SplitCFA/MergeCFAInstance.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard SplitCFA Process Module Version 1.0.6 // ---------------------------...
35.308917
128
0.56697
fmeschia
092b110851dc5cd23d9ed75fc2c018a176cf66eb
7,744
hpp
C++
svntrunk/src/BlueMatter/util/include/xyz2ziterator.hpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/BlueMatter/util/include/xyz2ziterator.hpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/BlueMatter/util/include/xyz2ziterator.hpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the * following d...
29.899614
118
0.664773
Bhaskers-Blu-Org1
092cc8fb137d57a9aa8a1af54cbe1913ebfef4c7
772
cpp
C++
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/1433/D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include<bits/stdc++.h> using namespace std; int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while (t--) { int n; cin >> n; vector<pair<int, int>> a; for (int i = 1; i <= n; i++) { int k; cin >> k; a.push_back({k, i}); } sort(a.begin(), a.end()); ...
22.705882
64
0.392487
Tech-Intellegent
092d511caf89f0dfdfe395abed1f9bfbe9c430a1
9,954
cpp
C++
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Entity.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
#include <memory> #include <optional> #include <utility> #include "Entities/Entity.hpp" #include "Scripting/ScriptEngine.hpp" #include "Audio/SoundTrigger.hpp" #include "Engine/Camera.hpp" #include "Engine/Trigger.hpp" #include "Actor/_TalkingState.hpp" namespace ng { struct Entity::Impl { Engine &_engine; std::ma...
29.713433
104
0.703335
Mac1512
092ddcb732ca5a2361c9dd48e6a35c5f50853686
350
hpp
C++
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
PolyEngineTeam/PolyDock
27a105b2cc80db4286e03a2a1e5bee64438d37c8
[ "MIT" ]
3
2020-05-16T16:33:51.000Z
2021-08-05T18:48:13.000Z
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
30
2020-03-25T17:22:51.000Z
2020-08-17T00:33:04.000Z
PolyDock/PolyDock/src/pd/ecs/cmp/tabbedWindow/Closing.hpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
5
2020-03-26T17:12:34.000Z
2021-03-05T08:08:39.000Z
#pragma once namespace pd::ecs::cmp::tabbedWindow { // --------------------------------------------------------------------------------------------------------- class CloseRequest { public: }; // --------------------------------------------------------------------------------------------------------- class R...
20.588235
109
0.245714
PolyEngineTeam
09310aca8e08455b103a30295e0d982738ab13ed
2,871
cpp
C++
src/packet.cpp
fossabot/caracal
2707faec995b6cf87baae1554d8f29fa47c86aa6
[ "MIT" ]
null
null
null
src/packet.cpp
fossabot/caracal
2707faec995b6cf87baae1554d8f29fa47c86aa6
[ "MIT" ]
null
null
null
src/packet.cpp
fossabot/caracal
2707faec995b6cf87baae1554d8f29fa47c86aa6
[ "MIT" ]
null
null
null
#include <net/ethernet.h> #include <netinet/ip.h> #include <netinet/ip6.h> #include <netinet/udp.h> #include <caracal/constants.hpp> #include <caracal/packet.hpp> #include <span> #include <stdexcept> namespace caracal { Packet::Packet(const std::span<std::byte> buffer, const uint8_t l2_protocol, const...
24.538462
76
0.680599
fossabot
09341207e208e5874f8eb2ea1c598eb265e9033e
864
cpp
C++
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
307. Range Sum Query - Mutable/main.cpp
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
class NumArray { private: const int N = 1e5; int n; vector<int> t = vector<int>(2*N); public: void build(){ for(int i=n-1;i>0;i--) t[i] = t[i<<1] +t[i<<1 | 1]; } NumArray(vector<int> nums) { n=nums.size(); for(int i=0; i<n; i++) t[n+i]=nums...
20.571429
66
0.431713
Competitive-Programmers-Community
09397e65e69a15cd883f4dbf77802cee6d966d6a
1,372
cpp
C++
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/base_controller/src/Imu.cpp
AntoBrandi/Dextro-Bot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
3
2021-07-02T15:40:32.000Z
2022-01-09T15:09:51.000Z
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/simplified_controller/src/Imu.cpp
AntoBrandi/DextroBot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
null
null
null
ROS/dextrobot_ws/src/dextrobot_controller/src/arduino/simplified_controller/src/Imu.cpp
AntoBrandi/DextroBot
533f873485b1c8d816c6ed368b63c03e476102b9
[ "MIT", "Unlicense" ]
1
2021-05-22T09:14:18.000Z
2021-05-22T09:14:18.000Z
#include <Imu.h> Imu::Imu(/* args */) { } Imu::~Imu() { } // convert RPY degrees angles to Radians float Imu::toRadians(float degree){ return degree*PI/180; } // reads the value coming from the IMU sensor and update the class parameters void Imu::sense(){ Vector normAccel = mpu.readNormalizeAccel(); ...
27.44
165
0.605685
AntoBrandi
093a589217357fd94267135d51c8dfe8c0db74a2
9,098
cpp
C++
Backend/VitisAI-MicroApps/vitis_ai_image_lane_detect.cpp
bluetiger9/VCK5000-AIaaS
5857fbc43db01c7665e8534278a8be3337136768
[ "Apache-2.0" ]
null
null
null
Backend/VitisAI-MicroApps/vitis_ai_image_lane_detect.cpp
bluetiger9/VCK5000-AIaaS
5857fbc43db01c7665e8534278a8be3337136768
[ "Apache-2.0" ]
null
null
null
Backend/VitisAI-MicroApps/vitis_ai_image_lane_detect.cpp
bluetiger9/VCK5000-AIaaS
5857fbc43db01c7665e8534278a8be3337136768
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2022 Attila Tőkés. * * Licensed under the Apache License, Version 2.0 (the "License"). */ #include <cstddef> #include <glog/logging.h> #include <iostream> #include <ostream> #include <memory> #include <cmath> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/imgcodecs.hp...
94.770833
2,415
0.473511
bluetiger9
093a5c8529da37820921fdc210541b64d309227e
25,284
cpp
C++
mcts-xboard/eleeye/preeval.cpp
milkpku/BetaElephant
0db6140d328355ac0a3c7f9f667ca760f5096711
[ "MIT" ]
28
2016-05-25T11:49:24.000Z
2021-12-06T15:21:52.000Z
mcts-xboard/eleeye/preeval.cpp
milkpku/BetaElephant
0db6140d328355ac0a3c7f9f667ca760f5096711
[ "MIT" ]
3
2016-09-21T11:55:45.000Z
2021-11-27T16:20:04.000Z
mcts-xboard/eleeye/preeval.cpp
milkpku/BetaElephant
0db6140d328355ac0a3c7f9f667ca760f5096711
[ "MIT" ]
16
2016-05-03T06:42:37.000Z
2021-06-26T17:03:15.000Z
/* preeval.h/preeval.cpp - Source Code for ElephantEye, Part X ElephantEye - a Chinese Chess Program (UCCI Engine) Designed by Morning Yellow, Version: 3.3, Last Modified: Mar. 2012 Copyright (C) 2004-2012 www.xqbase.com This library is free software; you can redistribute it and/or modify it under the terms o...
52.347826
199
0.493751
milkpku
093a9732f4dc30e95c2741783225bbf7fee37491
2,881
hpp
C++
libtbag/tiled/details/TmxPolyline.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
21
2016-04-05T06:08:41.000Z
2022-03-28T10:20:22.000Z
libtbag/tiled/details/TmxPolyline.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
null
null
null
libtbag/tiled/details/TmxPolyline.hpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
2
2019-07-16T00:37:21.000Z
2021-11-10T06:14:09.000Z
/** * @file TmxPolyline.hpp * @brief TmxPolyline class prototype. * @author zer0 * @date 2019-06-23 */ #ifndef __INCLUDE_LIBTBAG__LIBTBAG_TILED_DETAILS_TMXPOLYLINE_HPP__ #define __INCLUDE_LIBTBAG__LIBTBAG_TILED_DETAILS_TMXPOLYLINE_HPP__ // MS compatible compilers support #pragma once #if defined(_MSC_VER) &...
28.524752
80
0.696286
osom8979
093b3fca4883fb98169ba8001ff1444991746728
3,097
cpp
C++
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Mesh/boundarymeshinfo.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#include "Mesh/boundarymeshinfo.hpp" #include <cassert> #include <mpi.h> using namespace mesh; /*--------------------------------------------------------------------------*/ BoundaryMeshInfo::~BoundaryMeshInfo() {} BoundaryMeshInfo::BoundaryMeshInfo(): GeometryObject(){} BoundaryMeshInfo::BoundaryMeshInfo( const B...
40.220779
113
0.699387
beckerrh
093c76d4ad9c7d42ffe7c20552c4a98f31df2d8b
7,085
cpp
C++
Honeycomb GE/src/math/Vector3f.cpp
antverdovsky/Honeycomb-Game-Engine
0ccfcf9bc57d63e948325ac89ad0de0497206f94
[ "MIT" ]
42
2016-12-13T21:59:59.000Z
2022-03-03T07:17:18.000Z
Honeycomb GE/src/math/Vector3f.cpp
antverdovsky/Honeycomb-Game-Engine
0ccfcf9bc57d63e948325ac89ad0de0497206f94
[ "MIT" ]
6
2016-12-13T21:58:39.000Z
2021-05-08T08:38:35.000Z
Honeycomb GE/src/math/Vector3f.cpp
antverdovsky/Honeycomb-Game-Engine
0ccfcf9bc57d63e948325ac89ad0de0497206f94
[ "MIT" ]
2
2020-07-24T18:13:30.000Z
2021-03-13T15:47:42.000Z
#include "../../include/math/Vector3f.h" #include <math.h> #include "../../include/math/Quaternion.h" namespace Honeycomb { namespace Math { const Vector3f& Vector3f::getGlobalForward() { static Vector3f forward{ 0.0F, 0.0F, -1.0F }; return forward; } const Vector3f& Vector3f::getGlobalRight() { static Vec...
23.616667
74
0.655752
antverdovsky
093f08509d481524d8ae4aa5c308632a3ebf7aef
356
cpp
C++
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/525.contiguous-array.324108882.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: int findMaxLength(vector<int> &nums) { int n = nums.size(); unordered_map<int, int> dp; int c = 0; int ans = 0; dp[0] = -1; for (int i = 0; i < n; i++) { c += nums[i] ? 1 : -1; if (dp.count(c)) ans = max(ans, i - dp[c]); else dp[c]...
14.833333
40
0.438202
satu0king
0948608a7b29eaae18fdb49ef752352d112ed26c
12,232
cpp
C++
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
1
2019-03-17T06:06:19.000Z
2019-03-17T06:06:19.000Z
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
13
2019-02-21T21:27:44.000Z
2019-02-28T22:47:13.000Z
framework/private/test/bundle_archive_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
null
null
null
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
39.079872
115
0.805347
rwalraven343
094b05ca1bfdaef50c964e7dda8ac06f8ed3a7db
396
cpp
C++
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
test/what_print.cpp
xdanielsb/OperatingSystems
23bf014fae9644d4512b2337739e52adcd1087d6
[ "MIT" ]
null
null
null
#include <sys/types.h> #include <sys/wait.h> // wait #include <stdio.h> #include <unistd.h> //fork int value = 5; int main(){ pid_t pid; pid = fork(); if (pid == 0) { /* child process */ value += 15; return 0; } else if (pid > 0) { /* parent process */ wait(NULL); p...
19.8
58
0.494949
xdanielsb
094d3141328f988eef54456acd4d36168c361e9a
8,596
cpp
C++
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
null
null
null
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
null
null
null
lualib-src/fixmath/bounce/Dynamics/Contacts/b3ContactSolver.cpp
ChestnutGames/chestnut
720cf88779f480191ae16fb1ba4da4597e5797d9
[ "MIT" ]
1
2019-11-07T16:06:03.000Z
2019-11-07T16:06:03.000Z
/* * Copyright (c) 2015-2015 Irlan Robson http://www.irlans.wordpress.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any...
31.487179
124
0.668334
ChestnutGames
094d3b91bd05a021fa12aca922b78938a74076e6
1,400
cpp
C++
src/core/win32/thread.cpp
mitchdowd/native
a690e0d5957953b3a8d0f7bb5f193292fa9feb28
[ "MIT" ]
11
2016-05-26T01:36:52.000Z
2020-07-21T03:41:42.000Z
src/core/win32/thread.cpp
mitchdowd/native
a690e0d5957953b3a8d0f7bb5f193292fa9feb28
[ "MIT" ]
75
2016-05-17T04:59:08.000Z
2018-04-08T09:50:42.000Z
src/core/win32/thread.cpp
mitchdowd/native
a690e0d5957953b3a8d0f7bb5f193292fa9feb28
[ "MIT" ]
2
2017-08-11T06:23:23.000Z
2019-11-13T06:54:07.000Z
#define NO_STRICT 1 // System Dependencies #include <Windows.h> // Module Dependencies #include "../include/exception.h" #include "../include/thread.h" namespace native { static thread_local Thread* _current = nullptr; Thread::Thread(const Function<void>& func) : _handle(nullptr), _func(func), _started(false), _i...
16.091954
100
0.662143
mitchdowd
094e7d4d63b969d6c59fc9f57618a0d6dfe99bd5
10,799
cpp
C++
plugins/unifiedvideoinertialtracker/ImageSources/UVCImageSource.cpp
rpavlik/OSVR-UVBI-Tracker
d988cf2aad846f5cabbfb221c612c406d8d45e1b
[ "Apache-2.0" ]
369
2015-03-08T03:12:41.000Z
2022-02-08T22:15:39.000Z
plugins/unifiedvideoinertialtracker/ImageSources/UVCImageSource.cpp
DavidoRotho/OSVR-Core
b2fbb44e7979d9ebdf4bd8f00267cc267edbb465
[ "Apache-2.0" ]
486
2015-03-09T13:29:00.000Z
2020-10-16T00:41:26.000Z
plugins/unifiedvideoinertialtracker/ImageSources/UVCImageSource.cpp
DavidoRotho/OSVR-Core
b2fbb44e7979d9ebdf4bd8f00267cc267edbb465
[ "Apache-2.0" ]
166
2015-03-08T12:03:56.000Z
2021-12-03T13:56:21.000Z
/** @file @brief Header @date 2016 @author Sensics, Inc. <http://sensics.com> */ // Copyright 2016 Sensics, 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 //...
35.877076
105
0.587554
rpavlik
0959eded48ad3f2cf9e3c83095eff3cf19ee341f
4,582
cxx
C++
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
src/ozw/zwNode.cxx
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
null
null
null
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015-2016 Intel Corporation. * * 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 limi...
23.141414
83
0.606285
whpenner
0959f0c4e1b8fd7238398cf8b691ed44e495d065
2,953
hpp
C++
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Schema/RangePositionInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/V...
44.074627
240
0.709448
v0idp
095a7b30837fe2e296d01cf71c341c322ad91b94
4,679
cpp
C++
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
1
2020-03-18T17:00:15.000Z
2020-03-18T17:04:05.000Z
cpp/example_code/dynamodb/query_items.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 /* Purpose: query_items.cpp demonstrates how to perfrom Query operation and retrieve items from an Amazon DynamoDB table. */ //snippet-start:[dynamodb.cpp.query_items.inc] #include <aws/core/Aws.h> #includ...
36.554688
130
0.60312
brmur
095a954b9b931effd33d133383a2ae1d34574731
4,391
cpp
C++
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
90
2020-06-06T12:11:33.000Z
2022-01-04T11:30:24.000Z
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
80
2020-05-19T14:33:34.000Z
2022-03-25T08:00:54.000Z
test/datetime/main.cpp
HanixNicolas/app-mesh
8ee77a6adb1091b3a0afcbc34d271b4b9508840e
[ "MIT" ]
14
2020-07-16T11:35:47.000Z
2022-01-04T03:10:44.000Z
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "../../src/common/DateTime.h" #include "../../src/common/Utility.h" #include "../catch.hpp" #include <ace/Init_ACE.h> #include <ace/OS.h> #include <chrono> #include <fstream> #include <iostream> #include <log4cpp/A...
38.858407
141
0.669551
HanixNicolas
095a9f4ba64148dadce2bc756c03e8ab9972ae13
2,168
cpp
C++
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing-Python-Programs
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
4
2019-10-03T21:16:51.000Z
2019-10-04T01:28:08.000Z
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
for c++/data/sfatima/usetsm.cpp
aerolalit/Auto-Testing
dd49ab266c9f0fd8e34278f68f8af017711942e3
[ "MIT" ]
null
null
null
/* CH08-320143 a4_p3.cpp Syeda Alizae Fatima s.fatima@jacobs-university.de */ #include <iostream> #include <cstdlib> #include <set> #include <algorithm> using namespace std; int main(){ int n; set <int> A; multiset <int> B; multiset <int> uni; set <int> intersection; ...
22.821053
105
0.480627
aerolalit
095f1354b8a02f6f329d7736e4bb603f5ed9f2b4
710
cpp
C++
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
p14889.cpp
sjnov11/Baekjoon-Online-Judge
a95df8a62e181d86a97d0e8969d139a3dae2be74
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> using namespace std; int N; int S[21][21]; int A[21]; int answer = 99999999; void go(int idx, int cnt) { if (cnt == N / 2) { int A_score = 0; int B_score = 0; for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { if (A[i] == 1 && A[j] == 1...
16.904762
51
0.473239
sjnov11
095feab036982b34e11aea96d4377a8f1939e700
967
cpp
C++
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/2464.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int n, m, mp[502][502], a[4]={0,1,0,-1}, sx, sy, ex, ey, ans[505][505]; char c[505]; struct node{ int x, y, time; }; queue<node> q; void dfs(){ node s; while(!q.empty()){ s = q.front();q.pop(); if(ans[s.x][s.y] <= s.time) continue; ans[s.x][s.y...
23.02381
71
0.4788
swwind
8231328deb968f632cee6436163ddb145cf4a364
1,093
cpp
C++
libvast/test/index/enumeration_index.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
1
2021-05-14T02:03:17.000Z
2021-05-14T02:03:17.000Z
libvast/test/index/enumeration_index.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
libvast/test/index/enumeration_index.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2020 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #define SUITE value_index #include "vast/index/enumerat...
30.361111
77
0.673376
lava
823750c6409705dec4d157c552c86bf6c118d0b3
1,012
cpp
C++
src/caches/lhd/lhd_variants.cpp
xiaohu4313888/lrb
fb03d938f405abc0aa14ac6171c9e57b43e19072
[ "BSD-2-Clause" ]
56
2020-02-13T23:22:55.000Z
2022-01-30T20:46:14.000Z
src/caches/lhd/lhd_variants.cpp
xiaohu4313888/lrb
fb03d938f405abc0aa14ac6171c9e57b43e19072
[ "BSD-2-Clause" ]
10
2020-04-26T00:55:48.000Z
2021-07-30T15:56:20.000Z
src/caches/lhd/lhd_variants.cpp
xiaohu4313888/lrb
fb03d938f405abc0aa14ac6171c9e57b43e19072
[ "BSD-2-Clause" ]
20
2020-04-16T22:15:56.000Z
2021-12-29T00:36:09.000Z
#include <unordered_map> #include <random> #include <cmath> #include <cassert> #include "lhd_variants.h" #include "cache.hpp" #include "repl.hpp" #include "parser.hpp" #include "lhd.hpp" #include "constants.hpp" /* LHD variants impl */ LHD::LHD() { lhdcache = new cache::Cache(); lhdcache->repl = new repl::...
21.083333
100
0.658103
xiaohu4313888
82375faee2505d17fdd5800bfc7c7b69f49302b5
2,309
cpp
C++
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
src/HRI.cpp
qqzz0xx/bgfx-with-imgui-example-cmake
18add8dedd11fbfe0f644f0693adfb21f5cc4606
[ "BSD-2-Clause" ]
null
null
null
#include "HRI.h" #include "bgfx/bgfx.h" #include "bx/math.h" #include <array> #include <vector> #include <memory_resource> using mat4 = std::array<float, 16>; struct HRIContext; static mat4 makeMat4(); struct HRIContext { std::vector<mat4> modelMatrixs; std::vector<mat4> viewMatrixs; std::vector<mat4> projectMa...
18.181102
109
0.689476
qqzz0xx
823fe001846cb897c6e03c1bcafbfd0174863601
8,053
cc
C++
chrome/browser/optimization_guide/android/optimization_guide_tab_url_provider_android_unittest.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/optimization_guide/android/optimization_guide_tab_url_provider_android_unittest.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
chrome/browser/optimization_guide/android/optimization_guide_tab_url_provider_android_unittest.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 2021 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/optimization_guide/android/optimization_guide_tab_url_provider_android.h" #include "chrome/browser/android/tab_android.h" #inclu...
40.878173
98
0.699615
zealoussnow
8241064a3f5a7dda0e51a9eb5b4445052ec28ea7
13,483
cpp
C++
bftclient/test/bft_client_test.cpp
definitelyNotFBI/utt
1695e3a1f81848e19b042cdc4db9cf1d263c26a9
[ "Apache-2.0" ]
340
2018-08-27T16:30:45.000Z
2022-03-28T14:31:44.000Z
bftclient/test/bft_client_test.cpp
definitelyNotFBI/utt
1695e3a1f81848e19b042cdc4db9cf1d263c26a9
[ "Apache-2.0" ]
706
2018-09-02T17:50:32.000Z
2022-03-31T13:03:15.000Z
bftclient/test/bft_client_test.cpp
glevkovich/concord-bft
a1b7b57472f5375230428d16c613a760b33233fa
[ "Apache-2.0" ]
153
2018-08-29T05:37:25.000Z
2022-03-23T14:08:45.000Z
// Concord // // Copyright (c) 2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the 'License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyright // ...
33.046569
119
0.701921
definitelyNotFBI
8241cba0d258a27076a85a09fb31795eaae60bd6
3,995
hpp
C++
tlx/thread_barrier_spin.hpp
mullovc/tlx
e7c17b5981cbd7912b689fa0ad993e18424e26fe
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tlx/thread_barrier_spin.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tlx/thread_barrier_spin.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/thread_barrier_spin.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2015-2019 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ******************...
34.145299
80
0.609262
mullovc
824371cda611fe93cf77a99f7ec01745a6c3883b
1,982
cpp
C++
Engine/Source/Runtime/XmlParser/Private/XmlNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/XmlParser/Private/XmlNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/XmlParser/Private/XmlNode.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "XmlNode.h" const FString& FXmlAttribute::GetTag() const { return Tag; } const FString& FXmlAttribute::GetValue() const { return Value; } void FXmlNode::Delete() { const int32 ChildCount = Children.Num(); for(int32 ChildIndex = 0; ChildIndex...
18.018182
87
0.706862
windystrife
82450868873c8ef8d2b6bbbe2e481dc5b7857c12
1,530
hxx
C++
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
7
2015-04-29T20:38:59.000Z
2021-06-02T11:47:37.000Z
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
null
null
null
include/jsservice.hxx
ostosh/jsbinder
fa75fe5ff31501ca1513a8a77e851c437978e26d
[ "BSD-3-Clause" ]
2
2016-02-02T07:13:45.000Z
2020-10-18T21:39:15.000Z
/* * Copyright (C) 2015,2017 Opersys 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 ...
25.5
75
0.690196
ostosh
824807aa61de45279699d54000a67066639c10e8
1,404
cpp
C++
test/example/custom_identifier.cpp
lambdaxymox/entt
0b3e3fd19adbb8b56b92908493559a7eda7ce644
[ "MIT" ]
null
null
null
test/example/custom_identifier.cpp
lambdaxymox/entt
0b3e3fd19adbb8b56b92908493559a7eda7ce644
[ "MIT" ]
null
null
null
test/example/custom_identifier.cpp
lambdaxymox/entt
0b3e3fd19adbb8b56b92908493559a7eda7ce644
[ "MIT" ]
null
null
null
#include <type_traits> #include <gtest/gtest.h> #include <entt/entity/entity.hpp> #include <entt/entity/registry.hpp> struct entity_id { using entity_type = typename entt::entt_traits<entt::entity>::entity_type; static constexpr auto null = entt::null; constexpr entity_id(entity_type value = null) ...
23.79661
78
0.680199
lambdaxymox
824afca41ba01026ae5a840d80d20113822a46ed
300
cpp
C++
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
2
2021-03-19T17:42:04.000Z
2021-03-19T18:10:42.000Z
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
19
2016-01-10T23:01:30.000Z
2020-03-05T10:54:06.000Z
deep_ptr_test.cpp
jbcoe/deep_ptr
ba76ed1d64dc47edd23020441c165a579734c638
[ "MIT" ]
2
2020-02-28T23:42:41.000Z
2021-03-19T17:42:05.000Z
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include "deep_ptr.h" using namespace jbcoe; TEST_CASE("Ensure that deep_ptr default construction produces a default initialised deep_ptr", "[deep_ptr.constructor]") { deep_ptr<int> instance; REQUIRE(instance.operator->() == nullptr); }
27.272727
120
0.76
jbcoe
82502b5efb095f696d705a99b0e69570d2a5f736
5,604
cpp
C++
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Commands/AutoSlalom.cpp
1828Boxerbots/AllRobotsInOneCode
95814c320517ff3cc53cade380c25bca4a3b1914
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "Commands/AutoSlalom.h" AutoSlalom::AutoSlalom(DriveTrainSubsystemBase *pDrive) { // Use Requires() here to ...
19.257732
106
0.601713
1828Boxerbots
82514f2c72fa441a8101d2c52b132f4a07918596
6,737
cpp
C++
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/GameBase/src/PhysicsSystem.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
#include "stdafx.h" #include "PhysicsSystem.h" #include "EntityManager.hxx" #include "PhysicsComponent.h" #include "TransformComponent.h" #include "physics.hxx" #include "EventManager.hxx" #include "EntityInitializedEventData.h" #include "EntityScaledEventData.h" #include "BaseEntity.hxx" using namespace GameBase; usi...
32.545894
153
0.669586
AnkurSheel
825528b594bc12591413bcd8e9dc92c68f6b3c3d
3,742
cc
C++
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
479
2018-06-21T18:28:52.000Z
2022-03-12T07:55:56.000Z
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
11
2018-06-22T06:01:47.000Z
2018-10-01T11:56:24.000Z
cpp/src/precompiled/epoch_time_point_test.cc
ZMZ91/gandiva
6f11d4ef79b38074151e3107d46477f45ed21d11
[ "Apache-2.0" ]
65
2018-06-22T06:05:30.000Z
2022-02-08T22:39:13.000Z
// Copyright (C) 2017-2018 Dremio 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.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
38.183673
86
0.70604
ZMZ91
82567b36f40b6c056828f7aaa27de5c3a6d187a0
514
cpp
C++
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
Cpp_Q03.cpp
Samad-Cyber01/CPP_Practical_Project
4f5107b343e2b144e59f90a0bd859d53c65a9b17
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> using namespace std; int main(int argc, char *argv[]) { string s = ""; for (int i = 1; i < argc; i++) { s += argv[i]; } cout << s << endl; int freq[26] = {0}; // because we have 26 alphabets. for (int i =...
17.724138
58
0.414397
Samad-Cyber01
8257da4d1c96b8d8cd36cb5c1d094df49cab0ce8
1,437
hpp
C++
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
13
2019-02-26T20:14:32.000Z
2022-01-12T23:54:00.000Z
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
null
null
null
libtest/src/test_ntcsensor.hpp
rvt/bbq-controller
6ff1591b238e180dc0431a5829a9f0f6eaa7c08d
[ "MIT" ]
2
2021-09-21T22:44:06.000Z
2022-03-11T01:08:50.000Z
#include <catch2/catch.hpp> #include "arduinostubs.hpp" #include <memory> #include <NTCSensor.h> #include <array> TEST_CASE("Should Calculate steinHartValues", "[ntcsensor]") { float r, r1, r2, r3, t1, t2, t3, ka, kb, kc; r = 10000; r1 = 25415; t1 = 5; r2 = 10021; t2 = 25; r3 = 6545; ...
27.634615
73
0.583159
rvt
8258d9ba9e21abb2b458d06808ab37cfa85e032b
1,250
cpp
C++
class_kitap.cpp
fuatbakkal/Cplusplus_Examples
5615a6dfe0386df68cb311ccb7c4ff1206c37c27
[ "Unlicense" ]
null
null
null
class_kitap.cpp
fuatbakkal/Cplusplus_Examples
5615a6dfe0386df68cb311ccb7c4ff1206c37c27
[ "Unlicense" ]
null
null
null
class_kitap.cpp
fuatbakkal/Cplusplus_Examples
5615a6dfe0386df68cb311ccb7c4ff1206c37c27
[ "Unlicense" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; class kitap { private: char kitap_adi[50], yazar_adi[30]; static int nesne_sayisi; int sayfa_sayisi, basim_yili, stok_no=nesne_sayisi; public: kitap(); virtual ~kitap(); kitap(char ka[50], char ya[30], int ss, int by, int ...
19.84127
75
0.6016
fuatbakkal
825a36a5130925c6036ee9326fbe0dfe7cfd4f10
823
hpp
C++
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/None.hpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <ostream> # include <o...
21.657895
102
0.594168
tas9n
825aa08ac6b51c0e0febce909c6767b5f24509b5
967
cc
C++
tests/t_protocol.cc
yahoo/UDPing
9186b9884459b9f93bbb47e2b2d74aa868a895b5
[ "Apache-2.0" ]
54
2017-05-31T04:16:54.000Z
2022-02-05T11:55:36.000Z
tests/t_protocol.cc
yahoo/UDPing
9186b9884459b9f93bbb47e2b2d74aa868a895b5
[ "Apache-2.0" ]
5
2017-06-15T13:01:43.000Z
2021-04-22T15:33:05.000Z
tests/t_protocol.cc
yahoo/UDPing
9186b9884459b9f93bbb47e2b2d74aa868a895b5
[ "Apache-2.0" ]
12
2017-06-13T04:15:12.000Z
2022-03-04T10:09:10.000Z
#include <cppunit/extensions/HelperMacros.h> #include "protocol.h" #include <string.h> #include <stdio.h> #include "maclist.h" class ProtocolTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( ProtocolTest ); CPPUNIT_TEST( testProtocol ); CPPUNIT_TEST_SUITE_END(); public: void setUp () {};...
30.21875
100
0.673216
yahoo
825aa0b3e26d8f6c30a8aa0b33723c3481a559e3
375
cpp
C++
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
source/node/Divide.cpp
xzrunner/sop
80f84765548fde33d990663d4a4b8054bb6714d1
[ "MIT" ]
null
null
null
#include "sop/node/Divide.h" #include "sop/GeometryImpl.h" #include "sop/NodeHelper.h" namespace sop { namespace node { void Divide::Execute(const ur::Device& dev, Evaluator& eval) { m_geo_impl.reset(); auto prev_geo = NodeHelper::GetInputGeo(*this, 0); if (!prev_geo) { return; } m_geo_i...
16.304348
60
0.664
xzrunner
825e6b1444eb8a73f45e7c79dd3e7504efa1198a
50,952
cpp
C++
VirtualBox-5.0.0/src/bldprogs/scmsubversion.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/bldprogs/scmsubversion.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/bldprogs/scmsubversion.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: scmsubversion.cpp $ */ /** @file * IPRT Testcase / Tool - Source Code Massager, Subversion Access. */ /* * Copyright (C) 2010-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redist...
35.090909
126
0.536623
egraba