当前位置: 首页 > news >正文

[ubuntu18.04]ubuntu18.04安装json-c操作说明

ubuntu18.04安装json-c

代码下载

root@w1804-virtual-machine:/home/w1804/tr069# git clone https://github.com/json-c/json-c.git 
Cloning into '/opt/git/json-c'...
remote: Enumerating objects: 6398, done.
remote: Counting objects: 100% (1067/1067), done.
remote: Compressing objects: 100% (484/484), done.
remote: Total 6398 (delta 678), reused 784 (delta 575), pack-reused 5331 (from 1)
Receiving objects: 100% (6398/6398), 4.21 MiB | 5.06 MiB/s, done.
Resolving deltas: 100% (4240/4240), done.

编译操作

cd json-c

cmake ./

root@w1804-virtual-machine:/json-c# cmake ./
-- The C compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for endian.h
-- Looking for endian.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for locale.h
-- Looking for locale.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for sys/cdefs.h
-- Looking for sys/cdefs.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/random.h
-- Looking for sys/random.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for xlocale.h
-- Looking for xlocale.h - not found
-- Looking for _isnan
-- Looking for _isnan - not found
-- Looking for _finite
-- Looking for _finite - not found
-- Looking for INFINITY
-- Looking for INFINITY - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for nan
-- Looking for nan - found
-- Looking for _doprnt
-- Looking for _doprnt - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for vprintf
-- Looking for vprintf - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for bsd/stdlib.h
-- Looking for bsd/stdlib.h - not found
-- Looking for open
-- Looking for open - found
-- Looking for realloc
-- Looking for realloc - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for uselocale
-- Looking for uselocale - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for vsyslog
-- Looking for vsyslog - found
-- Looking for getrandom
-- Looking for getrandom - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Performing Test HAS_GNU_WARNING_LONG
-- Performing Test HAS_GNU_WARNING_LONG - Failed
-- Performing Test HAVE_ATOMIC_BUILTINS
-- Performing Test HAVE_ATOMIC_BUILTINS - Success
-- Performing Test HAVE___THREAD
-- Performing Test HAVE___THREAD - Success
-- Wrote /opt/git/json-c/config.h
-- Wrote /opt/git/json-c/json_config.h
-- Performing Test REENTRANT_WORKS
-- Performing Test REENTRANT_WORKS - Success
-- Performing Test BSYMBOLIC_WORKS
-- Performing Test BSYMBOLIC_WORKS - Success
-- Performing Test VERSION_SCRIPT_WORKS
-- Performing Test VERSION_SCRIPT_WORKS - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen missing components:  dot
-- Wrote /opt/git/json-c/doc/Doxyfile
-- Wrote /opt/git/json-c/apps_config.h
-- Configuring done
-- Generating done
-- Build files have been written to: json-c

make

