Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 613 for IllegalArgumentException (0.12 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

         * 
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to parse OID", e);
            }
        }
    
        private NtlmPasswordAuthenticator auth;
        private int ntlmsspFlags;
        private String workstation;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
        verifyTableSize(100, 2, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
        Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.repeat("", 4));
    
        for (int i = 0; i < 100; ++i) {
          assertEquals(2 * i, Strings.repeat(input, i).length());
        }
    
        assertThrows(IllegalArgumentException.class, () -> Strings.repeat("x", -1));
        assertThrows(
            ArrayIndexOutOfBoundsException.class, () -> Strings.repeat("12345678", (1 << 30) + 3));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        return (frequency == null) ? 0 : frequency.get();
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the call would result in more than {@link
       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>The returned range map supports all optional operations that this range map supports, except
       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        this.entries = entries;
        this.mask = mask;
        this.hashCode = hashCode;
      }
    
      // checkNoConflictInKeyBucket is static imported from RegularImmutableMap
    
      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

                } else if (!(USER_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) {
                    throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + GLOBAL_LEVEL + "}");
                } else {
                    this.sourceLevel = sourceLevel;
                    this.sourceLevelSet = true;
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      private final ImmutableList<Service> services;
    
      /**
       * Constructs a new instance for managing the given services.
       *
       * @param services The services to manage
       * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there
       *     are any duplicate services.
       */
      public ServiceManager(Iterable<? extends Service> services) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top