Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 373 for negation (0.7 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // The implementation reads values as signed integers and stores them as long
            // Negative values remain negative when stored in long fields
            // The calculations will result in negative values
            long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect;
            assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

                bufferOverflowsPrevented.incrementAndGet();
                throw new SmbException("Negative offset: " + offset);
            }
    
            if (length < 0) {
                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
                throw new SmbException("Negative length: " + length);
            }
    
            // Check for integer overflow
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. generics.go

    						} else {
    							db.AddError(fmt.Errorf("relation %s not found", association))
    							return nil
    						}
    					}
    				} else {
    					db.AddError(fmt.Errorf("relation %s not found", association))
    					return nil
    				}
    			}
    
    			if q.limitPerRecord > 0 {
    				if relation.JoinTable != nil {
    					tx.AddError(fmt.Errorf("many2many relation %s don't support LimitPerRecord", association))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/QueryResponseList.java

         *
         * @return the total record count
         */
        public long getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Gets the relation type for the total record count.
         *
         * @return the relation type (e.g., "eq" for exact count, "gte" for greater than or equal)
         */
        public String getAllRecordCountRelation() {
            return allRecordCountRelation;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

     * parameter word (the session identifier) is written in little‑endian form
     * and that the {@code toString} helper contains the expected values.
     *
     * <p>The tests also exercise edge cases such as negative (wrap‑around) session
     * identifiers and confirm that the writer does not alter any internal state.
     *</p>
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComFindClose2Test {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

        /**
         * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it
         * will not be used and a network request will be made.
         *
         * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS]
         *     precision; finer precision will be lost.
         */
        fun maxAge(maxAge: Duration) =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> initialCapacity(int initialCapacity) {
        checkState(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        @DisplayName("Test edge case with minimum/negative values")
        void testMinimumValues() {
            // Given
            long negativeMid = -1L;
            long negativeAsyncId = -1L;
    
            // When
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, negativeMid, negativeAsyncId);
    
            // Then
            assertEquals(negativeMid, request.getMid(), "Should handle negative MID");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonnegative(long value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top