- Sort Score
- Result 10 results
- Languages All
Results 2031 - 2040 of 2,527 for setD (0.01 sec)
-
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
ComponentLookupException e = assertThrows(ComponentLookupException.class, () -> container.lookup(MySingletonBean2.class)); assertTrue(e.getMessage().matches("[\\s\\S]*: Can not set .* field .* to [\\s\\S]*")); MySingletonBean bean = container.lookup(MySingletonBean.class); assertNotNull(bean); assertNotNull(bean.anotherBean);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/EscapersTest.java
builder.setSafeRange(' ', '~'); assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("The_Quick_Brown_Fox_"); } public void testBuilderCreatesIndependentEscapers() { // Set up a simple builder and create the first escaper. Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); builder.addEscape(' ', "_");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
public void testCloseQuietlyNull_inputStream() { Closeables.closeQuietly((InputStream) null); } public void testCloseQuietlyNull_reader() { Closeables.closeQuietly((Reader) null); } // Set up a closeable to expect to be closed, and optionally to throw an // exception. private void setupCloseable(boolean shouldThrow) throws IOException { mockCloseable = mock(Closeable.class); if (shouldThrow) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import java.util.HashSet; import java.util.Map; import java.util.Random; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible @NullUnmarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays. public void testAsList_isAView() { byte[] array = {(byte) 0, (byte) 1}; List<Byte> list = Bytes.asList(array); list.set(0, (byte) 2); assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1}); array[1] = (byte) 3; assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
/** * A record of a TLS handshake. For HTTPS clients, the client is *local* and the remote server is * its *peer*. * * This value object describes a completed handshake. Use [ConnectionSpec] to set policy for new * handshakes. */ class Handshake internal constructor( /** * Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Apr 05 09:48:10 UTC 2025 - 6.6K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData(); serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key // Configure the mock transport with the server dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg"); assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set"); assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg"); assertEquals(len, getFieldValue(write, "count"), "Count should equal len"); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Defines a simple logging interface for Maven CLI operations. These operations happen "early", when there may * be no logging set up even. Implementations may be "accumulating", in which case {@link #drain()} method should * be used. * <p> * This interface provides methods for logging messages at different severity levels
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 5K bytes - Viewed (0) -
internal/disk/stat_linux.go
WriteSectors: stats[6], WriteTicks: stats[7], CurrentIOs: stats[8], TotalTicks: stats[9], ReqTicks: stats[10], } // as per the doc, only 11 fields are guaranteed // only set if available if len(stats) > 14 { iostats.DiscardIOs = stats[11] iostats.DiscardMerges = stats[12] iostats.DiscardSectors = stats[13] iostats.DiscardTicks = stats[14] } return iostats, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0)