- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 8,165 for public (0.16 seconds)
-
android/guava/src/com/google/common/net/HostAndPort.java
* validation, see the {@link HostSpecifier} class. * * @since 20.0 (since 10.0 as {@code getHostText}) */ public String getHost() { return host; } /** Return true if this instance has a defined port. */ public boolean hasPort() { return port >= 0; } /** * Get the current port number, failing if no port is defined. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
} @Override public boolean isAvailable() { return available; } @Override public void destroy() { available = false; } @Override public Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap) { // Validate inputsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
} /** constructor initializes to given value */ public void testConstructor() { for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
*/ package org.codelibs.fess.exception; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class JobProcessingExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withCause() { // Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
* * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class StringsTest extends TestCase { public void testNullToEmpty() { assertThat(Strings.nullToEmpty(null)).isEqualTo(""); assertThat(Strings.nullToEmpty("")).isEqualTo(""); assertThat(Strings.nullToEmpty("a")).isEqualTo("a"); } public void testEmptyToNull() { assertThat(Strings.emptyToNull(null)).isNull();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; import org.codelibs.core.exception.IORuntimeException; /** * Utility for {@link Channel}. * * Author: koichik */ public abstract class ChannelUtil { /** * Do not instantiate. */ protected ChannelUtil() { } /** * Returns a {@link ByteBuffer} that maps the file channel to memory. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Field; import org.junit.jupiter.api.Test; /** * Tests for SmbComWrite command - SMB write operations */ public class SmbComWriteTest { /** * Helper method to get private field value using reflection */ private Object getFieldValue(Object obj, String fieldName) { try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* @since 11.0 */ @Override public void put(K key, V value) { throw new UnsupportedOperationException(); } /** * @since 12.0 */ @Override public void putAll(Map<? extends K, ? extends V> m) { for (Entry<? extends K, ? extends V> entry : m.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void cleanUp() {} @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)