Source file src/crypto/internal/entropy/scratch/scratch_other.go

     1  // Copyright 2026 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !unix
     6  
     7  package scratch
     8  
     9  import "errors"
    10  
    11  func mmap(n int) ([]byte, error) {
    12  	return nil, errors.ErrUnsupported
    13  }
    14  
    15  func munmap(b []byte) {
    16  	panic("unreachable")
    17  }
    18  

View as plain text