- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 174 for nCopies (0.05 seconds)
-
src/cmd/api/main_test.go
// - Internal and vendored packages do not contribute to our // API surface. (If we are running within the "std" module, // vendored dependencies appear as themselves instead of // their "vendor/" standard-library copies.) // - 'go list std' does not include commands, which cannot be // imported anyway. if ip := pkg.ImportPath; pkg.Standard && ip != "unsafe" && !strings.HasPrefix(ip, "vendor/") && !internalPkg.MatchString(ip) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0) -
cmd/utils.go
maps.Copy(r, v) return r } // URI scheme constants. const ( httpScheme = "http" httpsScheme = "https" ) // nopCharsetConverter is a dummy charset convert which just copies input to output, // it is used to ignore custom encoding charset in S3 XML body. func nopCharsetConverter(label string, input io.Reader) (io.Reader, error) { return input, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
*/ static <E> ImmutableList<E> asImmutableList(Object[] elements) { return asImmutableList(elements, elements.length); } /** * Views the array as an immutable list. Copies if the specified range does not cover the complete * array. Does not check for nulls. */ static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) { switch (length) { case 0:
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
src/bufio/bufio.go
// The complete result is equal to // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a // length of `totalLen`. The result is structured in this way to allow callers // to minimize allocations and copies. func (b *Reader) collectFragments(delim byte) (fullBuffers [][]byte, finalFragment []byte, totalLen int, err error) { var frag []byte // Use ReadSlice to look for delim, accumulating full buffers. for { var e error
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Sep 03 14:04:47 GMT 2025 - 22K bytes - Click Count (0) -
cmd/erasure-sets.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
guava/src/com/google/common/collect/Iterators.java
Iterator<? extends T> iterator, @ParametricNullness T defaultValue) { return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue; } /** * Copies an iterator's elements into an array. The iterator will be left exhausted: its {@code * hasNext()} method will return {@code false}. * * @param iterator the iterator to copy * @param type the type of the elements
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
for (E element : this) { builder.add(checkNotNull(element)); } return builder.build(); } /** * Copies the current contents of this set view into an existing set. This method has equivalent * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the * same notion of equivalence. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
Loading the resource using a path relative to the class prevents conflicts when the OkHttp classes are relocated (shaded) by allowing multiple private copies of the database. * Fix: Accept cookies for URLs that have an IPv6 address for a host. * Fix: Don't log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if theCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} assertThat(segment.table.length()).isEqualTo(i); assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount); // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies assertThat(segment.count).isAtLeast(liveCount); assertThat(segment.count).isAtMost(originalCount); assertThat(ImmutableMap.copyOf(map)).isEqualTo(originalMap); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} assertThat(segment.table.length()).isEqualTo(i); assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount); // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies assertThat(segment.count).isAtLeast(liveCount); assertThat(segment.count).isAtMost(originalCount); assertThat(ImmutableMap.copyOf(map)).isEqualTo(originalMap); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 115.9K bytes - Click Count (0)