Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 800 for Len (0.02 sec)

  1. cmd/global-heal.go

    		if len(disks) == healing {
    			// All drives in this erasure set were reformatted for some reasons, abort healing and mark it as successful
    			healingLogIf(ctx, errors.New("all drives are in healing state, aborting.."))
    			return nil
    		}
    
    		disks = disks[:len(disks)-healing] // healing drives are always at the end of the list
    
    		if len(disks) < er.setDriveCount/2 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. cmd/local-locker_gen.go

    func (z *lockRequesterInfo) Msgsize() (s int) {
    	s = 1 + 5 + msgp.StringPrefixSize + len(z.Name) + 7 + msgp.BoolSize + 4 + msgp.StringPrefixSize + len(z.UID) + 10 + msgp.Int64Size + 16 + msgp.Int64Size + 7 + msgp.StringPrefixSize + len(z.Source) + 6 + msgp.BoolSize + 6 + msgp.StringPrefixSize + len(z.Owner) + 7 + msgp.IntSize
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            align(4);
            int i = index;
            final int len = s.length();
            Encdec.enc_uint32le(len + 1, buf, i);
            i += 4;
            Encdec.enc_uint32le(0, buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, buf, i);
            i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch (final UnsupportedEncodingException uee) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. cmd/metrics-v2_test.go

    	if expPoints := len(labels) * (len(histBuckets) + 1); expPoints != len(metrics) {
    		t.Fatalf("Expected %v data points when toLowerAPILabels=false but got %v", expPoints, len(metrics))
    	}
    
    	metrics = getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), true, false)
    	// additional labels for +Inf for all histogram metrics
    	if expPoints := len(labels) * (len(histBuckets) + 1); expPoints != len(metrics) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/bufio/net_test.go

    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if n != int64(len(data)) {
    		t.Errorf("io.Copy returned %d, want %d", n, len(data))
    	}
    
    	clientConn.Close()
    	tot := <-ch
    
    	if tot != len(data) {
    		t.Errorf("server read %d, want %d", tot, len(data))
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            return read(b, 0, b.length);
        }
    
        /* This method will not return until len bytes have been read
         * or the stream has been closed.
         */
    
        @Override
        public synchronized int read(final byte[] b, int off, int len) throws IOException {
            if (len == 0) {
                return 0;
            }
            int tot = 0;
    
            while (true) {
                while (bip > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

                }
    
                int w;
                do {
                    final int blockSize = this.file.getType() == SmbConstants.TYPE_FILESYSTEM ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if (this.smb2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) {
                    return 0;
                }
    
                @Override
                int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) {
                    return 0;
                }
    
                @Override
                int readDataWireFormat(byte[] buffer, int bufferIndex, int len) {
                    return 0;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                final int id = Encdec.dec_uint16le(type2token, ri);
                final int len = Encdec.dec_uint16le(type2token, ri + 2);
                ri += 4;
                if (id == 0 || ri + len > type2token.length) {
                    break;
                }
                if (id == id0) {
                    try {
                        return new String(type2token, ri, len, SmbConstants.UNI_ENCODING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	if isMinioMetaBucketName(bucket) {
    		return true
    	}
    	if len(bucket) < 3 || len(bucket) > 63 {
    		return false
    	}
    
    	// Split on dot and check each piece conforms to rules.
    	allNumbers := true
    	pieces := strings.Split(bucket, dnsDelimiter)
    	for _, piece := range pieces {
    		if len(piece) == 0 || piece[0] == '-' ||
    			piece[len(piece)-1] == '-' {
    			// Current piece has 0-length or starts or
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top