Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,797 for volume (0.07 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** getAndUpdate adds given value to current, and returns previous value */
      public void testGetAndUpdateWithSum() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
              aa.set(i, x);
              double z = aa.getAndUpdate(i, value -> value + y);
              assertBitEquals(x, z);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp

                                                <la:option value="25">25</la:option>
                                                <la:option value="50">50</la:option>
                                                <la:option value="100">100</la:option>
                                                <la:option value="200">500</la:option>
                                                <la:option value="1000">1000</la:option>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 16K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                return (T) Long.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Integer.class)) {
                if (value instanceof Integer) {
                    return (T) value;
                }
                return (T) Integer.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Double.class)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return result;
      }
    
      /**
       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
        AtomicLong atomic = map.get(key);
        return atomic == null ? 0L : atomic.get();
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. module.xml

    		<antcall target="install.module">
    			<param name="repo.url" value="${maven.release.repo.url}" />
    			<param name="module.groupId" value="org/codelibs/opensearch/module" />
    			<param name="module.name.prefix" value="" />
    			<param name="module.name" value="analysis-common" />
    			<param name="module.version" value="${opensearch.version}" />
    			<param name="module.zip.version" value="${opensearch.version}" />
    		</antcall>
    		<!-- geo -->
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 25 12:43:59 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(parse(url, "a=\r\t \n")!!.value).isEqualTo("")
      }
    
      @Test fun trimLeadingAndTrailingWhitespaceFromValue() {
        assertThat(parse(url, "a= ")!!.value).isEqualTo("")
        assertThat(parse(url, "a= b")!!.value).isEqualTo("b")
        assertThat(parse(url, "a=b ")!!.value).isEqualTo("b")
        assertThat(parse(url, "a=\r\t \nb\n\t \n")!!.value).isEqualTo("b")
      }
    
      @Test fun invalidCharacters() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLong.java

       * Returns an {@code UnsignedLong} representing the same value as the specified {@code long}.
       *
       * @throws IllegalArgumentException if {@code value} is negative
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(long value) {
        checkArgument(value >= 0, "value (%s) is outside the range for an unsigned long value", value);
        return fromLongBits(value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedLong.java

       * Returns an {@code UnsignedLong} representing the same value as the specified {@code long}.
       *
       * @throws IllegalArgumentException if {@code value} is negative
       * @since 14.0
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(long value) {
        checkArgument(value >= 0, "value (%s) is outside the range for an unsigned long value", value);
        return fromLongBits(value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  10. clause/on_conflict.go

    		builder.WriteByte(' ')
    	} else {
    		if len(onConflict.Columns) > 0 {
    			builder.WriteByte('(')
    			for idx, column := range onConflict.Columns {
    				if idx > 0 {
    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(column)
    			}
    			builder.WriteString(`) `)
    		}
    
    		if len(onConflict.TargetWhere.Exprs) > 0 {
    			builder.WriteString(" WHERE ")
    			onConflict.TargetWhere.Build(builder)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top