Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 72 for mid2 (0.13 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. 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)
  3. src/test/java/jcifs/internal/RequestWithPathTest.java

            }
    
            @Override
            public long getMid() {
                return 0;
            }
    
            @Override
            public void setMid(long mid) {
            }
    
            @Override
            public int getCommand() {
                return 0;
            }
    
            @Override
            public void setCommand(int command) {
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.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/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
        }
    
        @Test
        public void test_crawl_withConfigIdList_emptyList() {
            try {
                List<String> configIds = Arrays.asList("id1", "id2");
                dataIndexHelper.crawl("test-session", configIds);
                assertTrue("Should complete quickly with empty results", true);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.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