- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,541 for docstring (0.61 sec)
-
src/test/java/org/codelibs/core/io/CopyUtilTest.java
final int result = copy(srcString, writer); assertThat(result, is(srcString.length())); assertThat(writer.toString(), is(srcString)); } /** * @throws Exception */ @Test public void testReaderToStringBuilder() throws Exception { final int result = copy(reader, builder); assertThat(result, is(srcString.length()));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
} @Nested @DisplayName("toString() Tests") class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("SERVER123");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
// use InetAddresses.toUriString to convert the result to a string in // canonical form. InetAddress addr = null; try { addr = InetAddresses.forString(host); } catch (IllegalArgumentException e) { // It is not an IPv4 or IPv6 literal } if (addr != null) { return new HostSpecifier(InetAddresses.toUriString(addr)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
private static final CharMatcher IPV6_DELIMITER_MATCHER = CharMatcher.is(IPV6_DELIMITER); private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1"); private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0"); private InetAddresses() {} /** * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
short maxLength = 20; int pointer = 100; PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer); // Verify that the object was created assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE); assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND); assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); restriction = restrictions.get(2); assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java
result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory"))); result.setCarLicense(DfTypeUtil.toString(source.get("carLicense"))); result.setCity(DfTypeUtil.toString(source.get("city"))); result.setDepartmentNumber(DfTypeUtil.toString(source.get("departmentNumber"))); result.setDescription(DfTypeUtil.toString(source.get("description")));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
// Test toString with empty string and zterm = true UnicodeString emptyUnicodeStringTrue = new UnicodeString("", true); assertEquals("", emptyUnicodeStringTrue.toString(), "toString should return empty string for empty input with zterm"); // Test toString with empty string and zterm = false
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals(info1.toString(), info2.toString()); } @Test @DisplayName("Test encode does not modify source object") void testEncodeImmutability() { long originalValue = 1000L; FileEndOfFileInformation info = new FileEndOfFileInformation(originalValue); // Get original toString String originalString = info.toString(); // Encode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
assertNull(ex.getCause()); // Assert - toString starts with class name and contains message when present if (message == null) { assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); } else if (message.isEmpty()) { // Throwable.toString prints class + ": " (with space) even for empty string
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)