Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 4,419 for getC (0.02 seconds)

  1. tests/test_request_params/test_query/test_optional_str.py

    # =====================================================================================
    # Without aliases
    
    
    @app.get("/optional-str")
    async def read_optional_str(p: str | None = None):
        return {"p": p}
    
    
    class QueryModelOptionalStr(BaseModel):
        p: str | None = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[QueryModelOptionalStr, Query()]):
        return {"p": p.p}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertContains(multimap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetNullAbsent() {
        assertEmpty(multimap().get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGetNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().get(null));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

         * @return This request, never {@code null}.
         */
        @Override
        MetadataResolutionRequest setOffline(boolean offline);
    
        /**
         * Gets the artifact to resolve metadata for.
         *
         * @return The artifact to resolve metadata for or {@code null} if not set.
         */
        Artifact getArtifact();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

            val buildTime = when {
                buildTimestampFromProperty != null -> {
                    timestampFormat.parse(buildTimestampFromProperty)
                }
                runningInstallTask.get() || runningDocsTestTask.get() || runningOnCi.get() -> {
                    Date()
                }
                else -> {
                    Date().withoutTime()
                }
            }
            return timestampFormat.format(buildTime)
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 05 17:24:26 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getWarnings().get(0).contains("duplicate declaration of plugin test:duplicate"));
            assertTrue(result.getWarnings().get(1).contains("duplicate declaration of plugin test:managed-duplicate"));
            assertTrue(result.getWarnings().get(2).contains("duplicate declaration of plugin profile:duplicate"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertThat(c).isNotSameInstanceAs(b);
        assertBitEquals(-22.0, a.get());
        assertBitEquals(0.0, b.get());
        assertBitEquals(-22.0, c.get());
        for (double x : VALUES) {
          AtomicDouble d = new AtomicDouble(x);
          assertBitEquals(serialClone(d).get(), d.get());
        }
      }
    
      /** toString returns current value */
      public void testToString() {
        AtomicDouble at = new AtomicDouble();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testAsyncToString() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testAsyncToString() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        assertThat(loadCount.get()).isEqualTo(2);
        assertThat(reloadCount.get()).isEqualTo(1);
        assertThat(loadAllCount.get()).isEqualTo(2);
    
        executor.runNext();
        assertThat(loadCount.get()).isEqualTo(2);
        assertThat(reloadCount.get()).isEqualTo(2);
        assertThat(loadAllCount.get()).isEqualTo(2);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. cmd/signature-v4.go

    		if !defaultSigParams.Contains(k) {
    			query[k] = v
    		}
    	}
    
    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    		return ErrSignatureDoesNotMatch
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top