Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 3,637 for throwIf (0.17 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      // Guarded by this.
      override lateinit var bytes: ByteString
      override lateinit var exceptionBytes: ByteString
    
      private var readFailure: IOException? = null
    
      @Throws(IOException::class)
      private fun readTheList() {
        var publicSuffixListBytes: ByteString?
        var publicSuffixExceptionListBytes: ByteString?
    
        try {
          listSource().buffer().use { bufferedSource ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

       *     ranges 0..9, a..z and A..Z are always safe and should not be specified here)
       * @param plusForSpace true if ASCII space should be escaped to {@code +} rather than {@code %20}
       * @throws IllegalArgumentException if any of the parameters were invalid
       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Decode with MORE_PROCESSING_REQUIRED should parse blob and flags")
        void testDecodeMoreProcessingParsesBlobAndFlags() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[256];
            int headerStart = 0;
            long expectedSessionId = 0x1122334455667788L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

      }
    
      @Benchmark
      long add(int reps) throws ExecutionException, InterruptedException {
        return doMultithreadedLoop(
            new Callable<Long>() {
              @Override
              public Long call() {
                return runAddSingleThread(reps);
              }
            });
      }
    
      @Benchmark
      long addRemove(int reps) throws ExecutionException, InterruptedException {
        return doMultithreadedLoop(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        }
    
        @Test
        public void test_init() {
            try {
                languageHelper.init();
                // Should not throw exception
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_updateDocument_withExistingLang() {
            Map<String, Object> doc = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public Integer next(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public Integer previous(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/UserService.java

                        }
                        throw new FessUserNotFoundException(username);
                    });
                } else {
                    logger.warn("Password change not applied by authentication manager: username={}", username);
                }
            } catch (final FessUserNotFoundException e) {
                throw e;
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

            super(protoLookup, contextConsumer);
            this.residentContext = new ConcurrentHashMap<>();
        }
    
        @Override
        public void close() throws InvokerException {
            ArrayList<Exception> exceptions = new ArrayList<>();
            for (MavenContext context : residentContext.values()) {
                try {
                    context.doCloseContainer();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        /**
         * @param parameter add a new parameter
         * @throws DuplicateParameterException if any
         */
        public void addParameter(Parameter parameter) throws DuplicateParameterException {
            if (parameters.contains(parameter)) {
                throw new DuplicateParameterException(parameter.getName()
                        + " has been declared multiple times in mojo with goal: " + getGoal() + " (implementation: "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top