Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,082 for Bits (2.5 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0
                // Therefore the method will always return false unless flags has all 0x00 bits set
                // This test verifies actual behavior
                testBlock.setFlags((byte) 0x00);
                assertFalse(testBlock.isResolveInDfs());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then
            assertTrue(response.haveCapabilitiy(0x01)); // Has this bit
            assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits
            assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit
            assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    final class Crc32cHashFunction extends AbstractHashFunction {
      static final HashFunction CRC_32_C = new Crc32cHashFunction();
    
      @Override
      public int bits() {
        return 32;
      }
    
      @Override
      public Hasher newHasher() {
        return new Crc32cHasher();
      }
    
      @Override
      public String toString() {
        return "Hashing.crc32c()";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @DisplayName("Test readDataWireFormat with various share types")
        @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits
                "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type
        })
        void testReadDataWireFormatWithVariousShareTypes(int type, String name, String remark) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                });
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                });
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /**
         * Flag indicating the message is signed.
         */
        public static final int SMB2_FLAGS_SIGNED = 0x00000008;
        /**
         * Mask for message priority bits.
         */
        public static final int SMB2_FLAGS_PRIORITY_MASK = 0x00000070;
        /**
         * Flag indicating the operation is a DFS operation.
         */
        public static final int SMB2_FLAGS_DFS_OPERATIONS = 0x10000000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Striped.java

          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
      private static final int ALL_SET = ~0;
    
      private static int ceilToPowerOfTwo(int x) {
        return 1 << IntMath.log2(x, RoundingMode.CEILING);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top