Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 2,742 for throws (0.09 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

                @Override
                public Unsafe run() throws Exception {
                  Class<Unsafe> k = Unsafe.class;
                  for (Field f : k.getDeclaredFields()) {
                    f.setAccessible(true);
                    Object x = f.get(null);
                    if (k.isInstance(x)) return k.cast(x);
                  }
                  throw new NoSuchFieldError("the Unsafe");
                }
              });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Response.kt

      fun headers(): Headers = headers
    
      /**
       * Returns the trailers after the HTTP response, which may be empty. It is an error to call this
       * before the entire HTTP response body has been consumed.
       */
      @Throws(IOException::class)
      fun trailers(): Headers = trailersFn()
    
      /**
       * Peeks up to [byteCount] bytes from the response body and returns them as a new response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return Primitives.wrap(type).cast(value);
      }
    
      private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

        }
    
        @Override
        public VersionRangeResult resolveVersionRange(RepositorySystemSession session, VersionRangeRequest request)
                throws VersionRangeResolutionException {
            VersionRangeResult result = new VersionRangeResult(request);
    
            VersionConstraint versionConstraint;
            try {
                versionConstraint =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

    import jakarta.servlet.http.Cookie;
    import jakarta.servlet.http.HttpServletRequest;
    
    public class RoleQueryHelperTest extends UnitFessTestCase {
        public CachedCipher cipher;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            cipher = new CachedCipher();
            cipher.setKey("1234567890123456");
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

              .addEqualityGroup(builder.build(identityLoader()))
              .addEqualityGroup(builder.build(identityLoader()))
              .testEquals();
        }
      }
    
      public void testGet_null() throws ExecutionException {
        for (LoadingCache<Object, Object> cache : caches()) {
          assertThrows(NullPointerException.class, () -> cache.get(null));
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

              .addEqualityGroup(builder.build(identityLoader()))
              .addEqualityGroup(builder.build(identityLoader()))
              .testEquals();
        }
      }
    
      public void testGet_null() throws ExecutionException {
        for (LoadingCache<Object, Object> cache : caches()) {
          assertThrows(NullPointerException.class, () -> cache.get(null));
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
          if (childItr.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Utf8.java

       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun queryParameterName(index: Int): String {
        if (queryNamesAndValues == null) throw IndexOutOfBoundsException()
        return queryNamesAndValues[index * 2]!!
      }
    
      /**
       * Returns the value of the query parameter at `index`. For example this returns `"apple"` for
       * `queryParameterName(0)` on `http://host/?a=apple&b=banana`. This throws if `index` is not less
       * than the [query size][querySize].
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top