Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,926 for add (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningExecutorService e = newDirectExecutorService();
        List<Callable<Integer>> l = new ArrayList<>();
        l.add(
            new Callable<Integer>() {
              @Override
              public Integer call() {
                throw new ArithmeticException("/ by zero");
              }
            });
        l.add(null);
        try {
          invokeAnyImpl(e, l, false, 0, NANOSECONDS);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          apply {
            headers_.add(header)
          }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
         * same name.
         */
        public fun addHeader(
          name: String,
          value: Any,
        ): Builder =
          apply {
            headers_.add(name, value.toString())
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LineReader.java

      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
        this.readable = checkNotNull(readable);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <E> ArrayList<E> generateArrayList(@Nullable E freshElement) {
        ArrayList<E> list = new ArrayList<>();
        list.add(freshElement);
        return list;
      }
    
      @Generates
      static <E> LinkedList<E> generateLinkedList(@Nullable E freshElement) {
        LinkedList<E> list = new LinkedList<>();
        list.add(freshElement);
        return list;
      }
    
      @Generates
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. PULL_REQUESTS_ETIQUETTE.md

    - Has a concise title (e.g., `[S3] Fix bucket policy parsing #1234`) and a summary with context, referencing issues (e.g., `#1234`).
    - Contains well-written, logical commits explaining *why* changes were made (e.g., “Add S3 bucket tagging support so that users can organize resources efficiently”).
    - Is small, focused, and easy to review—ideally one commit, unless multiple commits better narrate complex work.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 25 16:32:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EqualsTester.java

        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
      /** Run tests on equals method, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EqualsTester testEquals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

    import org.codelibs.fess.crawler.exception.UnsupportedExtractException;
    
    import jakarta.annotation.Resource;
    
    /**
     * Factory class for managing and retrieving {@link Extractor} instances.
     * This class provides methods to add, retrieve, and manage extractors based on a key.
     * It also includes a builder for creating extractors.
     *
     * <p>
     * The factory maintains a map of keys to an array of {@link Extractor} objects.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.5.md

    * Add a new global option "--request-timeout" to the `kubectl` client ([#33958](https://github.com/kubernetes/kubernetes/pull/33958), [@juanvallejo](https://github.com/juanvallejo))
    * Add support for admission controller based on namespace node selectors. ([#24980](https://github.com/kubernetes/kubernetes/pull/24980), [@aveshagarwal](https://github.com/aveshagarwal))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

            val equalsOffset = indexOf('=', pos)
            if (equalsOffset == -1 || equalsOffset > ampersandOffset) {
              result.add(substring(pos, ampersandOffset))
              result.add(null) // No value for this name.
            } else {
              result.add(substring(pos, equalsOffset))
              result.add(substring(equalsOffset + 1, ampersandOffset))
            }
            pos = ampersandOffset + 1
          }
          return result
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractRangeSet.java

      }
    
      @Override
      public abstract @Nullable Range<C> rangeContaining(C value);
    
      @Override
      public boolean isEmpty() {
        return asRanges().isEmpty();
      }
    
      @Override
      public void add(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public void remove(Range<C> range) {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top