- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 1,487 for treating (0.05 seconds)
-
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
// https://github.com/google/guava/issues/2996 // no data, just testing that there's no StackOverflowException assertEquals(-1, tenMillionEmptySources().read()); } public void testReadArray_noStackOverflow() throws IOException { // https://github.com/google/guava/issues/2996 // no data, just testing that there's no StackOverflowExceptionCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations. * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well * as sub-suites for testing the {@code CharSink} view in the same way. * * @author Colin Decker */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageClientFactory.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil; /** * Factory for creating appropriate StorageClient based on configuration. */ public final class StorageClientFactory { private static final Logger logger = LogManager.getLogger(StorageClientFactory.class);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.copyToList; import static com.google.common.collect.testing.Helpers.mapEntry; import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Iterator; import java.util.List;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
private GenericContainer minioServer; @Override protected void setUp() throws Exception { super.setUp(); final int port = 9000; logger.info("Creating {}", IMAGE_NAME); minioServer = new GenericContainer<>(IMAGE_NAME)// .withEnv("MINIO_ACCESS_KEY", ACCESS_KEY)// .withEnv("MINIO_SECRET_KEY", SECRET_KEY)//Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 20.9K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
{ "message": "Hello World" } ``` Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉 ## Default response class { #default-response-class } When creating a **FastAPI** class instance or an `APIRouter` you can specify which response class to use by default. The parameter that defines this is `default_response_class`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
import okhttp3.internal.DoubleInetAddressDns import okhttp3.internal.RecordingOkAuthenticator import okhttp3.internal.connection.RealConnection import okhttp3.internal.discard import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okio.Buffer import okio.BufferedSink import okio.GzipSink import okio.Path.Companion.toPath import okio.buffer
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 67.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
// Concrete implementation of NameServicePacket for testing private static class TestNameServicePacket extends NameServicePacket { public TestNameServicePacket(Configuration config) { super(config); } @Override int writeBodyWireFormat(byte[] dst, int dstIndex) { // For testing purposes, we can return a fixed length or mock behavior return 0;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
guava/src/com/google/common/reflect/Types.java
* symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our * implementation unless some of its bounds have changed in resolution. This avoids creating * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's * fine for the synthetic TypeVariable to be unequal to any native TypeVariable anyway. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
* (that require system properties to be set for execution). * * Integration tests require system properties: * - rdma.test.enabled=true (to enable RDMA integration tests) * - rdma.test.server=hostname/IP (target server for testing) * - rdma.test.port=445 (target port, defaults to 445) */ public class RdmaIntegrationTest { private String testServer; private int testPort; private CIFSContext testContext; @BeforeEachCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0)