Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1811 - 1820 of 4,103 for value0 (0.13 seconds)

  1. tests/test_additional_responses_union_duplicate_anyof.py

    
    class ModelB(BaseModel):
        b: str
    
    
    app = FastAPI(
        responses={
            500: {
                "model": ModelA | ModelB,
                "content": {"application/json": {"examples": {"Case A": {"value": "a"}}}},
            }
        }
    )
    
    
    @app.get("/route1")
    async def route1():
        pass  # pragma: no cover
    
    
    @app.get("/route2")
    async def route2():
        pass  # pragma: no cover
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        FooChild value = new FooChild();
        nested.set(value);
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
        assertThat(future.get()).isEqualTo(value);
      }
    
      public void testCancel_innerCancelsAsync() throws Exception {
        SettableFuture<Object> async = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. cmd/xl-storage-format-v2_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    	_ = x[lastVersionType-4]
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", key); // Still empty due to caching
    
            // Test caching by calling again - should return cached value
            key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key); // Still cached value
        }
    
        @Test
        public void test_getVirtualHostKey_withCaching() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertTrue(addresses.length > 0, "Should return at least one address");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name resolution with timeout")
        @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout
        void testGetNbtByName() {
            // When/Then - Should throw UnknownHostException quickly due to short timeouts
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    children.add(toXml(c, evaluator));
                }
                String name = config.getName();
                Object value = evaluator.evaluate(config.getValue());
                return XmlNode.newInstance(name, value != null ? value.toString() : null, null, children, null);
            }
        }
    
        static class PathConverter extends AbstractBasicConverter {
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. tests/test_ambiguous_params.py

        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
                " default value with `=` instead."
            ),
        ):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsGroupCA.java

        public void setGidNumber_PercentileRanks(double[] values) {
            setGidNumber_PercentileRanks(values, null);
        }
    
        public void setGidNumber_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setGidNumber_PercentileRanks("gidNumber", values, opLambda);
        }
    
        public void setGidNumber_PercentileRanks(String name, double[] values,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransformValueRemainsMemoized() throws Exception {
        class Holder {
    
          int value = 2;
        }
        Holder holder = new Holder();
    
        // This function adds the holder's value to the input value.
        Function<Integer, Integer> adder = from -> from + holder.value;
    
        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransformValueRemainsMemoized() throws Exception {
        class Holder {
    
          int value = 2;
        }
        Holder holder = new Holder();
    
        // This function adds the holder's value to the input value.
        Function<Integer, Integer> adder = from -> from + holder.value;
    
        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top