- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,291 for Unexpected (0.05 sec)
-
cmd/common-main.go
} // Look for if URL has invalid values and return error. if !isValidURLEndpoint((*url.URL)(u)) { err := fmt.Errorf("URL contains unexpected resources, expected URL to be one of http(s)://console.example.com or as a subpath via API endpoint http(s)://minio.example.com/minio format: %v", u) logger.Fatal(err, "Invalid MINIO_BROWSER_REDIRECT_URL value is environment variable")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
require( (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) || (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) || pattern.indexOf("*") == -1, ) { "Unexpected pattern: $pattern" } this.pattern = pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern") when { pin.startsWith("sha1/") -> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/object-handlers_test.go
// ServeHTTP to execute the logic of the handler. apiRouter.ServeHTTP(rec, req) isEnc := false expected := 200 if strings.HasPrefix(input.objectName, "enc-") { isEnc = true expected = 400 } if rec.Code != expected { t.Errorf("Test %d: expected code %d but got %d for object %s", i+1, expected, rec.Code, input.objectName) } contentLength := rec.Header().Get("Content-Length") if isEnc {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
} /** Add an header line containing a field name, a literal colon, and a value. */ fun add(line: String) = apply { val index = line.indexOf(':') require(index != -1) { "Unexpected header: $line" } add(line.substring(0, index).trim(), line.substring(index + 1)) } /** * Add a header with the specified name and value. Does validation of header names and values. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/os-readdir_test.go
// checkResult - checks whether entries are got are same as expected entries. func checkResult(expected []string, got []string) bool { // If length of expected and got slice are different, the test actually failed. if len(expected) != len(got) { return false } for i := range expected { // If entry in expected is not same as entry it got, the test is failed. if expected[i] != got[i] { return false } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
* @param response the response object to populate * @throws IOException if an I/O error occurs */ protected abstract void doRecv(Response response) throws IOException; /** * Skips an unexpected or unrecognized message. * * @throws IOException if an I/O error occurs */ protected abstract void doSkip() throws IOException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/xl-storage.go
return nil, errDiskAccessDenied } storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors return nil, errCorruptedBackend } else if osIsPermission(err) { return nil, errDiskAccessDenied } storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors return nil, errCorruptedBackend } return fi, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well, * either providing your own implementation, or delegating to the provided {@code standardAdd} * method. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
+ "expected = " + expected + ", actual = " + actual); } } public static void assertContentsInOrder(Iterable<?> actual, Object... expected) { assertEqualInOrder(asList(expected), actual); } public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
object : ResponseBody() { override fun contentType(): MediaType? = null override fun contentLength(): Long = -1L override fun source(): BufferedSource = error("unexpected call") }, ).trailers( object : TrailersSource { override fun get(): Headers = headersOf("t1", "v1") }, ).build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0)