- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,159 for accept (0.08 sec)
-
guava/src/com/google/common/collect/IndexedImmutableSet.java
} @Override public void forEach(Consumer<? super E> consumer) { checkNotNull(consumer); int n = size(); for (int i = 0; i < n; i++) { consumer.accept(get(i)); } } @Override @GwtIncompatible int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Nov 05 18:09:21 UTC 2022 - 3K bytes - Viewed (0) -
docs/en/docs/js/custom.js
const div = document.querySelector('.github-topic-projects') async function getDataBatch(page) { const response = await fetch(`https://api.github.com/search/repositories?q=topic:fastapi&per_page=100&page=${page}`, { headers: { Accept: 'application/vnd.github.mercy-preview+json' } }) const data = await response.json() return data } async function getData() { let page = 1 let data = [] let dataBatch = await getDataBatch(page)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.6K bytes - Viewed (0) -
internal/grid/stream.go
Requests chan<- []byte muxID uint64 ctx context.Context } // Send a payload to the remote server. func (s *Stream) Send(b []byte) error { if s.Requests == nil { return errors.New("stream does not accept requests") } select { case s.Requests <- b: return nil case <-s.ctx.Done(): return context.Cause(s.ctx) } } // Results returns the results from the remote server one by one.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
return userInfoBhv.selectByPK(userCode).map(userInfo -> { final FavoriteLog favoriteLog = new FavoriteLog(); favoriteLogLambda.accept(userInfo, favoriteLog); favoriteLogBhv.insert(favoriteLog); if (fessConfig.isLoggingSearchUseLogfile()) { ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.9K bytes - Viewed (0) -
docs_src/websockets/tutorial002_an_py310.py
async def websocket_endpoint( *, websocket: WebSocket, item_id: str, q: int | None = None, cookie_or_token: Annotated[str, Depends(get_cookie_or_token)], ): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text( f"Session cookie or query token value is: {cookie_or_token}" ) if q is not None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
docs_src/websockets/tutorial002_py310.py
@app.websocket("/items/{item_id}/ws") async def websocket_endpoint( websocket: WebSocket, item_id: str, q: int | None = None, cookie_or_token: str = Depends(get_cookie_or_token), ): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text( f"Session cookie or query token value is: {cookie_or_token}" ) if q is not None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
@Deprecated(since = "4.0.0") public interface ModelSource2 extends ModelSource { /** * Returns model source identified by a path relative to this model source POM. Implementation <strong>MUST</strong> * be able to accept <code>relPath</code> parameter values that * <ul> * <li>use either / or \ file path separator</li> * <li>have .. parent directory references</li>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
// The network request has everything: User-Agent, Host, Accept-Encoding. val networkRequest = chain.request() assertThat(networkRequest.header("User-Agent")).isNotNull() assertThat(networkRequest.header("Host")).isEqualTo( server.hostName + ":" + server.port, ) assertThat(networkRequest.header("Accept-Encoding")).isNotNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
final TotalHits totalHits = getClient().get(c -> { final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true); callback.accept(builder); return builder.execute(); }).getHits().getTotalHits(); return totalHits != null ? (int) totalHits.value : 0; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0)