root@w1804-virtual-machine:/json-c# make 
Scanning dependencies of target json-c-static
[  1%] Building C object CMakeFiles/json-c-static.dir/arraylist.c.o
[  2%] Building C object CMakeFiles/json-c-static.dir/debug.c.o
[  3%] Building C object CMakeFiles/json-c-static.dir/json_c_version.c.o
[  4%] Building C object CMakeFiles/json-c-static.dir/json_object.c.o
[  5%] Building C object CMakeFiles/json-c-static.dir/json_object_iterator.c.o
[  6%] Building C object CMakeFiles/json-c-static.dir/json_tokener.c.o
[  7%] Building C object CMakeFiles/json-c-static.dir/json_util.c.o
[  9%] Building C object CMakeFiles/json-c-static.dir/json_visit.c.o
[ 10%] Building C object CMakeFiles/json-c-static.dir/linkhash.c.o
[ 11%] Building C object CMakeFiles/json-c-static.dir/printbuf.c.o
[ 12%] Building C object CMakeFiles/json-c-static.dir/random_seed.c.o
[ 13%] Building C object CMakeFiles/json-c-static.dir/strerror_override.c.o
[ 14%] Building C object CMakeFiles/json-c-static.dir/json_pointer.c.o
[ 15%] Building C object CMakeFiles/json-c-static.dir/json_patch.c.o
[ 17%] Linking C static library libjson-c.a
[ 17%] Built target json-c-static
Scanning dependencies of target json-c
[ 18%] Building C object CMakeFiles/json-c.dir/arraylist.c.o
[ 19%] Building C object CMakeFiles/json-c.dir/debug.c.o
[ 20%] Building C object CMakeFiles/json-c.dir/json_c_version.c.o
[ 21%] Building C object CMakeFiles/json-c.dir/json_object.c.o
[ 22%] Building C object CMakeFiles/json-c.dir/json_object_iterator.c.o
[ 23%] Building C object CMakeFiles/json-c.dir/json_tokener.c.o
[ 25%] Building C object CMakeFiles/json-c.dir/json_util.c.o
[ 26%] Building C object CMakeFiles/json-c.dir/json_visit.c.o
[ 27%] Building C object CMakeFiles/json-c.dir/linkhash.c.o
[ 28%] Building C object CMakeFiles/json-c.dir/printbuf.c.o
[ 29%] Building C object CMakeFiles/json-c.dir/random_seed.c.o
[ 30%] Building C object CMakeFiles/json-c.dir/strerror_override.c.o
[ 31%] Building C object CMakeFiles/json-c.dir/json_pointer.c.o
[ 32%] Building C object CMakeFiles/json-c.dir/json_patch.c.o
[ 34%] Linking C shared library libjson-c.so
[ 34%] Built target json-c
Scanning dependencies of target test_visit
[ 35%] Building C object tests/CMakeFiles/test_visit.dir/test_visit.c.o
[ 36%] Linking C executable test_visit
[ 36%] Built target test_visit
Scanning dependencies of target test_util_file
[ 37%] Building C object tests/CMakeFiles/test_util_file.dir/test_util_file.c.o
[ 38%] Linking C executable test_util_file
[ 38%] Built target test_util_file
Scanning dependencies of target test_set_value
[ 39%] Building C object tests/CMakeFiles/test_set_value.dir/test_set_value.c.o
[ 40%] Linking C executable test_set_value
[ 40%] Built target test_set_value
Scanning dependencies of target test_parse_int64
[ 42%] Building C object tests/CMakeFiles/test_parse_int64.dir/test_parse_int64.c.o
[ 43%] Linking C executable test_parse_int64
[ 43%] Built target test_parse_int64
Scanning dependencies of target test_parse
[ 44%] Building C object tests/CMakeFiles/test_parse.dir/test_parse.c.o
[ 45%] Linking C executable test_parse
[ 45%] Built target test_parse
Scanning dependencies of target testReplaceExisting
[ 46%] Building C object tests/CMakeFiles/testReplaceExisting.dir/testReplaceExisting.c.o
[ 47%] Linking C executable testReplaceExisting
[ 47%] Built target testReplaceExisting
Scanning dependencies of target test_json_patch
[ 48%] Building C object tests/CMakeFiles/test_json_patch.dir/test_json_patch.c.o
[ 50%] Linking C executable test_json_patch
[ 50%] Built target test_json_patch
Scanning dependencies of target test_printbuf
[ 51%] Building C object tests/CMakeFiles/test_printbuf.dir/test_printbuf.c.o
[ 52%] Linking C executable test_printbuf
[ 52%] Built target test_printbuf
Scanning dependencies of target test_double_serializer
[ 53%] Building C object tests/CMakeFiles/test_double_serializer.dir/test_double_serializer.c.o
[ 54%] Linking C executable test_double_serializer
[ 54%] Built target test_double_serializer
Scanning dependencies of target test4
[ 55%] Building C object tests/CMakeFiles/test4.dir/test4.c.o
[ 56%] Linking C executable test4
[ 56%] Built target test4
Scanning dependencies of target test2Formatted
[ 57%] Building C object tests/CMakeFiles/test2Formatted.dir/test2.c.o
[ 59%] Building C object tests/CMakeFiles/test2Formatted.dir/parse_flags.c.o
[ 60%] Linking C executable test2Formatted
[ 60%] Built target test2Formatted
Scanning dependencies of target test_null
[ 61%] Building C object tests/CMakeFiles/test_null.dir/test_null.c.o
[ 62%] Linking C executable test_null
[ 62%] Built target test_null
Scanning dependencies of target test2
[ 63%] Building C object tests/CMakeFiles/test2.dir/test2.c.o
[ 64%] Linking C executable test2
[ 64%] Built target test2
Scanning dependencies of target test1Formatted
[ 65%] Building C object tests/CMakeFiles/test1Formatted.dir/test1.c.o
[ 67%] Building C object tests/CMakeFiles/test1Formatted.dir/parse_flags.c.o
[ 68%] Linking C executable test1Formatted
[ 68%] Built target test1Formatted
Scanning dependencies of target test_charcase
[ 69%] Building C object tests/CMakeFiles/test_charcase.dir/test_charcase.c.o
[ 70%] Linking C executable test_charcase
[ 70%] Built target test_charcase
Scanning dependencies of target test_strerror
[ 71%] Building C object tests/CMakeFiles/test_strerror.dir/test_strerror.c.o
[ 72%] Linking C executable test_strerror
[ 72%] Built target test_strerror
Scanning dependencies of target test_cast
[ 73%] Building C object tests/CMakeFiles/test_cast.dir/test_cast.c.o
[ 75%] Linking C executable test_cast
[ 75%] Built target test_cast
Scanning dependencies of target test_object_iterator
[ 76%] Building C object tests/CMakeFiles/test_object_iterator.dir/test_object_iterator.c.o
[ 77%] Linking C executable test_object_iterator
[ 77%] Built target test_object_iterator
Scanning dependencies of target test_set_serializer
[ 78%] Building C object tests/CMakeFiles/test_set_serializer.dir/test_set_serializer.c.o
[ 79%] Linking C executable test_set_serializer
[ 79%] Built target test_set_serializer
Scanning dependencies of target test1
[ 80%] Building C object tests/CMakeFiles/test1.dir/test1.c.o
[ 81%] Linking C executable test1
[ 81%] Built target test1
Scanning dependencies of target test_compare
[ 82%] Building C object tests/CMakeFiles/test_compare.dir/test_compare.c.o
[ 84%] Linking C executable test_compare
[ 84%] Built target test_compare
Scanning dependencies of target test_deep_copy
[ 85%] Building C object tests/CMakeFiles/test_deep_copy.dir/test_deep_copy.c.o
[ 86%] Linking C executable test_deep_copy
[ 86%] Built target test_deep_copy
Scanning dependencies of target test_float
[ 87%] Building C object tests/CMakeFiles/test_float.dir/test_float.c.o
[ 88%] Linking C executable test_float
[ 88%] Built target test_float
Scanning dependencies of target test_json_pointer
[ 89%] Building C object tests/CMakeFiles/test_json_pointer.dir/test_json_pointer.c.o
[ 90%] Linking C executable test_json_pointer
[ 90%] Built target test_json_pointer
Scanning dependencies of target test_int_add
[ 92%] Building C object tests/CMakeFiles/test_int_add.dir/test_int_add.c.o
[ 93%] Linking C executable test_int_add
[ 93%] Built target test_int_add
Scanning dependencies of target test_int_get
[ 94%] Building C object tests/CMakeFiles/test_int_get.dir/test_int_get.c.o
[ 95%] Linking C executable test_int_get
[ 95%] Built target test_int_get
Scanning dependencies of target test_locale
[ 96%] Building C object tests/CMakeFiles/test_locale.dir/test_locale.c.o
[ 97%] Linking C executable test_locale
[ 97%] Built target test_locale
Scanning dependencies of target json_parse
[ 98%] Building C object apps/CMakeFiles/json_parse.dir/json_parse.c.o
[100%] Linking C executable json_parse
[100%] Built target json_parse

