Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3561 - 3570 of 3,747 for throwIf (0.1 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        checkNotNull(callable);
        checkNotNull(executor);
        return submitAsync(
            new AsyncCallable<T>() {
              @Override
              public ListenableFuture<T> call() throws Exception {
                return immediateFuture(callable.call());
              }
    
              @Override
              public String toString() {
                return callable.toString();
              }
            },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            fullWidthHalfWidth = Transliterator.getInstance("Fullwidth-Halfwidth");
            anyLower = Transliterator.getInstance("Any-Lower");
        }
    
        @Override
        public void init() throws IOException {
            // nothing
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) {
            final List<String> list = new ArrayList<>();
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
    
        @SuppressWarnings("unchecked") // all methods throw immediately
        PopulatableMapAsMultimap() {
          this.map = new HashMap<>();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxy(
                      SetMultimap.class,
                      (proxy, method, args) -> {
                        throw new UnsupportedOperationException();
                      });
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        private final Map<String, Integer> globalStringFrequency = new HashMap<>();
        private int totalPoms = 0;
    
        public static void main(String[] args) throws Exception {
            if (args.length < 1) {
                System.out.println("Usage: PomMemoryAnalyzer <directory-with-poms>");
                System.exit(1);
            }
    
            Path rootDir = Paths.get(args[0]);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends FileAuthentication> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""callEnd"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun dnsFail() {
        client =
          OkHttpClient
            .Builder()
            .dns { _ -> throw UnknownHostException("reason") }
            .eventListenerFactory(loggingEventListenerFactory)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
                            }
                        }
                    }
                }
                generateTextReport(versionToIncubating)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

              logger
                  .get()
                  .log(
                      Level.SEVERE,
                      "Exception while running callbacks for " + listener + " on " + executor,
                      e);
              throw e;
            }
          }
        }
    
        @Override
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public void run() {
          boolean stillRunning = true;
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

            logger.error("-----------------------------------------")
            GradleException toThrow = new GradleException(msg)
            for (Exception e : suppressed) {
                toThrow.addSuppressed(e)
            }
            throw toThrow
        }
    
        /** Adds a task to kill an elasticsearch node with the given pidfile */
        private TaskProvider<AntFixtureStop> createStopTask() {
            final AntFixture fixture = this
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
Back to Top