- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,231 for upstream (0.08 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java
import org.gradle.process.ExecOperations; import java.io.ByteArrayOutputStream; import java.nio.charset.StandardCharsets; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; import java.util.stream.Stream; /** * This class wraps certain {@code git} operations. This is partly for convenience, and partly so that these * operations can be easily mocked in testing. */ public class GitWrapper {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* values for that key, and the key's values */ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(valueComparator()); Serialization.writeMultimap(this, stream); } private @Nullable Comparator<? super V> valueComparator() { return emptySet instanceof ImmutableSortedSet
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
/// tip If you want to stream binary data, for example video or audio, check the advanced guide: [Stream Data](../advanced/stream-data.md). /// ## Stream SSE with FastAPI { #stream-sse-with-fastapi } To stream SSE with FastAPI, use `yield` in your *path operation function* and set `response_class=EventSourceResponse`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
tests/test_stream_json_validation_error.py
class Item(BaseModel): name: str price: float app = FastAPI() @app.get("/items/stream-invalid") async def stream_items_invalid() -> AsyncIterable[Item]: yield {"name": "valid", "price": 1.0} yield {"name": "invalid", "price": "not-a-number"} @app.get("/items/stream-invalid-sync") def stream_items_invalid_sync() -> Iterable[Item]: yield {"name": "valid", "price": 1.0}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 991 bytes - Click Count (0) -
internal/config/crypto.go
Ciphertext: metadata.KMSKey, AssociatedData: associatedData, }) if err != nil { return nil, err } stream, err := metadata.Algorithm.Stream(key) if err != nil { return nil, err } if stream.NonceSize() != len(metadata.Nonce) { return nil, sio.NotAuthentic } return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil } type encryptedObject struct { KeyID string `json:"keyid"`Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
@J2ktIncompatible @GwtIncompatible public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput { /** * Creates a {@code LittleEndianDataInputStream} that wraps the given stream. * * @param in the stream to delegate to */ public LittleEndianDataInputStream(InputStream in) { super(Preconditions.checkNotNull(in)); } /** This method will throw an {@link UnsupportedOperationException}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
op.setRefreshPolicy(Constants.TRUE); }); userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> { entity.setRoles( stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n]))); userBhv.insertOrUpdate(entity); }); } /** * Sets up the list condition for the role query.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection * and use {@code Stream.generate(() -> collection).flatMap(Collection::stream)}. */ @SafeVarargs public static <T extends @Nullable Object> Iterable<T> cycle(T... elements) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dict; import java.util.stream.Collectors; import java.util.stream.Stream; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.dict.DictionaryFile;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
} public Stream<BuildStep> steps(MavenProject project) { return Optional.ofNullable(plan.get(project)) .map(m -> m.values().stream()) .orElse(Stream.empty()); } public Optional<BuildStep> step(MavenProject project, String name) { return Optional.ofNullable(plan.get(project)).map(m -> m.get(name)); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0)