Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,573 for defaults (0.65 sec)

  1. android/guava/src/com/google/common/base/Defaults.java

    /**
     * This class provides default values for all Java types, as defined by the JLS.
     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Defaults.java

    /**
     * This class provides default values for all Java types, as defined by the JLS.
     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. tests/test_skip_defaults.py

    )
    def get_exclude_unset() -> ModelDefaults:
        return ModelDefaults(x=None, y="y")
    
    
    @app.get(
        "/exclude_defaults",
        response_model=ModelDefaults,
        response_model_exclude_defaults=True,
    )
    def get_exclude_defaults() -> ModelDefaults:
        return ModelDefaults(x=None, y="y")
    
    
    @app.get(
        "/exclude_none", response_model=ModelDefaults, response_model_exclude_none=True
    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertEquals(0.0d, Defaults.defaultValue(double.class).doubleValue());
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertEquals(0.0d, Defaults.defaultValue(double.class).doubleValue());
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. manifests/charts/istio-cni/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. manifests/charts/istio-operator/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. manifests/charts/ztunnel/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. manifests/charts/gateway/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top