- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,385 for 1byte (0.08 sec)
-
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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
/** * No oplock */ public static final byte SMB2_OPLOCK_LEVEL_NONE = 0x0; /** * Level II oplock */ public static final byte SMB2_OPLOCK_LEVEL_II = 0x1; /** * Exclusive oplock */ public static final byte SMB2_OPLOCK_LEVEL_EXCLUSIVE = 0x8; /** * Batch oplock */ public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9; /** * Lease-based oplockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 }); when(enc.decryptMessage(any(byte[].class))).thenReturn(new byte[] { 7, 7 }); assertTrue(session.isEncryptionEnabled()); assertSame(enc, session.getEncryptionContext()); byte[] encOut = session.encryptMessage(new byte[] { 1, 2, 3 }); assertArrayEquals(new byte[] { 9, 9 }, encOut);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
public class DurableHandleReconnect extends Smb2CreateContext { public static final String NAME = "DHnC"; // Durable Handle Reconnect private byte[] fileId; // 16-byte file ID from previous open public DurableHandleReconnect(byte[] fileId) { super(NAME); if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/bufio/example_test.go
const input = "1234 5678 1234567901234567890" scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = bufio.ScanWords(data, atEOF) if err == nil && token != nil { _, err = strconv.ParseInt(string(token), 10, 32) } return }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java
@Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
src/bufio/bufio_test.go
func TestUnreadByteOthers(t *testing.T) { // A list of readers to use in conjunction with UnreadByte. var readers = []func(*Reader, byte) ([]byte, error){ (*Reader).ReadBytes, (*Reader).ReadSlice, func(r *Reader, delim byte) ([]byte, error) { data, err := r.ReadString(delim) return []byte(data), err }, // ReadLine doesn't fit the data/pattern easily // so we leave it out. It should be covered via
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/dcerpc/ndr/NdrSmallTest.java
assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test void testConstructor_overflowValue() { // Test with a value exceeding byte range, expecting it to be masked NdrSmall ndrSmall = new NdrSmall(256); // 256 & 0xFF = 0 assertEquals(0, ndrSmall.value, "Value exceeding byte range should be masked."); ndrSmall = new NdrSmall(511); // 511 & 0xFF = 255
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0)