- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,556 for Byte (0.02 sec)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
return guid; } /** * Update the file ID for a handle after successful create response * @param guid the handle GUID * @param fileId the 16-byte file ID */ public void updateHandleFileId(HandleGuid guid, byte[] fileId) { lock.writeLock().lock(); try { HandleInfo info = guidToHandle.get(guid); if (info != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
* * @author higa */ public abstract class UuidUtil { /** * Do not instantiate. */ protected UuidUtil() { } private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 }; private static final SecureRandom RANDOM = new SecureRandom();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
} impersonationLevel = 0x02; // As seen on NT :~) securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY } @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x00; dstIndex++; // name length without counting null terminationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("encode should validate size calculation") void testEncodeValidSize() { byte[] buffer = new byte[1024]; testRequest.setTestSize(64); testRequest.setTestLength(64); int result = testRequest.encode(buffer, 0); assertEquals(64, result); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
// SMB uses little-endian byte order private static void writeLong(byte[] buf, int offset, long val) { for (int i = 0; i < 8; i++) { buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF); } } private static void writeShort(byte[] buf, int offset, int val) { buf[offset] = (byte) (val & 0xFF); buf[offset + 1] = (byte) ((val >>> 8) & 0xFF); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
internal/event/targetid_test.go
} } func TestTargetDUnmarshalJSON(t *testing.T) { testCases := []struct { data []byte expectedTargetID *TargetID expectErr bool }{ {[]byte(`""`), nil, true}, {[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true}, {[]byte(`":"`), &TargetID{}, false}, {[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false}, } for i, testCase := range testCases {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.5K bytes - Viewed (0) -
internal/config/lambda/event/targetid_test.go
} } func TestTargetDUnmarshalJSON(t *testing.T) { testCases := []struct { data []byte expectedTargetID *TargetID expectErr bool }{ {[]byte(`""`), nil, true}, {[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true}, {[]byte(`":"`), &TargetID{}, false}, {[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false}, } for i, testCase := range testCases {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[20]; response.wordCount = 0; int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/bytes/buffer.go
func (b *Buffer) Next(n int) []byte { b.lastRead = opInvalid m := b.Len() if n > m { n = m } data := b.buf[b.off : b.off+n] b.off += n if n > 0 { b.lastRead = opRead } return data } // ReadByte reads and returns the next byte from the buffer. // If no byte is available, it returns error [io.EOF]. func (b *Buffer) ReadByte() (byte, error) { if b.empty() {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0)