- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,732 for writeFn (1.06 sec)
-
android/guava/src/com/google/common/collect/MapMaker.java
* be performed atomically on the returned map. Additionally, {@code size} and {@code * containsValue} are implemented as bulk read operations, and thus may fail to observe concurrent * writes. * * @return a serializable concurrent map having the requested features */ public <K, V> ConcurrentMap<K, V> makeMap() { if (!useCustomMap) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
zos.putNextEntry(viewEntry); zos.write("<html>test</html>".getBytes()); zos.closeEntry(); // Add CSS file ZipEntry cssEntry = new ZipEntry("css/style.css"); zos.putNextEntry(cssEntry); zos.write("body { color: red; }".getBytes()); zos.closeEntry(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
} @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import static org.junit.jupiter.api.Assertions.assertEquals;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
SocketOutputStream(final OutputStream out) { super(out); } @Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes"); assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
} /** * Get maximum read/write size * * @return maximum read/write size in bytes */ public int getMaxReadWriteSize() { return maxReadWriteSize; } /** * Set maximum read/write size * * @param maxReadWriteSize maximum read/write size in bytes */ public void setMaxReadWriteSize(int maxReadWriteSize) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma.tcp; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
ww, err := w.CreateHeader(f.header) if err != nil { t.Fatalf("unable to write previously parsed header: %s", err) } if _, err := ww.Write(f.content); err != nil { t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. })
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.fscc; import java.util.Date; import jcifs.internal.SMBProtocolDecodingException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0)