- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 2,052 for contains (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
* * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @GwtCompatible @NullMarked public final class SpliteratorTester<E extends @Nullable Object> { /** Return type from "contains the following elements" assertions. */ public interface Ordered { /** * Attests that the expected values must not just be present but must be present in the order * they were given. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/net_test.go
t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } if testCase.expectedIPList != nil { var found bool for _, ip := range ipList.ToSlice() { if testCase.expectedIPList.Contains(ip) { found = true } } if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } } // Tests finalize api endpoints.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
* limitations under the License. */ package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * SMB2 Read response message. * * This response contains the data that was read from the file * along with information about the read operation. * * @author mbechler */ public class Smb2ReadResponse extends ServerMessageBlock2Response { /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
TestSpnegoToken t = new TestSpnegoToken(); IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null"); assertTrue(ex.getMessage().toLowerCase().contains("null")); } @Test @DisplayName("toByteArray returns empty when no mechanismToken") void toByteArrayWhenNull() { TestSpnegoToken t = new TestSpnegoToken();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java
queryCommand.execute(context, invalidQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } public void test_convertTermRangeQuery_searchField_inclusive() throws Exception { QueryContext context = new QueryContext("test", false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
import java.util.ArrayList; import java.util.Deque; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
import java.util.ArrayList; import java.util.Deque; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
IOException thrown = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(mockInputStream, buffer, 0); }); assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java
package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Write AndX Response message. * * This response contains information about the write operation, * including the number of bytes actually written. */ public class SmbComWriteAndXResponse extends AndXServerMessageBlock { private long count; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)