Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 619 for Tate (0.25 sec)

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

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            final Date date = new Date(1);
            assertThat(new CopyOptions().convertValue(date, "aaa", Date.class), is((Object) date));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testDateConverter() throws Exception {
            assertThat(new CopyOptions().dateConverter("yyyyMMdd").convertValue(new java.util.Date(0), "aaa", String.class),
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    	// ErrUnknownWORMModeDirective - indicates that the retention mode is invalid
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

        }
    
        protected Date getLastModified(final Map<String, Object> dataMap, final ResponseData responseData) {
            final Object lastModifiedObj = dataMap.get(fessConfig.getIndexFieldLastModified());
            if (lastModifiedObj instanceof Date) {
                return (Date) lastModifiedObj;
            }
            if (lastModifiedObj instanceof String) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java

        private final Map<Object, LocalSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

            if (o instanceof Calendar) {
                return (Calendar) o;
            }
            final java.util.Date date = DateConversionUtil.toDate(o, pattern);
            if (date != null) {
                final Calendar cal = Calendar.getInstance();
                cal.setTime(date);
                return cal;
            }
            return null;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

                            "start_date": {
                                "type": "string",
                                "format": "date-time",
                                "title": "Start Date",
                            },
                        },
                        "type": "object",
                        "required": ["username", "monthly_fee", "start_date"],
                        "title": "Subscription",
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.4K bytes
    - Viewed (2)
Back to top