make test

root@w1804-virtual-machine:/json-c# make test
Running tests...
Test project /opt/git/json-cStart  1: test11/25 Test  #1: test1 ............................   Passed    0.04 secStart  2: test22/25 Test  #2: test2 ............................   Passed    0.03 secStart  3: test43/25 Test  #3: test4 ............................   Passed    0.01 secStart  4: testReplaceExisting4/25 Test  #4: testReplaceExisting ..............   Passed    0.02 secStart  5: test_cast5/25 Test  #5: test_cast ........................   Passed    0.02 secStart  6: test_charcase6/25 Test  #6: test_charcase ....................   Passed    0.01 secStart  7: test_compare7/25 Test  #7: test_compare .....................   Passed    0.02 secStart  8: test_deep_copy8/25 Test  #8: test_deep_copy ...................   Passed    0.01 secStart  9: test_double_serializer9/25 Test  #9: test_double_serializer ...........   Passed    0.02 secStart 10: test_float
10/25 Test #10: test_float .......................   Passed    0.02 secStart 11: test_int_add
11/25 Test #11: test_int_add .....................   Passed    0.01 secStart 12: test_int_get
12/25 Test #12: test_int_get .....................   Passed    0.02 secStart 13: test_locale
13/25 Test #13: test_locale ......................   Passed    0.02 secStart 14: test_null
14/25 Test #14: test_null ........................   Passed    0.01 secStart 15: test_parse
15/25 Test #15: test_parse .......................   Passed    0.02 secStart 16: test_parse_int64
16/25 Test #16: test_parse_int64 .................   Passed    0.02 secStart 17: test_printbuf
17/25 Test #17: test_printbuf ....................   Passed    0.01 secStart 18: test_set_serializer
18/25 Test #18: test_set_serializer ..............   Passed    0.02 secStart 19: test_set_value
19/25 Test #19: test_set_value ...................   Passed    0.02 secStart 20: test_strerror
20/25 Test #20: test_strerror ....................   Passed    0.02 secStart 21: test_util_file
21/25 Test #21: test_util_file ...................   Passed    0.02 secStart 22: test_visit
22/25 Test #22: test_visit .......................   Passed    0.01 secStart 23: test_object_iterator
23/25 Test #23: test_object_iterator .............   Passed    0.02 secStart 24: test_json_pointer
24/25 Test #24: test_json_pointer ................   Passed    0.02 secStart 25: test_json_patch
25/25 Test #25: test_json_patch ..................   Passed    0.01 sec100% tests passed, 0 tests failed out of 25Total Test time (real) =   0.52 sec

 make USE_VALGRIND=0 test 

