- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for writeTime (0.08 sec)
-
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
int start = dstIndex; SMBUtil.writeTime(this.createTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.changeTime, dst, dstIndex); dstIndex += 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
return dstIndex - start; } int writeDataWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; writeTime( createTime, dst, dstIndex ); dstIndex += 8; writeInt8( 0L, dst, dstIndex ); dstIndex += 8; writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8; writeInt8( 0L, dst, dstIndex ); dstIndex += 8; /* Samba 2.2.7 needs ATTR_NORMAL */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.1K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
long t = ( (long) hi << 32L ) | ( low & 0xFFFFFFFFL ); t = ( t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ); return t; } public static void writeTime ( long t, byte[] dst, int dstIndex ) { if ( t != 0L ) { t = ( t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000L; } writeInt8(t, dst, dstIndex); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5K bytes - Viewed (0) -
cmd/mrf_gen.go
if err != nil { err = msgp.WrapError(err, "PoolIndex") return } // write "Queued" err = en.Append(0xa6, 0x51, 0x75, 0x65, 0x75, 0x65, 0x64) if err != nil { return } err = en.WriteTime(z.Queued) if err != nil { err = msgp.WrapError(err, "Queued") return } // write "BitrotScan" err = en.Append(0xaa, 0x42, 0x69, 0x74, 0x72, 0x6f, 0x74, 0x53, 0x63, 0x61, 0x6e) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/os-readdir_test.go
if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue") if err := os.WriteFile(file, []byte(""), 0o644); err != nil { t.Fatal(err) } defer os.RemoveAll(file) // Check if file is given. if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
internal/store/queuestore.go
if err = enc.Encode(items[i]); err != nil { return err } } path := filepath.Join(store.directory, key.String()) if key.Compress { err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770)) } else { err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770)) } buf.Reset() if err != nil { return err } // Increment the item count.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
ensureOpen(); if( file.log.level >= 4 ) file.log.println( "write: fid=" + file.fid + ",off=" + off + ",len=" + len ); int w; do { w = len > writeSize ? writeSize : len; if( useNTSmbs ) { reqx.setParam( file.fid, fp, len - w, b, off, w ); if ((flags & 1) != 0) { reqx.setParam( file.fid, fp, len, b, off, w ); reqx.writeMode = 0x8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
k8sServicePort = "443" kubeCAFilepath = "testdata/kube-ca.crt" saToken = "service_account_token_string" ) func TestCreateValidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) cases := []struct { name string expectedFailure bool k8sServiceProtocol string k8sServiceHost string k8sServicePort string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <li> <code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li> <code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0)