- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,703 for byte (0.03 sec)
-
src/test/java/jcifs/http/NtlmSspTest.java
@Mock private HttpServletResponse mockResponse; private NtlmSsp ntlmSsp; // A sample challenge array private final byte[] challenge = new byte[] { 0x01, 0x23, 0x45, 0x67, (byte) 0x89, (byte) 0xab, (byte) 0xcd, (byte) 0xef }; // Base64 encoded Type 1 message: NTLMSSP, Type 1, flags=0x00088207 // Domain="DOMAIN", Workstation="WORKSTATION"Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
} @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
/** * Decodes a security descriptor from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @return the number of bytes decoded * @throws IOException if an I/O error occurs during decoding */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testWriteBytesWireFormat() throws Exception { // Given byte[] buffer = new byte[100]; // When int bytesWritten = (int) invokeMethod(response, "writeBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0); // Then assertEquals(0, bytesWritten, "Should write 0 bytes for response"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} public void testMap_readWrite() throws IOException { // Test data int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes); // Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
} } return true, "" } func TestCmpReaders(t *testing.T) { { r1 := bytes.NewReader([]byte("abc")) r2 := bytes.NewReader([]byte("abc")) ok, msg := cmpReaders(r1, r2) if !ok || msg != "" { t.Fatalf("unexpected") } } { r1 := bytes.NewReader([]byte("abc")) r2 := bytes.NewReader([]byte("abcd")) ok, _ := cmpReaders(r1, r2) if ok { t.Fatalf("unexpected") } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
*/ public Smb2WriteRequest(final Configuration config, final byte[] fileId) { super(config, SMB2_WRITE); this.fileId = fileId; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override public void setFileId(final byte[] fileId) { this.fileId = fileId; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/bufio/scan.go
} // Split functions // ScanBytes is a split function for a [Scanner] that returns each byte as a token. func ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 { return 0, nil, nil } return 1, data[0:1], nil } var errorRune = []byte(string(utf8.RuneError)) // ScanRunes is a split function for a [Scanner] that returns each
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
src/bufio/bufio.go
} // ReadByte reads and returns a single byte. // If no byte is available, returns an error. func (b *Reader) ReadByte() (byte, error) { b.lastRuneSize = -1 for b.r == b.w { if b.err != nil { return 0, b.readErr() } b.fill() // buffer is empty } c := b.buf[b.r] b.r++ b.lastByte = int(c) return c, nil } // UnreadByte unreads the last byte. Only the most recently read byte can be unread.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
@Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024]; int result = response.writeBytesWireFormat(dst, 0); // The method should write bytes assertEquals(0, result, "writeBytesWireFormat should return 0 for response"); } @Test void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = response.readBytesWireFormat(buffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)