Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3911 - 3920 of 5,478 for newA (0.12 seconds)

  1. src/test/java/jcifs/SmbTreeTest.java

         * Test for unwrap() method throwing exception.
         * Verifies that unwrap can throw exceptions when appropriate.
         */
        @Test
        void testUnwrap_throwsException() {
            when(smbTree.unwrap(any())).thenThrow(new ClassCastException("Cannot unwrap to specified type"));
    
            assertThrows(ClassCastException.class, () -> smbTree.unwrap(CustomSmbTree.class),
                    "Should throw ClassCastException when type is incompatible");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       *
       */
      public static Escaper urlFormParameterEscaper() {
        return URL_FORM_PARAMETER_ESCAPER;
      }
    
      private static final Escaper URL_FORM_PARAMETER_ESCAPER =
          new PercentEscaper(URL_FORM_PARAMETER_OTHER_SAFE_CHARS, true);
    
      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/graph/ImmutableValueGraph.java

      public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
        return (graph instanceof ImmutableValueGraph)
            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       */
      @InlineMe(
          replacement = "checkNotNull(graph)",
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/CrudMode.java

    /**
     * Constants for CRUD operation modes.
     */
    public class CrudMode {
        /**
         * Mode for listing records.
         */
        public static final int LIST = 0;
    
        /**
         * Mode for creating a new record.
         */
        public static final int CREATE = 1;
    
        /**
         * Mode for editing an existing record.
         */
        public static final int EDIT = 2;
    
        /**
         * Mode for deleting a record.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiReadingFormFilterFactory.java

            super(indexSettings, name, settings);
            useRomaji = settings.getAsBoolean("use_romaji", false);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseReadingFormFilter(tokenStream, useRomaji);
        }
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/MsrpcLsarCloseTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose
            MsrpcLsarClose msrpcLsarClose = new MsrpcLsarClose(mockPolicyHandle);
    
            // Assert that the object is not null
            assertNotNull(msrpcLsarClose, "MsrpcLsarClose object should not be null");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     *
     * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with
     * the `@Rule` annotation:
     *
     * ```java
     * @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
     * ```
     *
     * For Kotlin the `@JvmField` annotation is also necessary:
     *
     * ```kotlin
     * @JvmField @Rule val serverRule = MockWebServerRule()
     * ```
     */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jun 16 22:36:18 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exception/FessUserNotFoundException.java

     */
    public class FessUserNotFoundException extends FessSystemException {
    
        /** Serial version UID for serialization compatibility */
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new FessUserNotFoundException with the specified username.
         *
         * @param username the username that was not found
         */
        public FessUserNotFoundException(final String username) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/AbstractGraphBuilder.java

      ElementOrder<N> nodeOrder = ElementOrder.insertion();
      ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered();
    
      Optional<Integer> expectedNodeCount = Optional.absent();
    
      /**
       * Creates a new instance with the specified edge directionality.
       *
       * @param directed if true, creates an instance for graphs whose edges are each directed; if
       *     false, creates an instance for graphs whose edges are each undirected.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

     *
     * @author Regina O'Dell
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    return MinimalSet.of(elements);
                  }
                })
            .named("MinimalSet")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top