Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 179 for nCopies (0.07 seconds)

  1. guava/src/com/google/common/base/Strings.java

        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod
      // mode.
      static int collectionIteratorTesterNumIterations() {
        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java

    public interface InheritanceAssembler {
    
        /**
         * Merges values from the specified parent model into the given child model. Implementations are expected to keep
         * parent and child completely decoupled by injecting deep copies of objects into the child rather than the original
         * objects from the parent.
         *
         * @param child The child model into which to merge the values inherited from the parent, must not be
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java

                        + "of the Software, and to permit persons to whom the Software is furnished to do\n"
                        + "so, subject to the following conditions:\n"
                        + "\n"
                        + "The above copyright notice and this permission notice shall be included in all\n"
                        + "copies or substantial portions of the Software\\.\n"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 00:12:58 GMT 2021
    - 12.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2);
        assertTrue(bimap2.isEmpty());
      }
    
      public void testEnumHashBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumHashBiMap<Currency, String> bimap1 = EnumHashBiMap.create(Currency.class);
        bimap1.put(Currency.DOLLAR, "dollar");
        EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
       * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code
       * remove()}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            final FessMessages messages = createMessages();
            validationMessagesLambda.message(messages);
            sessionManager.errors().saveMessages(messages);
        }
    
        /**
         * Copies properties from source bean to destination bean.
         * This is a utility method that wraps BeanUtil.copyBeanToBean with custom options.
         *
         * @param src the source bean object
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2);
        assertTrue(bimap2.isEmpty());
      }
    
      public void testEnumHashBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumHashBiMap<Currency, String> bimap1 = EnumHashBiMap.create(Currency.class);
        bimap1.put(Currency.DOLLAR, "dollar");
        EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  9. CREDITS

    the work, and under which the third party grants, to any of the
    parties who would receive the covered work from you, a discriminatory
    patent license (a) in connection with copies of the covered work
    conveyed by you (or copies made from those copies), or (b) primarily
    for and in connection with specific products or compilations that
    contain the covered work, unless you entered into that arrangement,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Mar 13 05:29:51 GMT 2025
    - 1.8M bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

       *       via madvise(2), but that obviously doesn't exist in java.
       *   <li>Ordinary copy. Kernel copies bytes into a kernel buffer, from a kernel buffer into a
       *       userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the
       *       destination channel.
       * </ol>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
Back to Top