Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,652 for throwIf (0.11 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultiset(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt

    class QueueDispatcher : Dispatcher() {
      internal val delegate = QueueDispatcher()
    
      @Throws(InterruptedException::class)
      override fun dispatch(request: RecordedRequest): MockResponse {
        throw UnsupportedOperationException("unexpected call")
      }
    
      override fun peek(): MockResponse {
        throw UnsupportedOperationException("unexpected call")
      }
    
      fun enqueueResponse(response: MockResponse) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
        throw up();
      }
    
      private static UnsupportedOperationException up() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * otherwise.
       */
      @Throws(IOException::class)
      internal fun planWithCurrentOrInitialConnectionSpec(
        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan {
        if (connectionSpecIndex != -1) return this
        return nextConnectionSpec(connectionSpecs, sslSocket)
          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                    ioe.printStackTrace(log);
                if (strictView && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException)ioe;
                }
            }
            return null;
        }
        public boolean isTrustedDomain(String domain,
                        NtlmPasswordAuthentication auth) throws SmbAuthException
        {
            HashMap domains = getTrustedDomains(auth);
            if (domains == null)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                } catch (XMLStreamException e) {
                    throw new RuntimeException("Error parsing: " + pom, e);
                }
            }
            return i;
        }
    
        /**
         * <p>main.</p>
         *
         * @param args a {@link String} object.
         * @throws org.openjdk.jmh.runner.RunnerException if any.
         */
        public static void main(String... args) throws RunnerException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      private Target nullSingleton;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    
        empty = new Target(emptyCollection(), "empty");
        /*
         * We test that nullSingleton.retainAll(disjointList) does NOT throw a
         * NullPointerException when disjointList does not, so we can't use
         * MinimalCollection, which throws NullPointerException on calls to
         * contains(null).
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testScanFromFile_notJarFile() throws IOException {
        ClassLoader classLoader = ClassPathTest.class.getClassLoader();
        File notJar = File.createTempFile("not_a_jar", "txt");
        try {
          assertThat(new ClassPath.LocationInfo(notJar, classLoader).scanResources()).isEmpty();
        } finally {
          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSequenceReader.java

      public synchronized void mark(int readAheadLimit) throws IOException {
        checkArgument(readAheadLimit >= 0, "readAheadLimit (%s) may not be negative", readAheadLimit);
        checkOpen();
        mark = pos;
      }
    
      @Override
      public synchronized void reset() throws IOException {
        checkOpen();
        pos = mark;
      }
    
      @Override
      public synchronized void close() throws IOException {
        seq = null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSequenceReader.java

      public synchronized void mark(int readAheadLimit) throws IOException {
        checkArgument(readAheadLimit >= 0, "readAheadLimit (%s) may not be negative", readAheadLimit);
        checkOpen();
        mark = pos;
      }
    
      @Override
      public synchronized void reset() throws IOException {
        checkOpen();
        pos = mark;
      }
    
      @Override
      public synchronized void close() throws IOException {
        seq = null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top