- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 81 for mid2 (0.93 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
assertEquals(secondResult, thirdResult); // Rule ID should remain constant String id1 = rule.getRuleId(); String id2 = rule.getRuleId(); String id3 = rule.getRuleId(); assertEquals(id1, id2); assertEquals(id2, id3); // Processor should remain the same instance ResponseProcessor proc1 = rule.getResponseProcessor();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
final Smb2SigningDigest dgst = getDigest(); if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) { // MID checking not required here as we only read responses for which we're waiting // We only read what we were waiting for, so first guess would be no. final boolean verify = dgst.verify(buffer, i, size, 0, this);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
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) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
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 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
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]) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
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) { }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
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;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)