- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 294 for 0xFF (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
int expectedAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY; assertEquals((byte) (expectedAttributes & 0xFF), dst[dstIndex]); assertEquals((byte) ((expectedAttributes >> 8) & 0xFF), dst[dstIndex + 1]); } /** * Test writeBytesWireFormat with ASCII encoding */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @throws SmbException if an I/O error occurs */ public int read() throws SmbException { if (read(tmp, 0, 1) == -1) { return -1; } return tmp[0] & 0xFF; } /** * Reads bytes from the file into the specified byte array. * * @param b the byte array to read data into * @return the number of bytes read, or -1 if end of file is reachedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(expectedSize, leaseContext.size()); } @Test @DisplayName("Should set and get lease key") void testLeaseKeyAccessors() { byte[] newKeyBytes = new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0xFD, (byte) 0xFC, (byte) 0xFB, (byte) 0xFA, (byte) 0xF9, (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
off = in.readDirect(buf, 0, buf.length); } if (buf[0] != 5 && buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); } flags = buf[3] & 0xFF; // next read is start of new frag isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG; length = Encdec.dec_uint16le(buf, 8); if (length > max_recv) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
} } } @Benchmark int meanAndVariance(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode(); } return tmp; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
} } } @Benchmark int meanAndVariance(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode(); } return tmp; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB_LEGACY }; int flags = NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING; byte[] mic = new byte[] { 0x00, 0x0A, (byte) 0xFF }; NegTokenInit init = new NegTokenInit(mechs, flags, null, mic); String s = init.toString(); assertTrue(s.contains("flags=" + flags), "toString should include flags");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
lock.wait(); } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); } result = pipe_buf[beg_idx] & 0xFF; beg_idx = (beg_idx + 1) % pipe_buf.length; } return result; } @Override public int read(final byte[] b) throws IOException { return read(b, 0, b.length); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81}; byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff}; ImmutableSet<HashCode> hashCodes = ImmutableSet.of( SIP_WITH_KEY.hashBytes(col1), SIP_WITH_KEY.hashBytes(col2), SIP_WITH_KEY.hashBytes(col3));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.8K bytes - Click Count (0)