Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for MID (2 seconds)

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

  1. src/test/java/jcifs/util/transport/ResponseTest.java

        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
            assertEquals(mid, mockResponse.getMid());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbException.java

                while (max >= min) {
                    final int mid = (min + max) / 2;
    
                    if (errcode > NT_STATUS_CODES[mid]) {
                        min = mid + 1;
                    } else if (errcode < NT_STATUS_CODES[mid]) {
                        max = mid - 1;
                    } else {
                        return NT_STATUS_MESSAGES[mid];
                    }
                }
            } else {
                int min = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/dcerpc/DcerpcException.java

            while (max >= min) {
                final int mid = (min + max) / 2;
    
                if (errcode > DCERPC_FAULT_CODES[mid]) {
                    min = mid + 1;
                } else if (errcode < DCERPC_FAULT_CODES[mid]) {
                    max = mid - 1;
                } else {
                    return DCERPC_FAULT_MESSAGES[mid];
                }
            }
    
            return "0x" + Hexdump.toHexString(errcode, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

        while (low <= high) {
          int mid = (low + high) >>> 1;
          int labelOffset = trieData.charAt(mid * NODE_SIZE);
          int cmp = compareLabel(label, labelOffset);
    
          if (cmp < 0) {
            high = mid - 1;
          } else if (cmp > 0) {
            low = mid + 1;
          } else {
            return mid;
          }
        }
        return -1;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          while (low < high) {
            var mid = (low + high) / 2
            // Search for a '\n' that marks the start of a value. Don't go back past the start of the
            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
              mid--
            }
            mid++
    
            // Now look for the ending '\n'.
            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/transport/Response.java

        int getErrorCode();
    
        /**
         * Sets the message ID.
         *
         * @param k the message ID to set
         */
        void setMid(long k);
    
        /**
         * Gets the message ID.
         *
         * @return mid
         */
        long getMid();
    
        /**
         * Verifies the signature of this response.
         *
         * @param buffer the buffer containing the signature data
         * @param i the starting index in the buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/mime.map

    application/zip                zip jar          # ZIP Compressed File
    audio/basic                    au snd           # Audio Sound File
    audio/x-aiff                   aif aiff aifc    # AIFF Sound File
    audio/x-midi                   mid              # MIDI Sound File
    audio/x-pn-realaudio           ra ram rm rpm    # REALAUDIO Sound File
    audio/x-wav                    wav              # WAV Sound File
    audio/x-mpegurl                mp3              # MP3 Sound File
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.9K bytes
    - Click Count (0)
Back to Top