- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 170 for 0xffe0 (0.17 seconds)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Given byte[] buffer = new byte[10]; // Write -1 which will be read as 65535 unsigned buffer[0] = (byte) 0xFF; buffer[1] = (byte) 0xFF; // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrSmall.java
/** * Constructs an NdrSmall with the specified value * @param value the small integer value (will be masked to 0-255 range) */ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_small(this.value); } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
return -1; } if (length < 0) { throw new EOFException("EOF found when length expected"); } if (0xFF == length) { throw new IOException("invalid long form definite-length 0xFF"); } final int octetsCount = length & 0x7F; int octetsPos = 0; length = 0; do {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
src/archive/zip/reader.go
if l > len(b) { return nil, 0, errors.New("zip: invalid comment length") } d.comment = string(b[:l]) // These values mean that the file can be a zip64 file if d.directoryRecords == 0xffff || d.directorySize == 0xffff || d.directoryOffset == 0xffffffff { p, err := findDirectory64End(r, directoryEndOffset) if err == nil && p >= 0 { directoryEndOffset = p err = readDirectory64End(r, p, d) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should handle ciphers with maximum value") void testMaximumCipherValues() throws SMBProtocolDecodingException { int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF }; EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers); int encoded = originalContext.encode(buffer, 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"), Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"), Arguments.of((IntGetter) FileEntry::getFileIndex, -5, "negative index"), Arguments.of((IntGetter) FileEntry::getFileIndex, 0, "zero index")); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
String str = info.toString(); assertTrue(str.contains(specialName)); assertTrue(str.contains(specialRemark)); } @Test @DisplayName("Test type masking with 0xFFFF") void testTypeMasking() { // Test that only lower 16 bits are considered for type determination int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
tmp = new byte[TMP_BUFFER_SIZE]; } @Override public synchronized int read() throws IOException { if (read(tmp, 0, 1) < 0) { return -1; } return tmp[0] & 0xFF; } @Override public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.3K bytes - Click Count (0) -
src/cmd/asm/internal/asm/expr_test.go
) type exprTest struct { input string output int64 atEOF bool } var exprTests = []exprTest{ // Simple {"0", 0, true}, {"3", 3, true}, {"070", 8 * 7, true}, {"0x0f", 15, true}, {"0xFF", 255, true}, {"9223372036854775807", 9223372036854775807, true}, // max int64 // Unary {"-0", 0, true}, {"~0", -1, true}, {"~0*0", 0, true}, {"+3", 3, true}, {"-3", -3, true},Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits"); assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0)