Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 260 for bit (0.02 sec)

  1. docs/tls/README.md

    Use the following command to generate a private key with RSA:
    
    ```sh
    openssl genrsa -out private.key 2048
    ```
    
    A response similar to this one should be displayed:
    
    ```
    Generating RSA private key, 2048 bit long modulus
    ............................................+++
    ...........+++
    e is 65537 (0x10001)
    ```
    
    Alternatively, use the following command to generate a private RSA key protected by a password:
    
    ```sh
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        private long byteOffset;
        private long lengthInBytes;
    
        /**
         * Constructs a LockingAndXRange with large file support.
         *
         * @param largeFile whether to use large file support (64-bit offsets)
         */
        public LockingAndXRange(final boolean largeFile) {
            this.largeFile = largeFile;
        }
    
        /**
         * Returns the process ID associated with this lock range.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtStatusTest.java

            int[] errorStatuses =
                    { NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND, NtStatus.NT_STATUS_SHARING_VIOLATION };
    
            // When/Then - All error codes should have high bit set (0xC prefix)
            for (int status : errorStatuses) {
                assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
        val sink = sink()
    
        // Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31.
        if (tag < 31) {
          val byte0 = tagClass or constructedBit or tag.toInt()
          sink.writeByte(byte0)
        } else {
          val byte0 = tagClass or constructedBit or 0b0001_1111
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
    
            @Test
            @DisplayName("Should decode 64-bit values correctly")
            void testDecode64BitValues() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[24];
                // alloc (8 bytes) - 0x0000000100000000 (4294967296)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

    class SocketInputStreamTest {
    
        /**
         * Creates a NetBIOS session message header.
         * The header format is:
         * - Byte 0: Message type (0x00 for SESSION_MESSAGE)
         * - Byte 1: High bit of 17-bit length field
         * - Bytes 2-3: Lower 16 bits of length field
         */
        private static byte[] messageHeader(int length) {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_MESSAGE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).contains(value2);
          assertThat(cache.asMap().entrySet()).containsExactly(immutableEntry(key2, value2));
        }
      }
    
      // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568
    
      // A simple type whose .toString() will return the same value each time, but without maintaining
      // a strong reference to that value.
      static class Key {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                  adjustDynamicTableByteCount()
                }
                b == 0x10 || b == 0 -> {
                  // 000?0000 - Ignore never indexed bit.
                  readLiteralHeaderWithoutIndexingNewName()
                }
                else -> {
                  // 000?NNNN - Ignore never indexed bit.
                  val index = readInt(b, PREFIX_4_BITS)
                  readLiteralHeaderWithoutIndexingIndexedName(index - 1)
                }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
            // Should be expired with very short timeout (shorter than sleep time)
            assertTrue(registration.isExpired(10));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            int alignmentBytes = 0;
            if (startIndex % 2 != 0) {
                alignmentBytes = 1; // Need 1 byte of padding for 2-byte alignment
            }
    
            // The value 0xCD should be encoded as a 16-bit value (0x00CD) in little-endian
            byte[] bufferData = buf.getBuffer();
            assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top