- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,014 for empty (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
) val call = client.newCall(Request(server.url("/"))) call.execute().use { response -> assertThat(response.body.source().readUtf8()).isEqualTo("") assertThat(response.trailers()).isEqualTo(Headers.EMPTY) } } @Test fun readEmptyTrailersHttp1NonEmptyFixedLengthResponse() { server.enqueue( MockResponse .Builder() .body("Hello") .build(), )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 08 21:45:04 GMT 2025 - 18.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
hostname: String, vararg peerCertificates: Certificate, ) { check(hostname, peerCertificates.toList()) } /** * Returns list of matching certificates' pins for the hostname. Returns an empty list if the * hostname does not have pinned certificates. */ fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.1K bytes - Click Count (1) -
internal/auth/credentials.go
ErrContainsReservedChars = fmt.Errorf("access key contains one of reserved characters '=' or ','") ) // AnonymousCredentials simply points to empty credentials var AnonymousCredentials = Credentials{} // ContainsReservedChars - returns whether the input string contains reserved characters. func ContainsReservedChars(s string) bool {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
} @Override public C first() { // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create. return requireNonNull(range.lowerBound.leastValueAbove(domain)); } @Override public C last() { // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create. return requireNonNull(range.upperBound.greatestValueBelow(domain)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
internal/event/target/nsq.go
} // Validate NSQArgs fields func (n NSQArgs) Validate() error { if !n.Enable { return nil } if n.NSQDAddress.IsEmpty() { return errors.New("empty nsqdAddress") } if n.Topic == "" { return errors.New("empty topic") } if n.QueueDir != "" { if !filepath.IsAbs(n.QueueDir) { return errors.New("queueDir path should be absolute") } } return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.1K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration.go
return err } if numDays <= 0 { return errLifecycleInvalidDays } *eDays = ExpirationDays(numDays) return nil } // MarshalXML encodes number of days to expire if it is non-zero and // encodes empty string otherwise func (eDays ExpirationDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if eDays == 0 { return nil } return e.EncodeElement(int(eDays), startElement) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Doubles.java
* that this always returns {@code false} when {@code target} is {@code NaN}. * * @param array an array of {@code double} values, possibly empty * @param target a primitive {@code double} value * @return {@code true} if {@code array[i] == target} for some value of {@code i} */ public static boolean contains(double[] array, double target) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 27.6K bytes - Click Count (0) -
internal/bucket/replication/tag.go
errInvalidTagValue = Errorf("The TagValue you have provided is invalid") ) func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
assertEquals(TaskOutcome.SUCCESS, result.task(":successful-test-with-leftover:test")!!.outcome) assertEquals(1, StringUtils.countMatches(result.output, "Found non-empty test files dir")) assertEquals(1, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 18 10:36:40 GMT 2025 - 10.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
bucketIndex: Int, ): PerformanceTest = createPerformanceTest( model, performanceTestCoverage, stage, bucketIndex, "Empty Performance Test bucket $index", mapOf(), ) } class TestProjectSplitBucket( val testProject: String, private val number: Int, val scenarios: List<PerformanceTestDuration>,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 10 02:18:03 GMT 2025 - 16.6K bytes - Click Count (0)