Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 1,832 for context_ (0.19 seconds)

  1. cmd/data-scanner_test.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestApplyNewerNoncurrentVersionsLimit(t *testing.T) {
    	// Prepare object layer
    	objAPI, disks, err := prepareErasure(t.Context(), 8)
    	if err != nil {
    		t.Fatalf("Failed to initialize object layer: %v", err)
    	}
    	defer removeRoots(disks)
    	setObjectLayer(objAPI)
    
    	// Prepare bucket metadata
    	globalBucketMetadataSys = NewBucketMetadataSys()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Значения контекста шаблона { #template-context-values }
    
    В HTML, который содержит:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...будет показан `id`, взятый из переданного вами «context» `dict`:
    
    ```Python
    {"id": id}
    ```
    
    Например, для ID `42` это отрендерится как:
    
    ```html
    Item ID: 42
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        // context is parameterized type
        assertEquals(String.class, TypeToken.of(context).resolveType(keyType).getType());
        assertEquals(Integer.class, TypeToken.of(context).resolveType(valueType).getType());
    
        // context is type variable
        assertEquals(keyType, TypeToken.of(keyType).resolveType(keyType).getType());
        assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        // context is parameterized type
        assertEquals(String.class, TypeToken.of(context).resolveType(keyType).getType());
        assertEquals(Integer.class, TypeToken.of(context).resolveType(valueType).getType());
    
        // context is type variable
        assertEquals(keyType, TypeToken.of(keyType).resolveType(keyType).getType());
        assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_experimental.cc

                                        TF_Buffer* buf) {
      string content;
      cell->cell.value().SerializeToString(&content);
      void* data = tensorflow::port::Malloc(content.length());
      content.copy(static_cast<char*>(data), content.length(), 0);
      buf->data = data;
      buf->length = content.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
          throw failure + AssertionError("uncaught exception thrown during test", uncaughtException)
        }
    
        if (context.isFlaky()) {
          logEvents()
        }
    
        LogManager.getLogManager().reset()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. cmd/bucket-replication-stats.go

    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.wTimer.C:
    			r.wlock.Lock()
    			r.workers.update()
    			r.wlock.Unlock()
    		}
    	}
    }
    
    func (r *ReplicationStats) collectQueueMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    
    	for {
    		select {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

                this.acceptedApiChanges = Collections.emptySet();
            }
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
            Map<String, Object> userData = (Map<String, Object>) context.getUserData();
            userData.put("acceptedApiChanges", acceptedApiChanges);
            userData.put("seenApiChanges", new HashSet<ApiChange>());
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. cmd/admin-bucket-handlers.go

    				continue
    			}
    			kmsKey := encConfig.KeyID()
    			if kmsKey != "" {
    				_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    					Name:           kmsKey,
    					AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation
    				})
    				if err != nil {
    					if errors.Is(err, kes.ErrKeyNotFound) {
    						rpt.SetStatus(bucket, fileName, errKMSKeyNotFound)
    						continue
    					}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

            ```bash
            python --version
            ```
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Additional Context
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
Back to Top