Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,790 for threw (0.04 sec)

  1. guava/src/com/google/common/collect/TreeMultiset.java

       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
       * user attempts to add an element to the multiset that violates this constraint (for example, the
       * user attempts to add a string element to a set whose elements are integers), the {@code
       * add(Object)} call will throw a {@code ClassCastException}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

        }
    
        @Nonnull
        public Session getSession() {
            return session;
        }
    
        public static <T> T nonNull(T obj, String message) {
            if (obj == null) {
                throw new IllegalArgumentException(message);
            }
            return obj;
        }
    
        protected static <T> Collection<T> unmodifiable(Collection<T> obj) {
            return obj != null && !obj.isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

        if (!from.renameTo(to)) {
          copy(from, to);
          if (!from.delete()) {
            if (!to.delete()) {
              throw new IOException("Unable to delete " + to);
            }
            throw new IOException("Unable to delete " + from);
          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

       */
      @VisibleForTesting @CheckForNull transient @Nullable Object[] elements;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/date.js

    e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=l[0]&&k<=l[1]},errorMessage:"",errorMessageKey:"badDate"})}(a)});...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

      private final Object[] queries = new Object[0x1000];
    
      @BeforeExperiment
      void setUp() {
        if (emptySetProportion + singletonSetProportion > 1.01) {
          throw new SkipThisScenarioException();
        }
    
        Random rng = new Random();
        for (int i = 0; i < 0x1000; i++) {
          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableAsList.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new SerializedForm(delegateCollection());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 24 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            this.authorizations = new ArrayList<>();
            Enumeration<?> authElements = authSequence.getObjects();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

    public class SimpleArtifactMetadataSource implements ArtifactMetadataSource {
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
            throw new UnsupportedOperationException("Cannot retrieve metadata in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top