- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 274 for edge (0.75 sec)
-
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
auth.handle(new Callback[] { pc }); assertEquals("secret", new String(pc.getPassword())); } @Test @DisplayName("handle: empty user/domain edge yields '@' and null password") void testHandleWithEmptyUserAndDomainEdge() throws Exception { // Default constructor results in empty strings for user and domain, null for password
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertFalse(Arrays.equals(signingKey1, signingKey2), "Different preauth values should produce different derived keys for SMB 3.1.1"); } @Test @DisplayName("Should handle edge case with all zero session key") void testDeriveKeys_AllZeroSessionKey() { // Given byte[] zeroSessionKey = new byte[16]; // All zeros int dialect = Smb2Constants.SMB2_DIALECT_0311;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertNotNull(response1); assertNotNull(response2); assertNotSame(response1, response2); } } @Nested @DisplayName("Edge Cases") class EdgeCases { @Test @DisplayName("Should handle buffer boundary conditions") void testBufferBoundaryConditions() { // Minimum size bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Act int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(expectedNtStatus, actual, "Mapping must match table entry"); } @Test @DisplayName("Edge: zero DOS code maps to zero NTSTATUS") void zeroCodeMapsToZero() { // Act int actual = findNtStatusOrMinusOne(0x00000000); // Assert assertEquals(0x00000000, actual); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
lock.encode(buffer, 0); assertEquals(0x11, SMBUtil.readInt4(buffer, 16)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle encoding at buffer boundary") void testEncodingAtBufferBoundary() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
int result = response.readBytesWireFormat(buffer, bufferIndex); assertEquals(2, result, "Should consistently return 2 on call " + (i + 1)); } } @Test @DisplayName("Test edge case with maximum buffer index") void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException { byte[] buffer = new byte[65536]; // Large buffer int bufferIndex = 65534; // Near the end
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
assertEquals(1, merged.unmodifiedCount(), "Should have 1 unmodified POM"); assertEquals(0, merged.errorCount(), "Should have no errors"); } } @Nested @DisplayName("Edge Cases") class EdgeCases { @Test @DisplayName("should handle large number of POMs efficiently") void shouldHandleLargeNumberOfPOMsEfficiently() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
@RetainedLocalRef Future<?> localTimer = timer; // Try to cancel the timer as an optimization. // timer may be null if this call to run was by the timer task since there is no happens-before // edge between the assignment to timer and an execution of the timer task. if (localTimer != null) { localTimer.cancel(false); } delegateRef = null; timer = null; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
CONTRIBUTING.md
The build cache has anonymous read access, so you don't need to authenticate in order to use it. You can use a different build cache node by specifying `-Ddevelocity.edge.discovery=false -DcacheNode=us` for a build cache node in the US or `-Ddevelocity.edge.discovery=false -DcacheNode=au` for a build cache node in Australia.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 25 06:57:22 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL()); assertFalse(loc.isRoot()); } } @Nested @DisplayName("Invalid inputs and edge cases") class Invalid { @Test void nullUrlThrows() { assertThrows(IllegalArgumentException.class, () -> new DummySmbResourceLocator(null)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)