Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 607 for setRate (0.06 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. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            {
                xpathTransformer = new XpathTransformer();
                xpathTransformer.setName("xpathTransformer");
                Map<String, String> featureMap = newHashMap();
                featureMap.put("http://xml.org/sax/features/namespaces", "false");
                xpathTransformer.setFeatureMap(featureMap);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
            {
                xmlTransformer = new XmlTransformer();
                xmlTransformer.setName("xmlTransformer");
                Map<String, String> fieldRuleMap = newLinkedHashMap();
                fieldRuleMap.put("name", "//address/item/name");
                fieldRuleMap.put("access", "//address/item/access");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setRoles(toStringArray(source.get("roles")));
                result.setRoomNumber(DfTypeUtil.toString(source.get("roomNumber")));
                result.setState(DfTypeUtil.toString(source.get("state")));
                result.setStreet(DfTypeUtil.toString(source.get("street")));
                result.setSurname(DfTypeUtil.toString(source.get("surname")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/date.js

    h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

            this.roomNumber = value;
        }
    
        public String getState() {
            checkSpecifiedProperty("state");
            return convertEmptyToNull(state);
        }
    
        public void setState(String value) {
            registerModifiedProperty("state");
            this.state = value;
        }
    
        public String getStreet() {
            checkSpecifiedProperty("street");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

        public BinaryTransformer binaryTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            binaryTransformer = new BinaryTransformer();
            binaryTransformer.setName("binaryTransformer");
        }
    
        public void test_name() {
            assertEquals("binaryTransformer", binaryTransformer.getName());
        }
    
        public void test_transform() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top