Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for bit1 (0.02 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits);
    
        /**
         * Queries {@code numHashFunctions} bits of the given bit array, by hashing a user element;
         * returns {@code true} if and only if all selected bits are set.
         */
        <T extends @Nullable Object> boolean mightContain(
            @ParametricNullness T object,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    		}
    	}
    	return -1
    }
    
    // asciiSet is a 32-byte value, where each bit represents the presence of a
    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

            // Sequence number (64-bit)
            buf.enc_ndr_hyper(sequenceNumber);
        }
    
        @Override
        protected void decodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Decode output parameters for WitnessHeartbeat
    
            // Response sequence number (64-bit)
            responseSequenceNumber = buf.dec_ndr_hyper();
    
            // Heartbeat interval (64-bit, in 100-nanosecond intervals)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            bb.getInt();
    
            // LinkSpeed (8 bytes) - in bits per second
            long linkSpeedBps = bb.getLong();
    
            // Parse sockaddr structure (starts at offset + 24)
            InetAddress addr = parseSockaddr(data, offset + 24);
    
            if (addr == null) {
                return null;
            }
    
            // Convert bits per second to Mbps for internal use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation
    
            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
            byte[] buffer2 = createBasicNegotiateResponseBuffer();
            // Set maximum 16-bit value
            SMBUtil.writeInt2(65535, buffer2, 58);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        public static final String CONTEXT_NAME = "DH2Q";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit)
        private int flags;
    
        /**
         * Create a new durable handle V2 response
         */
        public DurableHandleV2Response() {
            // Will be populated during decode
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

           * roundArbitrarilyAsLong is Long.MAX_VALUE. (This is the only way this condition can occur as
           * otherwise the conversion back to long pads with zero bits.) In this case we know that
           * roundArbitrarily > x. (This is important when x == Long.MAX_VALUE ==
           * roundArbitrarilyAsLong.)
           */
          cmpXToRoundArbitrarily = -1;
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        private Smb2EncryptionContext encryptionContext;
    
        @BeforeEach
        void setUp() {
            // Initialize test keys
            testEncryptionKey = new byte[16]; // 128-bit key
            testDecryptionKey = new byte[16]; // 128-bit key
            new SecureRandom().nextBytes(testEncryptionKey);
            new SecureRandom().nextBytes(testDecryptionKey);
    
            // Create encryption context with required parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top