- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 354 for 0xff (0.03 sec)
-
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
public void enc_ndr_small(final int s) { this.buf[this.index] = (byte) (s & 0xFF); advance(1); } /** * Decodes a small integer (1 byte) from NDR format. * * @return the decoded small integer value */ public int dec_ndr_small() { final int val = this.buf[this.index] & 0xFF; advance(1); return val; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Arrange byte[] buffer = new byte[10]; SMBUtil.writeInt2(200, buffer, 0); // These bytes should be ignored buffer[2] = (byte) 0xFF; buffer[3] = (byte) 0xFF; SMBUtil.writeInt2(TransPeekNamedPipeResponse.STATUS_LISTENING, buffer, 4); // Act int result = response.readParametersWireFormat(buffer, 0, 6); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (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); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
assertEquals("fine", tokens.get(7).getTerm()); } @Test public void testAnalyzeWithNumbers() { // Test analyze with numbers String text = "123 456.789 0xFF 3.14159"; String field = "content"; String lang = "en"; List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang); assertNotNull(tokens);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
dataOffset = readInt2(buffer, bufferIndex); bufferIndex += 2; dataDisplacement = readInt2(buffer, bufferIndex); bufferIndex += 2; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
try { descr = DESCR[which].getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; for (int i = 0; i < 4; i++) { dst[dstIndex++] = (byte) 0xFF; } writeInt2(writeMode, dst, dstIndex); dstIndex += 2; writeInt2(remaining, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test with data length exactly matching outputBuffer size byte[] testData = new byte[outputBuffer.length]; Arrays.fill(testData, (byte) 0xFF); byte[] buffer = new byte[outputBuffer.length + 100]; System.arraycopy(testData, 0, buffer, 0, outputBuffer.length); int result = response.readDataWireFormat(buffer, 0, outputBuffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)