hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
12d15cfaf11addc2eca4e603e824295ac81cdd74
2,144
hpp
C++
include/util/GridMosaic.hpp
pjcuadra/feature_tracking
e3082a420fd97df29951d304936734916f0fce33
[ "MIT" ]
null
null
null
include/util/GridMosaic.hpp
pjcuadra/feature_tracking
e3082a420fd97df29951d304936734916f0fce33
[ "MIT" ]
null
null
null
include/util/GridMosaic.hpp
pjcuadra/feature_tracking
e3082a420fd97df29951d304936734916f0fce33
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2017 Pedro Cuadra * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
25.831325
80
0.703825
[ "vector" ]
12e02effdd940128ea9596e74561bba828ace21b
763
hpp
C++
vcl/src/project/fish.hpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
vcl/src/project/fish.hpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
vcl/src/project/fish.hpp
UnrealLink/Projet-INF443
a80e698d35d2b5057137a11d5a50418c9efcfcbd
[ "MIT" ]
null
null
null
#ifndef FISH_HPP #define FISH_HPP #include "../vcl/core/drawable/mesh_drawable/mesh_drawable.hpp" #include "vcl/external_lib/headers/glad.hpp" #define ONDULANTLEN 50 #define STEPPRE 0.001f struct fish : public vcl::mesh_drawable { float mu; vcl::vec3 embossMinMap, embossMaxMap; fish(); fish(const vc...
19.075
64
0.68152
[ "mesh" ]
12e69ade3860bd59f9c5ea38bc61fc76c9785f62
17,787
cpp
C++
widget.cpp
HeyCat-svg/my-soft-raster
f721871b8d8c7a90a7f422e6d1da937a0710a9c6
[ "MIT" ]
null
null
null
widget.cpp
HeyCat-svg/my-soft-raster
f721871b8d8c7a90a7f422e6d1da937a0710a9c6
[ "MIT" ]
null
null
null
widget.cpp
HeyCat-svg/my-soft-raster
f721871b8d8c7a90a7f422e6d1da937a0710a9c6
[ "MIT" ]
null
null
null
#include "widget.h" #include "skybox.h" // #define CLEAR_RT // #define SOFT_RASTER // #define RAY_TRACER // #define PATH_TRACER // "./obj/diablo3_pose/diablo3_pose.obj" // "./obj/cornell_box/cornell_box.obj" Model africanHeadModel("./obj/cornell_box/cornell_box.obj"); std::vector<Model*> worldMesh; ...
37.211297
191
0.554562
[ "geometry", "object", "vector", "model" ]
12e82e8194a063f7cbdd34f141c09b24a979691b
550
hpp
C++
src/Material.hpp
kevxiao/Bouncer
c4166fcfbb4db09da13cdec00ec02a15e47602be
[ "MIT" ]
null
null
null
src/Material.hpp
kevxiao/Bouncer
c4166fcfbb4db09da13cdec00ec02a15e47602be
[ "MIT" ]
null
null
null
src/Material.hpp
kevxiao/Bouncer
c4166fcfbb4db09da13cdec00ec02a15e47602be
[ "MIT" ]
null
null
null
#pragma once #include <glm/glm.hpp> // Material surface properties to be used as input into a local illumination model // (e.g. the Phong Reflection Model). struct Material { Material() : kd(glm::vec3(0.0f)), ks(glm::vec3(0.0f)), shininess(0.0f) { } // Diffuse reflection coefficient glm::vec3 kd; /...
23.913043
82
0.710909
[ "model" ]
12ea406a26bce73b4eda21d74b64170e02d56633
1,989
cc
C++
tests/test_distances.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
56
2019-04-24T22:11:15.000Z
2022-03-22T11:37:47.000Z
tests/test_distances.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
48
2016-11-30T09:37:13.000Z
2019-01-30T21:43:39.000Z
tests/test_distances.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
11
2019-05-02T11:54:31.000Z
2020-12-10T14:05:40.000Z
#include <tests/Base.hh> #include <aleph/geometry/distances/Euclidean.hh> #include <aleph/geometry/distances/Hamming.hh> #include <aleph/geometry/distances/Manhattan.hh> #include <vector> using namespace aleph; using namespace geometry; using namespace distances; template <class T> void testEuclideanDistance() { ...
25.5
76
0.675716
[ "geometry", "vector" ]
12f08c2387f37b6235f50ce647507e53901919b4
3,748
hpp
C++
include/seec/Util/Observer.hpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
7
2018-06-25T12:06:13.000Z
2022-01-18T09:20:13.000Z
include/seec/Util/Observer.hpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
20
2016-12-01T23:46:12.000Z
2019-08-11T02:41:04.000Z
include/seec/Util/Observer.hpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
1
2020-10-19T03:20:05.000Z
2020-10-19T03:20:05.000Z
//===- seec/Util/Observer.hpp --------------------------------------- C++ -===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
22.309524
80
0.619797
[ "object", "vector" ]
12f102db685d141446cefbd630627e253c7c518e
5,943
cpp
C++
src/tabu_search.cpp
vss2sn/cvrp
685cea9017f4cce44c9d089d86271657082ac978
[ "BSD-3-Clause" ]
12
2019-10-26T19:26:49.000Z
2022-01-26T04:53:00.000Z
src/tabu_search.cpp
NeiH4207/cvrp
685cea9017f4cce44c9d089d86271657082ac978
[ "BSD-3-Clause" ]
1
2019-12-27T12:16:45.000Z
2020-01-01T19:11:30.000Z
src/tabu_search.cpp
NeiH4207/cvrp
685cea9017f4cce44c9d089d86271657082ac978
[ "BSD-3-Clause" ]
13
2019-10-14T16:09:41.000Z
2022-02-16T07:06:46.000Z
/** * @file tabu_search.cpp * @author vss2sn * @brief Contains the TabuSearchSolution class */ #include "cvrp/tabu_search.hpp" #include <iostream> #include <numeric> TabuSearchSolution::TabuSearchSolution( const std::vector<Node> &nodes, const std::vector<Vehicle> &vehicles, const std::vector<std::vector...
37.853503
79
0.582702
[ "vector" ]
12f7a536827cdb950988777470e329b7619a957d
1,900
hpp
C++
include/naoqi_driver/ros_helpers.hpp
simwijs/naoqi_driver
89b00459dc517f8564b1d7092eb36a3fc68a7096
[ "Apache-2.0" ]
null
null
null
include/naoqi_driver/ros_helpers.hpp
simwijs/naoqi_driver
89b00459dc517f8564b1d7092eb36a3fc68a7096
[ "Apache-2.0" ]
null
null
null
include/naoqi_driver/ros_helpers.hpp
simwijs/naoqi_driver
89b00459dc517f8564b1d7092eb36a3fc68a7096
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Aldebaran * * 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...
22.352941
77
0.680526
[ "object" ]
12fb9469cc7f4e69cabcdc4737e4f1f6bc33de8d
20,616
cpp
C++
rtt_dynamic_reconfigure/src/auto_config.cpp
mcx/rtt_ros_integration
df79afb7a7b6e90ea7b807f0e4322662caee8c07
[ "BSD-3-Clause" ]
73
2015-03-18T00:00:00.000Z
2022-03-28T10:15:56.000Z
rtt_dynamic_reconfigure/src/auto_config.cpp
mcx/rtt_ros_integration
df79afb7a7b6e90ea7b807f0e4322662caee8c07
[ "BSD-3-Clause" ]
86
2015-01-20T19:12:34.000Z
2021-12-20T07:18:58.000Z
rtt_dynamic_reconfigure/src/auto_config.cpp
mcx/rtt_ros_integration
df79afb7a7b6e90ea7b807f0e4322662caee8c07
[ "BSD-3-Clause" ]
59
2015-02-22T18:14:47.000Z
2021-09-04T19:40:12.000Z
/* * (C) 2014, Intermodalics BVBA * * 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 discl...
37.827523
284
0.658372
[ "object" ]
42022df97ddb00b04459180b9b8967ae3f621e77
2,930
cpp
C++
app/src/main/cpp/wrapper/camera_manager.cpp
brunomorishita/learning-camera2
e4e08e592f0b9c5a14b2814c1a58d6d938a6f913
[ "MIT" ]
null
null
null
app/src/main/cpp/wrapper/camera_manager.cpp
brunomorishita/learning-camera2
e4e08e592f0b9c5a14b2814c1a58d6d938a6f913
[ "MIT" ]
null
null
null
app/src/main/cpp/wrapper/camera_manager.cpp
brunomorishita/learning-camera2
e4e08e592f0b9c5a14b2814c1a58d6d938a6f913
[ "MIT" ]
null
null
null
// // Created by bruno on 12/06/2021. // #include "camera_manager.h" #include "log_internal.h" #include "camera_device.h" #include <camera/NdkCameraDevice.h> #include <camera/NdkCameraManager.h> #include <camera/NdkCameraMetadata.h> namespace devices { CameraManager::CameraManager() { camera_status_t ca...
33.295455
101
0.63686
[ "vector" ]
4207197d019d7f5cb8919a3dc347343e8d7637bd
7,262
cpp
C++
tests/test_moves_knight.cpp
MathewRGB/BlaEngine
fd64b7e8b54efad09f6466c6cb47ee920dc445f7
[ "MIT" ]
1
2019-12-06T00:42:54.000Z
2019-12-06T00:42:54.000Z
tests/test_moves_knight.cpp
MathewRGB/BlaEngine
fd64b7e8b54efad09f6466c6cb47ee920dc445f7
[ "MIT" ]
null
null
null
tests/test_moves_knight.cpp
MathewRGB/BlaEngine
fd64b7e8b54efad09f6466c6cb47ee920dc445f7
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "helper_for_tests.h" #include "source/calculation/move_generator.h" using namespace blaengine::calculation; TEST(KnightMoves, test_general_moves_all) { auto move_generator = MoveGenerator(); auto game_state = GameState(); ushort field_before = 27; game_state.board[field_befor...
40.569832
78
0.687414
[ "vector" ]
420b6c87cea2c305cd3310395470068db7acddb5
518
hpp
C++
infra/util/test_helper/MockHelpers.hpp
ghsecuritylab/embeddedinfralib
46ebdfcc495150afb38cc380f22be7c3e3dcbfbc
[ "Unlicense" ]
54
2019-04-02T14:42:54.000Z
2022-03-20T23:02:19.000Z
infra/util/test_helper/MockHelpers.hpp
ghsecuritylab/embeddedinfralib
46ebdfcc495150afb38cc380f22be7c3e3dcbfbc
[ "Unlicense" ]
32
2019-03-26T06:57:29.000Z
2022-03-25T00:04:44.000Z
infra/util/test_helper/MockHelpers.hpp
ghsecuritylab/embeddedinfralib
46ebdfcc495150afb38cc380f22be7c3e3dcbfbc
[ "Unlicense" ]
20
2019-03-25T15:49:49.000Z
2022-03-20T23:02:22.000Z
#ifndef INFRA_MOCK_HELPERS_HPP #define INFRA_MOCK_HELPERS_HPP #include "gmock/gmock.h" #include <functional> #include <type_traits> #include <vector> namespace infra { MATCHER_P(CheckByteRangeContents, contents, "") { return std::vector<uint8_t>(arg.begin(), arg.end()) == std::vector<uint8_t>(contents...
21.583333
118
0.667954
[ "vector" ]
42120fb20da3e318304dcd7af3697907cffcf13c
8,034
cpp
C++
Engine/Source/Runtime/CinematicCamera/Private/CameraRig_Crane.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/CinematicCamera/Private/CameraRig_Crane.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/CinematicCamera/Private/CameraRig_Crane.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "CameraRig_Crane.h" #include "UObject/ConstructorHelpers.h" #include "Components/StaticMeshComponent.h" #include "Engine/StaticMesh.h" #include "Engine/CollisionProfile.h" #define LOCTEXT_NAMESPACE "CameraRig_Crane" ACameraRig_Crane::ACameraRig_Cr...
38.257143
159
0.803709
[ "mesh", "object" ]
421698ee1c24cbc4100aead98ccab151b9c97a6a
3,496
hpp
C++
src/uml/src_gen/uml/impl/FactoryImpl.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
null
null
null
src/uml/src_gen/uml/impl/FactoryImpl.hpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
1
2019-03-01T00:54:13.000Z
2019-03-04T02:15:50.000Z
src/uml/src_gen/uml/impl/FactoryImpl.hpp
vallesch/MDE4CPP
7f8a01dd6642820913b2214d255bef2ea76be309
[ "MIT" ]
null
null
null
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_FACTORYFACTORYIMPL_HPP #define UML_FACTORYFACTORYIMPL_HPP //********************************...
33.295238
162
0.587243
[ "object", "model" ]
42183586ed99ff227d57fcad7082f175acfa93e3
482
cpp
C++
playcontext.cpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
playcontext.cpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
playcontext.cpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
#include "playcontext.hpp" #include "event.hpp" #include "inputhandler.hpp" #include "keyname.hpp" std::vector<Event> PlayContext::update(InputHandler& inputHandler) { std::vector<Event> events; if(inputHandler.keyboard.isKeyPressed(keyBindings[KeyName::UP_KEY])) { events.push_back(Event::MOVE_UP)...
21.909091
74
0.697095
[ "vector" ]
4218be28631a4f639b5588205e2471f0a2f4fb1a
7,513
cpp
C++
UiModule/Inworld/ControlPanel/BindingWidget.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
1
2018-04-02T15:38:10.000Z
2018-04-02T15:38:10.000Z
UiModule/Inworld/ControlPanel/BindingWidget.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
UiModule/Inworld/ControlPanel/BindingWidget.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "BindingWidget.h" #include <QMap> #include <QVariant> #include <QMessageBox> #include <QDebug> namespace CoreUi { BindingWidget::BindingWidget(QObject *settings_object) : QWidget() { ...
36.120192
206
0.59244
[ "object" ]
4218d8d69837d3fb9e19aa38f4a409d54401c707
6,508
cpp
C++
src/atomsciflow/nwchem/nwchem.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
1
2022-01-25T01:44:32.000Z
2022-01-25T01:44:32.000Z
src/atomsciflow/nwchem/nwchem.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
null
null
null
src/atomsciflow/nwchem/nwchem.cpp
DeqiTang/build-test-atomsciflow
6fb65c79e74993e2100fbbca31b910d495076805
[ "MIT" ]
null
null
null
/************************************************************************ MIT License Copyright (c) 2021 Deqi Tang 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 w...
34.802139
106
0.683006
[ "geometry", "vector" ]
421c03cde2efebb3aa11219a610370db7836fd15
21,974
cpp
C++
pbihdfutils/SamFilter.cpp
mchaisso/blasr
044b97e6e581a936d93e8226b25ac44aebf3c9da
[ "BSD-3-Clause" ]
17
2015-05-05T12:41:15.000Z
2021-03-24T05:50:58.000Z
pbihdfutils/SamFilter.cpp
EichlerLab/blasr
c9bced1fedfb026b4992e2b49e4ffa0f107819ea
[ "BSD-3-Clause" ]
6
2015-07-07T14:01:00.000Z
2021-04-17T07:53:12.000Z
pbihdfutils/SamFilter.cpp
EichlerLab/blasr
c9bced1fedfb026b4992e2b49e4ffa0f107819ea
[ "BSD-3-Clause" ]
10
2015-01-22T19:27:40.000Z
2022-02-17T06:43:01.000Z
/* * ===================================================================================== * * Filename: SAMFilter.cpp * * Description: Filter SAM Hits according to * filteration criteria * minPctSimilarity, minAccuracy, * minLength, holeNumb...
39.030195
110
0.598161
[ "vector" ]
42350732d1ff37238f9978c97c46426f7b9f1aa8
1,304
cpp
C++
projects/client/visual/through/source/through/Doorway.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/through/source/through/Doorway.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/through/source/through/Doorway.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
#include "Doorway.h" #include "glm/glm.hpp" #include "glow.h" #include <stdexcept> #include "glow_gl.h" using namespace glm; namespace through { Doorway::Doorway(int id, const Field_Type &type, int offset) : id(id), offset(offset), type(type) { updater = determine_updater(type); } void ...
23.285714
72
0.627301
[ "vector" ]
4246a1031dbb9280f88bc6446666742732f8eae6
1,349
cpp
C++
aws-cpp-sdk-shield/source/model/TimeRange.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-shield/source/model/TimeRange.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-shield/source/model/TimeRange.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/shield/model/TimeRange.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Sh...
18.479452
81
0.728688
[ "model" ]
4249a63946651c3b7c8e36950f741f5da039ccef
513
cpp
C++
0201-0300/0275-H-Index II/0275-H-Index II.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0201-0300/0275-H-Index II/0275-H-Index II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0201-0300/0275-H-Index II/0275-H-Index II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int hIndex(vector<int>& citations) { int n = citations.size(); int low = 0, high = n - 1; while (low <= high) { int mid = low + (high - low) / 2; if (citations[mid] == n - mid) { return n - mid; } else i...
23.318182
48
0.358674
[ "vector" ]
424b80d231f41ff5d5f10e8675b3c3740ca99b86
98,033
cpp
C++
sevn-interface/SEVN/src/star/property.cpp
giulianoiorio/PeTar
f6a849552b3d8e47c5e08fe90fed05bf38bc407d
[ "MIT" ]
null
null
null
sevn-interface/SEVN/src/star/property.cpp
giulianoiorio/PeTar
f6a849552b3d8e47c5e08fe90fed05bf38bc407d
[ "MIT" ]
null
null
null
sevn-interface/SEVN/src/star/property.cpp
giulianoiorio/PeTar
f6a849552b3d8e47c5e08fe90fed05bf38bc407d
[ "MIT" ]
null
null
null
// // Created by mario on 09/02/19. // #include <property.h> #include <star.h> #include <iomanip> #include <supernova.h> #include <remnant.h> #include <lambda_nanjing.h> void Property::evolve_fake(Star *s){ ///Set v0=v set_0_fk(value); //save the previous value, before the evolution ///Move to new value...
37.218299
227
0.61666
[ "vector" ]
4261fbc8a4f32f38ed3f7fd514e824fe097da335
3,199
cpp
C++
p1/project1.cpp
Xiao-Siqi/VE281-Project
49ba5994f5289873c6a0abd84b6f5a954591f166
[ "MIT" ]
null
null
null
p1/project1.cpp
Xiao-Siqi/VE281-Project
49ba5994f5289873c6a0abd84b6f5a954591f166
[ "MIT" ]
null
null
null
p1/project1.cpp
Xiao-Siqi/VE281-Project
49ba5994f5289873c6a0abd84b6f5a954591f166
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <math.h> #include "sort1.hpp" using namespace std; struct point { int x; int y; }; void get_set(vector<point> &whole){ //input the whole point set int num=0; cin>>num; for(int i=0;i<num;i++){ point p; cin>>p.x>>p.y; who...
26.438017
88
0.559237
[ "vector" ]
4264803a703c0998346913dabe19c99f456e364c
3,894
cpp
C++
src/meshfactory.cpp
jmpounders/radtrans
c6f2f6208f65c3eb08cbd5cf3af7a73172368295
[ "BSL-1.0" ]
1
2021-08-09T02:13:26.000Z
2021-08-09T02:13:26.000Z
src/meshfactory.cpp
jmpounders/radtrans
c6f2f6208f65c3eb08cbd5cf3af7a73172368295
[ "BSL-1.0" ]
null
null
null
src/meshfactory.cpp
jmpounders/radtrans
c6f2f6208f65c3eb08cbd5cf3af7a73172368295
[ "BSL-1.0" ]
null
null
null
#include "meshfactory.h" #include "mesh.h" #include "moabmesh.h" #include "log.h" void MeshFactory::createMeshFromInput(InputParser& input, MaterialFactory& materialFactory) { std::cout << "Making mesh... "; std::vector<std::string> path(1,"Mesh"); std::vector<double> v; // Get the name of the mesh std::st...
28.217391
107
0.657935
[ "mesh", "vector" ]
426666f1f5207dc24656ff0dd67d61fed6987411
2,643
cxx
C++
ChangingString.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
ChangingString.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
ChangingString.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // PROBLEM STATEMENT // You are given two strings A and B that have the same length and contain only lowercase letters ('a'-'z'). The distance between two letters is defined as the absolute value of their difference. The distance between A and B is defined as the sum of the differences between eac...
20.330769
409
0.619372
[ "vector" ]
426c1ce47eed0148a7d67f570bdecfac4248c645
2,274
cpp
C++
src/apps/backend/car/lane_detector_service.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
src/apps/backend/car/lane_detector_service.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
src/apps/backend/car/lane_detector_service.cpp
raymanfx/seraphim
4d388d21831d349fe1085bc3cb7c73f5d2b103a7
[ "MIT" ]
null
null
null
/* * (C) Copyright 2019 * The Seraphim Project Developers. * * SPDX-License-Identifier: MIT */ #include <seraphim/image.h> #include <seraphim/polygon.h> #include <utils.h> #include "lane_detector_service.h" using namespace sph; using namespace sph::car; LaneDetectorService::LaneDetectorService(std::shared_ptr<...
31.150685
97
0.649077
[ "vector" ]
426d66bb0adc3e77e980161e02321b2cd595d1d1
130,060
cpp
C++
src/acmi/src/acmitape.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/acmi/src/acmitape.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/acmi/src/acmitape.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
#pragma optimize( "", off ) #include <windows.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <direct.h> #include <tchar.h> #include "Graphics/Include/Setup.h" #include "Graphics/Include/drawsgmt.h" #include "Graphics/Include/drawtrcr.h" #include "Graphics/Include/rViewpnt.h"...
30.050832
207
0.513355
[ "render", "object", "solid" ]
426d7e905afdc598f1ff585749f473d2afb0230f
2,484
cpp
C++
CdCoverCreatorExtensions/CDDBDiagnostics/CDDBDiagnosticsDlg.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
CdCoverCreatorExtensions/CDDBDiagnostics/CDDBDiagnosticsDlg.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
CdCoverCreatorExtensions/CDDBDiagnostics/CDDBDiagnosticsDlg.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
// CDDBDiagnosticsDlg.cpp : implementation file // #include "stdafx.h" #include "CDDBDiagnostics.h" #include "CDDBDiagnosticsDlg.h" #include ".\cddbdiagnosticsdlg.h" #include "AudioCDTracks.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CCDDBDiagnosticsDlg dialog CCDDBDiagnosticsDlg::CCDDBD...
25.090909
129
0.688808
[ "model" ]
f11942a2c707ede33e81fc7c0f40ffa1a332c04f
83
cpp
C++
src/model/Settings.cpp
aarcangeli/Light-Show-Maker
c0e74251ea4943bca9f114e0304fa08761fe83d5
[ "MIT" ]
null
null
null
src/model/Settings.cpp
aarcangeli/Light-Show-Maker
c0e74251ea4943bca9f114e0304fa08761fe83d5
[ "MIT" ]
null
null
null
src/model/Settings.cpp
aarcangeli/Light-Show-Maker
c0e74251ea4943bca9f114e0304fa08761fe83d5
[ "MIT" ]
null
null
null
#include "Settings.h" using namespace sm::model; Settings::Settings() = default;
13.833333
31
0.722892
[ "model" ]
f11d9c6d6cad27eab52c8cd0bb1f6eaf63c8fd04
1,149
hxx
C++
ds/adsi/msext/common.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/msext/common.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/msext/common.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------ // // Class: Common // // Purpose: Contains Winnt routines and properties that are common to // all Winnt objects. Winnt objects get the routines and // properties through C++ inheritance. // //------...
22.98
76
0.565709
[ "object" ]
f1229ddf5492048ff59d36a96456dead294b4c9e
1,699
cpp
C++
source/shape/ShapeScatterNd.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
3
2019-12-27T01:10:32.000Z
2021-05-14T08:10:40.000Z
source/shape/ShapeScatterNd.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
10
2019-07-04T01:40:13.000Z
2019-10-30T02:38:42.000Z
source/shape/ShapeScatterNd.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
1
2021-06-06T06:54:53.000Z
2021-06-06T06:54:53.000Z
// // ShapeScatterNd.cpp // MNN // // Created by MNN on 2019/11/27. // Copyright © 2018, Alibaba Group Holding Limited // #include "core/Macro.h" #include "core/SizeComputer.hpp" namespace MNN { // Size Computer class ShapeScatterNd : public SizeComputer { bool onComputeSize(const MNN::Op *op, const std::vec...
33.313725
111
0.619188
[ "shape", "vector" ]
f12503258490f3f0a1369c4eea1d53172c7020fb
3,758
cc
C++
test/integration/attach_light_plugin.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-04T14:12:55.000Z
2019-03-04T14:12:55.000Z
test/integration/attach_light_plugin.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
test/integration/attach_light_plugin.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
2
2016-04-25T22:05:09.000Z
2020-03-08T08:45:12.000Z
/* * Copyright (C) 2017 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...
34.477064
80
0.731506
[ "model" ]
f1396ae00d40a339d794478e1fab6a410ebff41e
1,950
cc
C++
contrib/gnu/gdb/dist/gold/testsuite/constructor_test.cc
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
3
2021-05-04T17:09:06.000Z
2021-10-04T07:19:26.000Z
contrib/gnu/gdb/dist/gold/testsuite/constructor_test.cc
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
null
null
null
contrib/gnu/gdb/dist/gold/testsuite/constructor_test.cc
TheSledgeHammer/2.11BSD
fe61f0b9aaa273783cd027c7b5ec77e95ead2153
[ "BSD-3-Clause" ]
null
null
null
// constructor_test.cc -- a test case for gold global constructors // Copyright (C) 2006-2020 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General...
21.428571
71
0.702564
[ "object" ]
f13a81c65641a68cc626250bd692b629e54843ac
3,452
cpp
C++
alpaca_zorro_plugin/market_data/polygon.cpp
kzhdev/alpaca_zorro_plugin
8d6c85a2298d48ebee79d11b43009e89d691023e
[ "MIT" ]
11
2020-10-08T21:14:49.000Z
2021-12-23T11:57:12.000Z
alpaca_zorro_plugin/market_data/polygon.cpp
webclinic017/alpaca_zorro_plugin
6edc53a385dcf7b893f6c401e6b7c870fb358a5d
[ "MIT" ]
4
2020-10-14T00:31:17.000Z
2021-09-17T00:53:03.000Z
alpaca_zorro_plugin/market_data/polygon.cpp
webclinic017/alpaca_zorro_plugin
6edc53a385dcf7b893f6c401e6b7c870fb358a5d
[ "MIT" ]
4
2020-11-23T05:45:29.000Z
2021-12-23T11:57:15.000Z
#include "stdafx.h" #include "market_data/polygon.h" #include "date/date.h" using namespace alpaca; Response<std::vector<Bar>> Polygon::getBars( const std::string& symbol, __time32_t start, __time32_t end, int nTickMinutes, uint32_t limit, int32_t price_type) const { if (end == 0) { ...
31.099099
150
0.517381
[ "vector" ]
f13b831695d419ffbe6da241914b182a7bc089bd
17,675
cxx
C++
main/chart2/source/tools/OPropertySet.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/tools/OPropertySet.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/tools/OPropertySet.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
33.538899
144
0.630099
[ "vector" ]
f1449d20f79631b1b970b0527f4a4f6ee0990235
9,531
cc
C++
simple_jepg.cc
smarsu/SMJEPG
b723fd267042a796f16e9c16dd90c65e104270eb
[ "MIT" ]
null
null
null
simple_jepg.cc
smarsu/SMJEPG
b723fd267042a796f16e9c16dd90c65e104270eb
[ "MIT" ]
null
null
null
simple_jepg.cc
smarsu/SMJEPG
b723fd267042a796f16e9c16dd90c65e104270eb
[ "MIT" ]
null
null
null
// Copyright (c) 2020 smarsufan. All Rights Reserved. #include <fstream> #include <iostream> #include <sys/time.h> #include <cstring> #include <cassert> #include <cmath> #include "simple_jepg.h" static uint8_t zip_table_[64] = { 0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25,...
27.466859
181
0.545168
[ "vector" ]
f14ae8ad3588124ca4db185a8c9dcac3074ce04a
9,876
cpp
C++
correlation_view_plugin/correlation_calc.cpp
rabouwlab/phast
8134f8e86c72f9212be4ca142c59635ce93ba160
[ "MIT" ]
1
2021-05-22T17:40:51.000Z
2021-05-22T17:40:51.000Z
correlation_view_plugin/correlation_calc.cpp
rabouwlab/phast
8134f8e86c72f9212be4ca142c59635ce93ba160
[ "MIT" ]
null
null
null
correlation_view_plugin/correlation_calc.cpp
rabouwlab/phast
8134f8e86c72f9212be4ca142c59635ce93ba160
[ "MIT" ]
1
2021-03-15T07:09:03.000Z
2021-03-15T07:09:03.000Z
/* Copyright (c) 2020 Stijn Hinterding, Utrecht University * This sofware is licensed under the MIT license (see the LICENSE file) */ #include "correlation_calc.h" #include <phast_gui/support/detectionupdate.h> #include <libtimetag/algos.h> #include <math.h> correlation_calc::correlation_calc(const std::ve...
32.810631
105
0.496861
[ "vector" ]
f14dc77f846c4762d6676ce49407de59cc94708a
4,777
hpp
C++
include/mcnla/core/random/streams/streams.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
include/mcnla/core/random/streams/streams.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
include/mcnla/core/random/streams/streams.hpp
emfomy/mcnla
9f9717f4d6449bbd467c186651856d6212035667
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @file include/mcnla/core/random/streams/streams.hpp /// @brief The random generator driver. /// /// @author Mu Yang <<emfomy@gmail.com>> /// #ifndef MCNLA_CORE_RANDOM_STREAMS_STREA...
30.426752
128
0.463261
[ "vector" ]
f151522855d5afd599d940f1740161fde61dbb79
8,787
cpp
C++
src/tests/apps/fake_app_server/ServerApp.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/apps/fake_app_server/ServerApp.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/apps/fake_app_server/ServerApp.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2001-2005, Haiku. * Distributed under the terms of the MIT License. * * Authors: * DarkWyrm <bpmagic@columbus.rr.com> * Adrian Oanca <adioanca@cotty.iren.ro> * Stephan Aßmus <superstippi@gmx.de> * Stefano Ceccherini (burton666@libero.it) * Axel Dörfler, axeld@pinc-software.de */ #include...
26.229851
108
0.718106
[ "object" ]
f15661dd0043caee83cdfce19337064ef83946d2
4,332
hpp
C++
suffix_array.hpp
nel215/sasa
37074f07dfec4f91e6f89ed79d9f9a52f61ce3dc
[ "MIT" ]
1
2016-07-07T15:00:59.000Z
2016-07-07T15:00:59.000Z
suffix_array.hpp
nel215/sasa
37074f07dfec4f91e6f89ed79d9f9a52f61ce3dc
[ "MIT" ]
null
null
null
suffix_array.hpp
nel215/sasa
37074f07dfec4f91e6f89ed79d9f9a52f61ce3dc
[ "MIT" ]
null
null
null
#ifndef SUFFIX_ARRAY_HPP #define SUFFIX_ARRAY_HPP #include <vector> #include <string> #include <set> #include <algorithm> namespace sasa{ bool is_lms(int index, const std::vector<bool> &sl_seq){ if(index+1 == (int)sl_seq.size())return true; if(0 < index && index < (int)sl_seq.size()){ return sl_seq[i...
32.571429
118
0.560942
[ "vector" ]
f15a6a46d6491e96a2a8ed3577f4b3f2b020fc2c
10,128
cc
C++
src/plugins/interactive_view_control/InteractiveViewControl.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
31
2020-04-17T22:47:47.000Z
2022-03-31T11:00:06.000Z
src/plugins/interactive_view_control/InteractiveViewControl.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
297
2020-04-25T02:55:37.000Z
2022-03-30T20:18:23.000Z
src/plugins/interactive_view_control/InteractiveViewControl.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
33
2020-04-20T00:38:42.000Z
2022-03-18T10:10:46.000Z
/* * Copyright (C) 2021 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.053412
80
0.649289
[ "render", "transform" ]
f16f378096cc3273057df0bb2c3381310148e4d7
2,163
cc
C++
src/core/cast.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
529
2019-10-01T00:01:08.000Z
2022-03-17T12:56:01.000Z
src/core/cast.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
68
2019-10-10T18:41:40.000Z
2022-03-17T07:42:49.000Z
src/core/cast.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
81
2019-10-04T23:48:12.000Z
2022-03-17T13:04:25.000Z
/* Copyright 2019 Stanford * * 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 wri...
26.060241
75
0.676838
[ "model" ]
f1724f6c819691b10af6e549ec543fe0b7d53ac6
209,611
cpp
C++
cwp/src/v20180228/CwpClient.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cwp/src/v20180228/CwpClient.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cwp/src/v20180228/CwpClient.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "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 ...
35.323728
249
0.694491
[ "model" ]
f1733f7b11796d402650d76dd31ee466f249ad52
33,115
cxx
C++
main/sw/source/core/undo/undel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/undo/undel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/undo/undel.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
32.787129
107
0.589703
[ "object" ]
f17cdd102cdb57871921e6387586dc6ecca92c21
2,287
cpp
C++
Data structures for RMQ/SegmentTree.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
1
2022-03-22T16:53:17.000Z
2022-03-22T16:53:17.000Z
Data structures for RMQ/SegmentTree.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
null
null
null
Data structures for RMQ/SegmentTree.cpp
afentev/Algorithms-and-Data-structures
4049c8dd21e9db90f341aefeb1669d4d3f33a519
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #define int int64_t struct SegmentTree { static inline int neutral = 0; int op(int arg1, int arg2) { return arg1 + arg2; } SegmentTree(const std::vector<int>& a) { n = a.size(); t.resize(n << 2, neutral); build(a, 1, 0, n - 1); } void build(const st...
21.990385
80
0.514211
[ "vector" ]
1afd81f84bfb101ecd3c123f32144c35a86ffba6
3,266
cpp
C++
tc 160+/EncodedSum.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/EncodedSum.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/EncodedSum.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <set> using namespace std; long long cnt[10]; class EncodedSum { public: long long maximumSum(vector <string> numbers) { set<char> S; ...
33.326531
321
0.570729
[ "vector" ]
1afdd0f37e3cc14ed558bb1ae4adcc74ad4950b3
1,710
cpp
C++
src/erhe/primitive/primitive.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/erhe/primitive/primitive.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/erhe/primitive/primitive.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#include "erhe/primitive/primitive.hpp" #include "erhe/primitive/primitive_geometry.hpp" #include "erhe/primitive/log.hpp" #include "erhe/graphics/buffer.hpp" #include "erhe/raytrace/ibuffer.hpp" #include "erhe/toolkit/verify.hpp" namespace erhe::primitive { // Primitive::Primitive() = default; //Primitive::Primiti...
30
75
0.650877
[ "mesh" ]
21089594dc0b0a26d2cef10a08b643c5be14f90a
60,330
cpp
C++
src/CAPSImg/CapsImageStd.cpp
jvernet/capsimage
b6a7693d9379333ae6f1c7d29164d12866170904
[ "Linux-OpenIB" ]
8
2019-04-01T10:06:14.000Z
2021-02-06T23:54:01.000Z
src/CAPSImg/CapsImageStd.cpp
jvernet/capsimage
b6a7693d9379333ae6f1c7d29164d12866170904
[ "Linux-OpenIB" ]
3
2018-11-09T17:11:13.000Z
2021-02-25T17:57:58.000Z
src/CAPSImg/CapsImageStd.cpp
jvernet/capsimage
b6a7693d9379333ae6f1c7d29164d12866170904
[ "Linux-OpenIB" ]
5
2020-04-14T19:37:43.000Z
2021-02-07T00:32:24.000Z
#include "stdafx.h" using namespace std; CCapsImageStd::CCapsImageStd() { InitSystem(); Clear(); } CCapsImageStd::~CCapsImageStd() { FreeDecoder(); } // lock and scan file int CCapsImageStd::Lock(PCAPSFILE pcf) { // release image data Unlock(); // try to lock switch (loader.Lock(pcf)) { // file open err...
21.333098
112
0.676396
[ "vector" ]
21104a4af2c980c9f66e9eee939ec8165ffe1c69
8,487
cpp
C++
src/messages.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
11
2020-11-07T19:35:24.000Z
2021-08-19T12:25:27.000Z
src/messages.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
null
null
null
src/messages.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
5
2020-11-06T20:52:11.000Z
2021-02-25T11:02:31.000Z
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "messages.h" #include "allocator.h" #include "game.h" #include "to...
32.026415
182
0.637446
[ "vector" ]
211aecd46f948c29561d53353cceca0c933195ca
18,788
cpp
C++
services/bundlemgr/src/zip_file.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
1
2021-11-23T08:13:14.000Z
2021-11-23T08:13:14.000Z
services/bundlemgr/src/zip_file.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
null
null
null
services/bundlemgr/src/zip_file.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
1
2021-09-13T11:17:54.000Z
2021-09-13T11:17:54.000Z
/* * Copyright (c) 2021 Huawei Device 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 law ...
32.171233
119
0.648978
[ "transform" ]
211cde2e772880211c7750d742d778cbfdcc5040
7,498
cpp
C++
source/dialogunicodexmlfileeditor.cpp
nezarati/Negar-Unicode-Fixer
f3ac17c6605e32b633228a0cd912a698a4147a21
[ "MIT" ]
null
null
null
source/dialogunicodexmlfileeditor.cpp
nezarati/Negar-Unicode-Fixer
f3ac17c6605e32b633228a0cd912a698a4147a21
[ "MIT" ]
null
null
null
source/dialogunicodexmlfileeditor.cpp
nezarati/Negar-Unicode-Fixer
f3ac17c6605e32b633228a0cd912a698a4147a21
[ "MIT" ]
null
null
null
#include "dialogunicodexmlfileeditor.h" #include "ui_dialogunicodexmlfileeditor.h" #include "QMenu" #include "QDebug" #include"convertor.h" #include "checkboxeditdelegate.h" #include "QFile" #include "QXmlStreamWriter" #include "QFileDialog" #include <QMainWindow> #include "QItemSelectionModel" DialogUnicodeXmlFileEdit...
36.048077
225
0.67618
[ "model" ]
211e0815c6afb9b6770cf44d32fff0931f13843a
485
cpp
C++
cf1560A.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1560A.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1560A.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; int cur = 0; vector<int> v; // memoisation for (int tc=1; tc<=t; tc++) { int k; cin >> k; while (k > v.size()) { cur++; string curString = to_string(cur); if (cur...
21.086957
71
0.414433
[ "vector" ]
21340789a8951afd5888f96c7cf27afee222f88d
2,142
cpp
C++
Tutorials/GPU/HeatEquation_EX1_C/Exec/CUDA/advance.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/GPU/HeatEquation_EX1_C/Exec/CUDA/advance.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tutorials/GPU/HeatEquation_EX1_C/Exec/CUDA/advance.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "myfunc.H" #include "mykernel.H" void advance (MultiFab& phi_old, MultiFab& phi_new, std::array<MultiFab, AMREX_SPACEDIM>& flux, Real dt, Geometry const& geom) { // Fill the ghost cells of each grid from the other grids // includes periodic dom...
30.6
83
0.560691
[ "geometry" ]
21343dcd8e55ea64ff0990a049486c44ce0001d5
1,454
cpp
C++
Source/Services/Leaderboard/leaderboard_row.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
2
2021-07-17T13:34:20.000Z
2022-01-09T00:55:51.000Z
Source/Services/Leaderboard/leaderboard_row.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
null
null
null
Source/Services/Leaderboard/leaderboard_row.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
1
2018-11-18T08:32:40.000Z
2018-11-18T08:32:40.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
24.233333
67
0.675378
[ "vector" ]
213951b9e554646fd1d04509290679500e1d8b62
5,226
cc
C++
chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
2
2015-12-08T00:37:41.000Z
2017-04-06T05:34:05.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_path.h" #include "base/file_util.h" #include "base/json/json_file_value_serializer.h" #include "base/message_loop.h" #include "bas...
34.84
80
0.69269
[ "object" ]
214ccfc36cf6ac4ed5b0b0a006b07cddedc9027a
7,218
cpp
C++
Runer.cpp
erfanzar/AR-ML-FOR-REPLACEING
e3f0a32203b8b97f889e6f0e948261114df5aa54
[ "MIT" ]
1
2022-03-16T09:05:28.000Z
2022-03-16T09:05:28.000Z
Runer.cpp
erfanzar/AR-ML-FOR-REPLACEING
e3f0a32203b8b97f889e6f0e948261114df5aa54
[ "MIT" ]
null
null
null
Runer.cpp
erfanzar/AR-ML-FOR-REPLACEING
e3f0a32203b8b97f889e6f0e948261114df5aa54
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <cstdlib> #include <cassert> #include <cmath> #include <fstream> #include <sstream> using namespace std; struct Connection { double weight; double deltaWeight; }; class Neuron; typedef vector<Neuron> Layer; class Neuron { public: Neuron(unsigned numOutput...
27.868726
91
0.66348
[ "vector" ]
2150b430353456fbe8e6b86b76d44c0e68207821
12,828
cxx
C++
Base/QTGUI/qSlicerExtensionsInstallWidget.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerExtensionsInstallWidget.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Base/QTGUI/qSlicerExtensionsInstallWidget.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
38.755287
132
0.610695
[ "object", "model", "3d", "solid" ]
21586d59a56b05e2cabd2620dbba3a35810dc5df
22,639
cpp
C++
src/api/dcps/isocpp2/code/org/opensplice/core/ListenerDispatcher.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
src/api/dcps/isocpp2/code/org/opensplice/core/ListenerDispatcher.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
src/api/dcps/isocpp2/code/org/opensplice/core/ListenerDispatcher.cpp
agenihorganization/opensplice
314d3a4538474f2b8e22acffe3c206f4ac38b66b
[ "Apache-2.0" ]
null
null
null
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
35.26324
156
0.647467
[ "object" ]
215fba5cf67c995b7ebe4e2f5f0c17aeb5a808d0
20,857
cc
C++
src/womersley/womersley_elements.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
null
null
null
src/womersley/womersley_elements.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
1
2022-03-23T16:16:41.000Z
2022-03-23T16:16:41.000Z
src/womersley/womersley_elements.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
null
null
null
// LIC// ==================================================================== // LIC// This file forms part of oomph-lib, the object-oriented, // LIC// multi-physics finite-element library, available // LIC// at http://www.oomph-lib.org. // LIC// // LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel // LIC// ...
29.881089
80
0.534017
[ "mesh", "object", "shape", "vector" ]
2160333b7ccc523e1aadf02fa5500dc0bfd90b83
2,219
cpp
C++
01-algorithmic-toolbox/week4/3_improving_quicksort/sorting.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
01-algorithmic-toolbox/week4/3_improving_quicksort/sorting.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
01-algorithmic-toolbox/week4/3_improving_quicksort/sorting.cpp
olpotkin/ds_and_algos_modern_cpp
12876686a8fb26bc9358930378d235d4470bb6fc
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdlib> #include <cassert> /// Intro: The goal in this problem is to redesign a given implementation of the randomized quick sort /// algorithm so that it works fast even on sequences containing many equal elements. /// /// Task: To force the given implementatio...
22.876289
111
0.559712
[ "vector" ]
21653cc1ac4c4d1273e8d92c6f7ee13b533d2c5e
8,568
cpp
C++
billing/src/v20180709/model/CosDetailSets.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/CosDetailSets.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/CosDetailSets.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "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 ...
29.853659
145
0.703665
[ "model" ]
2171a16462f636b5bd9b72080cedd1b0da404366
3,426
cpp
C++
Algorithms/DynamicProgramming/editDistance.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
98
2018-10-09T15:42:41.000Z
2021-10-04T15:25:44.000Z
Algorithms/DynamicProgramming/editDistance.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
141
2018-10-06T16:55:20.000Z
2021-10-31T18:25:35.000Z
Algorithms/DynamicProgramming/editDistance.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
885
2018-10-06T17:14:44.000Z
2022-01-29T03:16:21.000Z
#include <iostream> #include <vector> #include<math.h> #include<unordered_map> using namespace std; //EFFICIENT BUT WRONG. //WE HAVE TO TAKE CARE OF THE SEQUENCE OF THE ELEMENTS IN THE STRING TOO. //LIKE: ABC AND DCB WILL NOT HAVE 1 STEP BUT MINIMUM 3 STEPS TO BECOME EQUAL. /* int editDistance(string s1, string s2){ ...
18.928177
78
0.536486
[ "vector" ]
217a90185552b3b480bcf36a299e6c5aa7fc7fae
2,119
cc
C++
src/hello_world/server/main.cc
Bjoe/genode-playground
0be3cbf5b210a17233e79d4417bcf9a4d0dbf04c
[ "MIT" ]
null
null
null
src/hello_world/server/main.cc
Bjoe/genode-playground
0be3cbf5b210a17233e79d4417bcf9a4d0dbf04c
[ "MIT" ]
null
null
null
src/hello_world/server/main.cc
Bjoe/genode-playground
0be3cbf5b210a17233e79d4417bcf9a4d0dbf04c
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017 Joerg-Christian Boehme * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU Affero General Public License version 3. */ #include <base/component.h> #include <base/log.h> #include <base/heap.h> #include <root/component.h> #include <hello_world_...
22.072917
70
0.689476
[ "object" ]
217f174f1e787cae0b34bd58c48b4e34d5aaeedf
3,818
hpp
C++
include/STELA/symbols.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
10
2018-06-20T05:12:59.000Z
2021-11-23T02:56:04.000Z
include/STELA/symbols.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
include/STELA/symbols.hpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
// // symbols.hpp // STELA // // Created by Indi Kernick on 9/7/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #ifndef stela_symbols_hpp #define stela_symbols_hpp #include <string> #include <memory> #include "ast.hpp" #include <unordered_map> namespace stela::sym { struct Scope; struct Symbol { ...
20.526882
77
0.684914
[ "object", "vector" ]
217f1784704dfc96f10ef1de8685a47fc247e876
3,501
cpp
C++
cspark/cspark.cpp
viridia/spark
d1c0f4cc1e72f73b360b119e8b694b58935b0209
[ "Apache-2.0" ]
1
2015-02-23T18:47:08.000Z
2015-02-23T18:47:08.000Z
cspark/cspark.cpp
viridia/spark
d1c0f4cc1e72f73b360b119e8b694b58935b0209
[ "Apache-2.0" ]
null
null
null
cspark/cspark.cpp
viridia/spark
d1c0f4cc1e72f73b360b119e8b694b58935b0209
[ "Apache-2.0" ]
null
null
null
// ============================================================================ // cspark.cpp: Main entry point. // ============================================================================ #include "spark/collections/stringref.h" #include "spark/compiler/compiler.h" #include <iostream> #include <vector> //#includ...
25.933333
79
0.507569
[ "vector" ]
217f9df16e8677438e97222989f5b4d42d3f57ba
23,424
cpp
C++
RobotArm/lib/RobotArm/src/RobotArm.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
RobotArm/lib/RobotArm/src/RobotArm.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
RobotArm/lib/RobotArm/src/RobotArm.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
#include "RobotArm.h" RobotArm::RobotArm() { } RobotArm::RobotArm(float linkLengths[]) { if (sizeof(*linkLengths) != noOfJoints + 1) { //Serial.println("Bad initialisation of Robot Arm"); } for (int i = 0; i < noOfJoints + 1; i++) { this->linkLengths[i] = linkLengths[i]; } } v...
28.741104
135
0.549223
[ "transform" ]
21820545096daff6e0240c2a797fe8e35c4fafc9
2,665
cpp
C++
catkin_ws/src/srrg2_executor/srrg2_executor/src/apps/auto_dl_finder.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_executor/srrg2_executor/src/apps/auto_dl_finder.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_executor/srrg2_executor/src/apps/auto_dl_finder.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <srrg_boss/serializer.h> #include <srrg_config/configurable_manager.h> #include <srrg_system_utils/parse_command_line.h> #include <srrg_system_utils/system_utils.h> #include <unistd.h> #ifdef DEVEL_SPACE std::string devel_space = DEVEL_SPACE; #endif #define MAX_PATH_LEN 5...
30.632184
107
0.677298
[ "vector" ]
21845bbb106c5cd3a078c78910e37cc70194dbeb
3,140
cpp
C++
Source/Geometry/Mesh/imstkImageData.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
2
2020-08-14T07:21:30.000Z
2021-08-30T09:39:09.000Z
Source/Geometry/Mesh/imstkImageData.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
null
null
null
Source/Geometry/Mesh/imstkImageData.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
1
2020-08-14T07:00:31.000Z
2020-08-14T07:00:31.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
22.112676
75
0.616879
[ "geometry" ]
21857cf9b91a51a5b8d19ab9daa3f2405d505f2e
4,409
cpp
C++
jaco2_kin_dyn_lib/src/kdl_conversion.cpp
cogsys-tuebingen/jaco2_ros
13147ae2e69a41936115a40739feb0f358af6f91
[ "BSD-3-Clause" ]
4
2019-07-01T23:44:12.000Z
2021-03-12T06:01:24.000Z
jaco2_kin_dyn_lib/src/kdl_conversion.cpp
cogsys-tuebingen/jaco2_ros
13147ae2e69a41936115a40739feb0f358af6f91
[ "BSD-3-Clause" ]
null
null
null
jaco2_kin_dyn_lib/src/kdl_conversion.cpp
cogsys-tuebingen/jaco2_ros
13147ae2e69a41936115a40739feb0f358af6f91
[ "BSD-3-Clause" ]
1
2021-03-15T06:10:19.000Z
2021-03-15T06:10:19.000Z
#include <jaco2_kin_dyn_lib/kdl_conversion.h> void Jaco2KinDynLib::convert(const KDL::JntArray &in, std::vector<double> &out) { out.resize(in.rows()); for(std::size_t i = 0; i < out.size(); ++i){ out[i] = in(i); } } void Jaco2KinDynLib::convert(const std::vector<double> &in, KDL::JntArray &out, st...
29.006579
105
0.589022
[ "vector" ]
218b23d730c286985699ea0cbdf1b57f9bfbb16b
4,543
hpp
C++
batteries/net/internal/parse.hpp
cblauvelt/batteries
3f894bfd15972abd62a965d88d70c17aaeff443e
[ "Apache-2.0" ]
null
null
null
batteries/net/internal/parse.hpp
cblauvelt/batteries
3f894bfd15972abd62a965d88d70c17aaeff443e
[ "Apache-2.0" ]
6
2019-12-24T19:36:29.000Z
2022-03-13T23:54:59.000Z
batteries/net/internal/parse.hpp
cblauvelt/batteries
3f894bfd15972abd62a965d88d70c17aaeff443e
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Batteries 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
33.404412
80
0.692934
[ "vector" ]
218dadad29fb68676a16adf2decf20956fe80e07
7,714
hpp
C++
src/wscb.hpp
aidv/WebSockets-Callback.CPP
5e97bf021d62d0ce3c0b9cc668cf6502d832d4ad
[ "MIT" ]
11
2019-03-17T12:01:53.000Z
2021-01-28T12:36:45.000Z
src/wscb.hpp
aidv/WebSockets-Callback.CPP
5e97bf021d62d0ce3c0b9cc668cf6502d832d4ad
[ "MIT" ]
null
null
null
src/wscb.hpp
aidv/WebSockets-Callback.CPP
5e97bf021d62d0ce3c0b9cc668cf6502d832d4ad
[ "MIT" ]
1
2020-04-11T10:25:02.000Z
2020-04-11T10:25:02.000Z
#pragma once #include <boost/beast/core.hpp> #include <boost/beast/websocket.hpp> #include <boost/asio/strand.hpp> #include <boost/asio.hpp> #include <algorithm> #include <cstdlib> #include <functional> #include <iostream> #include <memory> #include <string> #include <thread> #include <vector> #include <list> #include...
33.107296
186
0.546409
[ "object", "vector" ]
2192930a7156cfe0dcb3eec7c038e376179a54bc
2,277
cpp
C++
feature_extractor/llvm/lib/ir_pass/IntFeature.cpp
ssrg-vt/aira
96a830480d1ed8317e0175a10d950d7991fb2bb7
[ "Unlicense" ]
3
2018-12-17T08:20:40.000Z
2020-02-24T02:08:23.000Z
feature_extractor/llvm/lib/ir_pass/IntFeature.cpp
ssrg-vt/aira
96a830480d1ed8317e0175a10d950d7991fb2bb7
[ "Unlicense" ]
null
null
null
feature_extractor/llvm/lib/ir_pass/IntFeature.cpp
ssrg-vt/aira
96a830480d1ed8317e0175a10d950d7991fb2bb7
[ "Unlicense" ]
null
null
null
/*****************************************************************************/ /* Implementation of IntFeature class */ /*****************************************************************************/ #include <iostream> #include <string> #include <llvm/IR/Function.h> #include "...
26.172414
79
0.615722
[ "vector" ]
21940908b6168baea96f65faccdf1414ce285f2a
309
cc
C++
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00a_node_info.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00a_node_info.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
FiniteElementSpace/Methods/FiniteVolume/fv_mapping_00a_node_info.cc
Naktakala/FESpace
5d0e7aebdf17f5da233d97983a2535737207c7df
[ "MIT" ]
null
null
null
#include "fv_mapping.h" #include "ChiMesh/Cell/cell.h" using namespace chi_math::finite_element; //std::vector<NodeInfo> FiniteVolume::GetNodeInfo() const //{ // return {NodeInfo(NodeType::INTERNAL, // IdentifyingInfo({{},{m_cell.global_id}}), // m_cell.centroid)}; //}
25.75
62
0.634304
[ "vector" ]
219502dbb54792bcd44c0b0f2dac401d385c498e
32,718
cxx
C++
fpMain.cxx
Kairn/fantaisie-piano
33be911b5bf3b0a5978bbfe6768902a27467c710
[ "MIT" ]
3
2018-08-28T04:59:29.000Z
2021-07-26T03:25:10.000Z
fpMain.cxx
Kairn/fantaisie-piano
33be911b5bf3b0a5978bbfe6768902a27467c710
[ "MIT" ]
null
null
null
fpMain.cxx
Kairn/fantaisie-piano
33be911b5bf3b0a5978bbfe6768902a27467c710
[ "MIT" ]
1
2019-11-22T05:12:58.000Z
2019-11-22T05:12:58.000Z
/* fpMain.cxx */ /* =========================================================================== * SOURCE FILE FOR THE MAIN PROGRAM * */ #include "fpClasses.h" #include "fpSheets.h" #include "fpConstants.h" #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_mixer.h> #include <SDL2/SDL_ttf.h> #inclu...
25.864032
143
0.619231
[ "render", "vector" ]
2195806e1ab1973c46e944caf74c295e22cc2a08
6,132
hpp
C++
contrib/MassSpectra/flexiblesusy/src/two_scale_convergence_tester_drbar.hpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
contrib/MassSpectra/flexiblesusy/src/two_scale_convergence_tester_drbar.hpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
contrib/MassSpectra/flexiblesusy/src/two_scale_convergence_tester_drbar.hpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
// ==================================================================== // This file is part of FlexibleSUSY. // // FlexibleSUSY is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation, either version 3 of the Licens...
33.145946
103
0.721624
[ "model" ]
4273fb6a36a11329f90bc269364a36fb548f8df4
6,890
cpp
C++
SFUI/Source/UI/Widgets/PreloaderBox.cpp
JayhawkZombie/SFUI
2870aab39deacb1a0be41d414d7d9d2349bdd17b
[ "MIT" ]
1
2019-04-30T23:38:05.000Z
2019-04-30T23:38:05.000Z
SFUI/Source/UI/Widgets/PreloaderBox.cpp
JayhawkZombie/SFUI
2870aab39deacb1a0be41d414d7d9d2349bdd17b
[ "MIT" ]
null
null
null
SFUI/Source/UI/Widgets/PreloaderBox.cpp
JayhawkZombie/SFUI
2870aab39deacb1a0be41d414d7d9d2349bdd17b
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// // // MIT License // // Copyright(c) 2017 Kurt Slagle - kurt_slagle@yahoo.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 Softwar...
28.708333
159
0.615385
[ "render" ]
4278ee553208025038bfbfd23d93290943d43be6
373
cpp
C++
62.unique-paths.159521632.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
62.unique-paths.159521632.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
62.unique-paths.159521632.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
class Solution { public: int uniquePaths(int m, int n) { vector<vector<int>> paths(m,vector<int> (n)); for(int i=0;i<m;i++) { for(int j=0;j<n;j++) { if(i==0||j==0)paths[i][j]=1; else paths[i][j]=paths[i-1][j]+paths[i][j-1]; ...
23.3125
61
0.402145
[ "vector" ]
42802cdc6cf956ea1a5085f311789b925c46241c
985
cpp
C++
GameEngine/MeshComponent.cpp
laura-96/GameEngine
9bf5be938e8899d6a083041dae8b52737293f534
[ "MIT" ]
null
null
null
GameEngine/MeshComponent.cpp
laura-96/GameEngine
9bf5be938e8899d6a083041dae8b52737293f534
[ "MIT" ]
null
null
null
GameEngine/MeshComponent.cpp
laura-96/GameEngine
9bf5be938e8899d6a083041dae8b52737293f534
[ "MIT" ]
null
null
null
#include "MeshComponent.h" #include "GameObject.h" #include "MaterialComponent.h" #include "TransformComponent.h" #include "glmath.h" #include "Geometry.h" #include "MeshResource.h" void MeshComponent::Clear() { std::vector<GameObject*>::iterator go_res = mesh_res->gos_related.begin(); while (go_res != mesh_res->...
20.520833
85
0.740102
[ "mesh", "geometry", "vector" ]
428759d56cef9178f4413739305297353f049aa4
2,193
cc
C++
src/3d/mpi/grid_func.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
9
2018-03-07T19:15:27.000Z
2019-02-22T20:10:23.000Z
src/3d/mpi/grid_func.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
5
2018-11-13T19:59:46.000Z
2020-04-09T19:31:25.000Z
src/3d/mpi/grid_func.cc
cedar-framework/cedar
9fb53ec221738b8dd16dfb31dc9a18d69fc2cc44
[ "BSD-3-Clause" ]
2
2018-07-20T01:06:48.000Z
2019-11-25T12:15:16.000Z
#include <cedar/3d/mpi/grid_func.h> using namespace cedar::cdr3::mpi; grid_func::grid_func(topo_ptr grid) : ::cedar::cdr3::grid_func(grid->nlocal(0)-2, grid->nlocal(1)-2, grid->nlocal(2) - 2), par_object(grid, grid->comm) {} grid_func::grid_func(real_t *ext_data, topo_ptr grid) : ::cedar::cdr3::grid_func(ext_data...
18.74359
95
0.623803
[ "3d" ]
4291b814b4cd5b51261ccb0f7365f897db273dd9
389
cpp
C++
vox.render/runtime/shader/shader_property.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
28
2021-11-23T11:52:55.000Z
2022-03-04T01:48:52.000Z
vox.render/runtime/shader/shader_property.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
null
null
null
vox.render/runtime/shader/shader_property.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
3
2022-01-02T12:23:04.000Z
2022-01-07T04:21:26.000Z
// // shader_property.cpp // vox.render // // Created by 杨丰 on 2021/11/27. // #include "shader_property.h" namespace vox { int ShaderProperty::_propertyNameCounter = 0; ShaderProperty::ShaderProperty(const std::string &name, ShaderDataGroup::Enum group) : name(name), group(group), uniqueId(ShaderProperty::_proper...
18.52381
86
0.735219
[ "render" ]
429bb8ec02a23d19a9bda2dc78d9d49b722b17f9
11,015
cpp
C++
Code/CommonFiles/src/FuzzyLite/DescriptiveAntecedent.cpp
P4ALLcerthiti/P4ALL_FallDetection
f3fcab26d66f4d36ddca4ba69262022e289a128b
[ "BSD-3-Clause" ]
2
2017-08-28T21:12:40.000Z
2021-02-20T06:58:19.000Z
Code/CommonFiles/src/FuzzyLite/DescriptiveAntecedent.cpp
P4ALLcerthiti/P4ALL_Fall_Detection_Web_Services
4d2b4fc4ed326d0ebfb3934ac88f13b78433af7a
[ "BSD-3-Clause" ]
null
null
null
Code/CommonFiles/src/FuzzyLite/DescriptiveAntecedent.cpp
P4ALLcerthiti/P4ALL_Fall_Detection_Web_Services
4d2b4fc4ed326d0ebfb3934ac88f13b78433af7a
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2010 Juan Rada-Vilela 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...
36.839465
125
0.486791
[ "vector" ]
429c898f01a73345bdc851d1ef63c2c215f25ac9
3,850
cpp
C++
test/BaseTestEntityWithSources.cpp
stoewer/nix
7fe4669284b60b6a27228c2da7d3f61a77c943dc
[ "BSD-3-Clause" ]
53
2015-02-10T01:04:34.000Z
2021-04-24T14:26:04.000Z
test/BaseTestEntityWithSources.cpp
stoewer/nix
7fe4669284b60b6a27228c2da7d3f61a77c943dc
[ "BSD-3-Clause" ]
262
2015-01-09T13:24:21.000Z
2021-07-02T13:45:31.000Z
test/BaseTestEntityWithSources.cpp
gicmo/nix
17a5b90e6c12a22e921c181b79eb2a3db1bf61af
[ "BSD-3-Clause" ]
34
2015-03-27T16:41:14.000Z
2020-03-27T06:47:59.000Z
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include "BaseTestEntityWithSources.hpp" #...
32.352941
100
0.654545
[ "vector" ]
42a2919b59f3401c1e071f39cfbe6d82738d1db7
1,589
cpp
C++
src/Cecilion/Renderer/Shader.cpp
robdan7/Cecilion
7282dc32ee9f9cde13e1e75e817b04714285d82a
[ "MIT" ]
null
null
null
src/Cecilion/Renderer/Shader.cpp
robdan7/Cecilion
7282dc32ee9f9cde13e1e75e817b04714285d82a
[ "MIT" ]
3
2020-06-12T16:33:45.000Z
2020-07-07T08:40:50.000Z
src/Cecilion/Renderer/Shader.cpp
robdan7/Cecilion
7282dc32ee9f9cde13e1e75e817b04714285d82a
[ "MIT" ]
null
null
null
#include <Platform/OpenGL/GL_shader.h> #include "Renderer.h" namespace Cecilion { std::shared_ptr<Shader_stage> Shader::create_shader_stage(const uint32_t shader_type, const std::string&& shader_source) { switch(Renderer::get_API()) { case Renderer_API::API::None: CORE_ASSERT(f...
36.113636
126
0.590938
[ "render" ]
42a96cf86f91a8874e03a7845c62c1c1480b90b4
1,478
cpp
C++
Algorithms/1019.NextGreaterNodeInLinkedList/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1019.NextGreaterNodeInLinkedList/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1019.NextGreaterNodeInLinkedList/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <stack> #include <vector> #include "ListNode.h" #include "ListNodeUtils.h" #include "gtest/gtest.h" using CommonLib::ListNode; namespace { class Solution { public: std::vector<int> nextLargerNodes(ListNode* head) const { std::vector<int> result; while (head != nullptr) { ...
27.886792
140
0.624493
[ "vector" ]
42acde1b5ca80682441301b0cf4d0473a45d2704
6,369
cc
C++
filter-predicate_test.cc
gtaubman/doneyet
9d9bf5355fdadf063e375a87c2799f2f0759c1e0
[ "MIT" ]
24
2015-08-07T04:39:49.000Z
2022-02-15T05:43:38.000Z
filter-predicate_test.cc
gtaubman/doneyet
9d9bf5355fdadf063e375a87c2799f2f0759c1e0
[ "MIT" ]
9
2017-02-20T12:39:25.000Z
2019-09-19T12:15:09.000Z
filter-predicate_test.cc
gtaubman/doneyet
9d9bf5355fdadf063e375a87c2799f2f0759c1e0
[ "MIT" ]
7
2016-11-26T18:27:47.000Z
2021-12-08T20:24:04.000Z
#include "filter-predicate.h" #include <iostream> #include <string> #include <vector> using namespace std; static int errors = 0; void ERROR(const string& error) { cout << "ERROR: " << error << endl; ; ++errors; } class TestObj { public: TestObj(int val) { val_ = val; } int Val() { return val_; } sta...
26.987288
73
0.622076
[ "vector" ]
42ad1da96daf11f85c3229457ed1407b8cd91f17
1,382
cpp
C++
Two Best Non-Overlapping Events.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
1
2021-12-12T05:55:44.000Z
2021-12-12T05:55:44.000Z
Two Best Non-Overlapping Events.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
null
null
null
Two Best Non-Overlapping Events.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
null
null
null
class Solution { public: bool static custom(vector<int> &itr1, vector<int> &itr2) { if (itr1[1] < itr2[1]) return true; else return false; } int bs(vector<vector<int>> &events, int low, int high, int start) { if (low <= high) { int mid = (low + ...
26.576923
71
0.404486
[ "vector" ]
42afef2dfe0a60955fe602335becbe3af206fad2
2,877
cpp
C++
tools/random-tensor-gen/random-tensor-gen.cpp
NVlabs/data-orchestration
ad86e65fbd99bb7670700cab7c7031bf232c831f
[ "BSD-3-Clause" ]
5
2019-04-13T02:00:35.000Z
2019-07-22T18:23:25.000Z
tools/random-tensor-gen/random-tensor-gen.cpp
NVlabs/data-orchestration
ad86e65fbd99bb7670700cab7c7031bf232c831f
[ "BSD-3-Clause" ]
null
null
null
tools/random-tensor-gen/random-tensor-gen.cpp
NVlabs/data-orchestration
ad86e65fbd99bb7670700cab7c7031bf232c831f
[ "BSD-3-Clause" ]
2
2019-06-23T18:14:21.000Z
2019-12-29T02:34:33.000Z
/* Copyright (c) 2017, NVIDIA CORPORATION. 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 * notice, this list of condi...
39.410959
116
0.688217
[ "vector" ]
42b7c565955138fed0025be96d0f1911c1fec84e
555
cpp
C++
Algorithm/BlankBoard/cpp/DFS&BFS/Subsets II.cpp
Daya-Jin/DataStructureAndAlgorithm
212e53e255f103fcf0471bdf9422fd306f3745b5
[ "MIT" ]
3
2019-03-07T03:19:54.000Z
2019-08-22T08:12:41.000Z
Algorithm/BlankBoard/cpp/DFS&BFS/Subsets II.cpp
Daya-Jin/DataStructureAndAlgorithm
212e53e255f103fcf0471bdf9422fd306f3745b5
[ "MIT" ]
null
null
null
Algorithm/BlankBoard/cpp/DFS&BFS/Subsets II.cpp
Daya-Jin/DataStructureAndAlgorithm
212e53e255f103fcf0471bdf9422fd306f3745b5
[ "MIT" ]
null
null
null
class Solution { public: void dfs(int idx, vector<int>& path, vector<vector<int>>& res, vector<int>& nums) { res.push_back(path); if (idx == nums.size()) return; for (int i = idx; i < nums.size(); i++) { if (i > idx && nums[i] == nums[i - 1]) continue; else path.push_back(nums[i]); dfs(i ...
20.555556
82
0.581982
[ "vector" ]
42bc73025f958b7ec5ad3bed09c5d5bf3a9658e8
5,162
cpp
C++
ColorTribe/ColorLib_cpp/src/device/ediddata/NVGetEDID.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
16
2015-02-25T22:35:54.000Z
2021-12-14T19:59:30.000Z
ColorTribe/ColorLib_cpp/src/device/ediddata/NVGetEDID.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
2
2015-04-02T13:43:01.000Z
2015-06-01T13:42:00.000Z
ColorTribe/ColorLib_cpp/src/device/ediddata/NVGetEDID.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
5
2016-03-02T16:08:49.000Z
2019-11-29T11:16:54.000Z
/* Inspired from Read-Edid (c) 2000,2001,2002 John Fremlin */ /* patched by mfe for Linux 64 - 2009 */ #ifdef __linux__ #include "NVGetEDID.h" #include "EDIDData.h" #include <string.h> #include <nv_control.h> #include <NvCtrlAttributes.h> #include <iostream> #include <sys/io.h> using namespace std; static char *dis...
21.419087
90
0.633475
[ "vector" ]
42c0eb940ae3aed251c11bd2975cf3a652216215
45,230
cpp
C++
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfPainter.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfPainter.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfPainter.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "podofo/base/PdfCanvas.h" #include "podofo/base/PdfColor.h" #include "podofo/base/PdfCompilerCompat.h" #include "podofo/base/PdfDefines.h" #include "podofo/base/PdfName.h" #include "podofo/base/PdfObject.h" #include "podofo/base/PdfRect.h" #include "podofo/base/PdfReference.h" #include "podofo/base/PdfStream.h...
66.125731
481
0.779836
[ "vector" ]
42c1050e46ffee474efbc2dc0789c26cd466198d
1,703
hpp
C++
src/SinkFilter.hpp
hidenorly/SinkPlugInAlsa
1d3d90dfa82f69d3e89791ba96d5a0987d2885e4
[ "Apache-2.0" ]
null
null
null
src/SinkFilter.hpp
hidenorly/SinkPlugInAlsa
1d3d90dfa82f69d3e89791ba96d5a0987d2885e4
[ "Apache-2.0" ]
null
null
null
src/SinkFilter.hpp
hidenorly/SinkPlugInAlsa
1d3d90dfa82f69d3e89791ba96d5a0987d2885e4
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2021 hidenorly Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
36.234043
128
0.745156
[ "vector" ]
42c3765a97d3d23fdb31feada1778d3051b55563
924
cpp
C++
abc054/abc054_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc054/abc054_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc054/abc054_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define rep(i, n) for (int i = 0; i < n; i++) const int mod = 1e9 + 7; //10^9 + 7; const int N = 9; const int M = 29; /////////////////// // Simply do a DFS with parent array, save the dfs length in a counter and keep comp...
18.857143
106
0.497835
[ "vector" ]
42cc91674d1a2f9a16f73fbd54047bb581a575ac
3,149
cpp
C++
Day13.cpp
AlbinMamuti/AoC
8f65f09787ae10103dc6e1e107c8bd72f133158c
[ "MIT" ]
null
null
null
Day13.cpp
AlbinMamuti/AoC
8f65f09787ae10103dc6e1e107c8bd72f133158c
[ "MIT" ]
null
null
null
Day13.cpp
AlbinMamuti/AoC
8f65f09787ae10103dc6e1e107c8bd72f133158c
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <math.h> #include <cstring> #include <queue> #include <stack> #include <map> using namespace std; void tokenize2(string &str, char delim, vector<pair<int,int>> &coord) { stringstream ss(str); ...
24.992063
91
0.494125
[ "vector" ]
42d0b2a27ea6bfbad1d44a186c42b410293a815d
24,097
cc
C++
project/c++/mri/src/common/src/pubsub_filter/ipv6address_base.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/common/src/pubsub_filter/ipv6address_base.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/common/src/pubsub_filter/ipv6address_base.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2013 JDSU * Author: Andy Lai (Andy.Lai@jdsu.com) */ #include <vector> #include <boost/regex.hpp> #include <boost/algorithm/string/regex.hpp> #include "xtreme/common/pubsub_filter/ipv4address_base.h" #include "xtreme/common/pubsub_filter/ipv6address_base.h" #include "xtreme/common/pubsub_filter/ipv6ad...
39.503279
115
0.588745
[ "vector" ]
42d1330eb19f5546cc23f92331466404b0c43562
4,841
cpp
C++
Contest/2015 Arab Collegiate Programming Contest/F.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Contest/2015 Arab Collegiate Programming Contest/F.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Contest/2015 Arab Collegiate Programming Contest/F.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> #define ll long long #define ls id << 1 #define rs id << 1 | 1 #define mem(array, value, size, type) memset(array, value, ((size) + 5) * sizeof(type)) #define memarray(array, value) memset(array, value, sizeof(array)) #define fillarray(array, value, begin, end) fill((array) + (begin), (array) +...
20.25523
95
0.512497
[ "vector" ]
42d2ac0ec4f69e2e0c1c31e4ea966e7729b8d3d1
16,209
cpp
C++
engine/atf_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
null
null
null
engine/atf_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
null
null
null
engine/atf_test.cpp
0mp/kyua
8713ff0cbf96564ae938b9b853038af5535b6882
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Kyua Authors. // 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 // notice, this list of conditio...
35.940133
80
0.718243
[ "model" ]
42d88f00d90b5043798ad58895783618d0f81531
260
cpp
C++
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_clear_state.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_clear_state.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/src/gl/detail/bksge_core_render_gl_detail_clear_state.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bksge_core_render_gl_detail_clear_state.cpp * * @brief ClearState の実装 * * @author myoukaku */ #include <bksge/fnd/config.hpp> #if !defined(BKSGE_HEADER_ONLY) #include <bksge/core/render/gl/detail/inl/clear_state_inl.hpp> #endif
20
63
0.707692
[ "render" ]
42d98b8af17d0f97f4df60125981132501dda3c9
41,768
cc
C++
fluxml/FluxMLDocument.cc
ANTS-ON/FluxML
6feb6f1da638db450351acc664964f5659197bd6
[ "MIT" ]
9
2019-05-27T18:01:09.000Z
2022-01-07T11:26:52.000Z
fluxml/FluxMLDocument.cc
ANTS-ON/FluxML
6feb6f1da638db450351acc664964f5659197bd6
[ "MIT" ]
17
2019-07-08T16:53:32.000Z
2022-02-23T07:20:45.000Z
fluxml/FluxMLDocument.cc
ANTS-ON/FluxML
6feb6f1da638db450351acc664964f5659197bd6
[ "MIT" ]
6
2019-07-12T10:26:22.000Z
2022-02-11T09:46:44.000Z
#include <list> #include <xercesc/dom/DOM.hpp> #include "Error.h" #include "Sort.h" #include "charptr_map.h" #include "charptr_array.h" #include "Notation.h" #include "Configuration.h" #include "Info.h" #include "Pool.h" #include "IsoReaction.h" #include "DOMWriter.h" #include "DOMWriterImpl.h" #include "FluxMLContentO...
31.031204
157
0.599143
[ "vector" ]
42e6c70382c744f0fc224096f2781ae69933f76b
2,669
cpp
C++
tc 160+/StockHistory.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/StockHistory.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/StockHistory.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <cmath> using namespace std; double dp[51]; class StockHistory { public: int maximumEarnings(int ii, int mc, vector <string> stockPrices) { ...
33.78481
309
0.563507
[ "vector" ]
42ea464ad46c886d4dfaf3bf696fe55556c10207
3,590
cpp
C++
src/error.cpp
rljacobson/Elsix
e4e508f2a09bb2cddd6d928bfa69a901a3feb74c
[ "MIT" ]
2
2021-03-21T04:53:22.000Z
2021-07-21T00:55:30.000Z
src/error.cpp
rljacobson/Elsix
e4e508f2a09bb2cddd6d928bfa69a901a3feb74c
[ "MIT" ]
null
null
null
src/error.cpp
rljacobson/Elsix
e4e508f2a09bb2cddd6d928bfa69a901a3feb74c
[ "MIT" ]
null
null
null
#include <utility> /* Created by Robert Jacobson on 04 April 2019. Elsix Description: An implementation of the Bell Telephone Laboratories' Low-Level Linked List Language L6. Copyright (c) 2019 Robert Jacobson. The MIT License Permission is hereby granted, free of charge...
32.636364
97
0.68273
[ "vector" ]