Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for ctime (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/TestLocking.java

                do {
                    delay = 2L;
    
                    synchronized (t) {
                        final long expire = t.ltime + t.delay;
                        final long ctime = System.currentTimeMillis();
    
                        if (expire > ctime) {
                            delay = expire - ctime;
                        }
                    }
    
                    if (delay > 2) {
                        logger.debug("delay={}", delay);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        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),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{"-", time.Time{}, false},
    		{"+", time.Time{}, false},
    		{"-1.-1", time.Time{}, false},
    		{"99999999999999999999999999999999999999999999999", time.Time{}, false},
    		{"0.123456789abcdef", time.Time{}, false},
    		{"foo", time.Time{}, false},
    		{"\x00", time.Time{}, false},
    		{"đŸĩđŸ´đŸŗđŸ˛đŸą.đŸ°đŸ¯đŸŽđŸ­đŸŦ", time.Time{}, false}, // Unicode numbers (U+1D7EC to U+1D7F5)
    		{"98765īš’43210", time.Time{}, false}, // Unicode period (U+FE52)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

        }
    
        /**
         * Build a basic CREATE response body without create contexts.
         */
        private static byte[] buildCreateBodyNoContexts(byte oplock, byte openFlags, int createAction, long ctime, long atime, long mtime,
                long chtime, long allocSize, long eof, int attrs, byte[] fileId) {
            byte[] body = new byte[2 + 2 + 4 + 8 + 8 + 8 + 8 + 8 + 8 + 4 + 4 + 16 + 4 + 4];
            int i = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    				"mtime": "1350244992.023960108",
    				"atime": "1350244992.023960108",
    				"ctime": "1350244992.023960108",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:       "a/b",
    			Mode:       0777,
    			Uid:        1000,
    			Gid:        1000,
    			Uname:      "shane",
    			Gname:      "shane",
    			Size:       0,
    			ModTime:    time.Unix(1350266320, 910238425),
    			ChangeTime: time.Unix(1350266320, 910238425),
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    			},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    			// atime and ctime fields (e.g., when they are valid octal strings),
    			// then it is impossible to distinguish between a valid GNU file
    			// and an invalid pre-Go1.8 file.
    			//
    			// See https://golang.org/issues/12594
    			// See https://golang.org/issues/21005
    			if p2.err != nil {
    				hdr.AccessTime, hdr.ChangeTime = time.Time{}, time.Time{}
    				ustar := tr.blk.toUSTAR()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. 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");
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    	//
    	// To use AccessTime or ChangeTime, specify the Format as PAX or GNU.
    	// To use sub-second resolution, specify the Format as PAX.
    	ModTime    time.Time // Modification time
    	AccessTime time.Time // Access time (requires either PAX or GNU support)
    	ChangeTime time.Time // Change time (requires either PAX or GNU support)
    
    	Devmajor int64 // Major device number (valid for TypeChar or TypeBlock)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public void setCreateTime(final long time) throws SmbException {
            if (getUncPath0().length() == 1) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            setPathInformation(0, time, 0L);
        }
    
        /**
         * Set the last modified time of the file. The time is specified as milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top