Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 96 for 0xff00 (0.03 sec)

  1. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
            assertEquals((byte) 0x89, dst[9]);
    
            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
            assertEquals((byte) 0x00, dst[11]);
    
            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.versionMajor = buffer[bufferIndex] & 0xFF;
                bufferIndex++;
                e.versionMinor = buffer[bufferIndex++] & 0xFF;
                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - this.converter;
                off = start + off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        void testReadDataWireFormatMultipleShares() throws Exception {
            int numShares = 3;
            String[] shareNames = { "SHARE1", "ADMIN$", "IPC$" };
            int[] shareTypes = { 0, 0x8000, 3 }; // Disk, Hidden flag (stored in 2 bytes), IPC
            String[] remarks = { "First share", "Admin share", "IPC share" };
    
            // Set converter and number of entries
            setConverter(response, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

            super.connect();
        }
        
        private void performRdmaNegotiation() throws IOException {
            RdmaNegotiateRequest request = new RdmaNegotiateRequest();
            request.setMinVersion(0x0100);
            request.setMaxVersion(0x0100);
            request.setCreditsRequested(credits.getInitialCredits());
            request.setPreferredSendSize(maxReceiveSize);
            request.setMaxReceiveSize(maxReceiveSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertNotNull(result);
            assertTrue(result.contains("FileNotifyInformation"));
            assertTrue(result.contains("nextEntry=0"));
            assertTrue(result.contains("action=0x0000")); // Hexdump.toHexString produces 4-char padded hex
            assertTrue(result.contains("file=null"));
        }
    
        @ParameterizedTest
        @DisplayName("Test decode with aligned next entry offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertEquals("\\", trans2FindFirst2.getPath());
        }
    
        @ParameterizedTest
        @DisplayName("Test search attributes masking")
        @ValueSource(ints = { 0x00, 0x16, 0x37, 0xFF })
        void testSearchAttributesMasking(int searchAttributes) {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);
    
            // Verify attributes are masked with 0x37
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
                    Arguments.of(0x9999, null, false) // Unknown dialect
            );
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        frameLength = (b1 and B1_MASK_LENGTH).toLong()
        if (frameLength == PAYLOAD_SHORT.toLong()) {
          frameLength = (source.readShort() and 0xffff).toLong() // Value is unsigned.
        } else if (frameLength == PAYLOAD_LONG.toLong()) {
          frameLength = source.readLong()
          if (frameLength < 0L) {
            throw ProtocolException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top