Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 00000011 (0.07 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

        void testToHexStringInt() {
            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
            // Test positive values
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.httpOnly).isTrue()
      }
    
      @Test fun builderIpv6() {
        val cookie =
          Cookie
            .Builder()
            .name("a")
            .value("b")
            .domain("0:0:0:0:0:0:0:1")
            .build()
        assertThat(cookie.domain).isEqualTo("::1")
      }
    
      @Test fun emptySameSite() {
        assertThat(parse(url, "a=b; SameSite=")!!.sameSite).isEqualTo("")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/DES.java

                0x002000, 0x001000, 0x000800, 0x000400, 0x000200, 0x000100, 0x000080, 0x000040, 0x000020, 0x000010, 0x000008, 0x000004,
                0x000002, 0x000001 };
        private static byte[] pc1 = { (byte) 56, (byte) 48, (byte) 40, (byte) 32, (byte) 24, (byte) 16, (byte) 8, (byte) 0, (byte) 57,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                b[off + 6] = 0x00;
                b[off + 7] = 0x00;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
            assertEquals(1.0d, raf.readDouble(), 0.0000001);
        }
    
        @Test
        @DisplayName("readLine(): reads until newline and handles CRLF")
        void readLine_reads() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_NO_SUCH_DEVICE = 0xC000000e;
        /** The system cannot find the file specified */
        int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
        /** End of file reached */
        int NT_STATUS_END_OF_FILE = 0xC0000011;
        /** More processing is required to complete this request */
        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
        int NT_STATUS_ACCESS_DENIED = 0xC0000022;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // Arrange SMB2 EOF via NT status code mapping in SmbFileInputStream
                when(mockTree.send(any(Request.class), any(RequestParam.class))).thenThrow(new SmbException(0xC0000011, false)); // STATUS_END_OF_FILE
    
                SmbFileInputStream in = newStream();
                int v = in.read();
                assertEquals(-1, v);
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                    throw IOException("Invalid dynamic table size update $maxDynamicTableByteCount")
                  }
                  adjustDynamicTableByteCount()
                }
                b == 0x10 || b == 0 -> {
                  // 000?0000 - Ignore never indexed bit.
                  readLiteralHeaderWithoutIndexingNewName()
                }
                else -> {
                  // 000?NNNN - Ignore never indexed bit.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Owner SID at offset 20
            buffer.position(20);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Manually build the expected NTLMv2 blob (same as production code)
            int avPairsLength = avPairs.length;
            byte[] blob = new byte[28 + avPairsLength + 4];
            Encdec.enc_uint32le(0x00000101, blob, 0); // Header
            Encdec.enc_uint32le(0x00000000, blob, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, blob, 8);
            System.arraycopy(clientChallenge, 0, blob, 16, 8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private final Map<String, AtomicInteger> consecutiveFailures = new ConcurrentHashMap<>();
        private static final int MAX_CONSECUTIVE_FAILURES = 3;
        private static final long FAILURE_RECOVERY_TIME = 600000; // 10 minutes
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top