- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,468 for void (0.4 sec)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
@BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @Test public void testNullBuffer() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
void shouldReturnTrueForValidIpAddresses(String ip) { assertTrue(UniAddress.isDotQuadIP(ip)); } @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}") @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" }) void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNetbiosScope()).thenReturn(null); // Configure OEM encoding to avoid NullPointerException when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test @DisplayName("Constructor with Configuration only should create empty Name instances") void testConstructorWithConfigOnly() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
} @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } @Override public void connectStart(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
final int BUFFER_SIZE = 10000; private final String applicationName; private final String applicationVersion; public void DefaultDownloader(String, String); private void configureProxyAuthen(); private void configureAuthenticat(); public void download(java.net.URI, java.io.File) throws Exception; private void downloadInternal(java.net.URI, java.io.File) throws Exception; private void addBasicAuthenticati(java.net.URI, java.net.URLConnection) throws java.io.IOException; private String base64Encode(String);...
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 49.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
} @Override public void setBaseVersion(String baseVersion) { throw new UnsupportedOperationException("Cannot change the version information for an attached artifact." + " It is derived from the main artifact."); } @Override public String getDownloadUrl() { return parent.getDownloadUrl(); } @Override public void setDownloadUrl(String downloadUrl) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@Test void testGetCanonicalPath() { // Act & Assert assertEquals("smb://localhost/share/file.txt", smbFile.getCanonicalPath()); } @Test void testGetServer() { // Act & Assert assertEquals("localhost", smbFile.getServer()); } @Test void testGetShare() { // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} public void setBytesWritten(int bytes) { this.bytesWritten = bytes; } public void setBytesRead(int bytes) { this.bytesRead = bytes; } public void setThrowOnRead(boolean throwOnRead) { this.throwOnRead = throwOnRead; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
static final Funnel<Object> BAD_FUNNEL = new Funnel<Object>() { @Override public void funnel(Object object, PrimitiveSink bytePrimitiveSink) { bytePrimitiveSink.putInt(object.hashCode()); } }; enum RandomHasherAction { PUT_BOOLEAN() { @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { boolean value = random.nextBoolean();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
// retainAll(empty) @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmpty() { expectReturnsFalse(empty); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmptyUnsupported() { expectReturnsFalseOrThrows(empty); expectUnchanged();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 10.7K bytes - Viewed (0)