text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: rviz_rendering/src/rviz_rendering/objects/effort_visual.cpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/effort_visual.cpp", "license": "bsd", "size": 6122} |
### File: rviz_rendering/src/rviz_rendering/objects/grid.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/grid.cpp", "license": "bsd", "size": 7139} |
### File: rviz_rendering/src/rviz_rendering/objects/line.cpp
// Copyright (c) 2013, Willow Garage, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source cod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/line.cpp", "license": "bsd", "size": 4511} |
### File: rviz_rendering/src/rviz_rendering/objects/mesh_shape.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of sour... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/mesh_shape.cpp", "license": "bsd", "size": 4646} |
### File: rviz_rendering/src/rviz_rendering/objects/movable_text.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or wi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/movable_text.cpp", "license": "bsd", "size": 16310} |
### File: rviz_rendering/src/rviz_rendering/objects/object.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/object.cpp", "license": "bsd", "size": 1856} |
### File: rviz_rendering/src/rviz_rendering/objects/point_cloud.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/point_cloud.cpp", "license": "bsd", "size": 20904} |
### File: rviz_rendering/src/rviz_rendering/objects/point_cloud_renderable.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/point_cloud_renderable.cpp", "license": "bsd", "size": 4558} |
### File: rviz_rendering/src/rviz_rendering/objects/screw_visual.cpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Red... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/screw_visual.cpp", "license": "bsd", "size": 6795} |
### File: rviz_rendering/src/rviz_rendering/objects/shape.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/shape.cpp", "license": "bsd", "size": 5132} |
### File: rviz_rendering/src/rviz_rendering/objects/triangle_polygon.cpp
// Copyright (c) 2024, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// *... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/triangle_polygon.cpp", "license": "bsd", "size": 3272} |
### File: rviz_rendering/src/rviz_rendering/objects/wrench_visual.cpp
// Copyright (c) 2019, Martin Idel and others
// 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 o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/wrench_visual.cpp", "license": "bsd", "size": 6834} |
### File: rviz_rendering/src/rviz_rendering/ogre_logging.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/ogre_logging.cpp", "license": "bsd", "size": 4517} |
### File: rviz_rendering/src/rviz_rendering/ogre_render_window_impl.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/ogre_render_window_impl.cpp", "license": "bsd", "size": 10795} |
### File: rviz_rendering/src/rviz_rendering/ogre_render_window_impl.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/ogre_render_window_impl.hpp", "license": "bsd", "size": 5705} |
### File: rviz_rendering/src/rviz_rendering/orthographic.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/orthographic.cpp", "license": "bsd", "size": 2376} |
### File: rviz_rendering/src/rviz_rendering/render_system.cpp
// Copyright (c) 2011, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/render_system.cpp", "license": "bsd", "size": 17976} |
### File: rviz_rendering/src/rviz_rendering/render_window.cpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/render_window.cpp", "license": "bsd", "size": 7980} |
### File: rviz_rendering/src/rviz_rendering/resource_config.cpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/resource_config.cpp", "license": "bsd", "size": 2613} |
### File: rviz_rendering/src/rviz_rendering/string_helper.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/string_helper.cpp", "license": "bsd", "size": 3067} |
### File: rviz_rendering/src/rviz_rendering/string_helper.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/string_helper.hpp", "license": "bsd", "size": 2006} |
### File: rviz_rendering/src/rviz_rendering/viewport_projection_finder.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/viewport_projection_finder.cpp", "license": "bsd", "size": 3026} |
### File: rviz_rendering/test/rviz_rendering/matcher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// 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 s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/matcher.hpp", "license": "bsd", "size": 2767} |
### File: rviz_rendering/test/rviz_rendering/mesh_shape_test.cpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/mesh_shape_test.cpp", "license": "bsd", "size": 3910} |
### File: rviz_rendering/test/rviz_rendering/objects/billboard_line_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/billboard_line_test.cpp", "license": "bsd", "size": 7724} |
### File: rviz_rendering/test/rviz_rendering/objects/covariance_visual_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/covariance_visual_test.cpp", "license": "bsd", "size": 7279} |
### File: rviz_rendering/test/rviz_rendering/objects/effort_visual_test.cpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/effort_visual_test.cpp", "license": "bsd", "size": 6005} |
### File: rviz_rendering/test/rviz_rendering/objects/grid_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/grid_test.cpp", "license": "bsd", "size": 5932} |
### File: rviz_rendering/test/rviz_rendering/objects/line_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/line_test.cpp", "license": "bsd", "size": 2804} |
### File: rviz_rendering/test/rviz_rendering/objects/movable_text_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/movable_text_test.cpp", "license": "bsd", "size": 9281} |
### File: rviz_rendering/test/rviz_rendering/objects/point_cloud_renderable_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/point_cloud_renderable_test.cpp", "license": "bsd", "size": 4619} |
### File: rviz_rendering/test/rviz_rendering/objects/point_cloud_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Red... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/point_cloud_test.cpp", "license": "bsd", "size": 11640} |
### File: rviz_rendering/test/rviz_rendering/objects/screw_visual_test.cpp
// Copyright (c) 2019, Martin Idel
// 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 sour... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/screw_visual_test.cpp", "license": "bsd", "size": 5838} |
### File: rviz_rendering/test/rviz_rendering/objects/triangle_polygon_test.cpp
// Copyright (c) 2024, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/triangle_polygon_test.cpp", "license": "bsd", "size": 3373} |
### File: rviz_rendering/test/rviz_rendering/objects/wrench_visual_test.cpp
// Copyright (c) 2019, Martin Idel
// 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 sou... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/objects/wrench_visual_test.cpp", "license": "bsd", "size": 5415} |
### File: rviz_rendering/test/rviz_rendering/ogre_testing_environment.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Red... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/ogre_testing_environment.cpp", "license": "bsd", "size": 2326} |
### File: rviz_rendering/test/rviz_rendering/ogre_testing_environment.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Red... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/ogre_testing_environment.hpp", "license": "bsd", "size": 2430} |
### File: rviz_rendering/test/rviz_rendering/scene_graph_introspection.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/scene_graph_introspection.cpp", "license": "bsd", "size": 5361} |
### File: rviz_rendering/test/rviz_rendering/scene_graph_introspection.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/scene_graph_introspection.hpp", "license": "bsd", "size": 4291} |
### File: rviz_rendering/test/rviz_rendering/string_helper_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistrib... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/string_helper_test.cpp", "license": "bsd", "size": 3810} |
### File: rviz_rendering/test/rviz_rendering/visibility_control.hpp
// Copyright 2023 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/test/rviz_rendering/visibility_control.hpp", "license": "bsd", "size": 2077} |
### File: rviz_rendering_tests/CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(rviz_rendering_tests)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering_tests/CMakeLists.txt", "license": "bsd", "size": 2789} |
### File: rviz_rendering_tests/test/mesh_loader_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// 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 s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering_tests/test/mesh_loader_test.cpp", "license": "bsd", "size": 8489} |
### File: rviz_rendering_tests/test/ogre_testing_environment.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering_tests/test/ogre_testing_environment.cpp", "license": "bsd", "size": 2250} |
### File: rviz_rendering_tests/test/ogre_testing_environment.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering_tests/test/ogre_testing_environment.hpp", "license": "bsd", "size": 2210} |
### File: rviz_rendering_tests/test/test_rviz_ogre_media_exports.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering_tests/test/test_rviz_ogre_media_exports.cpp", "license": "bsd", "size": 2937} |
### File: rviz_resource_interfaces/CMakeLists.txt
cmake_minimum_required(VERSION 3.20)
project(rviz_resource_interfaces)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(ros... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_resource_interfaces/CMakeLists.txt", "license": "bsd", "size": 440} |
### File: rviz_visual_testing_framework/CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(rviz_visual_testing_framework)
# Options to decide whether or not the visual test will run.
option(EnableVisualTests "decides whether or not enable the tests")
# Path variables needed to save and find screenshots for ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/CMakeLists.txt", "license": "bsd", "size": 3722} |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/display_handler.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/display_handler.hpp", "license": "bsd", "s... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/executor.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/executor.hpp", "license": "bsd", "size": 2... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/image_tester.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/image_tester.hpp", "license": "bsd", "size... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/rviz_scene_test.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/rviz_scene_test.hpp", "license": "bsd", "s... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/transform_message_creator.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/transform_message_creator.hpp", "license":... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/visual_test.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/internal/visual_test.hpp", "license": "bsd", "size"... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/page_objects/base_page_object.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/page_objects/base_page_object.hpp", "license": "bsd... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/page_objects/page_object_with_window.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/page_objects/page_object_with_window.hpp", "license... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/test_helpers.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions ar... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/test_helpers.hpp", "license": "bsd", "size": 2201} |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/transform_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/transform_publisher.hpp", "license": "bsd", "size":... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/visual_test_fixture.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/visual_test_fixture.hpp", "license": "bsd", "size":... |
### File: rviz_visual_testing_framework/include/rviz_visual_testing_framework/visual_test_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/include/rviz_visual_testing_framework/visual_test_publisher.hpp", "license": "bsd", "size... |
### File: rviz_visual_testing_framework/src/internal/display_handler.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/display_handler.cpp", "license": "bsd", "size": 6889} |
### File: rviz_visual_testing_framework/src/internal/executor.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribut... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/executor.cpp", "license": "bsd", "size": 2511} |
### File: rviz_visual_testing_framework/src/internal/image_tester.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/image_tester.cpp", "license": "bsd", "size": 8864} |
### File: rviz_visual_testing_framework/src/internal/rviz_scene_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/rviz_scene_test.cpp", "license": "bsd", "size": 3424} |
### File: rviz_visual_testing_framework/src/internal/transform_message_creator.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/transform_message_creator.cpp", "license": "bsd", "size": 2793} |
### File: rviz_visual_testing_framework/src/internal/visual_test.cpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/internal/visual_test.cpp", "license": "bsd", "size": 6544} |
### File: rviz_visual_testing_framework/src/page_objects/base_page_object.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// *... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/page_objects/base_page_object.cpp", "license": "bsd", "size": 10334} |
### File: rviz_visual_testing_framework/src/page_objects/page_object_with_window.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/page_objects/page_object_with_window.cpp", "license": "bsd", "size": 2296} |
### File: rviz_visual_testing_framework/src/page_objects/point_cloud_display_page_object.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/page_objects/point_cloud_display_page_object.cpp", "license": "bsd", "size": 4129} |
### File: rviz_visual_testing_framework/src/test_helpers.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/test_helpers.cpp", "license": "bsd", "size": 2885} |
### File: rviz_visual_testing_framework/src/visual_test_fixture.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistrib... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_visual_testing_framework/src/visual_test_fixture.cpp", "license": "bsd", "size": 6001} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(spdlog_vendor CXX)
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_vendor_package REQUIRED)
find_package(spdlog 1.5.0 QUIET)
# While most CMake projects build shared libraries by default, it appears that
# spdlog needs to be told to do... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/spdlog_vendor", "path": "CMakeLists.txt", "license": "apache-2.0", "size": 975} |
### File: sample/stemwords.py
import sys
import re
import codecs
import snowballstemmer
def usage():
print('''usage: jsx_stemwords [-l <language>] [-i <input file>] [-o <output file>] [-c <character encoding>] [-p[2]] [-h]
The input file consists of a list of words to be stemmed, one per
line. Words should be in ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "sample/stemwords.py", "license": "bsd", "size": 3201} |
### File: sample/testapp.py
import sys
import re
import snowballstemmer
def usage():
print("testapp.py <algorithm> \"sentence\"...")
def main():
argv = sys.argv
if len(argv) < 2:
usage()
return
algorithm = 'english'
if len(argv) > 2:
algorithm = argv[1]
argv = argv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "sample/testapp.py", "license": "bsd", "size": 641} |
### File: setup.py
#!/usr/bin/env python
from setuptools import setup
#from distutils.core import setup
setup(name='snowballstemmer',
version='1.2.1',
description='This package provides 16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms.',
long_description='''
It... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "setup.py", "license": "bsd", "size": 2351} |
### File: snowballstemmer/__init__.py
__all__ = ('language', 'stemmer')
from .danish_stemmer import DanishStemmer
from .dutch_stemmer import DutchStemmer
from .english_stemmer import EnglishStemmer
from .finnish_stemmer import FinnishStemmer
from .french_stemmer import FrenchStemmer
from .german_stemmer import GermanS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "snowballstemmer/__init__.py", "license": "bsd", "size": 1718} |
### File: snowballstemmer/among.py
class Among(object):
def __init__(self, s, substring_i, result, method=None):
"""
@ivar s_size search string size
@ivar s search string
@ivar substring index to longest matching substring
@ivar result of the lookup
@ivar method meth... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "snowballstemmer/among.py", "license": "bsd", "size": 473} |
### File: snowballstemmer/basestemmer.py
class BaseStemmer(object):
def __init__(self):
self.set_current("")
self.maxCacheSize = 10000
self._cache = {}
self._counter = 0
def set_current(self, value):
'''
Set the self.current string.
'''
self.curre... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/snowball_py", "path": "snowballstemmer/basestemmer.py", "license": "bsd", "size": 10107} |
### File: CMakeLists.txt
#
# Copyright(c) 2015 Ruslan Baratov.
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
#
cmake_minimum_required(VERSION 3.1)
project(spdlog VERSION 0.17.0 LANGUAGES CXX)
include(CTest)
include(CMakeDependentOption)
include(GNUInstallDirs)
#-----------------------------... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/spdlog", "path": "CMakeLists.txt", "license": "mit", "size": 3301} |
### File: bench/Makefile
CXX ?= g++
CXXFLAGS = -march=native -Wall -Wextra -pedantic -std=c++11 -pthread -I../include
CXX_RELEASE_FLAGS = -O3 -flto -DNDEBUG
# g2log-async
binaries=spdlog-bench spdlog-bench-mt spdlog-async spdlog-null-async \
boost-bench boost-bench-mt \
glog-bench glog-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/spdlog", "path": "bench/Makefile", "license": "mit", "size": 4017} |
### File: bench/boost-bench-mt.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include <boost/log/core.hpp>
#include <boost/log/expressions.hpp>
#include <... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/boost-bench-mt.cpp", "license": "mit", "size": 2303} |
### File: bench/boost-bench.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <chrono>
#include <iostream>
#include <boost/log/core.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/lo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/boost-bench.cpp", "license": "mit", "size": 1691} |
### File: bench/easylogging-bench-async.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#define ELPP_THREAD_SAFE
#define ELPP_EXPERIMENTAL_ASYNC
#include "e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/easylogging-bench-async.cpp", "license": "mit", "size": 1631} |
### File: bench/easylogging-bench-mt.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#define ELPP_THREAD_SAFE
#include "easylogging++.cc"
#include "easylogg... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/easylogging-bench-mt.cpp", "license": "mit", "size": 1596} |
### File: bench/easylogging-bench.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <chrono>
#include <iostream>
#include "easylogging++.cc"
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
int main(int, char *[])
{
using namespace s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/easylogging-bench.cpp", "license": "mit", "size": 1029} |
### File: bench/g2log-async.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "g2log.h"
#include "g2logworker.h"
using namespace std;
template<typen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/g2log-async.cpp", "license": "mit", "size": 1503} |
### File: bench/g3log-async.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "g3log/g3log.hpp"
#include "g3log/logworker.hpp"
using namespace std;
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/g3log-async.cpp", "license": "mit", "size": 1597} |
### File: bench/glog-bench-mt.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "glog/logging.h"
using namespace std;
int main(int argc, char *argv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/glog-bench-mt.cpp", "license": "mit", "size": 1474} |
### File: bench/glog-bench.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <chrono>
#include <iostream>
#include "glog/logging.h"
int main(int, char *argv[])
{
using namespace std::chrono;
using clock = steady_clock;
int howm... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/glog-bench.cpp", "license": "mit", "size": 870} |
### File: bench/latency/Makefile
CXX ?= g++
CXXFLAGS = -march=native -Wall -std=c++11 -pthread
CXX_RELEASE_FLAGS = -O2 -DNDEBUG
binaries=spdlog-latency g3log-latency g3log-crush
all: $(binaries)
spdlog-latency: spdlog-latency.cpp
$(CXX) spdlog-latency.cpp -o spdlog-latency $(CXXFLAGS) $(CXX_RELEASE_FLAG... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/Makefile", "license": "mit", "size": 702} |
### File: bench/latency/compare.sh
#!/bin/bash
echo "running spdlog and g3log tests 10 time with ${1:-10} threads each (total 1,000,000 entries).."
rm -f *.log
for i in {1..10}
do
echo
sleep 0.5
./spdlog-latency ${1:-10} 2>/dev/null || exit
sleep 0.5
./g3log-latency ${1:-10} 2>/dev/null || exit
done
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/compare.sh", "license": "mit", "size": 283} |
### File: bench/latency/g3log-crush.cpp
#include <iostream>
#include <g3log/g3log.hpp>
#include <g3log/logworker.hpp>
void CrusherLoop()
{
size_t counter = 0;
while (true)
{
LOGF(INFO, "Some text to crush you machine. thread:");
if (++counter % 1000000 == 0)
{
std::cout... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/g3log-crush.cpp", "license": "mit", "size": 834} |
### File: bench/latency/g3log-latency.cpp
#include "utils.h"
#include <algorithm>
#include <atomic>
#include <chrono>
#include <cstdio>
#include <fstream>
#include <functional>
#include <g3log/g3log.hpp>
#include <g3log/logworker.hpp>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <ss... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/g3log-latency.cpp", "license": "mit", "size": 3886} |
### File: bench/latency/spdlog-latency.cpp
#include "utils.h"
#include <algorithm>
#include <atomic>
#include <chrono>
#include <cstdio>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <thread>
#include <vector>
#include "spdlog/spdlog.h"
namespace spd = spdlog;
namespace {
cons... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/spdlog-latency.cpp", "license": "mit", "size": 3907} |
### File: bench/latency/utils.h
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include <iomanip>
#include <locale>
#include <sstream>
namespace utils {
template<typename T>
inline std::string format(const T &value)
{
static std::lo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/latency/utils.h", "license": "mit", "size": 625} |
### File: bench/log4cplus-bench-mt.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <memory>
#include <thread>
#include <vector>
#include "log4cplus/fileappender.h"
#include "log4cplus... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/log4cplus-bench-mt.cpp", "license": "mit", "size": 2178} |
### File: bench/log4cplus-bench.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <chrono>
#include <iostream>
#include <memory>
#include "log4cplus/fileappender.h"
#include "log4cplus/helpers/loglog.h"
#include "log4cplus/helpers/property.h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/log4cplus-bench.cpp", "license": "mit", "size": 1575} |
### File: bench/log4cpp-bench-mt.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <atomic>
#include <chrono>
#include <iostream>
#include <memory>
#include <thread>
#include <vector>
#include "log4cpp/Appender.hh"
#include "log4cpp/BasicLay... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/log4cpp-bench-mt.cpp", "license": "mit", "size": 2052} |
### File: bench/log4cpp-bench.cpp
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <chrono>
#include <iostream>
#include <memory>
#include "log4cpp/Appender.hh"
#include "log4cpp/BasicLayout.hh"
#include "log4cpp/Category.hh"
#include "log4cpp/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/spdlog", "path": "bench/log4cpp-bench.cpp", "license": "mit", "size": 1449} |
### File: bench/mem
#!/bin/sh
if [ $# -lt 1 ]; then
echo "usage: $0 <program>"
fi
PROG=$1
if [ ! -x "$PROG" ]; then
echo $PROG not found or not executable.
exit 1
fi
$* &
PID=$!
while `kill -0 $PID 2>/dev/null`; do
ps -eo size,pid,user,pcpu,command --sort -size | awk '{ line=1 ; hr=$1/1024 ; printf("%13.2f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/spdlog", "path": "bench/mem", "license": "mit", "size": 420} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.