- Sort Score
- Result 10 results
- Languages All
Results 1951 - 1960 of 2,057 for Boolean (3.17 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} catch (Exception e) { throw new AssertionError(e); } } // Helper to set private flag 'treeAcquired' private static void setTreeAcquired(SmbTreeConnection c, boolean val) { try { Field f = SmbTreeConnection.class.getDeclaredField("treeAcquired"); f.setAccessible(true); f.set(c, val); } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* @param decrementAuthority whether to decrement the authority count */ public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) { this.revision = sid.revision; this.sub_authority_count = sid.sub_authority_count; this.identifier_authority = sid.identifier_authority;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use // When: Close the pool boolean inUse = pool.close(); // Then: Should report in-use and call disconnect on all assertTrue(inUse, "Should report connections in use"); verify(pooledSpy).disconnect(false, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
override fun close() = source().closeQuietly() internal class BomAwareReader( private val source: BufferedSource, private val charset: Charset, ) : Reader() { private var closed: Boolean = false private var delegate: Reader? = null @Throws(IOException::class) override fun read( cbuf: CharArray, off: Int, len: Int, ): Int {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
* resources are released and all following calls to [.newSource] return null. Guarded by this. */ var sourceCount = 0 val isClosed: Boolean get() = file == null @Throws(IOException::class) private fun writeHeader( prefix: ByteString, upstreamSize: Long, metadataSize: Long, ) { val header = Buffer().apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
fail(); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expectedException); } } private static void assertCancelled(AbstractFuture<Integer> future, boolean expectWasInterrupted) throws InterruptedException, TimeoutException, ExecutionException { assertDone(future); assertThat(future.isCancelled()).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
} final byte[] targetInfo = readSecurityBuffer(input, pos); if (targetInfo.length != 0) { setTargetInformation(targetInfo); } } private static boolean allZeros8(final byte[] input, final int pos) { for (int i = pos; i < pos + 8; i++) { if (input[i] != 0) { return false; } } return true; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(status.equals(nullStatus)); // null == Enum should be false assertFalse(nullStatus == status); // Verify no NullPointerException when comparing with == boolean result = (nullStatus == CrawlerStatus.INITIALIZING); assertFalse(result); } /** * Test thread safety of enum */ public void test_threadSafety() throws Exception {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
public void test_insert() { loadTestData(); StopwordsItem newItem = new StopwordsItem(0, "test"); stopwordsFile.insert(newItem); // Verify the item was added boolean found = false; for (StopwordsItem item : stopwordsFile.stopwordsItemList) { if ("test".equals(item.getInput())) { found = true; break; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
* * @param size the message size * @param isSmb1 whether this is SMB1 protocol * @throws SmbException if size is invalid */ public void validateMessageSize(int size, boolean isSmb1) throws SmbException { totalValidations.incrementAndGet(); if (size < MIN_SMB_HEADER_SIZE) { failedValidations.incrementAndGet();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)