Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for utime (0.24 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

        /**
         * 
         * @param config
         * @param filename
         * @param attrs
         * @param mtime
         */
        public SmbComSetInformation ( Configuration config, String filename, int attrs, long mtime ) {
            super(config, SMB_COM_SET_INFORMATION, filename);
            this.fileAttributes = attrs;
            this.lastWriteTime = mtime;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Set the create time of the file. The time is specified as milliseconds
     * from Jan 1, 1970 which is the same as that which is returned by the
     * <tt>createTime()</tt> method.
     * <p/>
     * This method does not apply to workgroups, servers, or shares.
     *
     * @param time the create time as milliseconds since Jan 1, 1970
     */
        public void setCreateTime( long time ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                        assertEquals(time, f.lastAccess());
                        assertEquals(time, f.createTime());
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.java

            public int time_low;
            public short time_mid;
            public short time_hi_and_version;
            public byte clock_seq_hi_and_reserved;
            public byte clock_seq_low;
            public byte[] node;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

            return this.userLifetime;
        }
    
    
        /**
         * Set lifetime of current user.
         *
         * @param time
         *            the lifetime in seconds
         *
         */
        public void setUserLifeTime ( int time ) {
            this.userLifetime = time;
        }
    
    
        /**
         * Get lifetime of this context.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                        dh.send(req);
                    }
                    else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        // use the open file descriptor
                        dh.send(
                            new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TestLocking.java

                do {
                    delay = 2L;
    
                    synchronized (t) {
                        long expire = t.ltime + t.delay;
                        long ctime = System.currentTimeMillis();
    
                        if (expire > ctime)
                            delay = expire - ctime;
                    }
    
    if (delay > 2)
    System.out.println("delay=" + delay);
                    Thread.sleep(delay);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                            new Trans2SetFileInformationResponse(th.getConfig()),
                            RequestParam.NO_RETRY);
                    }
                }
                else {
                    if ( ctime != 0 || atime != 0 ) {
                        throw new SmbUnsupportedOperationException("Cannot set creation or access time without CAP_NT_SMBS");
                    }
    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)
Back to top