Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 1,947 for threw (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                  case REPLACED:
                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
                    throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
                }
              }
            };
    
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	if errCode != ErrNone {
    		return errCode
    	}
    
    	cred, _, s3Err := checkKeyValid(r, signV4Values.Credential.accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
                    throws IOException, ServletException {
                throw new ServletException("Test error");
            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            try {
                return createProtwordsItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        /**
         * Get the protected word item.
         * @param action The action.
         * @param form The create form.
         * @param hook The error hook.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/NotifyResponseTest.java

            response.setNextResponse(nextResponse);
            assertEquals(nextResponse, response.getNextResponse());
    
            // Test prepare method (should not throw exception)
            assertDoesNotThrow(() -> response.prepare(mockRequest));
        }
    
        @Test
        @DisplayName("Test NotifyResponse returned list immutability")
        void testNotifyResponseListImmutability() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            final String username = paramMap.get(CRAWLER_WEB_AUTH + "." + webAuthName + ".username");
            if (StringUtil.isEmpty(username)) {
                throw new CrawlerSystemException("username is empty. webAuth:" + webAuthName);
            }
            final String password = paramMap.get(CRAWLER_WEB_AUTH + "." + webAuthName + ".password");
            Credentials credentials;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMaker.java

     * that they are safe for concurrent use, but if other threads modify the map after the iterator is
     * created, it is undefined which of these changes, if any, are reflected in that iterator. These
     * iterators never throw {@link ConcurrentModificationException}.
     *
     * <p>If {@link #weakKeys} or {@link #weakValues} are requested, it is possible for a key or value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(0);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** get and set for out of bound indices throw IndexOutOfBoundsException */
      public void testIndexing() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int index : new int[] {-1, SIZE}) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            // Register a service that throws exception
            ComponentUtil.register(new WebConfigService() {
                @Override
                public OptionalEntity<WebConfig> getWebConfig(final String id) {
                    throw new RuntimeException("Test exception");
                }
    
                @Override
                public OptionalEntity<WebConfig> getWebConfigByName(String name) {
                    return OptionalEntity.empty();
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
Back to top