root@w1804-virtual-machine:/json-c# make USE_VALGRIND=0 test
Running tests...
Test project /opt/git/json-cStart  1: test11/25 Test  #1: test1 ............................   Passed    0.03 secStart  2: test22/25 Test  #2: test2 ............................   Passed    0.03 secStart  3: test43/25 Test  #3: test4 ............................   Passed    0.02 secStart  4: testReplaceExisting4/25 Test  #4: testReplaceExisting ..............   Passed    0.02 secStart  5: test_cast5/25 Test  #5: test_cast ........................   Passed    0.01 secStart  6: test_charcase6/25 Test  #6: test_charcase ....................   Passed    0.01 secStart  7: test_compare7/25 Test  #7: test_compare .....................   Passed    0.02 secStart  8: test_deep_copy8/25 Test  #8: test_deep_copy ...................   Passed    0.02 secStart  9: test_double_serializer9/25 Test  #9: test_double_serializer ...........   Passed    0.01 secStart 10: test_float
10/25 Test #10: test_float .......................   Passed    0.02 secStart 11: test_int_add
11/25 Test #11: test_int_add .....................   Passed    0.02 secStart 12: test_int_get
12/25 Test #12: test_int_get .....................   Passed    0.01 secStart 13: test_locale
13/25 Test #13: test_locale ......................   Passed    0.02 secStart 14: test_null
14/25 Test #14: test_null ........................   Passed    0.02 secStart 15: test_parse
15/25 Test #15: test_parse .......................   Passed    0.02 secStart 16: test_parse_int64
16/25 Test #16: test_parse_int64 .................   Passed    0.02 secStart 17: test_printbuf
17/25 Test #17: test_printbuf ....................   Passed    0.01 secStart 18: test_set_serializer
18/25 Test #18: test_set_serializer ..............   Passed    0.02 secStart 19: test_set_value
19/25 Test #19: test_set_value ...................   Passed    0.01 secStart 20: test_strerror
20/25 Test #20: test_strerror ....................   Passed    0.02 secStart 21: test_util_file
21/25 Test #21: test_util_file ...................   Passed    0.02 secStart 22: test_visit
22/25 Test #22: test_visit .......................   Passed    0.02 secStart 23: test_object_iterator
23/25 Test #23: test_object_iterator .............   Passed    0.02 secStart 24: test_json_pointer
24/25 Test #24: test_json_pointer ................   Passed    0.01 secStart 25: test_json_patch
25/25 Test #25: test_json_patch ..................   Passed    0.02 sec100% tests passed, 0 tests failed out of 25Total Test time (real) =   0.49 sec

