- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,381 for then (0.01 sec)
-
src/test/java/jcifs/smb/SmbExceptionTest.java
// The implementation determines this assertNotNull(sharingViolation); } @Test @DisplayName("Should preserve stack trace information") void testStackTracePreservation() { // When SmbException exception = new SmbException("Test exception"); // Then assertNotNull(exception.getStackTrace());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/buildall.bash
# so this script no longer runs in any automated fashion. # # Options: # -e: stop at first failure if [ ! -f run.bash ]; then echo 'buildall.bash must be run from $GOROOT/src' 1>&2 exit 1 fi sete=false if [ "$1" = "-e" ]; then sete=true shift fi if [ "$sete" = true ]; then set -e fi pattern="$1" if [ "$pattern" = "" ]; then
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Apr 23 17:45:23 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("unwrap method should return correct type when supported") void testUnwrapMethodContract() throws Exception { // Given when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress); // When & Then Address unwrapped = mockAddress.unwrap(Address.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/archive/tar/reader.go
} // readOldGNUSparseMap reads the sparse map from the old GNU sparse format. // The sparse map is stored in the tar header if it's small enough. // If it's larger than four entries, then one or more extension headers are used // to store the rest of the sparse map. // // The Header.Size does not reflect the size of any extended headers used. // Thus, this function will read from the raw io.Reader to fetch extra headers.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testTransformHeaderSize() { // When int headerSize = transformHeader.size(); // Then assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes } // Note: SMB2 Transform Header doesn't have a protocol ID field // The protocol ID is part of the encrypted SMB2 message, not the transform header @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
RuntimeException cause = new RuntimeException("Specific cause message"); // When RuntimeCIFSException exception = new RuntimeCIFSException(cause); // Then assertEquals(cause, exception.getCause()); assertNotNull(exception.getMessage()); // The message should contain information about the cause assertTrue(exception.getMessage().contains("RuntimeException"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// Given Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
buildscripts/verify-healing.sh
if ! ps -p $pid1 1>&2 >/dev/null; then echo "minio server 1 is not running" && fail fi if ! ps -p $pid2 1>&2 >/dev/null; then echo "minio server 2 is not running" && fail fi if ! ps -p $pid3 1>&2 >/dev/null; then echo "minio server 3 is not running" && fail fi if ! pkill minio; then fail fi sleep 1 if pgrep minio; then # forcibly killing, to proceed further properly.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 4K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn
if $cygwin || $mingw ; then [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` fi if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" if [ ! -x "$JAVACMD" ] ; thenRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 24 09:49:07 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded assertThrows(ArrayIndexOutOfBoundsException.class, () -> { Strings.findUNITermination(bufferWithoutTermination, 0, bufferWithoutTermination.length); }, "Should throw ArrayIndexOutOfBoundsException when termination not found within bounds"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)