- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,130 for writeln (0.04 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
/* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/LongAdder.java?revision=1.17 */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
byte[] dst = new byte[expectedBytes.length]; int dstIndex = 0; // Execute the method to write bytes int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex); // Verify the number of bytes written assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string."); // Verify the content of the destination array
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
body.writeTo(sink) } sink.write(CRLF) } sink!!.write(DASHDASH) sink.write(boundaryByteString) sink.write(DASHDASH) sink.write(CRLF) if (countBytes) { byteCount += byteCountBuffer!!.size byteCountBuffer.clear() } return byteCount } class Part private constructor(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); raf.writeShort(1); raf.writeChar('A'); raf.writeInt(1); raf.writeLong(1L); raf.writeFloat(1.0f); raf.writeDouble(1.0); // Verify length counts - using times() to check exact counts verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
/* Write out various test values NORMALLY */ out.write(new byte[] {-100, 100}); out.writeBoolean(true); out.writeBoolean(false); out.writeByte(100); out.writeByte(-100); out.writeByte((byte) 200); out.writeChar('a'); out.writeShort((short) -30000); out.writeShort((short) 50000); out.writeInt(0xCAFEBABE); out.writeLong(0xDEADBEEFCAFEBABEL);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
result = netShareEnum.writeSetupWireFormat(dst, 50); assertEquals(0, result); // Verify no data was written assertArrayEquals(new byte[100], dst); } @Test @DisplayName("Test writeParametersWireFormat writes correct data") void testWriteParametersWireFormat() throws Exception { netShareEnum = new NetShareEnum(realConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} // ---------------- Static write tests ----------------- @Test @DisplayName("writeULong writes little endian bytes") void testWriteULong() { byte[] dest = new byte[4]; NtlmMessage.writeULong(dest, 0, 0x01020304); assertArrayEquals(new byte[] { 4, 3, 2, 1 }, dest, "Writer must be little‑endian"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated"); assertTrue(next.writeParamCalls > 0, "chained SMB parameter words should be written"); assertTrue(next.writeBytesCalls > 0, "chained SMB bytes should be written"); } @Test @DisplayName("decode basic AndX block with no chaining") void testDecodeBasicNoAndx() { DummyAndXBlock block = new DummyAndXBlock() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* java.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}. * * @param from the bytes to write * @param to the destination file * @throws IOException if an I/O error occurs */ public static void write(byte[] from, File to) throws IOException { asByteSink(to).write(from); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} } /** * Writes the specified byte to this file output stream. * * @throws IOException * if a network error occurs */ @Override public void write(final int b) throws IOException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } /** * Writes b.length bytes from the specified byte array to thisRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0)