Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 2,310 for Contains (0.06 seconds)

  1. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    
            SmbFileHandleImpl h2 = new SmbFileHandleImpl(cfg, 77, tree, "//u/two", -1, -2, -3, -4, 0L);
            String s2 = h2.toString();
            assertTrue(s2.contains("//u/two"));
            assertTrue(s2.contains("77"), "Expected numeric fid in string");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

        this.backingMap = backingMap;
        this.factory = factory;
      }
    
      // Accessors
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        return rowKey != null && columnKey != null && super.contains(rowKey, columnKey);
      }
    
      @Override
      public boolean containsColumn(@Nullable Object columnKey) {
        if (columnKey == null) {
          return false;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Maven Immutable POM (Project Object Model) classes, generated from <code>maven.mdo</code> model.
     * <p>
     * This package contains the data model classes that represent the structure of Maven POM files.
     * These classes are immutable to ensure thread safety and prevent unintended modifications.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertThat(cache.asMap().values().contains(22)).isTrue();
        assertThat(cache.asMap().values().contains(10)).isTrue();
        assertThat(cache.asMap().values().contains(20)).isFalse();
      }
    
      @Test
      @J2ktIncompatible
      public void asMapKeySet() {
        Cache<Integer, Integer> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/StandardTable.java

        this.backingMap = backingMap;
        this.factory = factory;
      }
    
      // Accessors
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        return rowKey != null && columnKey != null && super.contains(rowKey, columnKey);
      }
    
      @Override
      public boolean containsColumn(@Nullable Object columnKey) {
        if (columnKey == null) {
          return false;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            // Assert it's an interface and extends the right superinterface
            assertTrue(clazz.isInterface(), "Should be an interface");
            assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator");
    
            // shouldForceSigning(): boolean, no params, no checked exceptions
            Method m1 = clazz.getMethod("shouldForceSigning");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(cause, exception.getCause());
            // When constructed with cause only, message contains the cause's toString()
            assertTrue(exception.getMessage().contains(cause.getClass().getName()));
            assertTrue(exception.getMessage().contains("Cause exception"));
        }
    
        @Test
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Assert
            assertEquals(2283323396289696982L, value, "serialVersionUID should be stable");
        }
    
        // Behavior check: toString contains class name and message when present
        @Test
        @DisplayName("toString contains class name and message when provided")
        void toString_containsClassName_and_Message() {
            // Arrange
            String msg = "signature invalid";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean remove(@Nullable Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                    }
                    if (url.contains("plugin/repo1")) {
                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
Back to Top