Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,865 for Value (0.02 sec)

  1. internal/once/singleton.go

    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * Creates a new XmlNode instance with the specified name and value.
         *
         * @param name the name for the new node
         * @param value the value for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name, String value) {
            return newBuilder().name(name).value(value).build();
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeToInstanceMap.java

      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
       * Maps the specified class to the specified value. Does <i>not</i> associate this value with any
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Floats.java

        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
       * value} is greater than {@code max}, {@code max} is returned.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsCrawlingInfoParamCA.java

        }
    
        public void setValue_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setValue_Terms("value", opLambda, null);
        }
    
        public void setValue_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
            setValue_Terms("value", opLambda, aggsLambda);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 28.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         *
         * @param key the property key to look up
         * @param defaultValue the default value if the property is not found or invalid
         * @return the long value or default value
         */
        protected Long getDefaultLong(final String key, final Long defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

        val headers = headersOf("a", "b", "c", "d")
        assertFailsWith<IndexOutOfBoundsException> {
          headers.value(-1)
        }
        assertThat(headers.value(0)).isEqualTo("b")
        assertThat(headers.value(1)).isEqualTo("d")
        assertFailsWith<IndexOutOfBoundsException> {
          headers.value(2)
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
       * value} is greater than {@code max}, {@code max} is returned.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java

            String tokenPattern = "name=\"authenticity_token\" +value=\"([^\"]+)\"";
            String content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertEquals("abcdefg", formScheme.getTokenValue(tokenPattern, content));
    
            tokenPattern = "name=\"authenticity_token\" +value=\"[^\"]+\"";
            content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top