- Sort Score
- Num 10 results
- Language All
Results 2081 - 2090 of 2,978 for projectId (0.36 seconds)
-
guava-tests/test/com/google/common/io/ByteSinkTest.java
* * @author Colin Decker */ @NullUnmarked public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor(); private volatile ValueAndCloser<?> valueAndCloser; @Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
Sets.difference( ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM)) .immutableCopy(); private double[] dataset; @Override protected void setUp() { dataset = new double[DATASET_SIZE]; for (int i = 0; i < DATASET_SIZE; i++) { dataset[i] = rng.nextDouble(); } } public void testSingleQuantile_median() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 3.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java
/** * Utility class for {@link SAXParser}. * * @author higa */ public abstract class SAXParserFactoryUtil { /** * Do not instantiate. */ protected SAXParserFactoryUtil() { } /** * Creates a new instance of {@link SAXParserFactory}. * * @return A new instance of {@link SAXParserFactory}. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
public class GroovyEngineTest extends UnitFessTestCase { public GroovyEngine groovyEngine; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); groovyEngine = new GroovyEngine(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { if (groovyEngine != null) { groovyEngine.close(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
*/ public abstract class ClassUtil { /** * Do not instantiate. */ protected ClassUtil() { } /** Map from wrapper types to primitive types */ protected static final Map<Class<?>, Class<?>> wrapperToPrimitiveMap = newHashMap(); /** Map from primitive types to wrapper types */ protected static final Map<Class<?>, Class<?>> primitiveToWrapperMap = newHashMap();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
private TestCorsHandlerFactory corsHandlerFactory; private TestHttpServletRequest mockRequest; private TestHttpServletResponse mockResponse; private TestFilterChain mockFilterChain; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); corsFilter = new CorsFilter(); corsHandlerFactory = new TestCorsHandlerFactory(); // Initialize mocksCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
state = STATE_READ_RESPONSE_HEADERS } } private abstract inner class AbstractSource( val url: HttpUrl, ) : Source { protected val timeout = ForwardingTimeout(socket.source.timeout()) protected var closed: Boolean = false override fun timeout(): Timeout = timeout override fun read( sink: Buffer, byteCount: Long, ): Long =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
TestExecutor(MockExecutor mock) { super(mock); } @Override protected <T> Callable<T> wrapTask(Callable<T> callable) { return new WrappedCallable<T>(callable); } @Override protected Runnable wrapTask(Runnable command) { return new WrappedRunnable(command); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible public abstract class ByteSink { /** Constructor for use by subclasses. */ protected ByteSink() {} /** * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink as * bytes encoded with the given {@link Charset charset}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0)