- Sort Score
- Result 10 results
- Languages All
Results 1801 - 1810 of 2,057 for Boolean (0.06 sec)
-
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
private static class Sink extends AbstractStreamingHasher { final int chunkSize; final int bufferSize; final ByteArrayOutputStream out = new ByteArrayOutputStream(); int processCalled = 0; boolean remainingCalled = false; Sink(int chunkSize, int bufferSize) { super(chunkSize, bufferSize); this.chunkSize = chunkSize; this.bufferSize = bufferSize; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals(35000, testConfig.getSoTimeout()); assertEquals(30000, testConfig.getResponseTimeout()); } @Test @DisplayName("Should parse boolean properties correctly") void testBooleanProperties() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.useUnicode", "true");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
/** * The mime type. */ public String mimeType = "application/datastore"; /** * The flag to check if the data store is alive. */ protected boolean alive = true; /** * Register this data store. */ public void register() { ComponentUtil.getDataStoreFactory().add(getName(), this); } /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
return command -> newThread(serviceName(), command).start(); } @Override public String toString() { return serviceName() + " [" + state() + "]"; } @Override public final boolean isRunning() { return delegate.isRunning(); } @Override public final State state() { return delegate.state(); } /** * @since 13.0 */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertEquals(10, config.getChannelHealthCheckInterval()); } @Test void testInvalidPropertyValues() throws CIFSException { Properties props = new Properties(); // Invalid boolean should default to true props.setProperty("jcifs.smb.client.useMultiChannel", "invalid"); PropertyConfiguration config = new PropertyConfiguration(props); assertTrue(config.isUseMultiChannel());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
// The flag must be present so the command recognises largeFile SmbComLockingAndX copy = new SmbComLockingAndX(cfg); copy.readParameterWordsWireFormat(buf, 0); assertTrue((boolean) getField(copy, "largeFile")); } /** * Test toString covers basic output. */ @Test void toStringInclusion() { Configuration cfg = mock(Configuration.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* @param unit The time unit. * @return The response. */ public RESPONSE getResponse(final long time, final TimeUnit unit) { try { final boolean isTimeout = !latch.await(time, unit); if (isTimeout) { throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name()); }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(explicitAdapter.fromDer(bytes)).isEqualTo("hi") assertThat(explicitAdapter.toDer("hi")).isEqualTo(bytes) } @Test fun `boolean`() { val bytes = "0101FF".decodeHex() assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true) assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes) } @Test fun `positive integer`() { val bytes = "020132".decodeHex()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
/** * Checks if the response data represents HTML content. * * @param responseData the response data to check * @return true if the content is HTML, false otherwise */ protected boolean isHtml(final ResponseData responseData) { final String mimeType = responseData.getMimeType(); if ("text/html".equals(mimeType) || "application/xhtml+xml".equals(mimeType)) { return true; }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0)