- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 929 for flen (0.02 sec)
-
cmd/storage-datatypes_test.go
v := VolInfo{ Name: "uuid", Created: time.Now(), } var buf bytes.Buffer msgp.Encode(&buf, &v) rd := msgp.NewEndlessReader(buf.Bytes(), b) dc := msgp.NewReader(rd) b.Log("Size:", buf.Len(), "bytes") b.SetBytes(1) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { err := v.DecodeMsg(dc) if err != nil { b.Fatal(err) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
dstIndex += 16; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, bufferOffsetOffset); int len = this.info.encode(dst, dstIndex); SMBUtil.writeInt4(len, dst, bufferLengthOffset); dstIndex += len; return dstIndex - start; } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
internal/grid/connection.go
} case toSend = <-c.outQueue: if len(toSend) == 0 { continue } } if len(queue) < maxMergeMessages && queueSize+len(toSend) < writeBufferSize-1024 { if len(c.outQueue) == 0 { // Yield to allow more messages to fill. runtime.Gosched() } if len(c.outQueue) > 0 { queue = append(queue, toSend) queueSize += len(toSend) continue } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestInputStream.java
throwIf(closed); throwIf(READ_THROWS); return in.read(); } @Override public int read(byte[] b, int off, int len) throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(b, off, len); } @Override public long skip(long n) throws IOException { throwIf(closed); throwIf(SKIP_THROWS); return in.skip(n); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
@Override protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.9K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
entry.ReqClaims = reqClaims entry.ReqHost = r.Host entry.ReqPath = r.URL.Path q := r.URL.Query() reqQuery := make(map[string]string, len(q)) for k, v := range q { reqQuery[k] = strings.Join(v, ",") } entry.ReqQuery = reqQuery reqHeader := make(map[string]string, len(r.Header)) for k, v := range r.Header { reqHeader[k] = strings.Join(v, ",") } entry.ReqHeader = reqHeader wh := w.Header()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/config/storageclass/legacy.go
"github.com/minio/minio/internal/config" ) // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass. func SetStorageClass(s config.Config, cfg Config) { if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 { // Do not enable storage-class if no settings found. return } s[config.StorageClassSubSys][config.Default] = config.KVS{ config.KV{ Key: ClassStandard,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
cmd/warm-backend-s3.go
result, err := s3.core.ListObjectsV2(s3.Bucket, s3.Prefix, "", "", slashSeparator, 1) if err != nil { return false, s3.ToObjectError(err) } return len(result.CommonPrefixes) > 0 || len(result.Contents) > 0, nil } func newWarmBackendS3(conf madmin.TierS3, tier string) (*warmBackendS3, error) { u, err := url.Parse(conf.Endpoint) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/config/crypto.go
KMSKey: key.Ciphertext, Algorithm: algorithm, Nonce: nonce, }) if err != nil { return nil, err } if len(metadata) > MaxMetadataSize { return nil, errors.New("config: encryption metadata is too large") } header[0] = Version binary.LittleEndian.PutUint32(header[1:], uint32(len(metadata))) buffer.Write(header[:]) buffer.Write(metadata) return io.MultiReader( &buffer,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
cmd/xl-storage.go
func checkPathLength(pathName string) error { // Apple OS X path length is limited to 1016 if runtime.GOOS == "darwin" && len(pathName) > 1016 { return errFileNameTooLong } // Disallow more than 1024 characters on windows, there // are no known name_max limits on Windows. if runtime.GOOS == "windows" && len(pathName) > 1024 { return errFileNameTooLong } // On Unix we reject paths if they are just '.', '..' or '/'
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)