go buf_nommap 源码

  • 2022-07-15
  • 浏览 (878)

golang buf_nommap 代码

文件路径:/src/cmd/internal/bio/buf_nommap.go

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd

package bio

func (r *Reader) sliceOS(length uint64) ([]byte, bool) {
	return nil, false
}

相关信息

go 源码目录

相关文章

go buf 源码

go buf_mmap 源码

go must 源码

0  赞