Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 58 for mid2 (0.02 seconds)

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

  1. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Crawler.Options options = new Crawler.Options();
            options.webConfigIds = "id1,id2,id3";
    
            List<String> result = options.getWebConfigIdList();
            assertNotNull(result);
            assertEquals(3, result.size());
            assertTrue(result.contains("id1"));
            assertTrue(result.contains("id2"));
            assertTrue(result.contains("id3"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testUidProperty() {
                testBlock.setUid(0x9ABC);
                assertEquals(0x9ABC, testBlock.getUid());
            }
    
            @Test
            @DisplayName("Test MID property")
            void testMidProperty() {
                testBlock.setMid(0xDEF0L);
                assertEquals(0xDEF0, testBlock.getMid());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if (this.machineId == null) {
                final byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if (this.nativeOs == null) {
                this.nativeOs = System.getProperty("os.name");
            }
    
            if (this.flags2 == 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              swap(array, from, to);
            }
            return array[k];
          } else {
            int midIndex = (from + to) >>> 1;
            // Choose the median of the elements at the from, to and mid indexes,
            // and rearrange so that array[from]<=array[from+1], and
            // array[to] => array[from + 1].
    
            swap(array, midIndex, from + 1);
    
            if (array[from] > array[to]) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // PID (2 bytes)
            buffer[26] = 0x02;
            buffer[27] = 0x00;
    
            // UID (2 bytes)
            buffer[28] = 0x03;
            buffer[29] = 0x00;
    
            // MID (2 bytes)
            buffer[30] = 0x04;
            buffer[31] = 0x00;
    
            // Word count
            buffer[32] = 10; // 10 words = 20 bytes
    
            // Parameter words for transaction response
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

        }
    
        @Test
        public void test_generateId() {
            String id1 = queryHelper.generateId();
            String id2 = queryHelper.generateId();
    
            assertNotNull(id1);
            assertNotNull(id2);
            assertFalse(id1.equals(id2));
            assertTrue(id1.length() > 0);
            assertFalse(id1.contains("-"));
        }
    
        @Test
        public void test_generateId_format() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

        private final InetAddress localAddr;
        private final int localPort;
        private final Address address;
        private Socket socket;
        private int port;
        private final AtomicLong mid = new AtomicLong();
        private OutputStream out;
        private InputStream in;
        private final byte[] sbuf = new byte[1024]; /* small local buffer */
        private long sessionExpiration;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  9. internal/grid/connection.go

    		// params: muxID uint64, isClosed func(bool)
    		muxID, _ := args[0].(uint64)
    		resp, _ := args[1].(func(b bool))
    		mid, ok := c.outgoing.Load(muxID)
    		if !ok || mid == nil {
    			resp(true)
    			return
    		}
    		mid.respMu.Lock()
    		resp(mid.closed)
    		mid.respMu.Unlock()
    	case debugBlockInboundMessages:
    		c.connMu.Lock()
    		a, _ := args[0].(chan struct{})
    		block := (<-chan struct{})(a)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // After all data is consumed, next read throws IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("EOF handling when stream ends mid-header")
        void eofHandlingMidHeader() throws IOException {
            // Create incomplete header (only 2 bytes instead of 4)
            byte[] incompleteHeader = new byte[] { (byte) SessionServicePacket.SESSION_MESSAGE, 0 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top