make install

root@w1804-virtual-machine:/json-c# make install
[ 17%] Built target json-c-static
[ 34%] Built target json-c
[ 36%] Built target test_visit
[ 38%] Built target test_util_file
[ 40%] Built target test_set_value
[ 43%] Built target test_parse_int64
[ 45%] Built target test_parse
[ 47%] Built target testReplaceExisting
[ 50%] Built target test_json_patch
[ 52%] Built target test_printbuf
[ 54%] Built target test_double_serializer
[ 56%] Built target test4
[ 60%] Built target test2Formatted
[ 62%] Built target test_null
[ 64%] Built target test2
[ 68%] Built target test1Formatted
[ 70%] Built target test_charcase
[ 72%] Built target test_strerror
[ 75%] Built target test_cast
[ 77%] Built target test_object_iterator
[ 79%] Built target test_set_serializer
[ 81%] Built target test1
[ 84%] Built target test_compare
[ 86%] Built target test_deep_copy
[ 88%] Built target test_float
[ 90%] Built target test_json_pointer
[ 93%] Built target test_int_add
[ 95%] Built target test_int_get
[ 97%] Built target test_locale
[100%] Built target json_parse
Install the project...
-- Install configuration: "debug"
-- Installing: /usr/local/lib/libjson-c.so.5.4.0
-- Installing: /usr/local/lib/libjson-c.so.5
-- Installing: /usr/local/lib/libjson-c.so
-- Installing: /usr/local/lib/libjson-c.a
-- Installing: /usr/local/lib/cmake/json-c/json-c-targets.cmake
-- Installing: /usr/local/lib/cmake/json-c/json-c-targets-debug.cmake
-- Installing: /usr/local/lib/cmake/json-c/json-c-config.cmake
-- Installing: /usr/local/lib/pkgconfig/json-c.pc
-- Installing: /usr/local/include/json-c/json_config.h
-- Installing: /usr/local/include/json-c/json.h
-- Installing: /usr/local/include/json-c/arraylist.h
-- Installing: /usr/local/include/json-c/debug.h
-- Installing: /usr/local/include/json-c/json_c_version.h
-- Installing: /usr/local/include/json-c/json_inttypes.h
-- Installing: /usr/local/include/json-c/json_object.h
-- Installing: /usr/local/include/json-c/json_object_iterator.h
-- Installing: /usr/local/include/json-c/json_tokener.h
-- Installing: /usr/local/include/json-c/json_types.h
-- Installing: /usr/local/include/json-c/json_util.h
-- Installing: /usr/local/include/json-c/json_visit.h
-- Installing: /usr/local/include/json-c/linkhash.h
-- Installing: /usr/local/include/json-c/printbuf.h
-- Installing: /usr/local/include/json-c/json_pointer.h
-- Installing: /usr/local/include/json-c/json_patch.h

相关文章:

[ubuntu18.04]ubuntu18.04安装json-c操作说明

ubuntu18.04安装json-c 代码下载 rootw1804-virtual-machine:/home/w1804/tr069# git clone https://github.com/json-c/json-c.git Cloning into /opt/git/json-c... remote: Enumerating objects: 6398, done. remote: Counting objects: 100% (1067/1067), done. remote:…...

华为eNSP:VRRP

一、VRRP背景概述 在现代网络环境中,主机通常通过默认网关进行网络通信。当默认网关出现故障时,网络通信会中断,影响业务连续性和稳定性。为了提高网络的可靠性和冗余性,采用虚拟路由冗余协议(VRRP)是一种…...

Linux--top系统资源命令查看--详解

top命令用法 图: top命令用法: top命令经常用来监控linux的系统状况,是常用的性能分析工具,能够实时显示系统中各个进程的资源占用情况。 top的使用方式: top [-d number] | top [-bnp] top参数解释: -…...

es的join是什么数据类型

