Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for createName (0.2 sec)

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

            GSSCredential clientCreds = null;
            Oid mechOid = JGSS_KRB5_MECH_OID;
            if (realm != null) {
                this.serviceName = manager.createName(service + "/" + host + "@" + realm, JGSS_KRB5_NAME_OID, mechOid);
            } else {
                this.serviceName = manager.createName(service + "@" + host, GSSName.NT_HOSTBASED_SERVICE, mechOid);
            }
    
            if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/Kerb5ContextTest.java

            mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager);
    
            // Setup mock behavior for GSSManager with lenient matchers
            lenient().when(gssManager.createName(anyString(), any(), any())).thenReturn(serviceName);
            lenient().when(gssManager.createName(anyString(), any())).thenReturn(serviceName);
            lenient().when(gssManager.createContext(any(), any(), any(), anyInt())).thenReturn(gssContext);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            dstIndex += 4;
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryFileBasicInfo[" + "createTime=" + new Date(this.createTime) + ",lastAccessTime=" + new Date(this.lastAccessTime)
                    + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",changeTime=" + new Date(this.changeTime) + ",attributes=0x"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

        class SmbQueryFileBasicInfo implements Info {
            long createTime;
            long lastAccessTime;
            long lastWriteTime;
            long changeTime;
            int attributes;
    
            @Override
            public int getAttributes() {
                return attributes;
            }
    
            @Override
            public long getCreateTime() {
                return createTime;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

         */
        @Override
        public Long getCreateTime() {
            return createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.entity.AccessResult#setCreateTime(java.sql.Long)
         */
        @Override
        public void setCreateTime(final Long createTime) {
            this.createTime = createTime;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

            this.path = path;
            this.createGuid = guid;
            this.fileId = Arrays.copyOf(fileId, 16);
            this.type = type;
            this.timeout = timeout;
            this.createTime = System.currentTimeMillis();
            this.lastAccessTime = createTime;
            this.leaseKey = leaseKey;
            this.reconnecting = false;
        }
    
        /**
         * Check if this handle has expired
         * @return true if expired
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> longGetterProvider() {
            return Stream.of(Arguments.of((LongGetter) FileEntry::createTime, -1L, "negative createTime"),
                    Arguments.of((LongGetter) FileEntry::createTime, 0L, "zero createTime"),
                    Arguments.of((LongGetter) FileEntry::createTime, Long.MAX_VALUE, "max createTime"),
    
                    Arguments.of((LongGetter) FileEntry::lastModified, -2L, "negative lastModified"),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            this.directoryPath = path;
            this.leaseKey = key;
            this.scope = scope;
            this.createTime = System.currentTimeMillis();
            this.lastUpdateTime = createTime;
            this.lastAccessTime = createTime;
            this.maxAge = 30000; // 30 seconds default
    
            this.children = new ConcurrentHashMap<>();
            this.lock = new ReentrantReadWriteLock();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setLastModified(null);
            assertNull(queue.getLastModified());
        }
    
        public void test_createTimeGetterSetter() {
            // Test createTime getter/setter
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
    
            Long timestamp = System.currentTimeMillis();
            queue.setCreateTime(timestamp);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.lastAccess()).thenReturn(currentTime - 1000);
                when(mockResource.createTime()).thenReturn(currentTime - 2000);
    
                // When
                long lastModified = mockResource.lastModified();
                long lastAccess = mockResource.lastAccess();
                long createTime = mockResource.createTime();
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
Back to top