Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 601 for negative (0.04 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      public static <E extends @Nullable Object> CompactLinkedHashSet<E> createWithExpectedSize(
          int expectedSize) {
        return new CompactLinkedHashSet<>(expectedSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    			return ErrInvalidEncodingMethod
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Out of range offset
            PagingList<CharMappingItem> result4 = charMappingFile.selectList(10, 2);
            assertEquals(0, result4.size());
            assertEquals(3, result4.getAllRecordCount());
    
            // Negative offset
            PagingList<CharMappingItem> result5 = charMappingFile.selectList(-1, 2);
            assertEquals(0, result5.size());
            assertEquals(3, result5.getAllRecordCount());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/PercentEscaper.java

          }
        }
        return s;
      }
    
      /** Escapes the given Unicode code point in UTF-8. */
      @Override
      protected char @Nullable [] escape(int cp) {
        // We should never get negative values here but if we do it will throw an
        // IndexOutOfBoundsException, so at least it will get spotted.
        if (cp < safeOctets.length && safeOctets[cp]) {
          return null;
        } else if (cp == ' ' && plusForSpace) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

             * @param h1 the first hour
             * @param m1 the first minute
             * @param h2 the second hour
             * @param m2 the second minute
             * @return positive if first time is earlier, 0 if equal, negative if later
             */
            protected int compareTime(final int h1, final int m1, final int h2, final int m2) {
                if (h1 < h2) {
                    return 1;
                }
                if (h1 == h2) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test zero version
            EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent();
            assertEquals(Long.valueOf(0L), emptyEvent.getVersionNo());
    
            // Test negative version
            event.setVersionNo(-1L);
            assertEquals(Long.valueOf(-1L), event.getVersionNo());
    
            // Test max version
            event.setVersionNo(Long.MAX_VALUE);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with negative value")
        void testSetTidWithNegativeValue() {
            // Given
            int tid = -1;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
        }
    
        /**
         * Execute a callable through the circuit breaker
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @return the result
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals((byte) 0x00, buffer[1]);
            assertEquals((byte) 0x00, buffer[2]);
            assertEquals((byte) 0x00, buffer[3]);
        }
    
        @Test
        @DisplayName("Should handle negative FID values")
        void testNegativeFid() {
            // Arrange
            int negativeFid = -1;
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, negativeFid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            )
            if (dateCharacter == !invert) return i
          }
          return limit
        }
    
        /**
         * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or
         * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE].
         *
         * @throws NumberFormatException if [s] is not an integer of any precision.
         */
        private fun parseMaxAge(s: String): Long {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top