Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1271 - 1280 of 3,637 for throwIf (0.06 seconds)

  1. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

            .hasMessageThat()
            .isEqualTo("end index (0) must not be less than start index (1)");
      }
    
      @GwtIncompatible // Reflection
      @J2ktIncompatible
      public void testAllOverloads_checkArgument() throws Exception {
        for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkArgument", sig.toArray(new Class<?>[] {}));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

            .hasMessageThat()
            .isEqualTo("end index (0) must not be less than start index (1)");
      }
    
      @GwtIncompatible // Reflection
      @J2ktIncompatible
      public void testAllOverloads_checkArgument() throws Exception {
        for (ImmutableList<Class<?>> sig : allSignatures(boolean.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkArgument", sig.toArray(new Class<?>[] {}));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

        /**
         * Gets a buffer from the cache or creates a new one if the cache is empty.
         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. docs/smb3-features/04-directory-leasing-design.md

            }
        }
    }
    
    @Override
    protected void doConnect() throws IOException {
        // Request directory lease for directories
        if (isDirectory()) {
            requestDirectoryLease();
        }
        
        // Continue with normal connection logic
        super.doConnect();
    }
    
    @Override
    public void close() throws IOException {
        try {
            super.close();
        } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            @Override
            public FileVisitResult preVisitDirectory(final Path dir, final BasicFileAttributes attrs) throws IOException {
                return FileVisitResult.CONTINUE;
            }
    
            @Override
            public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * then the behavior depends on the {@code ProjectManager} implementation.
         * It may do nothing or thrown {@linkplain IllegalArgumentException}.
         *
         * @param project the project to update
         * @param source the source to add
         * @throws IllegalArgumentException if this project manager rejects the given source because of conflict
         *
         * @see #getSourceRoots(Project)
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(context.size(), encoded);
            }
    
            @Test
            @DisplayName("Should encode and decode correctly")
            void testEncodeAndDecode() throws SMBProtocolDecodingException {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 2, 3 };
                byte[] salt = new byte[32];
                new SecureRandom().nextBytes(salt);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Throwable cause = e.getCause();
          if (policy.isExpectedType(cause)) {
            return;
          }
          throw new AssertionError(
              String.format(
                  "wrong exception thrown from %s when passing null to %s parameter at index %s.%n"
                      + "Full parameters: %s%n"
                      + "Actual exception message: %s",
                  invokable,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class AuthenticationManagerTest extends UnitFessTestCase {
    
        private AuthenticationManager authenticationManager;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top