Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 2,781 for throwIt (0.05 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          throw new ExecutionException(e);
        } catch (Error e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/EndpointPair.java

       * If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the source.
       *
       * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered
       */
      public abstract N source();
    
      /**
       * If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the target.
       *
       * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered
       */
      public abstract N target();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
       * @throws UnknownHostException if IP address is of illegal length
       */
      public static InetAddress fromLittleEndianByteArray(byte[] addr) throws UnknownHostException {
        byte[] reversed = new byte[addr.length];
        for (int i = 0; i < addr.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MultiReaderTest.java

      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

       *     no change will be made.
       * @return the count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation would
       *     result in more than {@link Integer#MAX_VALUE} occurrences of the element
       * @throws NullPointerException if {@code element} is null and this implementation does not permit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        public boolean isOptional() {
            return optional;
        }
    
        @Override
        public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException {
            return versionRange.getSelectedVersion(this);
        }
    
        @Override
        public boolean isSelectedVersionKnown() throws OverConstrainedVersionException {
            return versionRange.isSelectedVersionKnown(this);
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashingOutputStream.java

        super(checkNotNull(out));
        this.hasher = checkNotNull(hashFunction.newHasher());
      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacUnicodeString.java

         * @return the validated string
         * @throws PACDecodingException if validation fails
         */
        public String check(final String string) throws PACDecodingException {
            if (this.pointer == 0 && string != null) {
                throw new PACDecodingException("Non-empty string");
            }
    
            final int expected = this.length / 2;
            if (string.length() != expected) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream = newStream(0, requestHeaders, out)
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top