- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for padEnd (0.14 sec)
-
android/guava-tests/test/com/google/common/base/StringsTest.java
assertSame("", Strings.padEnd("", 0, '-')); assertSame("x", Strings.padEnd("x", 0, '-')); assertSame("x", Strings.padEnd("x", 1, '-')); assertSame("xx", Strings.padEnd("xx", 0, '-')); assertSame("xx", Strings.padEnd("xx", 2, '-')); } public void testPadEnd_somePadding() { assertEquals("-", Strings.padEnd("", 1, '-')); assertEquals("--", Strings.padEnd("", 2, '-'));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* with as many copies of {@code padChar} as are necessary to reach that length. For example, * * <ul> * <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"} * <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"} * </ul> * * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertTrue(result.contains("nextEntry=")); assertTrue(result.contains("action=")); assertTrue(result.contains("file=" + fileName)); // Hexdump.toHexString produces 4-character padded uppercase hex String expectedHex = String.format("%04X", action); assertTrue(result.contains("0x" + expectedHex)); } @Test @DisplayName("Test toString with empty object")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* Nearly all declarations in this class are package-private, * accessed directly by subclasses. * * Table entries are of class Cell; a variant of AtomicLong padded * to reduce cache contention on most processors. Padding is * overkill for most Atomics because they are usually irregularly * scattered in memory and thus don't interfere much with each
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/resources/fess_label_nl.properties
labels.log_file_date=Tijdstempel labels.labeltype_configuration=Label labels.labeltype_title_details=Label labels.labeltype_name=Naam labels.labeltype_value=Waarde labels.labeltype_included_paths=Inbegrepen paden labels.labeltype_excluded_paths=Uitgesloten paden labels.roletype_configuration=Rol labels.roletype_title_details=Rol labels.roletype_name=Naam labels.roletype_value=Waarde labels.reqheader_configuration=Verzoekheader
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 42.8K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
final ByteBuffer buffer = ByteBuffer.wrap(nonce); buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN); buffer.putLong(counter); // Remaining bytes (if any) stay zero-padded } return nonce; } /** * Generate a secure random nonce for initial session setup. * This method can be used when enhanced randomness is required,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
request = new Smb2NegotiateRequest(mockConfig, 0); // When int size = request.size(); // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112 assertEquals(112, size); } @Test @DisplayName("Should calculate size correctly with contexts") void testSizeWithContexts() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
// Set converter value first setConverter(response, 0); // Set number of entries setNumEntries(response, 1); // Write share name (13 bytes, null padded) byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII); System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 13)); bufferIndex += 14;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
instructions["MOVDQ2Q"] = x86.AMOVQ instructions["MOVNTDQ"] = x86.AMOVNTO instructions["MOVOA"] = x86.AMOVO instructions["PSLLDQ"] = x86.APSLLO instructions["PSRLDQ"] = x86.APSRLO instructions["PADDD"] = x86.APADDL // Spellings originally used in CL 97235. instructions["MOVBELL"] = x86.AMOVBEL instructions["MOVBEQQ"] = x86.AMOVBEQ instructions["MOVBEWW"] = x86.AMOVBEW return &Arch{
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 07 02:20:14 UTC 2024 - 21.7K bytes - Viewed (0)