- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 341 for rewritten (0.04 sec)
-
src/bufio/bufio_test.go
t.Errorf("%s: buf.Flush = %v", context, e) } written := w.Bytes() if len(written) != nwrite { t.Errorf("%s: %d bytes written", context, len(written)) } for l := 0; l < len(written); l++ { if written[l] != data[l] { t.Errorf("wrong bytes written") t.Errorf("want=%q", data[:len(written)]) t.Errorf("have=%q", written) } } } } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; // Encode the full message to set headerStart request.encode(buffer, headerStart); // Then - verify the body was written correctly byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE); // Verify structure size (9) assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testWriteHeaderWireFormat() { packet.type = SessionServicePacket.SESSION_REQUEST; packet.length = 0x1234; byte[] dst = new byte[10]; int written = packet.writeHeaderWireFormat(dst, 0); assertEquals(4, written); assertEquals((byte) SessionServicePacket.SESSION_REQUEST, dst[0]); assertEquals((byte) 0x00, dst[1]); // No extended bit assertEquals((byte) 0x12, dst[2]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertArrayEquals(testFileId, actualFileId); // Verify that info.encode was called verify(mockInfo, times(1)).encode(any(byte[].class), anyInt()); // Verify total bytes written assertTrue(bytesWritten > 32); // At least the fixed part plus some info } catch (Exception e) { throw new RuntimeException(e); } } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
* If the item is being updated, it writes the new version. * * @param oldItem The original item from the dictionary. * @return The written item, or null if the item was deleted. * @throws DictionaryException if the file was updated concurrently. */ public StemmerOverrideItem write(final StemmerOverrideItem oldItem) { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
SMBUtil.writeInt2(0, readBuffer, 12); // Reserved bytes // When int written = response.writeBytesWireFormat(writeBuffer, 5); int read = response.readBytesWireFormat(readBuffer, 10); // Then assertEquals(0, written); assertEquals(4, read); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/bufio/bufio.go
func (b *Writer) AvailableBuffer() []byte { return b.buf[b.n:][:0] } // Buffered returns the number of bytes that have been written into the current buffer. func (b *Writer) Buffered() int { return b.n } // Write writes the contents of p into the buffer. // It returns the number of bytes written. // If nn < len(p), it also returns an error explaining // why the write is short. func (b *Writer) Write(p []byte) (nn int, err error) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
private var socket: Socket? = null /** Outgoing pongs in the order they should be written. */ private val pongQueue = ArrayDeque<ByteString>() /** Outgoing messages and close frames in the order they should be written. */ private val messageAndCloseQueue = ArrayDeque<Any>() /** The total size in bytes of enqueued but not yet transmitted messages. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
PULL_REQUESTS_ETIQUETTE.md
- Delivers a complete, valuable change (feature, bug fix, or improvement). - Has a concise title (e.g., `[S3] Fix bucket policy parsing #1234`) and a summary with context, referencing issues (e.g., `#1234`). - Contains well-written, logical commits explaining *why* changes were made (e.g., “Add S3 bucket tagging support so that users can organize resources efficiently”).
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun May 25 16:32:03 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations. * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well * as sub-suites for testing the {@code CharSink} view in the same way. * * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0)