Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 293 for bit (0.02 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
        MultiExceptionListIterator reference = new MultiExceptionListIterator(expectedElements);
        I target = newTargetIterator();
        for (int i = 0; i < stimuli.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

       *
       * <p>The serialization format consists of a 6-byte header (1 byte strategy, 1 byte hash
       * functions, 4 bytes array length) followed by the bit array data (bitSize / 8 bytes).
       */
      public void testBitSizeMatchesSerializationSize() throws Exception {
        int[] expectedInsertionValues = {1, 10, 100, 1000, 10000};
        double[] fppValues = {0.01, 0.03, 0.1};
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

            subjectPublicKey = BitString(publicKeyBytes, 0),
          )
        return CertificateAdapters.subjectPublicKeyInfo.toDer(subjectPublicKeyInfo)
      }
    
      /** Returns a byte string that differs from this one by one bit. */
      private fun ByteString.offByOneBit(): ByteString =
        Buffer()
          .write(this, 0, size - 1)
          .writeByte(this[size - 1].toInt() xor 1)
          .readByteString()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) {
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
            if ((capabilities & SmbConstants.CAP_UNICODE) == 0) {
                // server doesn't want unicode
                if (FORCE_UNICODE) {
                    capabilities |= SmbConstants.CAP_UNICODE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        NbtAddress doNameQuery(final Name name, InetAddress svr) throws UnknownHostException {
            NbtAddress addr;
    
            if (name.hexCode == 0x1d && svr == null) {
                svr = this.baddr; // bit of a hack but saves a lookup
            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress(name);
    
            /*
             * This is almost exactly like InetAddress.java. See the
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

            assertTrue(SmbConstants.DEFAULT_SO_TIMEOUT >= SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
        }
    
        @Test
        @DisplayName("Should have distinct bit patterns for flags")
        void testDistinctBitPatterns() {
            // Verify file attributes have distinct bit patterns
            int[] attributes = { SmbConstants.ATTR_READONLY, SmbConstants.ATTR_HIDDEN, SmbConstants.ATTR_SYSTEM, SmbConstants.ATTR_VOLUME,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/testdata/riscv64.s

    	SLLIUW		$31, X17, X18			// 1b99f809
    	SLLIUW		$63, X17			// 9b98f80b
    	SLLIUW		$63, X17, X18			// 1b99f80b
    	SLLIUW		$1, X18, X19			// 9b191908
    
    	//
    	// "B" Extension for Bit Manipulation, Version 1.0.0
    	//
    
    	// 28.4.2: Basic Bit Manipulation (Zbb)
    	ANDN	X19, X20, X21				// b37a3a41 or 93caf9ffb37a5a01
    	ANDN	X19, X20				// 337a3a41 or 93cff9ff337afa01
    	CLZ	X20, X21				// 931a0a60
    	CLZW	X21, X22				// 1b9b0a60
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

       * negation is cheaper to precompute than the matcher itself; it tries to build small hash tables
       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
       * matcher which is faster to query than the original.
       */
      @GwtIncompatible // SmallCharMatcher
      CharMatcher precomputedInternal() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/CharMatcher.java

       * negation is cheaper to precompute than the matcher itself; it tries to build small hash tables
       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
       * matcher which is faster to query than the original.
       */
      @GwtIncompatible // SmallCharMatcher
      CharMatcher precomputedInternal() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top