Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 2,742 for throws (0.05 sec)

  1. guava/src/com/google/common/cache/LongAdder.java

      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
        busy = 0;
        cells = null;
        base = s.readLong();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (Artifact.RELEASE_VERSION.equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
    
                    if (Artifact.RELEASE_VERSION.equals(version)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

    import groovy.lang.Binding;
    import groovy.lang.GroovyClassLoader;
    import groovy.lang.GroovyShell;
    
    public class DocBoostMatcherTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ScriptEngineFactory scriptEngineFactory = new ScriptEngineFactory();
            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            new AbstractScriptEngine() {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableEnumMap.java

      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
      @J2ktIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/ChecksumHashFunction.java

            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              throwIfUnchecked(e);
              // This should be impossible, since `update` has no `throws` clause.
              throw new UndeclaredThrowableException(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/SpnegoToken.java

            this.mechanismListMIC = mechanismListMIC;
        }
    
    
        public abstract byte[] toByteArray ();
    
    
        protected abstract void parse ( byte[] token ) throws IOException;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlTest.java

                assertTrue(content.length() > 0);
            }, e -> {
                logger.log(Level.SEVERE, "error", e);
                fail();
            });
        }
    
        /*
        @Test
        public void test_Get_ssl() throws Exception {
            final String filename = "config/certs/http_ca.crt";
            try (InputStream in = new FileInputStream(filename)) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

      String queueType;
    
      @Param boolean useMonitor;
    
      private BlockingQueue<String> queue;
      private String[] strings;
    
      @BeforeExperiment
      @SuppressWarnings("unchecked")
      void setUp() throws Exception {
        String prefix =
            (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.");
        String className = prefix + queueType + "BlockingQueue";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RecordingCallback.kt

        val body = response.body.string()
        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    
      /**
       * Returns the recorded response triggered by `request`. Throws if the response isn't
       * enqueued before the timeout.
       */
      @Synchronized
      fun await(url: HttpUrl): RecordedResponse {
        val timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top