Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for mid (0.01 sec)

  1. 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)
  2. 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.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        class CancelRequestTests {
    
            @Test
            @DisplayName("createCancel should return Smb2CancelRequest with same mid and asyncId")
            void testCreateCancel() {
                long mid = 123L;
                long asyncId = 456L;
                testRequest.setMid(mid);
                testRequest.setAsyncId(asyncId);
    
                CommonServerMessageBlockRequest cancelRequest = testRequest.createCancel();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx.errorCode = errorCode;
                andx.flags = flags;
                andx.flags2 = flags2;
                andx.tid = tid;
                andx.pid = pid;
                andx.uid = uid;
                andx.mid = mid;
                andx.useUnicode = useUnicode;
    
                if (andx instanceof AndXServerMessageBlock) {
                    bufferIndex += ((AndXServerMessageBlock) andx).readAndXWireFormat(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.chain(nextMessage);
                testMessage.setSessionId(999L);
                assertEquals(999L, nextMessage.getSessionId());
            }
    
            @Test
            @DisplayName("Should get and set MID")
            void testMidProperty() {
                assertEquals(0, testMessage.getMid());
                testMessage.setMid(12345L);
                assertEquals(12345L, testMessage.getMid());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
            // Reset MID to a known starting point for deterministic behavior
            setField(transport, "mid", new AtomicLong());
        }
    
        // Utility: reflectively set a private/protected field (searches up the hierarchy)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top