Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,409 for Value (0.06 sec)

  1. cmd/xl-storage-disk-id-check.go

    	cached    atomic.Pointer[AccElem]
    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @Test
            @DisplayName("Should get chunksWritten value")
            void testGetChunksWritten() {
                // Initial value should be 0
                assertEquals(0, response.getChunksWritten());
            }
    
            @Test
            @DisplayName("Should get chunkBytesWritten value")
            void testGetChunkBytesWritten() {
                // Initial value should be 0
                assertEquals(0, response.getChunkBytesWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

            } else {
              increment = cmpRemToHalfDivisor > 0; // closer to the UP value
            }
            break;
          default:
            throw new AssertionError();
        }
        return increment ? div + signum : div;
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
       * <p>For example:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

        void testRangeValidation(long value, long min, long max, boolean valid) {
            if (valid) {
                assertDoesNotThrow(() -> InputValidator.validateRange(value, min, max, "test"));
            } else {
                assertThrows(IllegalArgumentException.class, () -> InputValidator.validateRange(value, min, max, "test"));
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * ### Query
     *
     * The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string
     * is subdivided into a collection of name-value parameters. This class offers methods to set the
     * query as the single string, or as individual name-value parameters. With name-value parameters
     * the values are optional and names may be repeated.
     *
     * ### Fragment
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
            }
        }
    
        /**
         * Retrieves a value from a map with a default fallback.
         *
         * @param dataMap the map to retrieve the value from
         * @param key the key to look up
         * @param defaultValue the default value to return if key is not found or value is blank
         * @return the value from the map or the default value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * Returns the element at the specified position in an iterable or a default value otherwise.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.skip(position).findFirst().orElse(defaultValue)} (returns the default value if the index
       * is out of bounds)
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if {@code position} is greater than or equal to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapEntry.java

      @ParametricNullness
      public abstract K getKey();
    
      @Override
      @ParametricNullness
      public abstract V getValue();
    
      @Override
      @ParametricNullness
      public V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .build(),
        )
        val webSocket = newWebSocket()
        clientListener.assertFailure(
          101,
          null,
          ProtocolException::class.java,
          "Expected 'Connection' header value 'Upgrade' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongConnectionHeader() {
        webServer.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. docs/recipes.md

    When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the headers already present.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top