Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,790 for threw (0.04 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int n = 0;
          E e;
          while ((e = q.poll()) != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        private static void checkVertex(MetadataGraphVertex v) throws MetadataResolutionException {
            if (v == null) {
                throw new MetadataResolutionException("null vertex");
            }
            if (v.getMd() == null) {
                throw new MetadataResolutionException("vertex without metadata");
            }
        }
        // ------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

          int i;
    
          @Override
          public boolean hasNext() {
            return i < array.length;
          }
    
          @Override
          public String next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            return array[i++];
          }
    
          @Override
          public boolean hasPrevious() {
            return i > 0;
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount < 0L || byteCount > source.size) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
        while (mutableByteCount > 0L) {
          val bytesWritten = fileChannel.transferFrom(source, mutablePos, mutableByteCount)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/LinkedListMultimap.java

        @Override
        public int previousIndex() {
          return nextIndex - 1;
        }
    
        @Override
        public void set(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void add(Entry<K, V> e) {
          throw new UnsupportedOperationException();
        }
    
        void setValue(@ParametricNullness V value) {
          checkState(current != null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                        } catch (final IOException e) {
                            disconnectInternalClient(client);
                            throw new CrawlingAccessException("Could not access " + uri, e);
                        }
                    }
                    ftpClientQueue.offer(client);
                    throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#getResponseData");
                }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch(2, integerSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         */
    
        public synchronized static NbtAddress getByName( String host ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/ToDoubleRounder.java

                case HALF_UP:
                  return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top