- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 3,160 for Same (0.02 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Test that the same reference is returned (implementation detail) byte[] secondGuid = response.getServerGuid(); assertSame(returnedGuid, secondGuid, "getServerGuid() returns the same array reference"); } @Test @DisplayName("Test multiple decode calls on same instance") void testMultipleDecodeCalls() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
assertSame(d, r1, "nextElement should return the same instance"); // After first call isPrimary should be false assertFalse(d.getIsPrimary(), "isPrimary should be cleared after first call"); // Second call keeps the same state SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement(); assertSame(d, r2, "Subsequent calls still return same instance");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
} /** * Creates an ImmutableMap from the first n entries in entryArray. This implementation may replace * the entries in entryArray with its own entry objects (though they will have the same key/value * contents), and may take ownership of entryArray. */ static <K, V> ImmutableMap<K, V> fromEntryArray( int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetEqualsTester<E> extends AbstractSetTester<E> { public void testEquals_otherSetWithSameElements() { assertTrue( "A Set should equal any other Set containing the same elements.", getSet().equals(MinimalSet.from(getSampleElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetEqualsTester<E> extends AbstractSetTester<E> { public void testEquals_otherSetWithSameElements() { assertTrue( "A Set should equal any other Set containing the same elements.", getSet().equals(MinimalSet.from(getSampleElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
* limitations under the License. */ package okhttp3 import okio.IOException /** * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection. * * ## Protocol vs Scheme * * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http, * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word * *protocol* to identify how HTTP messages are framed. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Character} objects * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null */ public static char[] toArray(Collection<Character> collection) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Number} instances * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Short>} before 12.0) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Number} instances * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Short>} before 12.0) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)