- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 1,832 for context_ (0.48 seconds)
-
docs/zh-hant/docs/advanced/events.md
函式在 `yield` 之前的部分,會在應用啟動前先執行。 `yield` 之後的部分,會在應用結束後再執行。 ### 非同步內容管理器(Async Context Manager) { #async-context-manager } 你會看到這個函式被 `@asynccontextmanager` 裝飾。 它會把函式轉換成所謂的「**非同步內容管理器(async context manager)**」。 {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *} Python 中的**內容管理器(context manager)**可以用在 `with` 陳述式中,例如 `open()` 可以作為內容管理器使用: ```Python with open("file.txt") as file:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0) -
cmd/auth-handler_test.go
// Empty Content-Md5 header. {mustNewSignedEmptyMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest}, // Short Content-Md5 header. {mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest}, // When request is properly signed, but has bad Content-MD5 header.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/sts-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/xml" "net/http" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" ) // writeSTSErrorResponse writes error headers func writeSTSErrorResponse(ctx context.Context, w http.ResponseWriter, errCode STSErrorCode, err error) { stsErr := stsErrCodes.ToSTSErr(errCode)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 05 00:29:41 GMT 2025 - 6K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
DefaultProfileActivationContext context = new DefaultProfileActivationContext(); context.setActiveProfileIds(request.getActiveProfileIds()); context.setInactiveProfileIds(request.getInactiveProfileIds()); context.setSystemProperties(request.getSystemProperties()); // enrich user properties with project packaging
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
callbacks/row.go
db.Statement.Settings.Delete("rows") db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) } else { db.Statement.Dest = db.Statement.ConnPool.QueryRowContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) } db.RowsAffected = -1 }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 08 05:40:41 GMT 2023 - 581 bytes - Click Count (0) -
cmd/object-handlers_test.go
res, err := obj.NewMultipartUpload(context.Background(), bucketName, testObject, opts) if err != nil { // Failed to create NewMultipartUpload, abort. t.Fatalf("MinIO %s : <ERROR> %s", instanceType, err) } uploadID := res.UploadID uploadIDCopy := uploadID // create an object Part, will be used to test list object parts.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader()))); final ClassLoader context = Thread.currentThread().getContextClassLoader(); try { final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader()); Thread.currentThread().setContextClassLoader(cl);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
cmd/batch-rotate_gen.go
} case "Key": z.Key, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Key") return } case "Context": z.Context, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Context") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 27.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java
/** * A skeleton eventspy that does nothing other than helping implementors. * @since 3.0.2 */ public abstract class AbstractEventSpy implements EventSpy { @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object event) throws Exception {} @Override public void close() throws Exception {}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
this.profileActivationFilePathInterpolator = profileActivationFilePathInterpolator; return this; } @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationFile file = activation.getFile();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.4K bytes - Click Count (0)