Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,790 for threw (0.04 sec)

  1. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch(2, integerSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPair.java

        private Unordered(N nodeU, N nodeV) {
          super(nodeU, nodeV);
        }
    
        @Override
        public N source() {
          throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED);
        }
    
        @Override
        public N target() {
          throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED);
        }
    
        @Override
        public boolean isOrdered() {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        TestService service =
            new TestService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                throw exception;
              }
            };
        assertEquals(0, service.startUpCalled);
        RuntimeException e =
            assertThrows(RuntimeException.class, () -> service.startAsync().awaitRunning());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

          collection.retainAll(target.toRetain);
          String message = Platform.format("retainAll(%s) should throw", target);
          fail(message);
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private void expectReturnsFalseOrThrows(Target target) {
        String message = Platform.format("retainAll(%s) should return false or throw", target);
        try {
          assertFalse(message, collection.retainAll(target.toRetain));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            synchronized( lock ) {
                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      public K firstKey() {
        Entry<K, V> entry = firstEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun getName(): String = "IntegrationTestFixtures"
    
        override fun getPriority(): Int = 1
    
        override fun setPriority(priority: Int) {
            throw UnsupportedOperationException()
        }
    
        override fun setName(name: String?) {
            throw UnsupportedOperationException()
        }
    
        override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId {
        return suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

        Socket result = createSocket();
    
        try {
          result.connect(new InetSocketAddress(host, port));
        } catch (IOException e) {
          result.close();
          throw e;
        }
        return result;
      }
    
      @Override public Socket createSocket(
          String host, int port, InetAddress localHost, int localPort) throws IOException {
        return createSocket(host, port);
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 03 21:33:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top