Movatterモバイル変換


[0]ホーム

URL:


alias

packagestandard library
go1.25.5Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:1Imported by:0

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package alias implements memory aliasing tests.This code also exists as golang.org/x/crypto/internal/alias.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcAnyOverlap

func AnyOverlap(x, y []byte)bool

AnyOverlap reports whether x and y share memory at any (not necessarilycorresponding) index. The memory beyond the slice length is ignored.

funcInexactOverlap

func InexactOverlap(x, y []byte)bool

InexactOverlap reports whether x and y share memory at any non-correspondingindex. The memory beyond the slice length is ignored. Note that x and y canhave different lengths and still not have any inexact overlap.

InexactOverlap can be used to implement the requirements of the crypto/cipherAEAD, Block, BlockMode and Stream interfaces.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp