- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,622 for Contains (0.08 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
# HTTP Basic Auth { #http-basic-auth } For the simplest cases, you can use HTTP Basic Auth. In HTTP Basic Auth, the application expects a header that contains a username and a password. If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
// Verify that toString includes the key fields assertNotNull(result); assertTrue(result.contains("SmbComReadAndXResponse")); assertTrue(result.contains("dataCompactionMode=1")); assertTrue(result.contains("dataLength=1024")); assertTrue(result.contains("dataOffset=54")); } // Helper method to write a 2-byte integer to a byte array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.containers import assertk.assertThat import assertk.assertions.contains import javax.net.ssl.TrustManagerFactory import javax.net.ssl.X509TrustManager import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import org.junit.jupiter.api.Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} /** * Checks if the suggest item contains any of the given bad words. * @param badWords The array of bad words. * @return True if the item contains a bad word, false otherwise. */ public boolean isBadWord(final String[] badWords) { for (final String badWord : badWords) { if (text.contains(badWord)) { return true; } }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
Set<List<Integer>> actual = cartesianProduct(set(1, 2), set(3, 4)); assertTrue(actual.contains(list(1, 3))); assertTrue(actual.contains(list(1, 4))); assertTrue(actual.contains(list(2, 3))); assertTrue(actual.contains(list(2, 4))); assertFalse(actual.contains(list(3, 1))); } public void testCartesianProduct_equals() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("1", true, StringUtil.contains("a", 'a')); assertEquals("2", true, StringUtil.contains("abc", 'b')); assertEquals("3", false, StringUtil.contains("abc", 'd')); } /** * @throws Exception */ @Test public void testContains2() throws Exception { assertEquals("1", true, StringUtil.contains("a", "a"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Act String result = nodeStatusRequest.toString(); // Assert assertTrue(result.contains("NodeStatusRequest")); assertTrue(result.contains("nameTrnId=12345")); assertTrue(result.contains("TESTNAME")); } @Test void toString_withNullQuestionName_shouldHandleGracefully() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
/** * Determines whether this multiset contains the specified element. * * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b> * throw an exception in response to {@code element} being null or of the wrong type. * * @param element the element to check for * @return {@code true} if this multiset contains at least one occurrence of the element */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertNotSame(pipe1, pipe2, "Different pipes should be different instances"); assertTrue(resource1.getLocator().getURL().toString().contains("server1"), "First resource should contain server1"); assertTrue(resource2.getLocator().getURL().toString().contains("server2"), "Second resource should contain server2"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)