Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for 0x7fffffffL (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transCallNamedPipe.getCommand());
            assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, transCallNamedPipe.getSubCommand());
            assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout);
            assertEquals(0, transCallNamedPipe.maxParameterCount);
            assertEquals(0xFFFF, transCallNamedPipe.maxDataCount);
            assertEquals((byte) 0x00, transCallNamedPipe.maxSetupCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInteger.java

      private final int value;
    
      private UnsignedInteger(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        this.value = value & 0xffffffff;
      }
    
      /**
       * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
       * interpreted as an unsigned 32-bit value. Specifically, the sign bit of {@code bits} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         *            clear (<code>false</code>) the specified flag.
         */
        public void setFlag(final int flag, final boolean value) {
            setFlags(value ? getFlags() | flag : getFlags() & (0xffffffff ^ flag));
        }
    
        static int readULong(final byte[] src, final int index) {
            return src[index] & 0xff | (src[index + 1] & 0xff) << 8 | (src[index + 2] & 0xff) << 16 | (src[index + 3] & 0xff) << 24;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

                this.sub_authority = new int[this.sub_authority_count];
                for (int i = 0; i < this.sub_authority_count; i++) {
                    this.sub_authority[i] = (int) (Long.parseLong(st.nextToken()) & 0xFFFFFFFFL);
                }
            }
        }
    
        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            }
        }
    
        @Test
        void testLargeBatchParameters() {
            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
            trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.endsWith("]"));
        }
    
        @ParameterizedTest
        @DisplayName("Test toString with various type values")
        @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000003, 0x80000000, 0x80000001, 0xFFFFFFFF })
        void testToStringWithVariousTypes(int type) {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
            String str = info.toString();
    
            // Verify type is displayed as hex
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            dst[dstIndex + 2] = (byte) (val >> 16);
            dst[dstIndex + 3] = (byte) (val >> 24);
        }
    
        private void writeInt8(long val, byte[] dst, int dstIndex) {
            writeInt4((int) (val & 0xFFFFFFFFL), dst, dstIndex);
            writeInt4((int) (val >> 32), dst, dstIndex + 4);
        }
    
        private void writeTime(long t, byte[] dst, int dstIndex) {
            writeInt8(t, dst, dstIndex);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MIENameTest.java

                        buf[i + 3] = (byte) (fakeLen & 0xFF);
                        return buf;
                    }, IllegalArgumentException.class),
    
                    // Negative NAME_LEN (0xFFFFFFFF) causes StringIndexOutOfBoundsException
                    Arguments.of("negative name length triggers SIOOBE", (java.util.function.Supplier<byte[]>) () -> {
                        byte[] tok = new byte[] { 0x04, 0x01 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          this.h1 = seed;
          this.length = 0;
          isDone = false;
        }
    
        private void update(int nBytes, long update) {
          // 1 <= nBytes <= 4
          buffer |= (update & 0xFFFFFFFFL) << shift;
          shift += nBytes * 8;
          length += nBytes;
    
          if (shift >= 32) {
            h1 = mixH1(h1, mixK1((int) buffer));
            buffer >>>= 32;
            shift -= 32;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top