- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 7,010 for Accept (1.87 sec)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
@Test public void testHeaderMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); CurlRequest result = request.header("Content-Type", "application/json").header("Accept", "application/json"); assertSame(request, result); // Fluent API } @Test public void testThreadPoolMethod() {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn_test.go
t.Fatalf("failed to assert to net.TCPListener") } var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done() tcpConn, terr := tcpListener.AcceptTCP() if terr != nil { t.Errorf("failed to accept new connection. %v", terr) return } deadlineconn := New(tcpConn) deadlineconn.WithReadDeadline(time.Second) deadlineconn.WithWriteDeadline(time.Second) defer deadlineconn.Close() // Read a line
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 17:15:17 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java
package com.google.common.testing; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.DoNotMock; import org.jspecify.annotations.NullMarked; /** * Any object which can accept registrations of {@link TearDown} instances. * * @author Kevin Bourrillion * @since 10.0 */ @DoNotMock("Implement with a lambda") @GwtCompatible @NullMarked public interface TearDownAccepter { /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownAccepter.java
package com.google.common.testing; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.DoNotMock; import org.jspecify.annotations.NullMarked; /** * Any object which can accept registrations of {@link TearDown} instances. * * @author Kevin Bourrillion * @since 10.0 */ @DoNotMock("Implement with a lambda") @GwtCompatible @NullMarked public interface TearDownAccepter { /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/ResourceNameFilter.java
* @param name the resource name to test * @return whether the given filename should be included * @throws CIFSException if an error occurs while accessing the resource */ boolean accept(SmbResource parent, String name) throws CIFSException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* * @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwise * @throws SmbException if an error occurs while accessing the file */ boolean accept(SmbFile file) throws SmbException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
docs_src/websockets/tutorial001_py39.py
</body> </html> """ @app.get("/") async def get(): return HTMLResponse(html) @app.websocket("/ws") async def websocket_endpoint(websocket: WebSocket): await websocket.accept() while True: data = await websocket.receive_text()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt
import okhttp3.FallbackTestClientSocketFactory.Companion.TLS_FALLBACK_SCSV /** * An SSLSocketFactory that delegates calls. Sockets created by the delegate are wrapped with ones * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback * checks on platforms that support it. Unfortunately this wrapping will disable any * reflection-based calls to SSLSocket from Platform. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Given: A filter that rejects everything when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://")); when(nameFilter.accept(any(SmbResource.class), anyString())).thenReturn(false); // Mock response with one entry when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
docs/es/docs/tutorial/cors.md
* `allow_headers` - Una lista de headers de request HTTP que deberían estar soportados para requests cross-origin. Por defecto es `[]`. Puedes usar `['*']` para permitir todos los headers. Los headers `Accept`, `Accept-Language`, `Content-Language` y `Content-Type` siempre están permitidos para <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests" class="external-link" rel="noopener" target="_blank">requests CORS simples</a>.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.9K bytes - Viewed (0)