Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 3,522 for throwIf (0.05 seconds)

  1. src/main/java/jcifs/smb1/util/MimeMap.java

        private int inLen;
    
        /**
         * Creates a new MimeMap instance by loading MIME type mappings from the resource file.
         *
         * @throws IOException if there is an error reading the mime.map resource file
         */
        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            int i = 0, n;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        static int readPacketType(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                if (throwException) {
                  throw new IllegalStateException("Fail");
                }
                return 25;
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    
        task.addListener(listenerLatch::countDown, directExecutor());
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (exec != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        public void load(Reader reader) throws IOException {
            loadLayout(reader, false);
        }
    
        public void save() throws IOException {
            save(this.location);
        }
    
        public void save(Path location) throws IOException {
            try (OutputStream os = Files.newOutputStream(location)) {
                save(os);
            }
        }
    
        public void save(OutputStream os) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        public void load(Reader reader) throws IOException {
            loadLayout(reader, false);
        }
    
        public void save() throws IOException {
            save(this.location);
        }
    
        public void save(Path location) throws IOException {
            try (OutputStream os = Files.newOutputStream(location)) {
                save(os);
            }
        }
    
        public void save(OutputStream os) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

         * @param clientChallenge the client challenge bytes
         * @return the calculated response
         * @throws GeneralSecurityException if a cryptographic error occurs
         */
        public static byte[] getNTLM2Response(final byte[] passwordHash, final byte[] serverChallenge, final byte[] clientChallenge)
                throws GeneralSecurityException {
            final byte[] sessionHash = new byte[8];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionException(e);
        } catch (Error e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
        protected int compareNames(final SmbFile f1, final String f1name, final SmbFile f2) throws IOException {
            if (f1.isDirectory() != f2.isDirectory()) {
                return f1.isDirectory() ? -1 : 1;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

    @Singleton
    public class DefaultToolchainsBuilder implements ToolchainsBuilder {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        @Override
        public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException {
            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top