- Sort Score
- Num 10 results
- Language All
Results 2201 - 2210 of 2,451 for Booleans (0.05 seconds)
-
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
// Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class // rather than mocking to ensure that one of those methods is called. class TestArrayList<E> extends ArrayList<E> { boolean toArrayCalled = false; @Override public Object[] toArray() { toArrayCalled = true; return super.toArray(); } @Override public <T> T[] toArray(T[] a) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 22.7K bytes - Click Count (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());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
*/ public String mimeType = "application/datastore"; /** * The flag to check if the data store is alive. * Volatile to ensure visibility across threads. */ protected volatile boolean alive = true; /** * Default constructor. */ public AbstractDataStore() { // nothing } /** * Register this data store. */ public void register() {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.6K bytes - Click Count (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()); }Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
} protected DependencyManager getDependencyManager() { return getDependencyManager(true); // same default as in Maven4 } public DependencyManager getDependencyManager(boolean transitive) { return transitive ? new TransitiveDependencyManager(getScopeManager()) : new ClassicDependencyManager(getScopeManager()); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 7.9K bytes - Click Count (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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
} override fun matches(o: Any?): Boolean = (o as Long?)!! > value } private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> = object : BaseMatcher<Response?>() { override fun describeTo(description: Description?) { description!!.appendText("is HTTP/2") } override fun matches(o: Any?): Boolean = (o as Response?)!!.protocol == protocol }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.5K bytes - Click Count (0) -
guava/src/com/google/common/net/MediaType.java
} char previewChar() { checkState(hasMore()); return input.charAt(position); } boolean hasMore() { return (position >= 0) && (position < input.length()); } } @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } else if (obj instanceof MediaType) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* @param tc the CIFS context to use * @throws MalformedURLException if the URL is not properly formatted */ public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException { super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if (!getLocator().isIPC()) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.2K bytes - Click Count (0)