Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 2,206 for only2 (0.04 seconds)

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

            assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException (checked)");
        }
    
        @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]")
        @MethodSource("messages")
        void messageConstructor_setsMessageAndNullCause(String message) {
            // Arrange & Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                MalformedURLException ex =
                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            // Assert
            assertEquals(msg, ex.getMessage(), "Constructor should preserve the provided message (including null)");
            assertNull(ex.getCause(), "No cause expected when only message is provided");
    
            // toString behavior mirrors Throwable: includes message when not null
            String ts = ex.toString();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 4
    
        /** HTTP/2: Size in bytes of the largest frame payload the sender will accept. */
        const val MAX_FRAME_SIZE = 5
    
        /** HTTP/2: Advisory only. Size in bytes of the largest header list the sender will accept. */
        const val MAX_HEADER_LIST_SIZE = 6
    
        /** Total number of settings. */
        const val COUNT = 10
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.entries}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

     * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

     * <code>MavenPluginManager.getConfiguredMojo(...)</code></a>.
     * <p>
     * Beans injected into Mojo parameters are prepared by <a href="https://www.eclipse.org/sisu/">Sisu</a> JSR330-based
     * container: this annotation is only effective on fields of the Mojo class itself, nested bean injection
     * requires Sisu or JSR330 annotations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
     * This is only necessary for default components using @Typed that want to support overriding.
     *
     * As a non-default component this now gets a negative priority relative to other implementations
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

       * equivalent {@link Boolean#compare} method instead.
       *
       * @param a the first {@code boolean} to compare
       * @param b the second {@code boolean} to compare
       * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code
       *     b} is true, or zero if {@code a == b}
       */
      @InlineMe(replacement = "Boolean.compare(a, b)")
      public static int compare(boolean a, boolean b) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top