Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 316 for copyFor (0.03 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
            super(message);
            this.results = List.copyOf(allResults);
        }
    
        /**
         * Returns the list of results from all requests that were part of the batch operation.
         * Each result contains the original request, the response (if successful), and any error
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    @NullUnmarked
    public class CompactHashSetTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        List<Feature<?>> allFeatures =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        requireSuccessors()[srcIndex] = 0;
      }
    
      @Override
      void resizeEntries(int newCapacity) {
        super.resizeEntries(newCapacity);
        predecessor = Arrays.copyOf(requirePredecessors(), newCapacity);
        successor = Arrays.copyOf(requireSuccessors(), newCapacity);
      }
    
      @Override
      int firstEntryIndex() {
        return firstEntry;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

        } catch (IOException expected) {
          assertSame(thrownException, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed());
        assertEquals(2, suppressed.size());
    
        assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
      }
    
      public void testNullCloseable() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<List<V>> allAsList(
          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          return ImmutableSortedMap.copyOf(asList(entries));
        }
      }
    
      public static class ImmutableSortedMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * @since 20.0
       */
      @SafeVarargs
      public static <T extends @Nullable Object> FluentIterable<T> concat(
          Iterable<? extends T>... inputs) {
        return concatNoDefensiveCopy(Arrays.copyOf(inputs, inputs.length));
      }
    
      /**
       * Returns a fluent iterable that combines several iterables. The returned iterable has an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

          super(expectedInputSize);
        }
    
        void write(ByteBuffer input) {
          int remaining = input.remaining();
          if (count + remaining > buf.length) {
            buf = Arrays.copyOf(buf, count + remaining);
          }
          input.get(buf, count, remaining);
          count += remaining;
        }
    
        byte[] byteArray() {
          return buf;
        }
    
        int length() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                op.setup(form -> {
                    keyMatchService.getKeyMatch(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
                        docList.addAll(keyMatchHelper.getBoostedDocumentList(entity));
                    }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

              }
    
              // The buffer has the data we need. Read from there and return immediately.
              val bytesToRead = minOf(byteCount, upstreamPos - sourcePos)
              buffer.copyTo(sink, sourcePos - bufferPos, bytesToRead)
              sourcePos += bytesToRead
              return bytesToRead
            }
    
          // Read from the file.
          if (source == SOURCE_FILE) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top