- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,107 for len (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
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; } else { reqx.writeMode = 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
func (x *xlMetaV2) AppendTo(dst []byte) ([]byte, error) { // Header... sz := len(xlHeader) + len(xlVersionCurrent) + msgp.ArrayHeaderSize + len(dst) + 3*msgp.Uint32Size // Existing + Inline data sz += len(dst) + len(x.data) // Versions... for _, ver := range x.versions { sz += 32 + len(ver.meta) } if cap(dst) < sz { buf := make([]byte, len(dst), sz) copy(buf, dst) dst = buf }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
internal/kms/secret-key.go
func NewBuiltin(keyID string, key []byte) (*KMS, error) { if len(key) != 32 { return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key))) } return &KMS{ Type: Builtin, DefaultKey: keyID, conn: secretKey{ keyID: keyID, key: key, }, latencyBuckets: defaultLatencyBuckets, latency: make([]atomic.Uint64, len(defaultLatencyBuckets)), }, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
int len = super.decode(buffer, bufferIndex); if ( this.byteCount == 0 ) { // otherwise hasMore may not be correctly set readBytesWireFormat(buffer, len + bufferIndex); } nextElement(); return len; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 9.2K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} if len(unMarshalXLMeta.Erasure.Distribution) != len(jsoniterXLMeta.Erasure.Distribution) { t.Errorf("Expected the size of Erasure Distribution to be %d, but got %d.", len(unMarshalXLMeta.Erasure.Distribution), len(jsoniterXLMeta.Erasure.Distribution)) } else { for i := 0; i < len(unMarshalXLMeta.Erasure.Distribution); i++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
cni/pkg/util/executil.go
stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout externalCommand.Stderr = stderr err := externalCommand.Run() if len(stdout.String()) != 0 { log.Debugf("Command output: \n%v", stdout.String()) } if err != nil || len(stderr.Bytes()) != 0 { log.Debugf("Command error output: \n%v", stderr.String()) return errors.New(stderr.String()) } return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/erasure-object.go
metadataArray := make([]*xlMetaV2, len(rawFileInfos)) metaFileInfos := make([]FileInfo, len(rawFileInfos)) metadataShallowVersions := make([][]xlMetaV2ShallowVersion, len(rawFileInfos)) var v2bufs [][]byte if !readData { v2bufs = make([][]byte, len(rawFileInfos)) } // Read `xl.meta` in parallel across disks. for index := range rawFileInfos {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
cmd/post-policy-fan-out.go
errs := make([]error, len(fanOutEntries)) objInfos := make([]ObjectInfo, len(fanOutEntries)) var wg sync.WaitGroup for i, req := range fanOutEntries { wg.Add(1) go func(idx int, req minio.PutObjectFanOutEntry) { defer wg.Done() objInfos[idx] = ObjectInfo{Name: req.Key} hopts := hash.Options{ Size: int64(len(fanOutBuf)), MD5Hex: opts.MD5Hex,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
continue } r, err := parseGoroutineType2(arg) if err != nil { log.Fatal(err) } profFName := path.Base(arg) fmt.Println(strings.Repeat("=", len(profFName))) fmt.Println(profFName) fmt.Println(strings.Repeat("=", len(profFName))) fmt.Println("") for t, stacks := range r { if less != 0 && t >= less { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeByte(0x0a) // Literal name (len = 10) bytesIn.writeUtf8("custom-foo") bytesIn.writeByte(0x0d) // Literal value (len = 13) bytesIn.writeUtf8("custom-header") bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x0a) // Literal name (len = 10) bytesIn.writeUtf8("custom-bar") bytesIn.writeByte(0x0d) // Literal value (len = 13) bytesIn.writeUtf8("custom-header")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0)