在 Elasticsearch 中,parent 并不是一个独立的数据类型,而是与 join 数据类型一起使用的一个概念。join 数据类型用于在同一个索引中建立父子文档之间的关系,允许你在一个索引内表示层级结构或关联关系。通过 join 字段,你可以定义不同类型的文档(如父文档和子文档),并指…...

KV Shifting Attention Enhances Language Modeling

基本信息 📝 原文链接: https://arxiv.org/abs/2411.19574👥 作者: Mingyu Xu, Wei Cheng, Bingning Wang, Weipeng Chen🏷️ 关键词: KV shifting attention, induction heads, language modeling📚 分类: 机器学习, 自然语言处…...

软错误防护技术在车规MCU中应用

在大气层内,宇宙射线粒子与大气分子发生核反应生成大气中子。大气中子入射微电子器件或电路将会诱发单粒子效应(SEE),效应类型主要有单粒子翻转(SEU)、单粒子瞬态(SET)、单粒子锁定&…...

遥感图像处理二(ENVI5.6 Classic)

1 实验目的和内容 1.1 实验目的 本次上机旨在继续深入了解ENVI软件的基本使用,并对提供的实验数据进行基本的图像分割和地物分类等操作并分析结果。 1.2 实验内容 1.2.1 图像分割 对教材示例数据“C7图像分割”中的风景图、兰花图和娃娃图分别进行图像分割操作…...

经典文献阅读之--A Fast Dynamic Point Detection...(用于驾驶场景中的动态点云剔除方法)

0. 简介 现有的基于3D点的动态点检测和移除方法存在显著的时间开销,使其难以适应激光雷达-惯性测程系统。《A Fast Dynamic Point Detection Method for LiDAR-Inertial Odometry in Driving Scenarios》提出了一种基于标签一致性的动态点检测和移除方法&#xff0…...

百度搜索应适用中文域名国家标准,修复中文网址展示BUG

12月1日中文域名国家标准正式实施。该标准“明确了中文域名在编码、解析、注册、字表等方面的技术要求,适用于中文域名注册管理机构、注册服务机构、网络软硬件服务商及终端用户”。 00:23 显然,百度作为网络软硬件服务商,是包括在国家标准的…...

设计模式学习之——适配器模式

适配器模式(Adapter Pattern),又称作变压器模式(因为这两者都体现了“转换”或“适配”的核心概念),是一种结构型设计模式。它将一个类的接口转换成客户端所期望的另一种接口,从而使得原本因接口…...

服务器数据恢复—热备盘上线过程中硬盘离线导致raid5阵列崩溃的数据恢复案例

服务器数据恢复环境: 两组分别由4块SAS接口硬盘组建的raid5阵列,两组raid5阵列划分LUN并由LVM管理,格式化为EXT3文件系统。 服务器故障: RAID5阵列中一块硬盘未知原因离线,热备盘自动激活上线替换离线硬盘。在热备盘上…...

MetaGPT源码 (Memory 类)

目录 MetaGPT源码:Memory 类例子 MetaGPT源码:Memory 类 这段代码定义了一个名为 Memory 的类,用于存储和管理消息(Message)对象。Memory 提供了多种操作消息的功能,包括添加单条或批量消息、按角色或内容筛选消息、删除最新消息…...

数据结构与算法复习AVL树插入过程

环境 $ cat /proc/version Linux version 6.8.0-45-generic (builddlcy02-amd64-115) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 #include <std…...

小迪笔记第 五十天 文件包含漏洞 远程包含 本地包含 ctf练习题实战

前言 文件包含漏洞 原理就是包含的文件如果可控就会造成这个漏洞 php文件包含的特征 &#xff1a; PHP&#xff1a;include、require、include_once、require_once等 一共是分为了2 种 一个就是 远程文件包含 这个的前提是php开启了 远程文件上传这个选项 原理应用就是…...

单片机:实现点阵汉字平滑滚动显示(附带源码)

单片机实现点阵汉字平滑滚动显示 点阵显示技术是嵌入式系统中的常见显示技术之一&#xff0c;广泛应用于LED矩阵显示屏、广告牌、电子时钟等设备。在本项目中&#xff0c;我们将实现一个基于单片机的点阵汉字平滑滚动显示系统&#xff0c;使用LED点阵显示屏来实现动态滚动的汉…...

