- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 2,416 for errPos (0.08 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
in 100..199 -> "Informational" in 200..299 -> "OK" in 300..399 -> "Redirection" in 400..499 -> "Client Error" in 500..599 -> "Server Error" else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } } fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
log.debug("Session setup failed", se); if ( this.connectionState.compareAndSet(1, 0) ) { // only try to logoff if we have not completed the session setup, ignore errors from chained // responses logoff(true, true); } throw se; } finally {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0) -
cmd/httprange_test.go
} for i, urs := range unparsableRangeSpecs { rs, err := parseRequestRangeSpec(urs) if err == nil { t.Errorf("Case %d: Did not get an expected error - got %v", i, rs) } if isErrInvalidRange(err) { t.Errorf("Case %d: Got invalid range error instead of a parse error", i) } if rs != nil { t.Errorf("Case %d: Got non-nil rs though err != nil: %v", i, rs) } } invalidRangeSpecs := []string{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/lock/lock_solaris.go
// for os.OpenFile(). func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { return lockedOpenFile(path, flag, perm, syscall.F_SETLKW) } // Open - Call os.OpenFile func Open(path string, flag int, perm os.FileMode) (*os.File, error) { return os.OpenFile(path, flag, perm)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.8K bytes - Viewed (0) -
docs/debugging/inspect/utils.go
func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) { // Try PEM if block, _ := pem.Decode(priv); block != nil { return x509.ParsePKCS1PrivateKey(block.Bytes) } // Try base 64 dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv))) if n, err := base64.StdEncoding.Decode(dst, priv); err == nil { return x509.ParsePKCS1PrivateKey(dst[:n]) } // Try Raw, return error return x509.ParsePKCS1PrivateKey(priv) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 02 20:36:38 UTC 2022 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/FailedPlan.kt
override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result override fun handleSuccess() = error("unexpected call") override fun cancel() = error("unexpected cancel") override fun retry() = error("unexpected retry")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.5K bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
if err != nil { t.Log(oi) t.Fatalf("%s : %s", instanceType, err.Error()) } } oi, err := obj.DeleteObject(context.Background(), testCase.bucketName, testCase.pathToDelete, ObjectOptions{}) if err != nil && !isErrObjectNotFound(err) { t.Log(oi) t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen_test.go
t.Log("WARNING: TestEncodeDecodeChecksumInfo Msgsize() is inaccurate") } vn := ChecksumInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeChecksumInfo(b *testing.B) { v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K bytes - Viewed (0) -
internal/bucket/replication/rule.go
func (d DeleteReplication) Validate() error { if d.IsEmpty() { return errDeleteReplicationMissing } if d.Status != Disabled && d.Status != Enabled { return errInvalidDeleteReplicationStatus } return nil } // UnmarshalXML - decodes XML data. func (d *DeleteReplication) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) { // Make subtype to avoid recursive UnmarshalXML().
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 24 23:22:20 UTC 2022 - 8.3K bytes - Viewed (0) -
cmd/object-api-interface.go
// EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error) // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed. type EvalRetentionBypassFn func(o ObjectInfo, gerr error) error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0)