- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for pants (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
list.add("cool"); assertTrue(all(list, predicate)); list.add("pants"); assertFalse(all(list, predicate)); } public void testFind() { Iterable<String> list = newArrayList("cool", "pants"); assertEquals("cool", find(list, equalTo("cool"))); assertEquals("pants", find(list, equalTo("pants"))); assertThrows(NoSuchElementException.class, () -> find(list, Predicates.alwaysFalse()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertTrue(iterable.allMatch(predicate)); list.add("pants"); assertFalse(iterable.allMatch(predicate)); } public void testFirstMatch() { FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants")); assertThat(iterable.firstMatch(equalTo("cool"))).hasValue("cool"); assertThat(iterable.firstMatch(equalTo("pants"))).hasValue("pants");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartBody.kt
fun addPart(part: Part) = apply { parts += part } /** Assemble the specified parts into a request body. */ fun build(): MultipartBody { check(parts.isNotEmpty()) { "Multipart body must have at least one part." } return MultipartBody(boundary, type, parts.toImmutableList()) } } companion object { /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/net/InternetDomainName.java
*/ private InternetDomainName(String name, ImmutableList<String> parts) { checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts."); this.name = name; this.parts = parts; } /** * The index in the {@link #parts()} list at which the public suffix begins. For example, for the * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
docs/site-replication/run-replication-with-checksum-header.sh
PART_ETAG=$(echo "${UPLOAD_PART_OUT}" | jq '.ETag') if [ "${idx}" == 10 ]; then PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}}" else PARTS="${PARTS}{\"ETag\": ${PART_ETAG}, \"ChecksumSHA256\": \"${PART_CHKSUM}\", \"PartNumber\": ${idx}}," fi done echo "{\"Parts\":[${PARTS}]}" >fileparts.json jq <fileparts.json
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 08:02:16 UTC 2024 - 11.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
) assertThat(parts.nextPart()).isNotNull() assertThat(parts.nextPart()).isNull() assertThat(parts.nextPart()).isNull() } @Test fun `empty source`() { val parts = MultipartReader( boundary = "simple boundary", source = Buffer(), ) assertFailsWith<EOFException> { parts.nextPart() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/erasure-multipart.go
partsMetadata[index].Parts = fi.Parts partsMetadata[index].Checksum = fi.Checksum partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended } } paths := make([]string, 0, len(currentFI.Parts)) // Remove parts that weren't present in CompleteMultipartUpload request. for _, curpart := range currentFI.Parts {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
cmd/erasure-metadata.go
for i, part := range fi.Parts { if partNumber == part.Number { fi.Parts[i] = partInfo return } } // Proceed to include new part info. fi.Parts = append(fi.Parts, partInfo) // Parts in FileInfo should be in sorted order by part number. sort.Slice(fi.Parts, func(i, j int) bool { return fi.Parts[i].Number < fi.Parts[j].Number }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} if len(unMarshalXLMeta.Parts) != len(jsoniterXLMeta.Parts) { t.Errorf("Expected info of %d parts to be present, but got %d instead.", len(unMarshalXLMeta.Parts), len(jsoniterXLMeta.Parts)) } else { for i := 0; i < len(unMarshalXLMeta.Parts); i++ { if unMarshalXLMeta.Parts[i].Number != jsoniterXLMeta.Parts[i].Number {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
*/ private InternetDomainName(String name, ImmutableList<String> parts) { checkArgument(!parts.isEmpty(), "Cannot create an InternetDomainName with zero parts."); this.name = name; this.parts = parts; } /** * The index in the {@link #parts()} list at which the public suffix begins. For example, for the * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0)