- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,891 for constructed (0.08 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
// initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Tree connection is acquired in the constructor and should return itself when(treeConnection.acquire()).thenReturn(treeConnection); when(treeConnection.getSession()).thenReturn(session); when(session.getTransport()).thenReturn(transport); handle = new SmbTreeHandleImpl(resourceLoc, treeConnection); } @Test @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
private byte[] data; private int offset, dataCompactionMode, dataLength, dataOffset; /** * Constructs a Read AndX response. * * @param config the configuration */ public SmbComReadAndXResponse(final Configuration config) { super(config); } /** * Constructs a Read AndX response with buffer. * * @param config the configuration * @param b the data buffer
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
+ (sessionKeyBytes == null ? "null" : "<" + sessionKeyBytes.length + " bytes>") + ",flags=0x" + jcifs.util.Hexdump.toHexString(getFlags(), 8) + "]"; } /** * Constructs the LanManager response to the given Type-2 message using * the supplied password. * * @param tc * context to use * @param type2 * The Type-2 message.
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; public class AvFlagsTest { /** * Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integerCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
/** * Constructs a Trans2GetDfsReferral request with default referral level. * * @param config the configuration to use * @param filename the DFS path to get referrals for */ public Trans2GetDfsReferral(final Configuration config, final String filename) { this(config, filename, 3); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* that accepts zero or more arguments, all of type {@code String} or {@code Throwable} * (preferring constructors with at least one {@code String}) and calling the constructor via * reflection. If the exception did not already have a cause, one is set by calling {@link * Throwable#initCause(Throwable)} on it. If no such constructor exists, an {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingObject implements Map<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingMap() {} @Override protected abstract Map<K, V> delegate(); @Override public int size() { return delegate().size(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
@BeforeEach public void setUp() { response = new SmbComQueryInformationResponse(serverTimeZoneOffset); } /** * Test of constructor, of class SmbComQueryInformationResponse. */ @Test public void testConstructor() { // The constructor sets the command and serverTimeZoneOffset. // We can't directly access serverTimeZoneOffset, but we can verify its effect.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
MockitoAnnotations.openMocks(this); when(mockConfig.getNotifyBufferSize()).thenReturn(4096); when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initialization with basic parameters") void testConstructorBasic() { int fid = 0x1234; int completionFilter = FILE_NOTIFY_CHANGE_FILE_NAME; boolean watchTree = false;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0)