Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for createName (0.11 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            private final int attributes;
            private final long createTime;
            private final long lastWriteTime;
            private final long lastAccessTime;
            private final long size;
    
            TestInfo(int attributes, long createTime, long lastWriteTime, long lastAccessTime, long size) {
                this.attributes = attributes;
                this.createTime = createTime;
                this.lastWriteTime = lastWriteTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        private final int fid;
        private final int attributes;
        private final long createTime, lastWriteTime;
    
        Trans2SetFileInformation(final int fid, final int attributes, final long createTime, final long lastWriteTime) {
            this.fid = fid;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            when(mock.getAttributes()).thenReturn(128);
            when(mock.createTime()).thenReturn(1_500L);
            when(mock.lastModified()).thenReturn(1_800L);
            when(mock.length()).thenReturn(100L);
    
            assertEquals("test.txt", mock.getName());
            assertEquals(1, mock.getType());
            assertEquals(128, mock.getAttributes());
            assertEquals(1_500L, mock.createTime());
            assertEquals(1_800L, mock.lastModified());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top