Tag

Padding

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 18, 2021 · Fundamentals

How Much Memory Does a Java Object Really Use? A JOL Walkthrough

This article explains how to calculate the exact memory footprint of a Java object using the OpenJDK JOL tool, covering object header composition, 8‑byte alignment, padding rules, and concrete examples for regular objects and char arrays.

Byte AlignmentJOLJava
0 likes · 4 min read
How Much Memory Does a Java Object Really Use? A JOL Walkthrough
Laravel Tech Community
Laravel Tech Community
Nov 13, 2020 · Backend Development

Using array_pad() to Pad an Array to a Specified Length in PHP

This article explains PHP's array_pad() function, detailing its purpose, parameters, return behavior, and provides multiple code examples demonstrating padding arrays to a specified length from both left and right sides, including edge cases.

BackendPaddingarray
0 likes · 3 min read
Using array_pad() to Pad an Array to a Specified Length in PHP
Laravel Tech Community
Laravel Tech Community
Sep 23, 2020 · Backend Development

PHP str_pad Function: Usage, Parameters, and Examples

This article explains the PHP str_pad function, detailing its syntax, parameter meanings, return value, and provides multiple code examples demonstrating right, left, and both-side padding with custom strings.

BackendPaddingString()
0 likes · 2 min read
PHP str_pad Function: Usage, Parameters, and Examples
Laravel Tech Community
Laravel Tech Community
May 30, 2020 · Backend Development

PHP str_pad() Function: Usage, Parameters, Return Value, and Examples

The article explains PHP's str_pad() function, detailing how it pads a string to a specified length with optional padding characters and types, describes each parameter and return value, and provides multiple code examples demonstrating right, left, and both‑side padding.

BackendPaddingString()
0 likes · 2 min read
PHP str_pad() Function: Usage, Parameters, Return Value, and Examples
Tencent Cloud Developer
Tencent Cloud Developer
Nov 30, 2018 · Artificial Intelligence

Understanding Transpose Convolution (Deconvolution) in Convolutional Neural Networks

The article explains how transpose (de)convolution works as the spatial inverse of standard convolution, detailing its relationship to fully‑connected layers, padding, stride, output size formulas, odd‑case handling, and practical implementation in frameworks like PyTorch and TensorFlow.

CNNPaddingPyTorch
0 likes · 15 min read
Understanding Transpose Convolution (Deconvolution) in Convolutional Neural Networks
Architecture Digest
Architecture Digest
May 5, 2017 · Fundamentals

Understanding False Sharing: CPU Cache, MESI Protocol, and Java Mitigation Techniques

This article explains the concept of false sharing, its roots in CPU cache line contention and the MESI protocol, demonstrates its impact with Java benchmark code, and presents practical padding and alignment techniques to mitigate the performance degradation caused by false sharing.

CPU cacheJava concurrencyMESI protocol
0 likes · 15 min read
Understanding False Sharing: CPU Cache, MESI Protocol, and Java Mitigation Techniques