overlap

package
v0.0.0-...-95e8317 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package overlap exports memory overlap functions from the standard library's crypto/internal/subtle package.

Only the Google App Engine variants are exported, since they don't depend on the unsafe package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(x, y []byte) bool

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

func Inexact

func Inexact(x, y []byte) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL