- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,215 for accept (0.19 sec)
-
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) { exceptionListener.accept(e); } } } class MockHttpURLConnection extends HttpURLConnection { MockHttpURLConnection(URL u) {
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
@Throws(IOException::class) fun missingConnectionHeader() { webServer.enqueue( MockResponse.Builder() .code(101) .setHeader("Upgrade", "websocket") .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=") .build(), ) webServer.enqueue( MockResponse.Builder() .socketPolicy(SocketPolicy.DisconnectAtStart) .build(), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
ERROR_SUCCESS, ERROR_ACCESS_DENIED, ERROR_REQ_NOT_ACCEP, ERROR_BAD_PIPE, ERROR_PIPE_BUSY, ERROR_NO_DATA, ERROR_PIPE_NOT_CONNECTED, ERROR_MORE_DATA, ERROR_NO_BROWSER_SERVERS_FOUND, }; static final String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
@SuppressWarnings ( "javadoc" ) public class NegTokenTarg extends SpnegoToken { public static final int UNSPECIFIED_RESULT = -1; public static final int ACCEPT_COMPLETED = 0; public static final int ACCEPT_INCOMPLETE = 1; public static final int REJECTED = 2; public static final int REQUEST_MIC = 3; private ASN1ObjectIdentifier mechanism; private int result = UNSPECIFIED_RESULT;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Jan 04 04:18:31 GMT 2021 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} } public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) { final List<FilterFunctionBuilder> list = new ArrayList<>(); functionScoreQuery.accept(list); queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()])); } public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py
@app.get("/large") async def large(): return PlainTextResponse("x" * 4000, status_code=200) client = TestClient(app) def test_middleware(): response = client.get("/large", headers={"accept-encoding": "gzip"}) assert response.status_code == 200, response.text assert response.text == "x" * 4000 assert response.headers["Content-Encoding"] == "gzip" assert int(response.headers["Content-Length"]) < 4000
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jul 09 18:06:12 GMT 2020 - 665 bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
for { log.Debug("accepting conn") conn, err := z.accept() if err != nil { if errors.Is(err, net.ErrClosed) { log.Debug("listener closed - returning") return } log.Errorf("failed to accept conn: %v", err) continue } log.Debug("connection accepted") go func() { log.Debug("handling conn") if err := z.handleConn(ctx, conn); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
resolvedTypeRef.delegatedTypeRef?.accept(this) super.visitTypeRef(resolvedTypeRef) } override fun visitErrorTypeRef(errorTypeRef: FirErrorTypeRef) { processTypeRef(errorTypeRef) processErrorTypeRef(errorTypeRef) errorTypeRef.delegatedTypeRef?.accept(this) super.visitErrorTypeRef(errorTypeRef)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CookieJar.kt
* empty list of cookies for the network request. * * Simple implementations will return the accepted cookies that have not yet expired and that * [match][Cookie.matches] [url]. */ fun loadForRequest(url: HttpUrl): List<Cookie> companion object { /** A cookie jar that never accepts any cookies. */ @JvmField val NO_COOKIES: CookieJar = NoCookies() private class NoCookies : CookieJar {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0)