- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 294 for 0xFF (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
void testWriteParameterWordsWireFormatBoundaryConditions() { byte[] dst = new byte[256]; // Test with maximum values transaction.setMaxSetupCount((byte) 0xFF); transaction.setTotalParameterCount(0xFFFFFFFF); transaction.setTotalDataCount(0xFFFFFFFF); transaction.setMaxParameterCount(0xFFFFFFFF); transaction.setMaxDataCountForTest(0xFFFFFFFF);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertEquals('q', in.readChar()); assertEquals('e', in.readChar()); assertEquals('d', in.readChar()); } public void testNewDataInput_readUnsignedShort() { byte[] data = {0, 0, 0, 1, (byte) 0xFF, (byte) 0xFF, 0x12, 0x34}; ByteArrayDataInput in = ByteStreams.newDataInput(data); assertEquals(0, in.readUnsignedShort()); assertEquals(1, in.readUnsignedShort()); assertEquals(65535, in.readUnsignedShort());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
this.path = path; this.service = service; command = SMB_COM_TREE_CONNECT_ANDX; } @Override int getBatchLimit(final byte command) { final int c = command & 0xFF; // why isn't this just return batchLimits[c]? switch (c) { case SMB_COM_CHECK_DIRECTORY: return batchLimits[0]; case SMB_COM_CREATE_DIRECTORY: return batchLimits[2];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
this.server = server; this.path = path; this.service = service; } @Override protected int getBatchLimit(final Configuration cfg, final byte cmd) { final int c = cmd & 0xFF; switch (c) { case SMB_COM_CHECK_DIRECTORY: return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory"); case SMB_COM_CREATE_DIRECTORY:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
* * @since 7.0 */ public static int fromBytes(byte b1, byte b2, byte b3, byte b4) { return b1 << 24 | (b2 & 0xFF) << 16 | (b3 & 0xFF) << 8 | (b4 & 0xFF); } private static final class IntConverter extends Converter<String, Integer> implements Serializable { static final Converter<String, Integer> INSTANCE = new IntConverter();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 31.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testSetWriteFlags() { assertDoesNotThrow(() -> request.setWriteFlags(0)); assertDoesNotThrow(() -> request.setWriteFlags(0x01)); assertDoesNotThrow(() -> request.setWriteFlags(0xFF)); assertDoesNotThrow(() -> request.setWriteFlags(Integer.MAX_VALUE)); } @ParameterizedTest @DisplayName("Should handle various offset values")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
}); } @Test void testReadLength_OutOfBounds() { // Length out of bounds InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x81, (byte) 0xFF }); // length 255 assertThrows(IOException.class, () -> { ASN1Util.readLength(s, 200, false); // limit 200 }); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF); dstIndex++; dstIndex += this.wordCount; this.wordCount /= 2; this.byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex++] = (byte) (this.byteCount & 0xFF); dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF); dstIndex += this.byteCount;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
log.println("session established ok with " + address); } return; case SessionServicePacket.NEGATIVE_SESSION_RESPONSE: final int errorCode = in.read() & 0xFF; close(); throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode); case -1: throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0)