Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 126 for Losses (0.15 seconds)

  1. internal/store/queuestore_test.go

    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Should not allow 6th Put.
    	if _, err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    // TestQueueStoreLimit - tests for store.LimitN.
    func TestQueueStoreListN(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. docs/pt/docs/features.md

    * Modelo de documentação automática com <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (já que o OpenAPI em si é baseado no JSON Schema).
    * Projetado em cima desses padrões após um estudo meticuloso, em vez de uma reflexão breve.
    * Isso também permite o uso de **geração de código do cliente** automaticamente em muitas linguagens.
    
    ### Documentação automática { #automatic-docs }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/security/simple-oauth2.md

    De resto, **FastAPI** cuida disso para você.
    
    ///
    
    ## Atualize as dependências { #update-the-dependencies }
    
    Agora vamos atualizar nossas dependências.
    
    Queremos obter o `current_user` *somente* se este usuário estiver ativo.
    
    Portanto, criamos uma dependência adicional `get_current_active_user` que por sua vez usa `get_current_user` como dependência.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. cmd/tier.go

    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    // Add adds tier to config if it passes all validations.
    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/LocalCache.java

      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
          V value = get(key);
          if (value == null) {
            misses++;
          } else {
            // TODO(fry): store entry key instead of query key
            @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/dependencies/index.md

    * Um parâmetro de consulta opcional `skip` do tipo `int`, e igual a `0` por padrão.
    * Um parâmetro de consulta opcional `limit` do tipo `int`, e igual a `100` por padrão.
    
    E então retorna um `dict` contendo esses valores.
    
    /// info | Informação
    
    FastAPI passou a suportar a notação `Annotated` (e começou a recomendá-la) na versão 0.95.0.
    
    Se você utiliza uma versão anterior, ocorrerão erros ao tentar utilizar `Annotated`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/StatsTesting.java

          assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max());
        }
      }
    
      /**
       * Asserts that {@code transformation} is diagonal (i.e. neither horizontal nor vertical) and
       * passes through both {@code (x1, y1)} and {@code (x1 + xDelta, y1 + yDelta)}. Includes
       * assertions about all the public instance methods of {@link LinearTransformation} (on both
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  8. cmd/object-api-listobjects_test.go

    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        assumeNetwork()
    
        val request =
          Request.Builder().url("https://example_underscore_123.s3.amazonaws.com/").build()
    
        try {
          client.newCall(request).execute().close()
          // Hopefully this passes
        } catch (ioe: IOException) {
          // https://github.com/square/okhttp/issues/5840
          when (ioe.cause) {
            is IllegalArgumentException -> {
              assertEquals("Android internal error", ioe.message)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

      sufficient description, if applicable unit tests are added, if it is a
      reasonable contribution (meaning it is not a single liner cosmetic PR).
    
    **2. Valid?**
    
    -   If the PR passes all the quality checks then we go ahead and assign a
        reviewer.
    -   If the PR didn't meet the validation criteria, we request for additional
        changes to be made to PR to pass quality checks and send it back or on a
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top