Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 277 for IllegalStateException (0.2 sec)

  1. guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc1 = 0;
        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
            crc1 = computeForWord(crc1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    result = repoSystem.resolveArtifact(session, artifactRequest);
                } catch (ComponentLookupException e) {
                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

          // We want remove() to fail even after a failed call to next().
        }
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSkip_allOfMutableList_modifiable() {
        List<String> list = newArrayList("a", "b");
        Iterator<String> iterator = skip(list, 2).iterator();
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

      }
    
      public void testGetCharset_tooMany() {
        MediaType mediaType = MediaType.parse("text/plain; charset=utf-8; charset=utf-16");
        assertThrows(IllegalStateException.class, mediaType::charset);
      }
    
      public void testGetCharset_illegalCharset() {
        MediaType mediaType = MediaType.parse("text/plain; charset=\"!@#$%^&*()\"");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        val response1 = get(server.url("/"))
        val source = response1.body.source()
        assertThat(source.readUtf8(5)).isEqualTo("ABCDE")
        source.close()
        assertFailsWith<IllegalStateException> {
          source.readByte()
        }
        assertThat(cache.writeAbortCount()).isEqualTo(1)
        assertThat(cache.writeSuccessCount()).isEqualTo(0)
        val response2 = get(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          return HttpUrl(
            scheme = scheme ?: throw IllegalStateException("scheme == null"),
            username = encodedUsername.percentDecode(),
            password = encodedPassword.percentDecode(),
            host = host ?: throw IllegalStateException("host == null"),
            port = effectivePort(),
            pathSegments = encodedPathSegments.map { it.percentDecode() },
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

       * input elements. Cells are inserted into the generated {@code Table} in encounter order.
       *
       * <p>If multiple input elements map to the same row and column, an {@code IllegalStateException}
       * is thrown when the collection operation is performed.
       *
       * <p>To collect to an {@link ImmutableTable}, use {@link ImmutableTable#toImmutableTable}.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
            final int[] results = new int[itemResponses.length];
            for (int i = 0; i < itemResponses.length; i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
            final int[] results = new int[itemResponses.length];
            for (int i = 0; i < itemResponses.length; i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                writeSecurityBuffer(type3, 52, offset, sessionKey);
                writeULong(type3, 60, flags);
                return type3;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        public String toString() {
            String user = getUser();
            String domain = getDomain();
            String workstation = getWorkstation();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
Back to top