C# 实现 10 位纯数字随机数

本文将介绍如何用 C# 实现一个生成 10 位纯数字随机数的功能。以下是完整的代码示例&#xff1a; using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace RandomTset {class Program{// 使用GUID作为种子来创建随机数生成器static…...

分布式全文检索引擎ElasticSearch-基本概念介绍

一、索引类型 索引&#xff0c;可以理解是我们的目录&#xff0c;看一本书的时候&#xff0c;可以根据目录准确快速定位到某一页&#xff0c;那么索引就可以帮我们快速定位到某条数据在庞大的数据表的哪一个位置。 我们常见的索引包括正排索引和倒排索引 1、正排索引 正排索…...

电子应用设计方案-49:智能拖把系统方案设计

智能拖把系统方案设计 一、引言 随着人们生活水平的提高和对清洁效率的追求&#xff0c;智能拖把作为一种创新的清洁工具应运而生。本方案旨在设计一款功能强大、操作便捷、清洁效果出色的智能拖把系统。 二、系统概述 1. 系统目标 - 实现自动清洁地面&#xff0c;减轻用户劳…...

汽车免拆诊断案例 | 2014款保时捷卡宴车发动机偶尔无法起动

故障现象 一辆2014款保时捷卡宴车&#xff0c;搭载3.0T 发动机&#xff0c;累计行驶里程约为18万km。车主反映&#xff0c;发动机偶尔无法起动。 故障诊断 接车后试车&#xff0c;发动机起动及运转均正常。用故障检测仪检测&#xff0c;发动机控制单元&#xff08;DME&#x…...

电脑怎么设置通电自动开机(工控机)

操作系统&#xff1a;win10 第一步&#xff0c;电脑开机时按del键进入bios页面。 第二步&#xff0c;选择advanced下的IT8712 Super IO Configuration 第三步&#xff0c;找到Auto Power On&#xff0c;将其从Power off设置为Power On 第四步&#xff0c;F10保存&#xff0c;大…...

MaxKB进阶:豆包大模型驱动的智能日报小助手

MaxKB进阶&#xff1a;豆包大模型驱动的智能日报小助手 说明&#xff1a; 在本教程中&#xff0c;我们通过“智能日报小助手”的应用场景&#xff0c;全面解析MaxKB的进阶功能&#xff1a;从如何接入公共大模型&#xff08;以豆包为例&#xff09;&#xff0c;到函数功能的灵活…...

Python爬虫之使用xpath进行HTML Document文档的解析

响应有两种&#xff1a;JSON数据和HTML页面&#xff0c;对于后者就需要进行解析HTML Documen得到我们需要的信息。 ① xpath使用 可以提前安装xpath插件&#xff0c;也可以自己从HTML源码解析。 &#xff08;1&#xff09;打开chrome浏览器 &#xff08;2&#xff09;点击右…...

调度系统:使用 Airflow 对 Couchbase 执行 SQL 调度时的潜在问题

使用 Airflow 对 Couchbase 执行 SQL 调度时&#xff0c;通常情况下不会直接遇到与 Couchbase 分布式特性相关的异常&#xff0c;但在某些特定情境下&#xff0c;可能会出现一些与分布式环境、调度和数据一致性相关的潜在问题。以下是一些可能会遇到的问题和建议的解决方案&…...

【数据结构——查找】二分查找(头歌实践教学平台习题)【合集】

目录&#x1f60b; 任务描述 相关知识 测试说明 我的通关代码: 测试结果&#xff1a; 任务描述 本关任务&#xff1a;实现二分查找的算法。 相关知识 为了完成本关任务&#xff0c;你需要掌握&#xff1a;1.根据键盘输入的一组有序数据建立顺序表&#xff0c;2.顺序表的输…...

简单网页制作提升用户体验和客户转化

在当今竞争激烈的市场中&#xff0c;用户体验和客户转化率往往是决定企业成败的关键。简单而高效的网页制作&#xff0c;正是提升用户体验和客户转化的重要手段之一。 首先&#xff0c;简洁的网页设计能够有效减轻用户的认知负担。当用户打开一个层次分明、界面整洁的网站时&am…...

数据类型(使用与定义)

