Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,107 for Len (0.01 sec)

  1. cmd/endpoint.go

    	return nil
    }
    
    func isEmptyLayout(poolsLayout ...poolDisksLayout) bool {
    	return len(poolsLayout) == 0 || len(poolsLayout[0].layout) == 0 || len(poolsLayout[0].layout[0]) == 0 || len(poolsLayout[0].layout[0][0]) == 0
    }
    
    func isSingleDriveLayout(poolsLayout ...poolDisksLayout) bool {
    	return len(poolsLayout) == 1 && len(poolsLayout[0].layout) == 1 && len(poolsLayout[0].layout[0]) == 1
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	setCount := len(format.Erasure.Sets)
    	setDriveCount := len(format.Erasure.Sets[0])
    
    	endpointStrings := make([]string, len(endpoints.Endpoints))
    	for i, endpoint := range endpoints.Endpoints {
    		endpointStrings[i] = endpoint.String()
    	}
    
    	// Initialize the erasure sets instance.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. src/main/java/jcifs/dcerpc/UnicodeString.java

         */
        public UnicodeString ( String str, boolean zterm ) {
            this.zterm = zterm;
    
            int len = str.length();
            int zt = zterm ? 1 : 0;
    
            this.length = this.maximum_length = (short) ( ( len + zt ) * 2 );
            this.buffer = new short[len + zt];
    
            int i;
            for ( i = 0; i < len; i++ ) {
                this.buffer[ i ] = (short) str.charAt(i);
            }
            if ( zterm ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. cmd/metacache-walk.go

    				return ctx.Err()
    			}
    			meta := metaCacheEntry{name: pathJoinBuf(sb, current, entry)}
    
    			// If directory entry on stack before this, pop it now.
    			for len(dirStack) > 0 && dirStack[len(dirStack)-1] < meta.name {
    				pop := dirStack[len(dirStack)-1]
    				select {
    				case <-ctx.Done():
    					return ctx.Err()
    				case out <- metaCacheEntry{name: pop}:
    				}
    				if opts.Recursive {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    	zr, err := zip.NewReader(reader, int64(len(data)))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    	rpt := importMetaReport{
    		madmin.BucketMetaImportErrs{
    			Buckets: make(map[string]madmin.BucketStatus, len(zr.File)),
    		},
    	}
    
    	bucketMap := make(map[string]*BucketMetadata, len(zr.File))
    
    	updatedAt := UTCNow()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    		}
    		return qProp{isAggregation: true}
    
    	case sqlFnCoalesce:
    		if len(e.SFunc.ArgsList) == 0 {
    			return qProp{err: fmt.Errorf("%s needs at least one argument", string(funcName))}
    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    	case sqlFnNullIf:
    		if len(e.SFunc.ArgsList) != 2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/statement.go

    	if err != nil {
    		err = errQueryParseFailure(err)
    		return
    	}
    
    	// Check if select is "SELECT s.* from S3Object s"
    	if !selectAST.Expression.All &&
    		len(selectAST.Expression.Expressions) == 1 &&
    		len(selectAST.Expression.Expressions[0].Expression.And) == 1 &&
    		len(selectAST.Expression.Expressions[0].Expression.And[0].Condition) == 1 &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. internal/amztime/iso8601_time.go

    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    	if len(value) < len(iso8601TimeFormat) {
    		value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
    		// Pad necessary zeroes to full-fill the iso8601TimeFormat
    		return value + strings.Repeat("0", (len(iso8601TimeFormat)-1)-len(value)) + "Z"
    	}
    	return value
    }
    
    // ISO8601Parse parses ISO8601 date string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 16 23:38:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. cmd/erasure-utils.go

    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    		if write < int64(len(block)) {
    			n, err := dst.Write(block[:write])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top