Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 47 for mid2 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                    this.response = msg;
                }
    
                @Override
                public long getMid() {
                    return mid;
                }
    
                @Override
                public void setMid(long mid) {
                    this.mid = mid;
                }
    
                @Override
                public int getCommand() {
                    return command;
                }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  3. 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;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return false;
        }
    
        /**
         * @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 = (int) mid;
        }
    
        /**
         * Gets the tree connection identifier
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  7. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
      while (low <= high) {
        val mid = (low + high) / 2
        val compareResult = compare(mid)
        when {
          compareResult < 0 -> high = mid - 1
          compareResult > 0 -> low = mid + 1
          else -> return mid // Match!
        }
      }
    
      return -low - 1 // insertionPoint is before the first element.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/NotifyResponseTest.java

                this.response = msg;
            }
    
            @Override
            public long getMid() {
                return this.mid;
            }
    
            @Override
            public void setMid(long mid) {
                this.mid = mid;
            }
    
            @Override
            public int getCommand() {
                return this.command;
            }
    
            @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Gets the message ID.
         *
         * @return the message id
         */
        long getMid();
    
        /**
         * Sets the message ID.
         *
         * @param mid the message ID to set
         */
        void setMid(long mid);
    
        /**
         * Gets the SMB command.
         *
         * @return the command
         */
        int getCommand();
    
        /**
         * Sets the SMB command.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top