- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 7,056 for Return (0.06 sec)
-
internal/http/response-recorder.go
return gzippedBody } r, err := gzip.NewReader(&lrw.body) if err != nil { return gzippedBody } defer r.Close() b, _ := io.ReadAll(io.LimitReader(r, 10<<20)) return b } // If there was an error response or body logging is enabled // then we return the body contents if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody { return lrw.body.Bytes() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} /** * Returns the domain. */ @Override public String getUserDomain () { return this.domain; } /** * * @return the original specified user domain */ public String getSpecifiedUserDomain () { return this.domain; } /** * Returns the username. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("nested transaction returns error: %v", err) } if err := tx.First(&User{}, "name = ?", user2.Name).Error; err != nil { t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("no error should return, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
internal/grid/handlers.go
if r == nil || other == nil { return r == other } var o RemoteErr if errors.As(other, &o) { return r == &o } return false } // IsRemoteErr returns the value if the error is a RemoteErr. func IsRemoteErr(err error) *RemoteErr { var r RemoteErr if errors.As(err, &r) { return &r } return nil } type (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
return ConfigType.DATA; } return null; } protected String getId(final String configId) { if (configId == null || configId.length() < 2) { return null; } return configId.substring(1); } public CrawlingConfig getCrawlingConfig(final String configId) { try { return crawlingConfigCache.get(configId, () -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.7K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
hasMonth := t.Month() != 1 switch { case hasFracSecond: return t.Format(layoutNanosecond) case hasSecond: return t.Format(layoutSecond) case hasTime || hasZone: return t.Format(layoutMinute) case hasDay: return t.Format(layoutDay) case hasMonth: return t.Format(layoutMonth) default: return t.Format(layoutYear) } } const ( timePartYear = "YEAR"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/iam.go
return false, "", errNoSuchUser } cred := u.Credentials if cred.IsTemp() { return true, cred.ParentUser, nil } return false, "", nil } // IsServiceAccount - returns if given key is a service account func (sys *IAMSys) IsServiceAccount(name string) (bool, string, error) { if !sys.Initialized() { return false, "", errServerNotInitialized } u, found := sys.store.GetUser(name) if !found {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * @return the byteCount */ public final int getByteCount () { return this.byteCount; } /** * @return the length */ public final int getLength () { return this.length; } /** * @return the forceUnicode */ public boolean isForceUnicode () { return this.forceUnicode; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
} } return nil }) } if errs != nil { return nil, errs } if un.GetKind() == gvk.Service.Kind { return nil, v.validateServicePortPrefix(istioNamespace, un) } if un.GetKind() == gvk.Deployment.Kind { if err := v.validateDeploymentLabel(istioNamespace, un, writer); err != nil { return nil, err } return nil, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/bucket-encryption-handlers.go
return } // Return error if KMS is not initialized if GlobalKMS == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL) return } kmsKey := encConfig.KeyID() if kmsKey != "" { kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.4K bytes - Viewed (0)