- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 2,061 for mirror (0.04 seconds)
-
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
// Arrange & Act: create exception with error code SmbAuthException ex = new SmbAuthException(errCode); // Assert: type, message derived from code, status mapping, and no cause assertNotNull(ex); assertTrue(ex instanceof SmbException); assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/bucket/bandwidth/reader.go
// MonitoredReader represents a throttled reader subject to bandwidth monitoring type MonitoredReader struct { r io.Reader throttle *bucketThrottle ctx context.Context // request context lastErr error // last error reported, if this non-nil all reads will fail. m *Monitor opts *MonitorReaderOptions } // BucketOptions represents the bucket and optionally its replication target pair.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
utils/tests/dummy_dialecter.go
"gorm.io/gorm/callbacks" "gorm.io/gorm/clause" "gorm.io/gorm/logger" "gorm.io/gorm/schema" ) type DummyDialector struct { TranslatedErr error } func (DummyDialector) Name() string { return "dummy" } func (DummyDialector) Initialize(db *gorm.DB) error { callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{ CreateClauses: []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"},Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Mar 06 06:03:31 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/etag/etag.go
func (e ETag) ETag() ETag { return e } // FromContentMD5 decodes and returns the Content-MD5 // as ETag, if set. If no Content-MD5 header is set // it returns an empty ETag and no error. func FromContentMD5(h http.Header) (ETag, error) { v, ok := h["Content-Md5"] if !ok { return nil, nil } if v[0] == "" { return nil, errors.New("etag: content-md5 is set but contains no value") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
if err.Error() != msg { t.Fatalf("Expected msg %s, got %s", msg, err) } } // Failure case when input path is not absolute. { if err = mounts.checkCrossMounts("."); err == nil { t.Fatal("Expected to fail for non absolute paths") } expectedErrMsg := fmt.Sprintf("Invalid argument, path (%s) is expected to be absolute", ".") if err.Error() != expectedErrMsg {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
internal/config/identity/openid/jwt.go
return errors.New(resp.Status) } return r.pubKeys.parseAndAdd(resp.Body) } // ErrTokenExpired - error token expired var ( ErrTokenExpired = errors.New("token expired") ) func updateClaimsExpiry(dsecs string, claims map[string]any) error { expStr := claims["exp"] if expStr == "" { return ErrTokenExpired }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
OutputBytes int64 `json:"tx,omitempty"` Error string `json:"error,omitempty"` } func (op auditTierOp) String() string { // flattening the auditTierOp{} for audit return fmt.Sprintf("tier:%s,respNS:%d,tx:%d,err:%s", op.Tier, op.TimeToResponseNS, op.OutputBytes, op.Error) } func auditTierActions(ctx context.Context, tier string, bytes int64) func(err error) { startTime := time.Now() return func(err error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
docs/debugging/inspect/main.go
if err != nil { fmt.Printf("error generating key: %s n", err) os.Exit(1) } // dump private key to file privateKeyBytes := x509.MarshalPKCS1PrivateKey(privatekey) privateKeyBlock := &pem.Block{ Type: "RSA PRIVATE KEY", Bytes: privateKeyBytes, } privatePem, err := os.Create("support_private.pem") if err != nil { fmt.Printf("error when create private.pem: %s n", err) os.Exit(1)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
* @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(File from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Copies all the bytes from one file to another. * * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0)