Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1811 - 1820 of 3,810 for value2 (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      public void testGet_nullContained() {
        initMapWithNullKey();
        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. api/next/73450.txt

    pkg net/url, method (*URL) Clone() *URL #73450
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 06 18:48:32 GMT 2026
    - 98 bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             *
             * @param source    the source value
             * @param fieldName a description of the field being interpolated. The implementation may use this to
             *                  log stuff
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/advanced-python-types.md

    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    The good news is, in most cases, you will be able to simply use `|` to define unions of types:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * We are comparing Multimaps of the same type, so as long as they have value collections that
       * implement equals() (as with ListMultimap or SetMultimap, as opposed to a QueueMultimap or
       * something), our equality check is value-based.
       */
      @SuppressWarnings("UndefinedEquals")
      public void testRetainAllPropagatesToMultimap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/StandardSystemProperty.java

      }
    
      /** Returns the key used to look up this system property. */
      public String key() {
        return key;
      }
    
      /**
       * Returns the current value for this system property by delegating to {@link
       * System#getProperty(String)}.
       *
       * <p>The value returned by this method is non-null except in rare circumstances:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java

         */
        String type() default "java.lang.String";
    
        /**
         * Specifies the default value of the configuration property.
         *
         * @return the default value as a string, defaults to empty string
         */
        String defaultValue() default "";
    
        /**
         * Specifies whether the configuration property is read-only.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             *
             * @param source    The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
             * @return The interpolated value.
             */
            String transform(String source, String fieldName);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java

        @Override
        public Object execute(String expression, Object value) {
            expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
            if (projectDir != null && value != null && unprefixedPathKeys.contains(expression)) {
                return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
            }
    
            return value;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. fastapi/security/api_key.py

        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
Back to Top