Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 293 for hedged (0.03 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AsciiTest.java

        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
        // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS".
        assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AsciiTest.java

        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
        // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS".
        assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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 buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. cmd/notification.go

    		}(index)
    	}
    
    	wg.Wait()
    	merged := globalTransitionState.getDailyAllTierStats()
    	for i, stat := range lastDayStats {
    		if errs[i] != nil {
    			peersLogOnceIf(ctx, fmt.Errorf("failed to fetch last day tier stats: %w", errs[i]), sys.peerClients[i].host.String())
    			continue
    		}
    		merged.merge(stat)
    	}
    	return merged
    }
    
    // GetReplicationMRF - Get replication MRF from all peers.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                readBytes.setAccessible(true);
                assertEquals(0, readBytes.invoke(cancel, buffer, position));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle empty byte arrays")
            void testWithEmptyArrays() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top