- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 589 for encodeTo (0.06 sec)
-
internal/bucket/object/lock/lock.go
if err != nil { return ErrInvalidRetentionDate } *rDate = RetentionDate{retDate} return nil } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (rDate RetentionDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if rDate.IsZero() { return nil } return e.EncodeElement(amztime.ISO8601Format(rDate.Time), startElement) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
cmd/site-replication-metrics_gen_test.go
func TestEncodeDecodeRStat(t *testing.T) { v := RStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeRStat Msgsize() is inaccurate") } vn := RStat{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 12.9K bytes - Viewed (0) -
internal/grid/msg_gen_test.go
v := connectReq{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeconnectReq Msgsize() is inaccurate") } vn := connectReq{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 12.9K bytes - Viewed (0) -
docs/bucket/versioning/DESIGN.md
UsesDataDir = 1 << 1 InlineData = 1 << 2 ) ``` The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array of the previous version. ## Inline Data Inline data is optional. If no inline data is present, it is encoded as 0 bytes. | Entry | Encoding | Content
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 5.8K bytes - Viewed (0) -
cmd/storage-rest-common_gen_test.go
v := nsScannerOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate") } vn := nsScannerOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 4.6K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
{" a b c ", "a b c"}, {"a \t b c ", "a b c"}, {"\"a \t b c ", "\"a b c"}, {" \t\n\u000b\r\fa \t\n\u000b\r\f b \t\n\u000b\r\f c \t\n\u000b\r\f", "a b c"}, } // Tests generated values from url encoded name. for i, testCase := range testCases { result := signV4TrimAll(testCase.inputStr) if testCase.result != result {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
public static String getSyntax() { return "4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0"; } public static class ShareInfo0 extends NdrObject { public String netname; public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(netname, 1); if (netname != null) { _dst = _dst.deferred;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 18.4K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
v := rebalanceInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecoderebalanceInfo Msgsize() is inaccurate") } vn := rebalanceInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 11K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to * be an empty line at the end if the contents are terminated with a line separator. * * <p>Any {@link ByteSource} containing text encoded with a specific {@linkplain Charset character * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* * b0 * -- * * The inclusive start of the range. We get the first 14 bits of this code point from the section * and the last 7 bits from this byte. * * The end of the range is not encoded, but can be inferred by looking at the start of the range * that follows. * * b1 * -- * * This is either a mapping decision or the length of the mapped output, according to this table: * * ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 11:39:58 UTC 2024 - 9K bytes - Viewed (0)