Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 3,202 for throwIt (0.22 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

     */
    @Deprecated
    public abstract class AbstractProfileActivatorTest<T extends ProfileActivator> {
    
        protected T activator;
    
        @BeforeEach
        abstract void setUp() throws Exception;
    
        @AfterEach
        void tearDown() throws Exception {
            activator = null;
        }
    
        protected ProfileActivationContext newContext(final Properties userProperties, final Properties systemProperties) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @return True if the negotiation is complete, otherwise false
         * @throws IOException if an I/O error occurs
         * @throws ServletException if a servlet error occurs
         */
        protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp,
                final boolean skipAuthentication) throws IOException, ServletException {
            UniAddress dc;
            String msg;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBind.java

            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    
        @Override
        public void encode_in(final NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(this.max_xmit);
            buf.enc_ndr_short(this.max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    
        @Override
        public void encode_in(final NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(max_xmit);
            buf.enc_ndr_short(max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response = uppercaseResponse(chain.proceed(chain.request()))
    
      private fun uppercaseResponse(response: Response): Response {
        val uppercaseBody: ResponseBody =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuilder.java

         * @return The result of the toolchains building, never {@code null}.
         * @throws ToolchainsBuildingException If the effective toolchains could not be built.
         */
        ToolchainsBuildingResult build(ToolchainsBuildingRequest request) throws ToolchainsBuildingException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    @NullUnmarked
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayListMultimap.java

       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
            // Intent: demonstrate defensive behavior with null when resolving this type by name
            assertThrows(NullPointerException.class, () -> Class.forName(null));
        }
    
        @Test
        @DisplayName("Happy path: class is loadable via fully qualified name")
        void testClassForName() throws Exception {
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    @Deprecated
    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
    
            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top