Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for setDate (0.12 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/RateLimiter.java

       * passed in the factory method that produced this {@code RateLimiter}, and it is only updated
       * after invocations to {@linkplain #setRate}.
       */
      public final double getRate() {
        synchronized (mutex()) {
          return doGetRate();
        }
      }
    
      abstract double doGetRate();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * passed in the factory method that produced this {@code RateLimiter}, and it is only updated
       * after invocations to {@linkplain #setRate}.
       */
      public final double getRate() {
        synchronized (mutex()) {
          return doGetRate();
        }
      }
    
      abstract double doGetRate();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            Metadata result = new Metadata();
            Plugin plugin = new Plugin();
            plugin.setPrefix(pluginInfo.goalPrefix);
            plugin.setArtifactId(pluginInfo.artifactId);
            plugin.setName(pluginInfo.name);
            result.getPlugins().add(plugin);
            return result;
        }
    
        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
            case BLOCKED:
              Thread.yield();
              break;
            case WAITING:
              return;
            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        final String code = request.getParameter("code");
                        final String reqState = request.getParameter("state");
                        if (logger.isDebugEnabled()) {
                            logger.debug("code: {}, state(request): {}, state(session): {}", code, reqState, sesState);
                        }
                        if (sesState.equals(reqState) && StringUtil.isNotBlank(code)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setVersion(original.getVersion());
            this.setGoalPrefix(original.getGoalPrefix());
            this.setInheritedByDefault(original.isInheritedByDefault());
            this.setName(original.getName());
            this.setDescription(original.getDescription());
            this.setRequiredMavenVersion(original.getRequiredMavenVersion());
            this.setRequiredJavaVersion(original.getRequiredJavaVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
        }
    
        public void testToStringNotNonsense() {
            MailingList list = new MailingList();
            list.setName("modello-dev");
    
            String s = list.toString();
    
            assertEquals("MailingList {name=modello-dev, archive=null}", s);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      /** Creates a new {@link ThreadFactory} builder. */
      public ThreadFactoryBuilder() {}
    
      /**
       * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created
       * with this ThreadFactory.
       *
       * @param nameFormat a {@link String#format(String, Object...)}-compatible format String, to which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top