Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for Seamon (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is
       * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

        return new ArrayList<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements.
       *
       * <p><b>Note:</b> essentially the only reason to use this method is when you will need to add or
       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

     * tests are separate from {@link FinalizableReferenceQueueTest} so that they can be excluded from
     * coverage runs, as the coverage system interferes with them.
     *
     * @author Eamonn McManus
     */
    
    
    public class FinalizableReferenceQueueClassLoaderUnloadingTest extends TestCase {
    
      /*
       * The following tests check that the use of FinalizableReferenceQueue does not prevent the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        // TODO(jwilson): can I read the response body? Do I have to?
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

        CombinedFutureInterruptibleTask<?> localTask = task;
        if (localTask != null) {
          localTask.execute();
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        /*
         * If the output future is done, then it won't need to interrupt the task later, so it can clear
         * its reference to it.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        final int THREAD_PRIORITY = 1;
        final boolean THREAD_DAEMON = false;
        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
                thread.setDaemon(THREAD_DAEMON);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = this.getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            return 4;
        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.buildConsumer(session.getUserProperties())) {
                Path buildDir =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            return APP_TYPE;
        }
    
        @Override
        protected OptionalThing<String> myUserType() { // for framework
            return OptionalThing.of(USER_TYPE); // same reason as getUserBean()
        }
    
        // ===================================================================================
        //                                                                          Validation
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top