基本数据类型是CPU可以直接进行运算的类型&#xff0c;在算法直接被使用&#xff0c;主要包括&#xff1a; 整数类型&#xff1a;byte、short、int、long。 浮点数类型&#xff1a;float、double,用于表示小数。 字符类型&#xff1a;char&#xff0c;用于表示各种语言的字母…...

VMware:CentOS 7.* 连不上网络

1、修改网络适配 2、修改网卡配置参数 cd /etc/sysconfig/network-scripts/ vi ifcfg-e33# 修改 ONBOOTyes 3、重启网卡 service network restart 直接虚拟机中【ping 宿主机】&#xff0c;能PING通说明centOS和宿主机网络通了&#xff0c;只要宿主机有网&#xff0c;则 Ce…...

日志分析详解

文章目录 日志分析的概述日志分析的作用主要收集工具集中式日志系统主要特点采集日志分类ELK概述ELK收集日志的两种形式 搭建ELK平台安装部署docker添加镜像加速器安装部署Elasticsearch安装ElasticSearch-head&#xff08;可选&#xff09;运行容器页面无数据问题测试 安装Kib…...

【JavaWeb后端学习笔记】Maven项目管理

Maven 1、分模块设计2、Maven继承2.1 继承关系2.2 版本锁定 3、Maven聚合4、聚合与继承的关系 1、分模块设计 如果一个项目中含有大量的功能模块。可以考虑将这些功能分模块设计&#xff0c;逐一进行开发。例如将公共类可以定义在一个项目中&#xff0c;将通用工具类也放在一个…...

Docker--Docker Container(容器) 之 操作实例

容器的基本操作 容器的操作步骤其实很简单&#xff0c;根据拉取的镜像&#xff0c;进行启动&#xff0c;后可以查看容器&#xff0c;不用时停止容器&#xff0c;删除容器。 下面简单演示操作步骤 1.创建并运行容器 例如&#xff0c;创建一个名为"my-nginx"的交互…...

做的网站没有注册/关键词推广优化排名如何

环境 JDK8jenkins 2.321 安装过程 1、去官网下载&#xff1a;https://jenkins.io/zh/ 2、使用命令行安装&#xff0c;进入到该war包所在的目录 java -jar jenkins.war --httpPort5016–httpPort指定Jenkins监听的端口 出现如下的界面表示成功&#xff1a; 在浏览器里面输…...

wordpress数据维护/搜图片找原图

1.创建一个自定义的类&#xff0c;让其实现HandlerInterceptor这个接口&#xff0c;那摩这个类就是一个拦截器 Componentpublic class AlphaInterceptor implements HandlerInterceptor {private static final Logger logger LoggerFactory.getLogger(AlphaInterceptor.class)…...

做盗文网站/搜外网友情链接

在长久的“裸奔”之后&#xff0c;电动平衡车即将穿上“衣服”。 早先&#xff0c;北京、上海等地已经陆续出台了相关政策&#xff0c;全面禁止电动平衡车、电动滑板等违规交通工具上路。而在近日&#xff0c;首个电动平衡车标准也新鲜出炉了。 昨天&#xff0c;在国家质检总局…...

做优惠卷网站/冯耀宗seo教程

npm 初始化by Zell Liew由Zell Liew 初始化npm的最佳时间 (The best time to npm init) When should you npm init?您应该何时启动npm init &#xff1f; Most developers run npm init right after creating and navigating into a new project.大多数开发人员在创建并导航…...

美容医疗 网站建设/有链接的网站

所谓常量即只能读取不能编辑&#xff08;删除&#xff0c;修改&#xff09;的变量。 js并没有原始的常量说法&#xff08;即自定义的&#xff0c;原生态的&#xff09;&#xff0c;但是可以用一些偏僻的路子去创建。 1&#xff1a;const es6中的声明关键词。 上面声明了两个变量…...

注销网站备案时间/发布软文是什么意思

VMware 中 Ubuntu的安装 步骤 1.文件>新建虚拟机 2.下一步 3.下一步 4.稍后安装操作系统 5.下一步 6.自己取创建的虚拟机名字和存放路径 7.根据自己电脑的配置选择配置 8.选择虚拟机的内存,一般为2G 9.默认下一步 10.下一步 11.下一步 12.选择创建新虚拟磁盘 1…...