Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 256 for Bit (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertFalse(channelInfo.isHealthy());
        }
    
        @Test
        void testActivityTracking() {
            long initialTime = channelInfo.getLastActivityTime();
    
            // Wait a bit and update activity
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            channelInfo.updateActivity();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(bytes)
      }
    
      @Test fun `bit string`() {
        val bytes = "0304066e5dc0".decodeHex()
        val bitString = BitString("6e5dc0".decodeHex(), 6)
    
        assertThat(Adapters.BIT_STRING.fromDer(bytes)).isEqualTo(bitString)
        assertThat(Adapters.BIT_STRING.toDer(bitString)).isEqualTo(bytes)
      }
    
      @Test fun `cannot decode empty bit string`() {
        val bytes = "0300".decodeHex()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. src/main/assemblies/files/service.bat

    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version 2>&1 | "%windir%\System32\find" "64-Bit" >nul:
    
    if errorlevel 1 goto x86
    set EXECUTABLE=%FESS_HOME%\bin\fess-service-x64.exe
    set SERVICE_ID=fess-service-x64
    set ARCH=64-bit
    goto checkExe
    
    :x86
    set EXECUTABLE=%FESS_HOME%\bin\fess-service-x86.exe
    set SERVICE_ID=fess-service-x86
    set ARCH=32-bit
    
    :checkExe
    if EXIST "%EXECUTABLE%" goto okExe
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    [ZIP specification]: https://support.pkware.com/pkzip/appnote
    */
    package zip
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. cmd/bitrot-whole.go

    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    	tillOffset int64           // Affects the length of data requested in disk.ReadFile depending on Read()'s offset
    	buf        []byte          // Holds bit-rot verified data
    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    	if b.buf == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
         * <p>Returns whether any bits changed as a result of this operation.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                }
            }
        }
    
        @Test
        @DisplayName("Test constant values follow bit flag pattern")
        void testConstantsBitFlagPattern() {
            // Most values should be powers of 2 for bit flag usage
            assertTrue(isPowerOfTwo(SecurityInfo.OWNER_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.GROUP_SECURITY_INFO));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

              @Override
              public byte[] hash(byte[] input, int seed) {
                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is
    // equivalent to the sign bit in two's complement form.
    func fitsInBase256(n int, x int64) bool {
    	binBits := uint(n-1) * 8
    	return n >= 9 || (x >= -1<<binBits && x < 1<<binBits)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110
            // Bit 7: group (1)
            // Bits 6-5: owner node type (11 = 3)
            // Bit 4: being deleted (1)
            // Bit 3: in conflict (1)
            // Bit 2: active (1)
            // Bit 1: permanent (1)
    
            // MAC address
            byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top