Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for MID (0.04 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setDigest(digest);
            assertEquals(digest, response.getDigest());
    
            // Test mid methods
            long mid = 123456L;
            doNothing().when(response).setMid(mid);
            when(response.getMid()).thenReturn(mid);
            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
            int command = 0x25;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.flags &= ~flag;
        }
    
        /**
         * @return the mid
         */
        @Override
        public final long getMid() {
            return this.mid;
        }
    
        /**
         * @param mid
         *            the mid to set
         */
        @Override
        public final void setMid(final long mid) {
            this.mid = mid;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

        boolean midLessThanFrom = (array[mid] < array[from]);
        boolean toLessThanFrom = (array[to] < array[from]);
        if (toLessThanMid == midLessThanFrom) {
          // Either array[to] < array[mid] < array[from] or array[from] <= array[mid] <= array[to].
          swap(array, mid, from);
        } else if (toLessThanMid != toLessThanFrom) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java

        /**
         * Constructs an NT cancel command.
         *
         * @param config the configuration
         * @param mid the message ID to cancel
         */
        protected SmbComNtCancel(final Configuration config, final int mid) {
            super(config, SMB_COM_NT_CANCEL);
            setMid(mid);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#isCancel()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         *            The configuration to use
         * @param mid
         *            The message ID of the request to cancel
         * @param asyncId
         *            The async ID for asynchronous operations (0 for synchronous)
         */
        public Smb2CancelRequest(final Configuration config, final long mid, final long asyncId) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if (asyncId != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        abstract int readBytesWireFormat(byte[] buffer, int bufferIndex);
    
        @Override
        public int hashCode() {
            return mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == mid;
        }
    
        @Override
        public String toString() {
            String c = switch (command) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    out = socket.getOutputStream();
                    in = socket.getInputStream();
                }
    
                if (++mid == 32000) {
                    mid = 1;
                }
                NEGOTIATE_REQUEST.mid = mid;
                final int n = NEGOTIATE_REQUEST.encode(sbuf, 4);
                Encdec.enc_uint32be(n & 0xFFFF, sbuf, 0); /* 4 byte ssn msg header */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 100, 255, 65535 })
            @DisplayName("Should handle different MID values")
            void testConstructorWithVariousMids(int mid) throws Exception {
                // Given
                Configuration config = mock(Configuration.class);
                when(config.getPid()).thenReturn(12345);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
         * Currently, we just divide the range in half.
         */
        int mid = (n1 + n2) >>> 1;
        return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
      }
    
      @Benchmark
      int slowFactorial(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        @DisplayName("Test createCancel with maximum MID value")
        void testCreateCancelWithMaxMid() {
            // Set MID to maximum value
            int maxMid = 0xFFFF;
            transaction.setMid(maxMid);
    
            // Create cancel request
            CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
    
            // Verify it creates a valid cancel request with max MID
            assertNotNull(cancelRequest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top