Warning: is_file(): open_basedir restriction in effect. File(/tmp/.ICE-unix/qiqi0) is not within the allowed path(s): (/yjdata/www/thinkphp/:/yjdata/www/tmp/) in /yjdata/www/thinkphp/wp-config.php on line 1
3月 2021 - ckj123
Skip to content
  • 首页
  • about me
  • 友链
  • 计划任务
Search
Close

ckj123

站在舞台中间,是为了成为别人的光

月份:2021年3月

Go语言在参数传递中深拷贝浅拷贝的问题

2021年3月25日2021年9月15日 kj, cLeave a comment

Go语言深拷贝浅拷贝

最近在写代码的时候发现有一个bug,是跟深拷贝浅拷贝有关系的

之前看了
Go 语言设计与实现 – 面向信仰编程

已经讲的非常详细了,分为两种

传递过程中参数是int类型和数组

func myFunction(i int, arr [2]int) {
    i = 2[......]

继续阅读

近期文章

  • Go语言在参数传递中深拷贝浅拷贝的问题
  • S2-001
  • shiro反序列化学习
  • [java 反序列化] Commons Collections5,6反序列化漏洞
  • sqlmap源码解析(二)

近期评论

  • woadsl1234发表在《[CSAW CTF’18] web writeup》
  • loans no credit check unsecured发表在《[CSAW CTF’18] web writeup》

文章归档

  • 2021年3月
  • 2019年10月
  • 2019年7月
  • 2019年5月
  • 2019年4月
  • 2019年3月
  • 2019年2月
  • 2019年1月
  • 2018年12月
  • 2018年11月
  • 2018年10月
  • 2018年9月

分类目录

  • ctf
  • go

功能

  • 登录
  • 文章RSS
  • 评论RSS
  • WordPress.org
Proudly powered by WordPress | Theme: Nucleare by CrestaProject.
Back to top