Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for currentTimeMillis (0.19 sec)

  1. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

            releasedVersionsFile.text == expectedFileContent
        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                ReactorContext reactorContext,
                MavenProject currentProject,
                TaskSegment taskSegment) {
            session.setCurrentProject(currentProject);
    
            long buildStartTime = System.currentTimeMillis();
    
            try {
    
                if (reactorContext.getReactorBuildStatus().isHaltedOrBlacklisted(currentProject)) {
                    eventCatapult.fire(ExecutionEvent.Type.ProjectSkipped, session, null);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * <code>user.home</code> システムプロパティ。
         */
        public static final String USER_HOME = System.getProperty("user.home");
    
        public static long currentTimeMillis() {
            // TODO provider
            return System.currentTimeMillis();
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return;
            }
            long expiration = -1;
            if ( this.transportContext.getConfig().getNetbiosCachePolicy() != SmbConstants.FOREVER ) {
                expiration = System.currentTimeMillis() + this.transportContext.getConfig().getNetbiosCachePolicy() * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry <T> extends CacheEntry<T> {
    
            /**
             * @param ttl
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                    this.lastAccess = info.getLastAccessTime();
                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/UuidUtil.java

         *
         * @return UUIDの文字列
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

         * [setCookie] is not a well-formed cookie.
         */
        @JvmStatic
        fun parse(
          url: HttpUrl,
          setCookie: String,
        ): Cookie? = parse(System.currentTimeMillis(), url, setCookie)
    
        internal fun parse(
          currentTimeMillis: Long,
          url: HttpUrl,
          setCookie: String,
        ): Cookie? {
          val cookiePairEnd = setCookie.delimiterOffset(';')
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val call = chain.call()
        val cacheCandidate = cache?.get(chain.request().requestForCache())
    
        val now = System.currentTimeMillis()
    
        val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute()
        val networkRequest = strategy.networkRequest
        val cacheResponse = strategy.cacheResponse
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

                this.repositoryUrl = repositoryUrl + '/';
            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
            this.transferStartTime = System.currentTimeMillis();
        }
    
        public String getRepositoryUrl() {
            return repositoryUrl;
        }
    
        public String getName() {
            String name = resource.getName();
    
            if (name == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top