- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 676 for doneCh (0.04 seconds)
-
src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java
/** * Called when a chunk of the response is available during streaming. * * @param content the content chunk * @param done true if this is the final chunk */ void onChunk(String content, boolean done); /** * Called when an error occurs during processing. * * @param phase the phase where the error occurred * @param error the error messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:32:04 GMT 2026 - 3.3K bytes - Click Count (0) -
.github/workflows/multipart/migrate.sh
docker-compose -f docker-compose-site1.yaml rm -s -f || true docker-compose -f docker-compose-site2.yaml rm -s -f || true for volume in $(docker volume ls -q | grep minio); do docker volume rm ${volume} || true done docker system prune -f || true docker volume prune -f || true docker volume rm $(docker volume ls -q -f dangling=true) || true } cleanup if [ ! -f ./mc ]; thenCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.3K bytes - Click Count (0) -
cmd/notification.go
wg.Add(1) go func(ctx context.Context, peerChannel <-chan MetricV2, wg *sync.WaitGroup) { defer wg.Done() for { select { case m, ok := <-peerChannel: if !ok { return } select { case ch <- m: case <-ctx.Done(): return } case <-ctx.Done(): return } } }(ctx, peerChannels[index], &wg) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
done := make(chan error) go func() { defer close(done) _, err := rb.Write([]byte("hello")) if err != nil { t.Errorf("got error: %q; expected none", err) } rb.CloseWriter() _, err = rb.Write([]byte("world")) done <- err err = rb.WriteByte(0) done <- err _, err = rb.TryWrite([]byte("world")) done <- err err = rb.TryWriteByte(0) done <- err }()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractIterator.java
*/ @CanIgnoreReturnValue protected final @Nullable T endOfData() { state = State.DONE; return null; } @Override public final boolean hasNext() { checkState(state != State.FAILED); switch (state) { case DONE: return false; case READY: return true; default: } return tryToComputeNext(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/lru/lru.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
internal/grid/muxclient.go
for !errState { select { case <-m.ctx.Done(): if debugPrint { fmt.Println("Client sending disconnect to mux", m.MuxID) } m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx)) errState = true continue case <-pingTimer: if !m.doPing(errResp) { errState = true continue } case req, ok := <-requests: if !ok { // Done send EOF if debugPrint {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
internal/grid/grid_test.go
// Just wait for it to cancel. for blockResp { select { case <-ctx.Done(): close(serverCanceled) return NewRemoteErr(ctx.Err()) case resp <- []byte{1}: time.Sleep(10 * time.Millisecond) } } // Just wait for it to cancel. <-ctx.Done() close(serverCanceled) return NewRemoteErr(ctx.Err()) }, OutCapacity: 1,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
cmd/os_other.go
maxEntries = opts.count } done := false remaining := opts.count for !done { // Read up to max number of entries. fis, err := d.Readdir(maxEntries) if err != nil { if err == io.EOF { break } return nil, osErrToFileErr(err) } if opts.count > -1 { if remaining <= len(fis) { fis = fis[:remaining] done = true } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
} /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException { checkState(future.isDone(), "Future was expected to be done: %s", future); try { return getUninterruptibly(future, 0, SECONDS);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0)