- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,956 for Contains (0.54 sec)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* is present. */ @Test @DisplayName("toString with root cause contains stack trace") void testToStringWithRootCause() { RuntimeException cause = new RuntimeException("boom"); SmbException ex = new SmbException(0, cause); assertTrue(ex.toString().contains("RuntimeException"), "String representation must include the root cause stack trace"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
public int size() { return contents.length; } @Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly if (object == null) { throw new NullPointerException(); } } Platform.checkCast(type, object); // behave badly return asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/README.md
OkHttp IDNA Mapping Table ========================= This module contains supporting tools for building the IDNA mapping table.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 02 11:21:58 UTC 2023 - 174 bytes - Viewed (0) -
src/bytes/example_test.go
if found { // Found it! } } func ExampleContains() { fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar"))) fmt.Println(bytes.Contains([]byte("seafood"), []byte(""))) fmt.Println(bytes.Contains([]byte(""), []byte(""))) // Output: // true // false // true // true } func ExampleContainsAny() {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Act & Assert: calling release without prior acquire drops usage below zero RuntimeException ex = assertThrows(RuntimeException.class, trace::release); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero")); } @Test @DisplayName("getTreeId(): no tree returns -1") void getTreeId_noTree_returnsMinusOne() { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/package-info.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ /** * This package contains the {@code mvn} tool implementation. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 923 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000); String str = info.toString(); assertNotNull(str); assertTrue(str.contains(testAddress.toString())); assertTrue(str.contains("1000")); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
* The supplied request may also refer to a single concrete version rather than a version range. * In this case though, the result contains simply the (parsed) input version, regardless of the * repositories and their contents. * * @param session the session to use * @param artifactCoordinates tRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
assertTrue(ex1.getMessage().contains("Already closed")); CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw"); assertTrue(ex2.getMessage().contains("Already closed")); } @Test @DisplayName("ensureOpen opens SMB2 via UNC path and marks open")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
internal/etag/etag.go
// An encrypted ETag must be at least 32 bytes long. // It contains the encrypted ETag value + an authentication // code generated by the AEAD cipher. // // Here is an incorrect implementation of IsEncrypted: // // return len(e) > 16 && !bytes.ContainsRune(e, '-') // // An encrypted ETag may contain some random bytes - e.g. // and nonce value. This nonce value may contain a '-' // just by its nature of being randomly generated.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 13.2K bytes - Viewed (0)