- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 617 for lead (0.41 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple content byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes(); int[] index = { 0 }; when(mock.read()).thenAnswer(inv -> { if (index[0] < includeContent.length) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count); // The method should return the number of bytes read. assertEquals(8, bytesRead); } /** * Test the writeParameterWordsWireFormat method. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
private static final long serialVersionUID = 1L; /** * Default initial capacity. */ protected static final int DEFAULT_INITIAL_CAPACITY = 16; /** * Default load factor. */ protected static final float DEFAULT_LOAD_FACTOR = 0.75f; /** * Upper limit on the number of entries. */ protected final int limitSize; /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/login/index.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> ${fe:html(true)} <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><la:message key="labels.login.title" /></title> <link href="${fe:url('/css/admin/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} /** * Read error response from buffer * * @param buffer the buffer to read from * @param bufferIndex the starting index in the buffer * @return the number of bytes read * @throws SMBProtocolDecodingException if decoding fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.markComplete(); // Break lease with loss of read cache int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState); // Cache should be invalidated assertFalse(entry.isComplete());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readBytesWireFormat returns zero bytes read") void testReadBytesWireFormat() throws SMBProtocolDecodingException { byte[] buffer = new byte[10]; assertEquals(0, response.readBytesWireFormat(buffer, 0), "Should read 0 bytes"); } @Test @DisplayName("readBytesWireFormat with null buffer - returns zero")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// First read response.readDataWireFormat(buffer1, 0, firstData.length); byte[] firstResult = new byte[firstData.length]; System.arraycopy(outputBuffer, 0, firstResult, 0, firstData.length); assertArrayEquals(firstData, firstResult); // Second read (should overwrite) response.readDataWireFormat(buffer2, 0, secondData.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertEquals(customLevel, infoLevel.getInt(resp)); } } @Nested @DisplayName("Wire Format Tests") class WireFormatTests { @Test @DisplayName("Should read parameters wire format") void testReadParametersWireFormat() { byte[] buffer = new byte[10]; int result = response.readParametersWireFormat(buffer, 0, 2); assertEquals(2, result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)