Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1651 - 1660 of 2,832 for contains (0.24 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then
            assertNotNull(str);
            assertTrue(str.contains("Smb2NegotiateResponse"));
            assertTrue(str.contains("dialectRevision="));
            assertTrue(str.contains("securityMode="));
            assertTrue(str.contains("capabilities="));
            assertTrue(str.contains("serverTime="));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      public void testRemove_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0()));
        expectUnchanged();
        assertTrue("remove(present) should not remove the element", collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedNotPresent() {
        try {
          assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            String stringRep = type3.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("Type3Message"));
            assertTrue(stringRep.contains("DOMAIN"));
            assertTrue(stringRep.contains("user"));
            assertTrue(stringRep.contains("WORKSTATION"));
        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

            TestResource resource = new TestResource("test1");
            String resourceId = resourceManager.registerResource(resource);
    
            assertNotNull(resourceId);
            assertTrue(resourceId.contains("TestResource"));
    
            Map<String, Object> stats = resourceManager.getStatistics();
            assertTrue((long) stats.get("totalAllocated") > 0);
        }
    
        @Test
        @DisplayName("Test resource close tracking")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    data[SIGNATURE_OFFSET + i] = (byte) 0xFF;
                }
    
                digest.sign(data, 0, data.length, request, response);
    
                // Verify signature field contains actual signature (not all zeros)
                byte[] signature = Arrays.copyOfRange(data, SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);
                boolean allZero = true;
                for (byte b : signature) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  6. doc/godebug.md

    that controls the execution of certain parts of a Go program.
    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    	GODEBUG=http2client=0,http2server=0
    
    then that Go program will disable the use of HTTP/2 by default in both
    the HTTP client and the HTTP server.
    Unrecognized settings in the `GODEBUG` environment variable are ignored.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testContains() {
        assertThat(Longs.contains(EMPTY, 1L)).isFalse();
        assertThat(Longs.contains(ARRAY1, 2L)).isFalse();
        assertThat(Longs.contains(ARRAY234, 1L)).isFalse();
        assertThat(Longs.contains(new long[] {-1L}, -1L)).isTrue();
        assertThat(Longs.contains(ARRAY234, 2L)).isTrue();
        assertThat(Longs.contains(ARRAY234, 3L)).isTrue();
        assertThat(Longs.contains(ARRAY234, 4L)).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  8. cmd/metacache-marker.go

    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    		return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion)
    	}
    	if strings.ContainsAny(o.ID, "[:,") {
    		internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID))
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Act
            String text = ex.toString();
    
            // Assert
            assertNotNull(text);
            assertTrue(text.contains(expectedSubstring), "toString should contain: " + expectedSubstring);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import app.cash.burst.Burst
    import assertk.all
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
Back to Top