- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for partition (0.06 seconds)
-
internal/arn/arn.go
} return ARN{ Partition: arnPartitionMinio, Service: arnServiceIAM, Region: serverRegion, ResourceType: arnResourceTypeRole, ResourceID: resourceID, }, nil } // String - returns string representation of the ARN. func (arn ARN) String() string { return strings.Join( []string{ arnPrefixArn, arn.Partition, arn.Service, arn.Region,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
List<List<Integer>> partitions = partition(source, 1); assertEquals(1, partitions.size()); assertEquals(singletonList(1), partitions.get(0)); } public void testPartition_1_2() { List<Integer> source = singletonList(1); List<List<Integer>> partitions = partition(source, 2); assertEquals(1, partitions.size()); assertEquals(singletonList(1), partitions.get(0)); } public void testPartition_2_1() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.4K bytes - Click Count (0) -
internal/arn/arn_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 08:31:34 GMT 2024 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(1, Iterables.size(partitions)); assertEquals(singletonList(1), partitions.iterator().next()); } public void testPartition_view() { List<Integer> list = asList(1, 2); Iterable<List<Integer>> partitions = Iterables.partition(list, 2); // Changes before the partition is retrieved are reflected list.set(0, 3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* <p><b>Note:</b> if {@code iterable} is a {@link List}, use {@link Lists#partition(List, int)} * instead. * * @param iterable the iterable to return a partitioned view of * @param size the desired size of each partition (the last may be smaller) * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided * into partitions * @throws IllegalArgumentException if {@code size} is nonpositiveCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<List<Integer>> partitions = Iterators.partition(source, 1); assertTrue(partitions.hasNext()); assertTrue(partitions.hasNext()); assertEquals(ImmutableList.of(1), partitions.next()); assertFalse(partitions.hasNext()); } public void testPartition_singleton2() { Iterator<Integer> source = singletonIterator(1); Iterator<List<Integer>> partitions = Iterators.partition(source, 2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt
*/ internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> { if (addresses.size < 2) { return addresses } val (ipv6, ipv4) = addresses.partition { it is Inet6Address } return if (ipv6.isEmpty() || ipv4.isEmpty()) { addresses } else { interleave(ipv6, ipv4) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Apr 24 15:15:15 GMT 2025 - 1.3K bytes - Click Count (0) -
fastapi/security/utils.py
def get_authorization_scheme_param( authorization_header_value: Optional[str], ) -> tuple[str, str]: if not authorization_header_value: return "", "" scheme, _, param = authorization_header_value.partition(" ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 286 bytes - Click Count (0) -
scripts/mkdocs_hooks.py
missing_translation_content = get_missing_translation_content(config.docs_dir) header = "" body = markdown if markdown.startswith("#"): header, _, body = markdown.partition("\n\n") return f"{header}\n\n{missing_translation_content}\n\n{body}"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 5.6K bytes - Click Count (0)