- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 69 for writeFile (0.1 sec)
-
src/bufio/bufio_test.go
rfw := &readFromWriter{} w := NewWriterSize(rfw, bufsize) const writeSize = 8 if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil { t.Errorf("w.Write(%v bytes) = %v, %v; want %v, nil", writeSize, n, err, writeSize) } n, err := w.ReadFrom(bytes.NewReader(input[writeSize:])) if wantn := len(input[writeSize:]); int(n) != wantn || err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K 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/xl-storage-format-v2_gen.go
} if (zb0001Mask & 0x1) == 0 { // if not omitted // write "V2Obj" err = en.Append(0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a) if err != nil { return } if z.ObjectV2 == nil { err = en.WriteNil() if err != nil { return } } else { // map header, size 1 // write "DDir" err = en.Append(0x81, 0xa4, 0x44, 0x44, 0x69, 0x72) if err != nil { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} // The code below is exactly the same for each write entry type. volatile long writeTime = Long.MAX_VALUE; @Override public long getWriteTime() { return writeTime; } @Override public void setWriteTime(long time) { this.writeTime = time; } // Guarded By Segment.this @Weak ReferenceEntry<K, V> nextWrite = nullEntry();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
if z.Data == nil { // allownil: if nil err = en.WriteNil() if err != nil { return } } else { err = en.WriteBytes(z.Data) if err != nil { err = msgp.WrapError(err, "Data") return } } err = en.WriteInt(z.NumVersions) if err != nil { err = msgp.WrapError(err, "NumVersions") return } err = en.WriteTime(z.SuccessorModTime) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
if err != nil { return } err = en.WriteTime(z.CreatedAfter) if err != nil { err = msgp.WrapError(err, "CreatedAfter") return } // write "CreatedBefore" err = en.Append(0xad, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65) if err != nil { return } err = en.WriteTime(z.CreatedBefore) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
if err != nil { return } err = en.WriteTime(z.Started) if err != nil { err = msgp.WrapError(err, "Started") return } // write "LastUpdate" err = en.Append(0xaa, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65) if err != nil { return } err = en.WriteTime(z.LastUpdate) if err != nil { err = msgp.WrapError(err, "LastUpdate") return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
} private fun upload( chunked: Boolean, size: Int, writeSize: Int, ) { server.enqueue(MockResponse()) executeSynchronously( Request( url = server.url("/"), body = requestBody(chunked, size.toLong(), writeSize), ), ) } /** https://github.com/square/okhttp/issues/2344 */ @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
err = msgp.WrapError(err, "Source") return } // write "Quorum" err = en.Append(0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d) if err != nil { return } if z.Quorum == nil { err = en.WriteNil() if err != nil { return } } else { err = en.WriteInt(*z.Quorum) if err != nil { err = msgp.WrapError(err, "Quorum") return } } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
int hi = readInt4( src, srcIndex + 4 ); long t = ((long)hi << 32L ) | (low & 0xFFFFFFFFL); t = ( t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601 ); return t; } static void writeTime( long t, byte[] dst, int dstIndex ) { if( t != 0L ) { t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L; } writeInt8( t, dst, dstIndex ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 21K bytes - Viewed (0)