Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 1,832 for context_ (0.07 seconds)

  1. docs/es/docs/advanced/events.md

    ### Async Context Manager { #async-context-manager }
    
    Si revisas, la función está decorada con un `@asynccontextmanager`.
    
    Eso convierte a la función en algo llamado un "**async context manager**".
    
    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. buildscripts/heal-manual.go

    		Recursive: true,                  // recursively heal all objects at 'prefix'
    		Remove:    true,                  // remove content that has lost quorum and not recoverable
    		ScanMode:  madmin.HealNormalScan, // by default do not do 'deep' scanning
    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. docs/ru/llm-prompt.md

    Translate to Russian (русский язык).
    
    Language code: ru.
    
    ---
    
    Use a neutral tone (not overly formal or informal).
    
    Use correct Russian grammar — appropriate cases, suffixes, and endings depending on context.
    
    For the following technical terms, use these specific translations to ensure consistency and clarity across the documentation:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Jan 22 07:07:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("term1", "Content for host1", "host1"));
            testData.add(createRelatedContent("term1", "Content for host2", "host2"));
            testData.add(createRelatedContent("term2", "Content for default", ""));
            mockBhv.setTestData(testData);
    
            int count = relatedContentHelper.load();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  5. tests/transaction_test.go

    		user2 = *GetUser("transaction-nested-2", Config{})
    	)
    
    	if err := transaction(context.Background(), DB, func(ctx context.Context, tx *gorm.DB) error {
    		tx.Create(&user)
    
    		if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil {
    			t.Fatalf("Should find saved record")
    		}
    
    		if err := transaction(ctx, tx, func(ctx context.Context, tx1 *gorm.DB) error {
    			tx1.Create(&user1)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  6. internal/ioutil/ioutil_test.go

    	_, err := w.Write([]byte("1"))
    	if err != context.DeadlineExceeded {
    		t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded")
    	}
    	_, err = w.Write([]byte("1"))
    	if err != context.DeadlineExceeded {
    		t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded")
    	}
    	w.Close()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. cmd/batch-expire.go

    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error {
    	if r.NotificationCfg.Endpoint == "" {
    		return nil
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  8. cmd/erasure-multipart-conditional_test.go

    // be reached, as we cannot reliably determine if the precondition is met.
    func TestNewMultipartUploadConditionalWithReadQuorumFailure(t *testing.T) {
    	ctx := context.Background()
    
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(fsDirs)
    
    	z := obj.(*erasureServerPools)
    	xl := z.serverPools[0].sets[0]
    
    	bucket := "test-bucket"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
            Map<AccessorKey, ReplacedAccessor> oldAccessorsOfUpgradedProperties = (Map<AccessorKey, ReplacedAccessor>) context.getUserData().get(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 19 15:30:48 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

        /**
         * Retrieve toolchain of specified type from build context. It is expected that
         * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate
         * toolchain and is executed at the beginning of the build.
         *
         * @param type the type, must not be {@code null}
         * @param context the Maven session, must not be {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top