Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 2,976 for throw (0.02 sec)

  1. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
        public void testAlign() throws IOException {
            // Test alignment from position 1 to 4
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbRandomAccess.java

        /**
         * Close the file
         *
         * @throws SmbException if an I/O error occurs during close
         */
        @Override
        void close() throws SmbException;
    
        /**
         * Read a single byte from the current position
         *
         * @return read byte, -1 if EOF
         * @throws SmbException if an I/O error occurs during read
         */
        int read() throws SmbException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

         * @throws SettingsBuilderException if the effective settings could not be built
         */
        @Nonnull
        SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request);
    
        /**
         * Builds the effective settings of the specified settings sources.
         *
         * @return the result of the settings building, never {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return false;
            }
    
            @Override
            public void connect() throws IOException {
                // Do Nothing
            }
    
            @Override
            public int getResponseCode() throws IOException {
                return 200;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

         *
         * @throws LoginException if authentication fails
         */
        public KerberosCredentials() throws LoginException {
            this(System.getProperty("jaaslounge.sso.jaas.config"));
        }
    
        /**
         * Creates KerberosCredentials using the specified JAAS login context.
         *
         * @param loginContextName the name of the JAAS login context
         * @throws LoginException if authentication fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
        int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException;
    
        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
            list.addFirst("1");
            assertThat(list.getFirstEntry().getElement(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirst() throws Exception {
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
        return delegate().takeFirst();
      }
    
      @Override
      public E takeLast() throws InterruptedException {
        return delegate().takeLast();
      }
    
      @Override
      public @Nullable E pollFirst(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

        Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException;
    
        /**
         * @return a <code>Settings</code> object from the user settings file.
         * @throws IOException if any
         * @throws XmlPullParserException if any
         */
        Settings buildSettings() throws IOException, XmlPullParserException;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top