- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 102 for irides (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); cmd = new SmbComQueryInformation(mockConfig, "testfile.txt"); } @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException { byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
import java.nio.file.Files; import java.util.logging.Logger; import org.apache.commons.io.output.DeferredFileOutputStream; /** * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream. * It writes data to a temporary file once the data size exceeds a specified threshold. * * <p>This class ensures that the temporary file is deleted if it is not needed.
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} releaseLease(key); }); } /** * Flush cached writes for a file path * * @param path file path */ private void flushCachedWrites(String path) { log.debug("Flushing cached writes for path: {}", path); WeakReference<SmbFile> ref = fileCache.get(path); if (ref != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} throw new DictionaryException("Failed to write a userDict file.", e); } item = newItem; } /** * Writes the old item to the new file. * * @param oldItem The old item. * @return The new item if it was updated, otherwise the old item. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ /** * Writes the parameter words portion of the SMB message to the wire format. * * @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @return the number of bytes written */ protected abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 COM_WRITE command implementation. * * This command writes data to an open file on the server. * It's the basic write operation in the SMB1 protocol. */ public class SmbComWrite extends ServerMessageBlock { private int fid, count, offset, remaining, off;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
decoded.decode(buf); assertEquals(expected, decoded.value, "decoded value should match original after masking"); } /** * Verify that encode writes the correct little-endian sequence * to the buffer and that alignment is respected. */ @Test void encodeWritesCorrectBytesAndAlignment() throws NdrException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
SocketInputStream sis = new SocketInputStream(in); // Try to skip more than available // Skip uses read internally, which may throw IOException when it tries to read the next header try { long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
return 3; }).when(raf).read(any(byte[].class), anyInt(), eq(3)); assertEquals("abc", raf.readUTF()); } @Test @DisplayName("write(boolean/byte): writes single byte") void write_oneByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); // Intercept the 3-arg write to validate lenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
import org.opensearch.index.query.QueryBuilder; import org.opensearch.transport.client.Client; /** * Interface for writing suggest items. */ public interface SuggestWriter { /** * Writes the given suggest items to the specified index. * * @param client the client used to interact with the search engine * @param settings the settings for the suggest featureRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K bytes - Viewed (0)