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
109
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
48.5k
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
44a4de86e7ff78b545ac8453af5ad0882b5fb51a
61,160
cpp
C++
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /***************************************************************************************** ******************** This file was generated by sksllex. Do not edit. **************...
29.617433
99
0.303123
wan-nyan-wan
44a5d961d22e97232f26109ab917d3badb1fa340
885
hpp
C++
externals/boost/boost/beast/http/file_body.hpp
YuukiTsuchida/v8_embeded
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
[ "MIT" ]
32
2019-02-27T06:57:07.000Z
2021-08-29T10:56:19.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
1
2018-04-18T16:33:00.000Z
2018-04-18T16:33:00.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
5
2019-08-20T13:45:04.000Z
2022-03-01T18:23:49.000Z
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot 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) // // Official repository: https://github.com/boostorg/beast // #ifndef BOO...
24.583333
80
0.723164
YuukiTsuchida
44a924d90f8efaa1a45f8184676a3ef0cf65cd88
5,538
cpp
C++
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.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...
35.5
198
0.693933
dujianxin
44aa3fbd0c080d40d8dbf27fabe522e18fa6f5f3
4,499
cpp
C++
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2017-2020 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include "ad/map/maker/test_helper/StringTestHelper.hpp" #include <stdio.h> namesp...
22.053922
107
0.58613
seowwj
44aa9cf1340691f42635075713e82bcfdb942e00
1,003
hpp
C++
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#ifndef _FONTHANDLER_ #define _FONTHANDLER_ #include <cstring> #include "Types.hpp" #include "Color.hpp" #include "BaseRenderTarget.hpp" #include "Utilities/FileHandler.hpp" #ifdef _PC_ #include <SFML/Graphics.hpp> #endif /** * Class used to draw fonts. * The FontHandler is designed to use only one font, * if mo...
18.924528
79
0.678963
artur-kink
44ade3c2f3c34f4e78555be6d489cf5c3df1bf46
866
hpp
C++
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Boost.TypeErasure library // // Copyright 2011 Steven Watanabe // // 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) // // $Id$ #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED #define BOOST_TYPE_ERASURE_CONFIG_HPP...
28.866667
80
0.794457
henrywarhurst
44ae27d2b61165557a78299577983cafe1c8bf5b
2,339
cpp
C++
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
#include "session.h" #include <memory> #include <boost/lexical_cast.hpp> #include "room.h" #include "player.h" #include "request_handler.h" Session::Session(boost::asio::ip::tcp::socket socket, const Room& room) : socket_(std::move(socket)), room_(const_cast<Room&>(room)), player_(std::make_shared<Player...
28.52439
114
0.567336
silverthreadk
44af582b4fe1df8f558f26ca56c19b8527c8a82f
9,382
cpp
C++
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
3
2020-12-31T02:46:15.000Z
2021-05-31T12:05:58.000Z
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
null
null
null
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
2
2020-11-14T11:33:13.000Z
2021-08-12T05:36:53.000Z
/********************************************************************************* * Copyright (c) 2018, Università degli Studi di Salerno, ALTEC S.p.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
42.071749
155
0.734492
unisa-acg
44b1e1418cbd084a974188fe6e79ef46286dee77
5,639
cpp
C++
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
1
2020-07-01T16:32:57.000Z
2020-07-01T16:32:57.000Z
#include "../stdafx.h" #include "storehelper.h" Handle<PkiItemCollection> Provider::getProviderItemCollection(){ LOGGER_FN(); return this->providerItemCollection; } ProviderCollection::ProviderCollection(){ LOGGER_FN(); _items = std::vector<Handle<Provider> >(); } ProviderCollection::~ProviderCollection(){ L...
19.311644
78
0.720695
microshine
44b4580632d37867ab5ba5420a10c8d9e90df25b
851
cpp
C++
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
3
2020-08-11T01:27:29.000Z
2021-02-10T04:31:13.000Z
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include "types.h" #include "symbol.h" #include "token.h" #include "lexer.h" #include "statement_parser.h" #include "ast.h" #include "ast_parser.h" int main() { try { printf("main block started. moving on to lexing...\n"); Token_Linked_List tokens = lex_file((char*)"./ex...
27.451613
81
0.692127
niko-niko-ni
44bdf92af8f76917c2ef37bba53a3803c61dddf6
22,099
cc
C++
src/lib/process/tests/d_cfg_mgr_unittests.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
1
2017-08-24T19:55:21.000Z
2017-08-24T19:55:21.000Z
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // 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 <config.h> #include <cc/command_int...
37.90566
79
0.675234
gumingpo
44c036da3c5ac682a871fce79885115f340c6b1b
1,816
cpp
C++
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
#include "BejeweledIO.h" #include <stdlib.h> ScoreIO::ScoreIO() : scoreFile("HighScores.txt") { readScores(); } vector<PlayerScore> ScoreIO::readScores() { string HighScores = "HighScores.txt"; ifstream ist(HighScores.c_str()); if(!ist) cout << "High Score File Not Found!" << endl; string t...
22.146341
117
0.585903
AlexBarnes86
44c1f507a48534a5fa1674dce8129005d09e86b4
11,528
cpp
C++
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
null
null
null
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-06-22T00:58:58.000Z
2018-06-22T00:58:58.000Z
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-07-16T20:18:03.000Z
2018-07-16T20:18:03.000Z
#include "gpk_encoding.h" #include "gpk_view_bit.h" #include "gpk_noise.h" #include "gpk_chrono.h" #include "gpk_parse.h" #include <ctime> #include <random> ::gpk::error_t gpk::saltDataSalt (const ::gpk::view_const_byte& binary, ::gpk::array_pod<byte_t> & salted) { gpk_necall(salted.resize(bi...
45.385827
201
0.523942
asm128
44c27f857b84d3171d72122c13641b9b0f5aeba5
1,400
cpp
C++
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
2
2022-02-16T18:00:27.000Z
2022-03-21T18:57:14.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-02-16T21:09:49.000Z
2022-02-16T21:09:49.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-01-04T18:15:30.000Z
2022-01-04T18:15:30.000Z
#include "amr-wind/equation_systems/icns/source_terms/BodyForce.H" #include "amr-wind/CFDSim.H" #include "amr-wind/utilities/trig_ops.H" #include "AMReX_ParmParse.H" #include "AMReX_Gpu.H" namespace amr_wind { namespace pde { namespace icns { /** Body Force */ BodyForce::BodyForce(const CFDSim& sim) : m_time(sim.ti...
26.923077
79
0.649286
gdeskos
44c476f120a0f728f5d117f3ae8b0b0a1bc487dd
21,386
cpp
C++
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
30
2015-01-27T15:34:50.000Z
2021-01-24T12:50:04.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
1
2017-01-31T06:52:10.000Z
2017-01-31T06:52:10.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
16
2015-04-11T02:06:11.000Z
2022-01-28T04:02:31.000Z
#include "BonDriver_Proxy.h" namespace BonDriver_Proxy { static BOOL IsTagMatch(const char *line, const char *tag, char **value) { const int taglen = ::strlen(tag); const char *p; if (::strncmp(line, tag, taglen) != 0) return FALSE; p = line + taglen; while (*p == ' ' || *p == '\t') p++; if (value == NULL ...
20.742968
136
0.634901
epgdatacapbon
44c560a2a5700361e8de3ae5bb21827a9af88b54
999
cc
C++
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
7
2021-07-28T19:03:08.000Z
2022-02-02T23:17:11.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
2
2021-06-15T22:34:44.000Z
2021-11-10T04:27:21.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cerrno> #include <cstring> #define FLOAT32 "%.9g" struct atlas_ent { int bin_id, font_id, glyph; short x, y, ox, oy, w, h; }; int main(int argc, char **argv) { FILE *in = nullptr; if (argc != 2) { fprintf(stderr, "usage: %s <filename>\n", argv[0...
22.704545
76
0.491491
michaeljclark
44c5c0645aeb629366c56177ce4382dd3b73e9f4
123
cpp
C++
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
2
2020-08-25T00:31:17.000Z
2021-12-11T22:14:02.000Z
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
null
null
null
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
null
null
null
#include "UIManager.h" namespace Trixs { UIManager::UIManager(Window* window) { } UIManager::~UIManager() { } }
7.6875
37
0.642276
RuurddeRonde
44c6dedd44ad4509a3f5a9c13fc04d6f1ffbdc64
6,995
cc
C++
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
29.639831
79
0.599714
xw-github
44c7aaf19786548ecfced6f53e79a496434a9a8c
789
cpp
C++
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
5
2019-09-12T05:23:44.000Z
2021-11-15T11:19:39.000Z
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
18
2019-09-23T13:11:06.000Z
2019-11-09T11:20:17.000Z
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
null
null
null
#include <assert.h> #include <vector> using namespace std; class Solution { public: // 先排序,再依次遍历数组元素,若当前元素小于等于它前一个元素,则将其变为前一个数+1。 int minIncrementForUnique(vector<int> &A) { int ans = 0; int len = A.size(); sort(A.begin(), A.end()); for (int i = 1; i < len; ++i) { ...
18.348837
49
0.460076
liangwt
44c93b13d5c73e5cfdb0d23e0856f038232d5924
3,292
hpp
C++
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2006 Ferdinando Ametrano This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it...
42.753247
79
0.655832
haozhangphd
44c9bc060a5ca54beee9f52f28b243a07395959e
183,030
hpp
C++
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
98
2018-06-15T09:28:11.000Z
2022-03-31T15:42:48.000Z
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
257
2018-05-09T12:14:28.000Z
2022-03-30T16:12:14.000Z
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
75
2020-11-26T13:05:15.000Z
2021-12-24T00:28:18.000Z
/**************************************************************************************[IntTypes.h] Copyright (c) 2009-2010, Niklas Sorensson 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 withou...
35.979949
243
0.556745
osamamowafy
44cbb1b0cfc3179102cd0bb74edd30370d79a44c
383
cpp
C++
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define int long long int void solve() { string s; cin >> s; int n = s.length(); int rep = 0; int cnt = 1; for (int i = 1; i < n ; i++) { if (s[i] == s[i - 1]) { cnt++; } else { rep = max(rep, cnt); cnt = 1; } } cout << max...
14.730769
32
0.456919
LazyCoder-1506
44cc781daca41bf2f50fe61cfe53117d575f1a82
5,069
hpp
C++
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_LITERAL_UTILITY_HPP #define FALCON_LITERAL_UTILITY_HPP #include <falcon/literal/detail/literal_support.hpp> #include <type_traits> #include <limits> #include <falcon/type_traits/eval_if.hpp> #include <falcon/type_traits/use.hpp> namespace falcon { namespace literal { template<typename _CharT, _CharT ...
27.4
139
0.744526
jonathanpoelen
44cddaff027d71c261189ccf4f9a372801ca72b3
107,053
cpp
C++
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2014 Erik Garrison // // SPDX-License-Identifier: MIT #include "aligner.hpp" #include "hash_map.hpp" //#define debug_print_score_matrices using namespace vg; using namespace std; using namespace vg::io; static const double quality_scale_factor = 10.0 / log(10.0); static const double exp_...
44.62401
261
0.545571
lnceballosz
44d11aca04ecf5e58e8615f2f9c3fd92559abda6
5,703
cpp
C++
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.550725
104
0.713835
suluner
44d30c8845789e7c1a30a6f8f4b3b60bc6640599
258
cpp
C++
Kernel/Memory/GenericPagingTable.cpp
UltraOS/Ultra
287035fea303767285e48e5c7867d147790ff55b
[ "Apache-2.0" ]
44
2020-07-09T07:31:43.000Z
2022-03-29T20:55:01.000Z
Kernel/Memory/GenericPagingTable.cpp
8infy/UltraOS
2ed2879c96a7095b5077df5ba5db5b30a6565417
[ "Apache-2.0" ]
3
2021-04-24T13:53:53.000Z
2021-09-27T05:50:28.000Z
Kernel/Memory/GenericPagingTable.cpp
8infy/UltraOS
2ed2879c96a7095b5077df5ba5db5b30a6565417
[ "Apache-2.0" ]
3
2021-03-01T09:29:12.000Z
2021-06-25T17:06:27.000Z
#include "GenericPagingTable.h" #include "MemoryManager.h" namespace kernel { #ifdef ULTRA_64 Address GenericPagingTable::accessible_address_of(size_t index) { return MemoryManager::physical_memory_base + entry_at(index).physical_address(); } #endif }
19.846154
84
0.794574
UltraOS
44d41cf17e0a436311f4dc84aac84ff2a88353bb
4,020
cpp
C++
third_party/libigl/include/igl/vertex_components.cpp
chefmramos85/monster-mash
239a41f6f178ca83c4be638331e32f23606b0381
[ "Apache-2.0" ]
1,125
2021-02-01T09:51:56.000Z
2022-03-31T01:50:40.000Z
third_party/libigl/include/igl/vertex_components.cpp
ryan-cranfill/monster-mash
c1b906d996885f8a4011bdf7558e62e968e1e914
[ "Apache-2.0" ]
19
2021-02-01T12:36:30.000Z
2022-03-19T14:02:50.000Z
third_party/libigl/include/igl/vertex_components.cpp
ryan-cranfill/monster-mash
c1b906d996885f8a4011bdf7558e62e968e1e914
[ "Apache-2.0" ]
148
2021-02-13T10:54:31.000Z
2022-03-28T11:55:20.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com> // // 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://...
40.606061
356
0.650498
chefmramos85
44d7e572a4e13add39ef307b60d9323142d301ad
5,868
cpp
C++
tf2_src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// // GraphControl.cpp : implementation file // #include "stdafx.h" #include "vmpi_browser_job_watch.h" #include "GraphCont...
23.757085
113
0.632243
IamIndeedGamingAsHardAsICan03489
44dde9125f17488902a192c50863c28b054d7e7c
8,506
hpp
C++
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
null
null
null
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
null
null
null
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
1
2021-12-20T20:42:30.000Z
2021-12-20T20:42:30.000Z
/* lorina: C++ parsing library * Copyright (C) 2018-2021 EPFL * * 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, ...
25.932927
153
0.618152
fmozafari
44ded4ccb5a4e2954add318cdc7c412c190c51b9
1,635
cpp
C++
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
#include <cstdio> class FindUnion { private: int rank; FindUnion *parent; public: static void MakeSet(FindUnion &x) { x.parent = &x; x.rank = 0; } static void Union(FindUnion &x, FindUnion &y) { FindUnion *xRoot = FindU...
24.044118
58
0.428746
czers
44e1baffbba192d7088b5f642560792da83e0db0
447
hpp
C++
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
// // LogLights.hpp // FilamentViewer // // Created by James Walker on 5/27/21. // #ifndef LogLights_hpp #define LogLights_hpp namespace filament { class Engine; class Scene; }; /*! @function LogLights @abstract Log various information about lights in a Scene to std::cout. @param inEngine An engine. @p...
15.964286
72
0.704698
h-haris
44e5a903b3287a21da7c1b1ffa5bd1197bb25453
599
cpp
C++
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int calc_sum(vector<int> numbers) { int ans = 0; for(int i = 1; i <= numbers.size(); i++) ans += i * numbers.at(i-1); return ans; } int main() { int n, number, pos; cin >> n; vector<pair<int, int>> numbers; for(int i = 0; i < n; ...
21.392857
99
0.557596
BrynjarGeir
44e5dfa02242f7d12230a06294f51d7fe06a5a06
1,451
hxx
C++
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#pragma once #include <cstdlib> namespace Legolas{ class VirtualVector { public: // virtual int getSize( void ) const = 0 ; typedef std::size_t SizeType; virtual SizeType size( void ) const = 0 ; virtual const VirtualVector & getElement( SizeType i ) const = 0 ; virtual VirtualVector & g...
30.87234
104
0.673329
LaurentPlagne
44ea1cd2cb3edc3ee3cfe10d4fbfcfd4ae550453
3,363
cpp
C++
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
/* 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...
30.853211
78
0.704728
brio1009
44ec4114d7fa6efb661cd63cc83691347994eec8
364
cpp
C++
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
1
2020-03-18T18:40:48.000Z
2020-03-18T18:40:48.000Z
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
null
null
null
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; int main() { int n , x; cout <<"Enter the number : \n"; cin>>n; if(n<2) cout<<"Number is lesser than 2 and not applicable"; else { for(x=2;x<n;x++) { if(n%x==0) { cout<<"Not Prime Number"; exit(0); } else { cout<<"Prime...
13.481481
54
0.478022
tusharxsharma
44ed03145058d315d8572e1838db40ebe2c60e56
5,207
cpp
C++
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #include <java/lang/reflect/Array_.hpp> extern void unimplemented_(const char16_t* name); java::lang::Object* java::lang::reflect::Array_::get(::java::lang::Object* array, int32_t index) { /* native */ clinit(); ...
39.44697
142
0.677165
pebble2015
44ed72cc0cc7f5374eb6eef7af91e09a046b67b8
415
cpp
C++
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
2
2020-10-16T19:41:19.000Z
2021-02-01T04:55:51.000Z
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
1
2020-04-24T18:17:39.000Z
2020-04-24T18:37:01.000Z
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
2
2020-04-17T13:24:29.000Z
2020-04-24T18:12:29.000Z
#include "Aspen/Python/Concat.hpp" #include "Aspen/Python/Box.hpp" using namespace Aspen; using namespace pybind11; void Aspen::export_concat(pybind11::module& module) { export_box<SharedBox<object>>(module, "Box"); export_concat<SharedBox<SharedBox<object>>>(module, ""); module.def("concat", [] (SharedBox<...
27.666667
58
0.710843
andrei-sa
44ed970a155b89b6b66713b2058e473d5fd16ba2
628
hh
C++
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData; use Zynga\Framework\Testing\TestCase\V2\Base as TestCase; use Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData\Dev as ConfigUnderTest ; use Zynga\Framework\Cache\V2\Interfaces\DriverInterface as CacheDriverInterface ; class DevT...
22.428571
77
0.745223
zynga
44ee14f5a59b8bfde4cd42497b82448f1e5a706b
1,055
cpp
C++
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
RozeDoyanawa/FactorySkyline
381d983d8c8fcac7fa9ce3c386d52bd68d2248b6
[ "MIT" ]
3
2021-07-09T06:20:11.000Z
2022-01-23T09:29:21.000Z
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
Nuwisam/FactorySkyline
4e4987d2e7f0a67d992d600fc7f280593cee4f94
[ "MIT" ]
null
null
null
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
Nuwisam/FactorySkyline
4e4987d2e7f0a67d992d600fc7f280593cee4f94
[ "MIT" ]
6
2021-07-11T15:10:12.000Z
2022-02-27T02:16:15.000Z
// ILikeBanas #include "FactorySkyline/UI/FSKeyMappingWidget.h" #include "Components/Image.h" #include "Components/HorizontalBox.h" #include "Components/TextBlock.h" #include "Components/CanvasPanel.h" #include "Components/CanvasPanelSlot.h" #include "Components/HorizontalBoxSlot.h" UFSKeyMappingWidget:...
23.444444
86
0.756398
RozeDoyanawa
6021b37b4b61016702c87a1c89be28a7029a45bc
1,781
cpp
C++
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2022 Burdukov Mikhail #include <gtest/gtest.h> #include "include/horse_min_range.h" TEST(minHorseRange, Create) { ASSERT_NO_THROW(minHorseRange hourse); } TEST(minHorseRange, Range_without_barriers) { chess_position_t st('a', 1); chess_position_t fin('b', 3); minHorseRange a(st, fin); ...
23.434211
46
0.663672
BalovaElena
6023f4fffb82ea29d1b3546e9969f026ef7d982e
244
cpp
C++
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
#include <stdio.h> int main(){ int n, t ; int cont = 0; scanf("%d", &n); for(int i = 0; i < n; i++){ scanf("%d", &t); if(t != 1){ cont++; } } printf("%d\n", cont); return 0; }
12.842105
31
0.348361
pedrospaulo
602cac59487adecd87d9608d2df3641c307f5c89
6,426
hpp
C++
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.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:10:39 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" // Including type: UnityEngine.RemoteConfigSettin...
67.642105
118
0.791161
Futuremappermydud
602e62a0db31d1a5f427d0dd51730f3182861d4b
1,763
cpp
C++
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
5
2019-10-08T05:05:40.000Z
2022-03-23T10:46:27.000Z
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
8
2020-01-18T02:16:27.000Z
2022-02-23T21:28:07.000Z
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
6
2019-12-13T21:00:11.000Z
2021-06-09T09:55:13.000Z
#include "gtest/gtest.h" #include "commonfixture.h" extern "C" { #include <launchdarkly/api.h> #include "lru.h" #include "utility.h" } // Inherit from the CommonFixture to give a reasonable name for the test output. // Any custom setup and teardown would happen in this derived class. class LRUFixture : public Common...
26.313433
80
0.708452
lcapaldo
603035979813b2c6fa11457dbafc6893d44c09fc
13,092
cpp
C++
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
3
2020-07-15T19:50:12.000Z
2020-12-13T17:28:16.000Z
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
null
null
null
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
3
2020-04-12T11:00:44.000Z
2021-10-20T22:08:44.000Z
/*++ Copyright (c) 2013 Microsoft Corporation Module Name: dl_mk_quantifier_abstraction.cpp Abstract: Create quantified Horn clauses from benchmarks with arrays. Author: Ken McMillan Andrey Rybalchenko Nikolaj Bjorner (nbjorner) 2013-04-02 Revision History: --*/ #include "muz/transforms/dl_...
35.383784
129
0.498396
akreuzer
603b990e12f490d760778268ff031a8f3583032e
3,012
cpp
C++
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
/*************************************************************************** * 2005 by Axel Gonzalez * * loox@e-shell.net * * * * This so...
17.928571
110
0.479748
theloox
603fe78538b1cd7b86abaaf5c7c1d79049fa445a
5,710
cpp
C++
Tests/support/matrix_support.cpp
Freddan-67/V3DLib
dcefc24a9a399ee1f5d1aa5529f44d9fd2486929
[ "MIT" ]
44
2021-01-16T14:17:15.000Z
2022-03-11T19:53:59.000Z
Tests/support/matrix_support.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
8
2021-01-16T17:52:02.000Z
2021-12-18T22:38:00.000Z
Tests/support/matrix_support.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
7
2021-01-16T14:25:47.000Z
2022-02-03T16:34:45.000Z
#include "matrix_support.h" #include "../doctest.h" #include "Support/Helpers.h" // random_float() using namespace V3DLib; void compare_arrays(Float::Array2D &a, float const *b, float precision) { // Values empirically determined - the bigger the matrices, the less precise if (precision == -1.0f) { if (Pla...
26.073059
101
0.509282
Freddan-67
6041e1f3f7b63e83347fb38d839271d52df36c2a
8,928
cpp
C++
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-03-16T17:40:26.000Z
2021-03-16T17:40:26.000Z
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "cpu_blocked_memory_desc.h" #include "mkldnn_memory.h" #include "utils/cpu_utils.hpp" using namespace MKLDNNPlugin; BlockedMemoryDesc::BlockedMemoryDesc(InferenceEngine::Precision prc, const std::vector<size_t>& dims) : Memory...
36
152
0.620408
uikilin100
60490e8223ed24a6d95cc69636b5a15321481d1b
1,940
cpp
C++
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
7
2019-04-09T16:25:49.000Z
2021-12-07T10:29:52.000Z
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
null
null
null
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
4
2019-08-07T07:43:27.000Z
2021-05-21T07:54:14.000Z
#include "glog/logging.h" #include "gtest/gtest.h" #include "comm/sender.hpp" #include <iostream> #include <vector> namespace minips { namespace { class TestSender : public testing::Test { public: TestSender() {} ~TestSender() {} protected: void SetU...
24.25
59
0.495876
RickAi
604d76204206a3460fb5f812df71aad5d4412b2d
4,433
hpp
C++
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #include "CExoLocString.hpp" #include "CExoArrayList.hpp" #include "Vector.hpp" #include "CResRef.hpp" #include "CNWSObject.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CNWSPlaceable) #endif struct CNWSObjectActionNode; struct CResStruct; struct CNWSAre...
31.439716
165
0.765847
nwnstuff
604e5692484977e3ff4b257224d809d9f5e9acf6
197
cpp
C++
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
#include <<%= libraryName %>/export.h> #include <iostream> <%= LIBRARYNAME %>_API int <%= libraryName %>_api() { std::cout << "hello from <%= libraryName %>" << std::endl; return 12345; }
21.888889
62
0.598985
julian-becker
60537596a9774a77332ba1d40d430a02f2ebe5f8
1,573
cc
C++
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Umbrela for the the Mu2e G4 world classes // // $Id: Mu2eUniverse.cc,v 1.2 2012/11/19 23:03:49 genser Exp $ // $Author: genser $ // $Date: 2012/11/19 23:03:49 $ // // Original author Rob Kutschke // // // C++ includes #include <iostream> #include <vector> #include <iomanip> // Framework includes #include "art/F...
24.578125
100
0.643357
bonventre
60568d7eeac972c43eb899da7ac15d571144af92
507
cc
C++
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#include "bimage.hh" #include <math.h> #include <fstream> #include <stdlib.h> #include <iostream> using namespace std; int main(int argc, char* argv[]){ BImage image(257,256) ; image.clear(255,255,255) ; image.text(10,10,"abc ABC 123 @$%& ][{}.,:") ; // fghijklmnopquvwxyz") ; for(int i = 0 ; i < 16 ; i+...
16.354839
74
0.540434
FrancoisGaits
605757c835aa09d53b965180a09441a30458a1b2
12,800
cpp
C++
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// FolderWeapons.cpp: implementation of the CFolderWeapons class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "FolderWeapons.h" #include "FolderCommands.h" #include "MissionData.h" #include "MissionMgr.h" #include "ClientRes.h" #include "InterfaceMgr.h" #inclu...
24.380952
97
0.624766
haekb
605779aec247a93cff658e28eff006079d781e70
30,481
cpp
C++
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
56.973832
153
0.661658
sebranchett
605a0f65f0e1e368456e7ba5d78f1c7b313fe66f
2,205
hpp
C++
includes/Fox/Lexer/Token.hpp
Pierre-vh/Fox
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
17
2019-01-17T22:41:11.000Z
2020-08-27T03:39:07.000Z
includes/Fox/Lexer/Token.hpp
Pierre-vh/Moonshot
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
null
null
null
includes/Fox/Lexer/Token.hpp
Pierre-vh/Moonshot
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
2
2019-06-30T19:07:10.000Z
2019-12-26T17:30:17.000Z
//----------------------------------------------------------------------------// // Part of the Fox project, licensed under the MIT license. // See LICENSE.txt in the project root for license information. // File : Token.hpp // Author : Pierre van Houtryve //------------------...
30.625
81
0.570975
Pierre-vh
605c71ebb028d6055653a9c1781de822a64e3e9b
47,941
cpp
C++
src/build_vehicle_gui.cpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/build_vehicle_gui.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/build_vehicle_gui.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
34.739855
301
0.728208
trademarks
605e265b864bd9d680900d13c2b8b4d4909505c8
1,320
hpp
C++
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
#include "rack.hpp" using namespace rack; extern Plugin *pluginInstance; extern Model *modelBPMLFO; extern Model *modelBPMLFO2; extern Model *modelBPMLFOPhaseExpander; extern Model *modelDamianLillard; extern Model *modelEverlastingGlottalStopper; extern Model *modelHairPick; extern Model *modelLissajousLFO; exter...
30
45
0.852273
miRackModular
605e4b58ca412594170dcd9f6562cfb13e8dde7f
3,025
ipp
C++
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/oglplus/enums/precision_type_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/precision_type.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost Software Li...
26.077586
62
0.798347
jnbrq
60671f89364864ec9dea61361a7a3a8f7fe65f6a
1,822
hpp
C++
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
10
2018-04-08T16:37:17.000Z
2021-07-13T11:04:38.000Z
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
null
null
null
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
2
2019-02-13T09:21:41.000Z
2021-07-13T11:04:41.000Z
// // MallocCollectorHelper.hpp // cfunction // // Created by hzduanjiashun on 2018/3/28. // Copyright © 2018年 Daniel. All rights reserved. // #ifndef MallocCollectorHelper_hpp #define MallocCollectorHelper_hpp #include <stdio.h> #include <memory> #include <malloc/malloc.h> #include "MallocMemory.hpp" namespace ...
22.775
84
0.502195
djs66256
6068bfd22ae93d26a163098241f831908c014575
6,504
cxx
C++
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
29.165919
103
0.628998
AllaMaevskaya
60695c9676c50e738917c4abd03ecb8d3dd5beea
671
cpp
C++
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
#include <iostream> struct BitFieldStruct { unsigned int a : 4; unsigned int b : 3; }; int main() { BitFieldStruct x; x.a = 06; x.b = x.a | 3; // | bitwise OR, || logical OR ; & bitwise AND, && logicalwise AND std::cout << x.a << '\n' << std::endl;// converted to unsigned and then displayed std::cout << x.b <<...
25.807692
83
0.520119
ChenpoHU
606a40d66e7f65605f06cce15bba65817f404485
1,240
cpp
C++
extras/lib_info/SdFat_Gre/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
181
2019-09-20T15:49:09.000Z
2022-03-23T01:27:29.000Z
Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
DogDod/X-CTRL
683ffe3b40222e1da6ff156b6595c691cd09fec1
[ "MIT" ]
7
2020-03-06T19:37:07.000Z
2020-05-05T20:33:32.000Z
Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
DogDod/X-CTRL
683ffe3b40222e1da6ff156b6595c691cd09fec1
[ "MIT" ]
75
2019-10-25T02:53:27.000Z
2022-03-23T01:25:00.000Z
// User data functions. Modify these functions for your data items. #include "UserTypes.h" #include "Wire.h" #include "I2Cdev.h" #include "MPU6050.h" //------------------------------------------------------------------------------ MPU6050 mpu; static uint32_t startMicros; // Acquire a data record. void acquireData(dat...
23.846154
80
0.592742
UTSAAH
606ffb194da6ff4a1ca462fd0eaf631574c13785
1,074
cpp
C++
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
4
2020-12-13T14:55:24.000Z
2021-03-10T01:47:36.000Z
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
#include "normal3.h" #include <cmath> #include <ostream> namespace eyebeam { Normal3 operator+(const Normal3& lhs, const Normal3& rhs) { auto result(lhs); result += rhs; return result; } Normal3 operator-(const Normal3& lhs, const Normal3& rhs) { auto result(lhs); result -= rhs; return resul...
16.029851
70
0.623836
masrtis
6072d2fe54028b06e9ebadf3c78dda234ef29f64
15,068
cpp
C++
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
null
null
null
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
null
null
null
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
1
2020-05-10T23:42:34.000Z
2020-05-10T23:42:34.000Z
#include <stdio.h> #include <zlib.h> #include <string.h> #include <stdlib.h> #include "gzip_mem.h" #define OF(args) args #define OS_CODE 3 // unix #if MAX_MEM_LEVEL >= 8 # define DEF_MEM_LEVEL 8 #else # define DEF_MEM_LEVEL MAX_MEM_LEVEL #endif /* default memLevel */ #define Z_BUFSIZE 16384 #def...
29.837624
88
0.521503
hdsy
607a96483c9d37a6152bba71eb234421ceeb2172
5,936
cpp
C++
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
#include "athena/MemoryWriter.hpp" #include <cstdio> #include <cstring> #ifdef HW_RVL #include <malloc.h> #endif // HW_RVL namespace athena::io { MemoryWriter::MemoryWriter(atUint8* data, atUint64 length, bool takeOwnership) : m_data(data), m_length(length), m_bufferOwned(takeOwnership) { if (!data) { atError...
21.585455
103
0.635782
encounter
607e300251eb0aac876c03dad8357a69e4656472
17,436
cpp
C++
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
/* * * File obtained from pgenlibr R library: * https://github.com/chrchang/plink-ng/tree/master/2.0/pgenlibr * * License info obtained from DESCRIPTION file: * https://github.com/chrchang/plink-ng/blob/master/2.0/pgenlibr/DESCRIPTION * ----------------------------------------------------- Package: pgenlibr ...
41.81295
382
0.71708
tedyun
607eb76c427464a3e63567d4b48312bd5c8f70a5
1,335
hh
C++
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
1
2021-05-26T13:27:00.000Z
2021-05-26T13:27:00.000Z
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
#ifndef __GECODE_STRING_FIND_HH__ #define __GECODE_STRING_FIND_HH__ namespace Gecode { namespace String { /** * \brief %Propagator for string find. * */ class Find : public MixTernaryPropagator<StringView, PC_STRING_DOM, StringView, PC_STRING_DOM, Gecode::Int::IntView, Gecode::Int::PC_INT_BND> {...
32.560976
79
0.697378
ramadini
60800365b8156a58de2c7956ce2151c151a87257
4,152
cc
C++
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
91
2018-11-24T05:33:58.000Z
2022-03-16T05:58:05.000Z
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
11
2019-06-02T23:50:17.000Z
2022-02-04T23:58:56.000Z
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
18
2018-11-24T10:35:29.000Z
2021-04-22T07:22:10.000Z
/* * * Copyright 2015 gRPC 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 agree...
39.169811
80
0.729046
mnuck
60850ff8061079e361d38c3d4c9eb8eefb3caf0d
9,397
cpp
C++
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
1
2018-10-30T03:58:24.000Z
2018-10-30T03:58:24.000Z
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
null
null
null
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
2
2020-09-23T04:49:23.000Z
2022-03-29T17:32:31.000Z
/* * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
29.737342
79
0.650846
justintime32
60861cacfeab2c90a6d780e5665912549d8ae382
653
cpp
C++
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
2
2021-05-04T00:30:43.000Z
2021-10-17T15:32:26.000Z
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
null
null
null
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
null
null
null
#include <iostream> #include "Pixel.h" #define LION_DIV 256 LionPixel::LionPixel() { r = 0; g= 0; b = 0; } LionPixel::LionPixel(int red, int green, int blue) { r = red; g = green; b = blue; } LionPixel::LionPixel(int red, int green, int blue, double alpha) { r = red; g = green...
14.195652
66
0.496172
kosiken
608e8341b4f4009be7368848d99c77ca32307ff6
12,039
cpp
C++
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
3
2021-02-27T10:29:37.000Z
2022-02-16T16:31:26.000Z
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
null
null
null
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
5
2021-03-22T11:06:00.000Z
2022-02-22T02:53:19.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2021 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <cmath> #include <mango/core/pointer.hpp> #include <mango/core/buffer.hpp> #include <mango/core/system.hpp> #include <mango/image/image.hpp> namespace { using namespace mango; u...
27.361364
129
0.395216
ufoym
6091411015121751c0a2850261a59e0fbec426ec
711
cpp
C++
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// swap QMultiMaps #include <iostream> #include <QMultiMap> #include <cassert> using namespace std; int main () { QMultiMap<char,int> foo; QMultiMap<char,int> bar; QMultiMap<char,int>::iterator it; foo['x']=100; foo['y']=200; bar['a']=11; bar['b']=22; bar['c']=33; foo.swap(bar); cout << "foo co...
18.230769
53
0.528833
shmarovfedor
60924806e9f5450a31679b7be2d3cb4ba58cdfc8
828
cpp
C++
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
null
null
null
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
16
2021-02-12T10:57:29.000Z
2021-11-25T00:35:29.000Z
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
null
null
null
// Fixation target abstract class // Written by Tim Murphy <tim@murphy.org> 2021 #include "FixationTarget.h" #include "CircleTarget.h" #include "CrosshairBullseyeTarget.h" #include <stdexcept> FixationTarget::FixationTarget(unsigned int diameter) :diameter(diameter) { } unsigned int FixationTarget::getDiameter...
23
65
0.642512
tim-murphy
6092e6a75c1ff242c56b736c861d3751d55f8fa7
1,007
cpp
C++
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: vector<ListNode*> splitListToParts(ListNode* root, int k) { int d=depth(root); vector<int> ls; while(k>0){ ...
22.886364
63
0.443893
zfang399
609476a6eed961cfbe3eb1c4bc49126779a41d14
8,694
cpp
C++
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * 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...
31.846154
146
0.740741
wonrst
609d81f105e1a97e4bf67ec24425ba6d671c8e6b
2,441
cpp
C++
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <iomanip> #include <string> #include <vector> #include "lambda.hpp" using namespace std; bool lessLength(const string &f, const string &s) { return f.length() < s.length(); } void lambda() { vector<string> myStrVec = {"12345", "123456", "1234"...
28.383721
116
0.565752
TEL21D
60a00c7037587a140b01a3b1c39160f93ae0d5ef
3,685
cpp
C++
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
2
2020-02-28T10:40:12.000Z
2021-02-18T03:32:28.000Z
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * File: Key_name_from_public_data.cpp * Description: Calculate the key's name from its public data (TPMT_PUBLIC) * * Author: Chris Newton * * Created: Tueday 29 May 2018 * * (C) Copyright 2018, University of Surrey. * *****...
46.0625
95
0.52483
UoS-SCCS
60a40149e2dd260cb8a0a4e503d974086c0df0ff
784
cpp
C++
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
// // Buffer.cpp // ASAE // // Created by Benjamin G Fields on 4/2/18. // Copyright © 2018 Benjamin G Fields. All rights reserved. // // Description: defines the implementatin of the buffer object #include "Buffer.hpp" //Description:return the state of the buffer by saying if it is full,empty or still has space ...
19.6
93
0.672194
BenFields724
60a6ba044e3289aa9516e4a3c755391e2e6e17b9
650
cpp
C++
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
1
2019-03-05T16:33:21.000Z
2019-03-05T16:33:21.000Z
#include "basic/talker.h" #include <gtest/gtest.h> class MyTestSuite : public ::testing::Test { public: MyTestSuite(){} ~MyTestSuite(){} }; TEST_F(MyTestSuite, lowValue){ Talker rt; int initial_value = 3; int value = rt.doSomeMath(initial_value); ASSERT_EQ(value, initial_value+5) << "Value should be its initi...
19.117647
81
0.690769
sgermanserrano
60acc4f14e001deaee20496a931c0689e58789e7
36,168
cpp
C++
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
1
2021-02-25T09:06:00.000Z
2021-02-25T09:06:00.000Z
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
null
null
null
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2016 The Khronos Group 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 ...
45.956798
245
0.729982
jljusten
60afebb2dc180c6fed882952e29a3a46b908a1d5
16,636
cpp
C++
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// ----------------------------------------------------------------------- // // // MODULE : Intelligence.cpp // // PURPOSE : Implementation of the Intelligence object // // CREATED : 9/14/99 // // (c) 1999-2000 Monolith Productions, Inc. All Rights Reserved // // -----------------------------------------------------...
24.215429
105
0.592871
haekb
60bb1ee20f89d138407a84ba5d07d197b2ca436b
166,332
hpp
C++
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
/*============================================================================== Copyright (c) 2005-2010 Joel de Guzman Copyright (c) 2010 Thomas Heller 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) ===...
97.156542
3,191
0.621859
wouterboomsma
60bb6951d7ba7390222e945f807c0b5551e529c6
1,039
cpp
C++
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; struct Node *left, *right; }; bool iterativeSearch(struct Node* root, int key) { while (root != NULL) { if (key > root->data) root = root->right; else if (key < root->data) root = root->left; else return true; } return false;...
17.610169
58
0.628489
nitishgarg2002
60bd34d4741ea33784463ca8c037f839c8bef2c3
1,574
cpp
C++
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // input handle #define iln() scanf("\n") #define in(n) scanf("%d",&n) #define ins(n) scanf("%s",n) #define inc(n) scanf("%c",&n) #define inf(n) scanf("%lf",&n) #define inl(n) scanf("%lld",&n) #define ot(x) printf("%d", x) #define sp() printf(" ") #define ots(x) printf("%s"...
25.387097
85
0.576239
mohamedGamalAbuGalala
60bd97fce1793240c01a2c27f987df91e406831a
776
hpp
C++
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { /// Create the starting space and load the starting level into that space class DefaultGameSetup : public Component { public: ZilchDeclareType(DefaultGameSetup, TypeCopyMode::ReferenceType); DefaultGameSetup(); // Component Interface void Initi...
22.823529
76
0.753866
RyanTylerRae
60bdb76c845c09b3386e2c3d06b65c916577ae7b
8,110
cpp
C++
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
1
2019-08-24T03:18:42.000Z
2019-08-24T03:18:42.000Z
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
#include "GDCore/Serialization/SerializerElement.h" #include <iostream> namespace gd { SerializerElement SerializerElement::nullElement; SerializerElement::SerializerElement() : valueUndefined(true), isArray(false) {} SerializerElement::SerializerElement(const SerializerValue& value) : valueUndefined(false), e...
33.102041
80
0.6164
sutao80216
60bff93a2d1c86ee195cce173b5eb541bb0eff88
7,087
cpp
C++
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
255
2019-06-11T07:05:51.000Z
2022-03-08T20:35:12.000Z
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
4
2019-08-10T21:35:17.000Z
2021-11-24T10:42:24.000Z
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
75
2019-07-08T00:16:33.000Z
2022-02-25T03:41:13.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include "TestThread.h" #include <EATest/EATest.h> #include <eathread/eathread_thread.h> #include <...
27.257692
116
0.693241
tlzyh
60c2a63fc40b22d424c579291dbc7add26e10f4f
8,693
cpp
C++
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
622
2016-05-12T17:39:27.000Z
2020-03-09T08:51:41.000Z
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
110
2020-03-14T15:30:42.000Z
2022-03-31T07:59:29.000Z
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
105
2016-05-12T18:55:39.000Z
2020-03-04T15:02:01.000Z
/************************************************************************************//** // Copyright (c) 2006-2015 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file ****************************************************************************************/ #include "tootle...
26.26284
130
0.531002
galek
60c347cbfc16aacf9b224bbdadebd88d336cf128
3,371
cpp
C++
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
493
2015-04-16T13:43:20.000Z
2022-03-31T03:54:17.000Z
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
30
2015-01-13T12:17:13.000Z
2021-06-03T14:12:10.000Z
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
112
2015-01-14T12:01:00.000Z
2022-03-29T06:42:00.000Z
#include "UnitTest++/Config.h" #ifndef UNITTEST_NO_DEFERRED_REPORTER #include "UnitTest++/UnitTestPP.h" #include "UnitTest++/DeferredTestReporter.h" #include <cstring> namespace UnitTest { namespace { #ifndef UNITTEST_MEMORYOUTSTREAM_IS_STD_OSTRINGSTREAM MemoryOutStream& operator <<(MemoryOutStream& lhs, const s...
27.406504
94
0.741916
SiddGururani
60c3624ae54625c59d506dfb35ab0fe7368b4bd6
16,722
cc
C++
llcc/front-end/src/inter_code_generator.cc
toy-compiler/toy_js_compiler
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
2
2019-03-12T07:42:33.000Z
2019-03-12T07:42:41.000Z
llcc/front-end/src/inter_code_generator.cc
toy-compiler/awesomeCC
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
null
null
null
llcc/front-end/src/inter_code_generator.cc
toy-compiler/awesomeCC
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
1
2019-11-29T11:13:22.000Z
2019-11-29T11:13:22.000Z
/** * @file inter_code_generator.h * @brief 中间代码生成器类具体实现 */ #include "../include/inter_code_generator.h" #define POS(cur) cur->line_number, cur->pos map<string, VARIABLE_INFO_ENUM> Info::VAR_INFO_MAP = { {"double", VARIABLE_INFO_ENUM::DOUBLE}, {"float", VARIABLE_INFO_ENUM::DOUBLE}, {"int"...
27.916528
118
0.54204
toy-compiler
60c3729869adc42ebc876a7485af606fca846d14
10,759
hxx
C++
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
1
2020-03-04T08:59:59.000Z
2020-03-04T08:59:59.000Z
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
2
2020-03-05T08:33:02.000Z
2020-03-05T08:49:17.000Z
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
null
null
null
/** * TimerThread class definition * * @file TimerThread.hxx */ #ifndef TIMERTHREAD_HXX #define TIMERTHREAD_HXX /* Includes -------------------------------------------- */ #include <functional> #include <chrono> #include <unordered_map> #include <set> #include <thread> #include <mutex> #include <condition_variabl...
38.701439
121
0.53992
Clovel
60cc3df86cf31033db5c0ff70ed6e6f94509b3c5
2,717
cpp
C++
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
10
2017-07-04T03:05:42.000Z
2022-01-20T17:37:06.000Z
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
2
2020-06-29T13:32:15.000Z
2021-12-22T23:04:43.000Z
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
5
2021-08-28T02:21:56.000Z
2022-01-16T21:39:16.000Z
#include "inst.h" /**************************************************************************** * CLASS 4C ****************************************************************************/ #undef INST #define INST INST_CLASS_4C C33_OP(scan0_rd_rs) { c33word ua, ub; ua = Rs.w; for(ub = 0; ub < 8; ub++) { ...
14.686486
78
0.375782
autch
60cd2c65df7bc743837a1fbc20efeca4e6d56e69
41
hpp
C++
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/include/at_c.hpp>
20.5
40
0.780488
miathedev
f59aada8dd2a16a3e0044628da6196866b8a6968
554
cpp
C++
src/noj_am/BOJ_18870.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
1
2020-06-01T12:19:31.000Z
2020-06-01T12:19:31.000Z
src/noj_am/BOJ_18870.cpp
ginami0129g/my-study-history
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
23
2020-11-08T07:14:02.000Z
2021-02-11T11:16:00.000Z
src/noj_am/BOJ_18870.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, num, cnt; vector<pair<int, int> > arr; vector<int> ans; int main(void) { cin.tie(NULL); ios_base::sync_with_stdio(false); cin >> n; for (int i = 0; i < n; ++i) { cin >> num; arr.push_back({num, i}); } sort(arr.begin(), arr.end()); ans.assign(...
20.518519
48
0.516245
ginami0129g
f5a0b653ea5123444f44a63d1c5db33502ead90a
1,528
hpp
C++
include/engge/Engine/Camera.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
127
2018-12-09T18:40:02.000Z
2022-03-06T00:10:07.000Z
include/engge/Engine/Camera.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
267
2019-02-26T22:16:48.000Z
2022-02-09T09:49:22.000Z
include/engge/Engine/Camera.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
17
2019-02-26T20:45:34.000Z
2021-06-17T15:06:26.000Z
#pragma once #include <memory> #include <optional> #include "Interpolations.hpp" #include <glm/vec2.hpp> #include <ngf/System/TimeSpan.h> #include <ngf/Graphics/Rect.h> namespace ng { class Engine; class Camera { public: Camera(); virtual ~Camera(); /// @brief Pans the camera to the target position in a specifi...
31.183673
108
0.712042
scemino
f5a2fe8e78bf109afa2d188699109d4d1c727f36
1,110
cpp
C++
leetcode/word-search.cpp
sounishnath003/practice-180D-strategy
2778c861407a2be04168d5dfa6135a4b624029fc
[ "Apache-2.0" ]
null
null
null
leetcode/word-search.cpp
sounishnath003/practice-180D-strategy
2778c861407a2be04168d5dfa6135a4b624029fc
[ "Apache-2.0" ]
null
null
null
leetcode/word-search.cpp
sounishnath003/practice-180D-strategy
2778c861407a2be04168d5dfa6135a4b624029fc
[ "Apache-2.0" ]
1
2020-10-07T15:02:09.000Z
2020-10-07T15:02:09.000Z
class Solution { public:     bool dfs(vector<vector<char>> &board, int row, int col, string &word, int wc) {    if(wc == (int) word.length()){        return true;   }    if(row < 0 or row >= board.size() or col < 0 or col >= board[row].size() or board[row][col] != word[wc])   {        return false;   }    {...
27.75
108
0.455856
sounishnath003
f5a934acb2b63f19c61facd572b01b01fbe5d2c8
3,532
hpp
C++
src/hash_map.hpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
5
2017-05-04T12:21:09.000Z
2019-03-28T09:29:50.000Z
src/hash_map.hpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
src/hash_map.hpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
#ifndef __TINYSTL_HASH_MAP__ #define __TINYSTL_HASH_MAP__ #include "hash_table.hpp" #include "allocator.hpp" #include "utils.hpp" namespace TinySTL { template <typename Key, typename Value> static bool isEqualKey(const Pair<const Key, Value> &a, const Pair<const Key, Value> &b) { return a.first == b.f...
36.791667
125
0.507928
kophy
f5aa0118dcc76527f14b2d6720f25e56214cddd7
5,115
cpp
C++
src/StdvNormalizer.cpp
BR903/percolator
2d9315699cf3309421b83c4c21ce8275ede87089
[ "Apache-2.0" ]
71
2015-03-30T17:22:52.000Z
2022-01-01T14:19:23.000Z
src/StdvNormalizer.cpp
BR903/percolator
2d9315699cf3309421b83c4c21ce8275ede87089
[ "Apache-2.0" ]
190
2015-01-27T16:18:58.000Z
2022-03-31T16:49:58.000Z
src/StdvNormalizer.cpp
BR903/percolator
2d9315699cf3309421b83c4c21ce8275ede87089
[ "Apache-2.0" ]
45
2015-04-13T13:42:35.000Z
2021-12-17T08:26:21.000Z
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> 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:...
26.640625
81
0.527273
BR903
f5aca9b4c15da8e2a8ea61c8a7b9bdb82aff1c26
542
cpp
C++
ModelViewer/LoadingWrapper.cpp
peted70/glTF-DXViewer
1857e630fc14d19ced41c3ae9b895b017f937ab7
[ "MIT" ]
null
null
null
ModelViewer/LoadingWrapper.cpp
peted70/glTF-DXViewer
1857e630fc14d19ced41c3ae9b895b017f937ab7
[ "MIT" ]
null
null
null
ModelViewer/LoadingWrapper.cpp
peted70/glTF-DXViewer
1857e630fc14d19ced41c3ae9b895b017f937ab7
[ "MIT" ]
null
null
null
#include "pch.h" #include "LoadingWrapper.h" using namespace std; LoadingWrapper::LoadingWrapper(function<void()> ctor, function<void()> dtor) : _dtor(dtor) { Schedule(ctor); } future<void> LoadingWrapper::Schedule(function<void()> fn) { auto disp = Windows::ApplicationModel::Core::CoreApplication::MainView->Core...
23.565217
96
0.732472
peted70
f5ae25e03cd71f1b1c8137f547d5c598add9ba63
2,524
cpp
C++
src/collate_result.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
1
2019-04-09T12:48:41.000Z
2019-04-09T12:48:41.000Z
src/collate_result.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
2
2020-05-06T16:22:07.000Z
2020-05-07T04:02:41.000Z
src/collate_result.cpp
lsilvest/crpcut
e9d694fb04599b72ebdcf6fea7d6ad598807ff41
[ "BSD-2-Clause" ]
1
2019-04-10T12:47:11.000Z
2019-04-10T12:47:11.000Z
/* * Copyright 2011 Bjorn Fahller <bjorn@fahller.se> * All rights reserved * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
29.348837
78
0.669176
lsilvest