Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 419 for negate (0.11 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initCollectionWithNullElement();
        try {
          assertSetCount(null, 1);
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      // Negative count.
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSetCount_negative_removeSupported() {
        assertThrows(IllegalArgumentException.class, () -> setCountNoCheckReturnValue(e3(), -1));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/pager/JobLogPager.java

        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of items per page.
         * If the page size is not set or is zero or negative, returns the default page size.
         *
         * @return the number of items per page
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(Integer.MAX_VALUE, negotiationResponse.getReceiveBufferSize());
            assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize());
    
            // Test negative values (though not typical, should be tested)
            when(negotiationResponse.getSendBufferSize()).thenReturn(-1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should handle negative offset in verify method")
            void testVerifyNegativeOffset() {
                byte[] data = new byte[128];
                boolean result = digest.verify(data, -1, 100, 0, response);
                assertFalse(result, "Should return false for negative offset");
            }
    
            @Test
            @DisplayName("Should handle negative length in verify method")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @Override
      public final int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        int entryIndex = backingMap.indexOf(element);
        if (entryIndex == -1) {
          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/math/LongMath.java

          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:
       *
       * {@snippet :
       * mod(7, 4) == 3
       * mod(-7, 4) == 1
       * mod(-1, 4) == 3
       * mod(-8, 4) == 0
       * mod(8, 4) == 0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/response-model.md

    ### `response_model` ou Tipo de Retorno { #response-model-or-return-type }
    
    Neste caso, como os dois modelos são diferentes, se anotássemos o tipo de retorno da função como `UserOut`, o editor e as ferramentas reclamariam que estamos retornando um tipo inválido, pois são classes diferentes.
    
    É por isso que neste exemplo temos que declará-lo no parâmetro `response_model`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(1, config.getChannelBindingPolicy());
        }
    
        @Test
        void testEdgeCaseValues() throws CIFSException {
            Properties props = new Properties();
    
            // Test zero and negative values
            props.setProperty("jcifs.smb.client.maxChannels", "0");
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(4, config.getMaxChannels()); // Should use default when 0
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top