- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 376 for cbuf (0.03 sec)
-
cmd/last-minute_gen_test.go
v := AccElem{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeAccElem Msgsize() is inaccurate") } vn := AccElem{} 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 Jul 05 21:45:49 UTC 2022 - 6.8K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
BucketOptions HeaderSize int } // Read implements a throttled read func (r *MonitoredReader) Read(buf []byte) (n int, err error) { if r.throttle == nil { return r.r.Read(buf) } if r.lastErr != nil { err = r.lastErr return } b := r.throttle.Burst() // maximum available tokens need := len(buf) // number of bytes requested by caller hdr := r.opts.HeaderSize // remaining header bytes
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
} buf.append(',').append('"').append(FieldNames.FIELDS).append("\":").append(convertJsonStrings(fields)); buf.append(',').append('"').append(FieldNames.TAGS).append("\":").append(convertJsonStrings(tags)); buf.append(',').append('"').append(FieldNames.ROLES).append("\":").append(convertJsonStrings(roles));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
final StringBuilder buf = new StringBuilder(100); buf.append("{\"@timestamp\":\"").append(valueMap.remove("time")).append('"'); buf.append(",\"log.level\":\"INFO\""); buf.append(",\"ecs.version\":\"").append(ecsVersion).append('"'); buf.append(",\"service.name\":\"").append(ecsServiceName).append('"'); buf.append(",\"event.dataset\":\"").append(ecsEventDataset).append('"');
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
int lcm = lcm(outlen, data.length); byte[] buf = new byte[outlen]; int carry = 0; for ( int i = lcm - 1; i >= 0; i-- ) { carry = carry_add(data, buf, carry, i); } if ( carry != 0 ) { for ( int i = outlen - 1; i >= 0; i-- ) { carry += ( buf[ i ] & 0xff ); buf[ i ] = (byte) ( carry & 0xff ); carry >>>= 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
func xlMetaV2TrimData(buf []byte) []byte { metaBuf, min, maj, err := checkXL2V1(buf) if err != nil { return buf } if maj == 1 && min < 1 { // First version to carry data. return buf } // Skip header _, metaBuf, err = msgp.ReadBytesZC(metaBuf) if err != nil { storageLogIf(GlobalContext, err) return buf } // Skip CRC if maj > 1 || min >= 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/asm/main.go
defer ctxt.Bso.Flush() architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil { log.Fatal(err) } defer buf.Close() if !*flags.SymABIs { buf.WriteString(objabi.HeaderString()) fmt.Fprintf(buf, "!\n") } // Set macros for GOEXPERIMENTs so we can easily switch // runtime assembly code based on them.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.9K bytes - Viewed (0) -
src/bytes/buffer.go
// The zero value for Buffer is an empty buffer ready to use. type Buffer struct { buf []byte // contents are the bytes buf[off : len(buf)] off int // read at &buf[off], write at &buf[len(buf)] lastRead readOp // last read operation, so that Unread* can work correctly. } // The readOp constants describe the last action performed on
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/ProfileUtil.java
} if (!list.isEmpty()) { final StringBuilder buf = new StringBuilder(); for (final String value : list) { if (buf.length() > 0) { buf.append(','); } buf.append(value); } System.setProperty(SPRING_PROFILES_ACTIVE, buf.toString()); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 1.9K bytes - Viewed (0)