- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 110 for 0xFFFF (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Set maximum values int testCapabilities = 0xFFFFFFFF; byte[] testGuid = new byte[16]; Arrays.fill(testGuid, (byte) 0xFF); int testSecurityMode = 0xFFFF; int testDialect = 0xFFFF; // Write to buffer SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
assertTrue(len >= 2); // writeInt2 writes in little-endian format (LSB first) int written = (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8); int expected = level & 0xFFFF; assertEquals(expected, written); } // Helper method to extract string from buffer private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) { int end = offset;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.TreeConnectResponse#isValidTid() */ @Override public boolean isValidTid() { return getTid() != 0xFFFF; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideCreated: 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/SmbShareInfo.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Test maximum unsigned 16-bit value (65535) SMBUtil.writeInt2(0xFFFF, buffer, 0); TransPeekNamedPipeResponse response2 = new TransPeekNamedPipeResponse(mockConfig); response2.readParametersWireFormat(buffer, 0, 6); assertEquals(0xFFFF, response2.getAvailable()); } @Test @DisplayName("Test large buffer handling")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
} SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; this.openFlags = openFlags & 0xFFFF; this.access = openFlags >>> 16 & 0xFFFF; if (file.type != SmbFile.TYPE_NAMED_PIPE) { file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0); this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
e.type = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; int off = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; off = (off & 0xFFFF) - this.converter; off = start + off; e.commentOrMasterBrowser = readString(buffer, off, 48, false); if (log.isTraceEnabled()) { log.trace(e.toString());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals(value & 0xFFFF, result); } else { SessionServicePacket.writeInt4(value, buffer, 0); int result = SessionServicePacket.readInt4(buffer, 0); assertEquals(value, result); } } private static Stream<Arguments> provideRoundTripTestData() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
// we can get away with i++ because the whole point of this method is to return false if we find // a code point that doesn't fit in a char. for (int i = 0; i < string.length(); i++) { if (string.codePointAt(i) > 0xffff) { return false; } } return true; } @SuppressWarnings("deprecation") public void testSimpleStringUtf8() { assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0)