- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 3,180 for when (0.04 seconds)
-
android/guava/src/com/google/common/collect/ForwardingSet.java
* default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingSet}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
internal/grid/stream.go
// If the call is canceled through the context, // the appropriate error will be returned. type Stream struct { // responses from the remote server. // Channel will be closed after error or when remote closes. // All responses *must* be read by the caller until either an error is returned or the channel is closed. // Canceling the context will cause the context cancellation error to be returned. responses <-chan ResponseCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
// Create a mock stream that returns exactly -1 on first read (special case) when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF byte[] buffer = new byte[10]; // The readn method will return 0 when stream returns -1 // So this should still throw IOException, not return -1
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedAsList.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Comparator; import java.util.Spliterator; import org.jspecify.annotations.Nullable; /** * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") final class ImmutableSortedAsList<E> extends RegularImmutableAsList<E>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
return byteArray.usesFastPath(); } /** * Common interface for retrieving a 64-bit long from a little-endian byte array. * * <p>This abstraction allows us to use single-instruction load and put when available, or fall * back on the slower approach of using Longs.fromBytes(byte...). */ @VisibleForTesting interface LittleEndianBytes { long getLongLittleEndian(byte[] array, int offset);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
*/ @SuppressWarnings({ "AmbiguousMethodReference", // We chose the name despite knowing this risk. "NullableOptional", // Null passthrough is reasonable for type conversions }) // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls @IgnoreJRERequirement public static <T> java.util.@Nullable Optional<T> toJavaUtil( @Nullable Optional<T> googleOptional) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testReadOperationsWithNullBuffer() { // Read operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.readSetupWireFormat(null, 0, 0)); assertEquals(0, response.readParametersWireFormat(null, 0, 0)); // readDataWireFormat will throw when accessing null buffer assertThrows(NullPointerException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) { this } else { val parent = dir("..") when { parent.file("version.txt").asFile.exists() -> parent this == parent -> error("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 4.9K bytes - Click Count (1) -
ci/README.md
> **Warning** This folder is still under construction. It is part of an ongoing > effort to improve the structure of CI and build related files within the > TensorFlow repo. This warning will be removed when the contents of this > directory are stable and appropriate documentation around its usage is in > place. Maintainer: TensorFlow DevInfra ********************************************************************************
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Jun 06 21:00:01 GMT 2023 - 825 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
* subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class * and its subclass in different packages, causing the serialization system to fail to invoke {@code * writeReplace} when serializing an instance of the subclass. For an example of this problem, see * b/310253115. */ @NullUnmarked public class WriteReplaceOverridesTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0)