Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 174 for currentTimeMillis (0.11 seconds)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                final boolean forceSigning) {
            this.transportContext = tc;
    
            this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced();
            this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout();
    
            this.address = address;
            this.port = port;
            this.localAddr = localAddr;
            this.localPort = localPort;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final CoordinatorHelper helper = createCapturingHelper("node1@host1", null, capturedBody, createMockResponse(200, "{}"));
    
            final long before = System.currentTimeMillis();
            helper.sendHeartbeat();
            final long after = System.currentTimeMillis();
    
            assertNotNull(capturedBody.get());
            final Map<String, Object> body = coordinatorHelper.parseJson(capturedBody.get());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            assertEquals("false", config.getApiJsonResponseExceptionIncluded());
        }
    
        // Test error code generation
        @Test
        public void test_errorCodeGeneration() {
            long timestamp = System.currentTimeMillis();
            String errorCode = "error_code:" + Long.toHexString(timestamp);
    
            assertTrue(errorCode.startsWith("error_code:"));
            assertTrue(errorCode.length() > 11); // "error_code:" is 11 chars
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/MockWitnessService.java

                this.registrationId = registrationId;
                this.shareName = shareName;
                this.serverAddress = serverAddress;
                this.flags = flags;
                this.timestamp = System.currentTimeMillis();
            }
        }
    
        /**
         * Start the mock witness service
         *
         * @throws IOException if service startup fails
         */
        public void start() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

         * @param resultData The result data from content processing.
         */
        @Override
        public void init(final ResponseData responseData, final ResultData resultData) {
    
            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
                BeanUtil.copyBeanToBean(responseData, this);
            }
    
            final OpenSearchAccessResultData accessResultData = new OpenSearchAccessResultData();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                this.attributes = info.getAttributes() & ATTR_GET_MASK;
                this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
    
                this.size = info.getSize();
                this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                return (T) createResp.getNextResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

            private final AtomicInteger activeConnections = new AtomicInteger(0);
            private volatile boolean isHealthy = true;
            private volatile long lastHealthCheck = System.currentTimeMillis();
    
            public ChannelInfo(String channelId, InetAddress localAddress, InetAddress remoteAddress, NetworkInterface networkInterface,
                    SmbTransportImpl transport) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        void testWriteUTimeWithDST() {
            when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone);
    
            byte[] dst = new byte[4];
            long testTime = System.currentTimeMillis();
    
            // Test when both current time and test time are in DST
            when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true);
            SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    mappingWriter.write(output, metadata.getDelegate());
                }
            } else {
                metadataFile.setLastModified(System.currentTimeMillis());
            }
        }
    
        @Override
        public String toString() {
            return "repository metadata for: '" + getKey() + "'";
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

            if (DOMAIN == null) {
                throw new SmbException("A domain was not specified");
            }
            synchronized (DOMAIN) {
                final long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
                    if (dc_list_expiration < now) {
                        final NbtAddress[] list = NbtAddress.getAllByName(DOMAIN, 0x1C, null, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top