Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,742 for throws (0.08 sec)

  1. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

     *
     */
    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Test
        void testThatLocalRepositoryWithSpacesIsProperlyHandled() throws Exception {
            File basedir = new File("target/spacy path").getAbsoluteFile();
            ArtifactRepository repo = repositorySystem.createLocalRepository(basedir);
            assertEquals(basedir, new File(repo.getBasedir()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

          try {
            header.readChallengeHeader(result)
          } catch (e: EOFException) {
            Platform.get().log("Unable to parse challenge", Platform.WARN, e)
          }
        }
      }
      return result
    }
    
    @Throws(EOFException::class)
    private fun Buffer.readChallengeHeader(result: MutableList<Challenge>) {
      var peek: String? = null
    
      while (true) {
        // Read a scheme name for this challenge if we don't have one already.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

        int readTrailerWireFormat( InputStream in,
                                byte[] buffer,
                                int bufferIndex )
                                throws IOException {
            int start = bufferIndex;
            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "invalid session request wire format" );
            }
            bufferIndex += calledName.readWireFormat( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(toolchains, "toolchains cannot be null");
    
            try (Writer out = output) {
                new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing toolchains", e);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

     */
    @Deprecated
    public class RegexBasedModelInterpolator extends AbstractStringBasedModelInterpolator {
    
        public RegexBasedModelInterpolator() throws IOException {}
    
        public RegexBasedModelInterpolator(PathTranslator pathTranslator) {
            super(pathTranslator);
        }
    
        public RegexBasedModelInterpolator(Properties envars) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class LanguageHelperTest extends UnitFessTestCase {
    
        private LanguageHelper languageHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            languageHelper = new LanguageHelper();
            languageHelper.langFields = new String[] { "title", "content" };
        }
    
        public void test_createScript() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /** Test for {@link ListenableFuture}. */
    public class ListenableFutureTest extends TestCase {
      public void testNoNewApis() throws Exception {
        assertWithMessage(
                "Do not add new methods to ListenableFuture. Its API needs to continue to match the"
                    + " version we released in a separate artifact com.google.guava:listenablefuture.")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 19:48:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

    public class IdnDnsResolver implements DnsResolver {
    
        protected int flag = 0;
    
        protected String encoding = "UTF-8";
    
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Bytes.java

       *
       * @param arrays zero or more {@code byte} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static byte[] concat(byte[]... arrays) {
        long length = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top