Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 70 for mid2 (0.02 seconds)

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

  1. src/test/java/jcifs/SIDTest.java

         */
        @Test
        void testEquals() throws SmbException {
            SID sid1 = new SID(adminSidString);
            SID sid2 = new SID(adminSidBytes, 0);
            SID sid3 = new SID("S-1-1-0"); // Everyone
    
            assertEquals(sid1, sid1);
            assertEquals(sid1, sid2);
            assertNotEquals(sid1, sid3);
            assertNotEquals(sid1, null);
            assertNotEquals(sid1, new Object());
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (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;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  3. 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)
  4. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
            urlQueue2.setUrl("http://www.id2.com/");
    
            urlQueueService.insert(urlQueue2);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue")
                    .setQuery(QueryBuilders.termQuery("sessionId", "id1"))
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. 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 */
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
Back to Top