- b7ac57541b07fadc3ed054cc3d62bc192a2098a7 Redefine arithmetic assign operators in terms of the bina... by Alex Strelnikov <strel@google.com> - bb2bf3fd86eb9f24420376aad1b9fe84068ad7e4 Cmake CI for Ubuntu by Jon Cohen <cohenjon@google.com> - 3ff3e6d6b4d99627f0785cad5b562362bdf1ae37 Fix internal namespace (debug_internal -> debugging_inter... by Derek Mauro <dmauro@google.com> - b50753d757c95a3430cc2d6cfc0272af1e5c219c Internal change. by Alex Strelnikov <strel@google.com> GitOrigin-RevId: b7ac57541b07fadc3ed054cc3d62bc192a2098a7 Change-Id: I7561639e296d1cc5dc7ee75e6645e8dae3f1bf97
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			1,014 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			1,014 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2017 The Abseil Authors.
 | |
| //
 | |
| // Licensed under the Apache License, Version 2.0 (the "License");
 | |
| // you may not use this file except in compliance with the License.
 | |
| // You may obtain a copy of the License at
 | |
| //
 | |
| //      http://www.apache.org/licenses/LICENSE-2.0
 | |
| //
 | |
| // Unless required by applicable law or agreed to in writing, software
 | |
| // distributed under the License is distributed on an "AS IS" BASIS,
 | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
| // See the License for the specific language governing permissions and
 | |
| // limitations under the License.
 | |
| //
 | |
| 
 | |
| #ifndef ABSL_DEBUGGING_INTERNAL_ADDRESS_IS_READABLE_H_
 | |
| #define ABSL_DEBUGGING_INTERNAL_ADDRESS_IS_READABLE_H_
 | |
| 
 | |
| namespace absl {
 | |
| namespace debugging_internal {
 | |
| 
 | |
| // Return whether the byte at *addr is readable, without faulting.
 | |
| // Save and restores errno.
 | |
| bool AddressIsReadable(const void *addr);
 | |
| 
 | |
| }  // namespace debugging_internal
 | |
| }  // namespace absl
 | |
| 
 | |
| #endif  // ABSL_DEBUGGING_INTERNAL_ADDRESS_IS_READABLE_H_
 |