- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 548 for needn (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
} @Test public void testGetTypeForShare() throws Exception { SmbFile share = new SmbFile("smb1://server/share/"); // To test this properly, we would need to mock connect0() and the tree object. // This is a limitation of unit testing such a coupled class. // We expect an SmbException because it will try to connect.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraph.java
* </ul> * * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges, * and forbids implementations or extensions with parallel edges. If you need parallel edges, use * {@link Network}. (You can use a positive {@code Integer} edge value as a loose representation of * edge multiplicity, but the {@code *degree()} and mutation methods will not reflect yourRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
final ServerMessageBlock msg = (ServerMessageBlock) m; if ((msg.getFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) == 0) { // signature requirements need to be checked somewhere else log.warn("Expected signed response, but is not signed"); return false; } update(this.macSigningKey, 0, this.macSigningKey.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
Map<String, List<String>> properties = new HashMap<>(); properties.put("Accept", Collections.singletonList("application/json")); when(mockConnection.getRequestProperties()).thenReturn(properties); // Need to mock getRequestProperty as well since it delegates to wrapped connection when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json"); // Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
* true for systems like Mac, Unix, and Linux that use inodes in their file system interface. It is * typically false on Windows. * * If this returns false we won't permit simultaneous reads and writes. When writes commit we need * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit * multiple simultaneous reads.) * * @param file a file in the directory to check. This file shouldn't already exist! */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
return 64; // Simulate header writing } @Override public int encode(byte[] dst, int dstIndex) { // We need to override the parent ServerMessageBlock2's encode // to properly simulate setting the length field int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
void testReadAndXWireFormatWithPlainSMB() { DummyPlainSMB next = new DummyPlainSMB(); // The implementation uses andx.wordCount, which starts at 0 by default // We need to test the actual behavior where wordCount is 0 // This means readParameterWordsWireFormat won't be called (line 282-284) DummyAndXBlock block = new DummyAndXBlock(next); block.headerStart = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); byte[] buffer = new byte[10]; int offset = 8; // Only 2 bytes remaining, need 4 // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> { request.writeBytesWireFormat(buffer, offset); }); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
void testReadBytesWireFormatOffsetTooLarge() { // Given byte[] buffer = new byte[10]; int offset = 9; // Only 1 byte remaining, need at least 2 for structure size // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readBytesWireFormat(buffer, offset); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
} } companion object { /** * The "mixed" subtype of "multipart" is intended for use when the body parts are independent * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation * does not recognize must be treated as being of subtype "mixed". */ @JvmField val MIXED = "multipart/mixed".toMediaType()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0)