Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 218 for maxsize (0.12 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/codehost/git.go

    		return false, nil
    	}
    	return false, err
    }
    
    func (r *gitRepo) ReadZip(ctx context.Context, rev, subdir string, maxSize int64) (zip io.ReadCloser, err error) {
    	// TODO: Use maxSize or drop it.
    	args := []string{}
    	if subdir != "" {
    		args = append(args, "--", subdir)
    	}
    	info, err := r.Stat(ctx, rev) // download rev into local git repo
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                        totalSize += size;
                        last = chain;
                        chain = next;
                    }
                    else if ( last == null && totalSize + size > maxSize ) {
                        throw new SmbException(String.format("Request size %d exceeds allowable size %d: %s", size, maxSize, chain));
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse.go

    		}
    		if re.Op == OpRepeat {
    			n := re.Max
    			if n == -1 {
    				n = re.Min
    			}
    			if n <= 0 {
    				n = 1
    			}
    			if int64(n) > maxSize/p.repeats {
    				p.repeats = maxSize
    			} else {
    				p.repeats *= int64(n)
    			}
    		}
    		if int64(p.numRegexp) < maxSize/p.repeats {
    			return
    		}
    
    		// We need to start tracking size.
    		// Make the map and belatedly populate it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/runtime/asm_arm.s

    // of constant-sized-frame functions to encode a few bits of size in the pc.
    // Caution: ugly multiline assembly macros in your future!
    
    #define DISPATCH(NAME,MAXSIZE)		\
    	CMP	$MAXSIZE, R0;		\
    	B.HI	3(PC);			\
    	MOVW	$NAME(SB), R1;		\
    	B	(R1)
    
    TEXT ·reflectcall(SB),NOSPLIT|NOFRAME,$0-28
    	MOVW	frameSize+20(FP), R0
    	DISPATCH(runtime·call16, 16)
    	DISPATCH(runtime·call32, 32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    			addError(p, true, errSymlink)
    			continue
    		}
    		if !info.Mode().IsRegular() {
    			addError(p, true, errNotRegular)
    			continue
    		}
    		size := info.Size()
    		if size >= 0 && size <= maxSize {
    			maxSize -= size
    		} else if cf.SizeError == nil {
    			cf.SizeError = fmt.Errorf("module source tree too large (max size is %d bytes)", MaxZipFile)
    		}
    		if p == "go.mod" && size > MaxGoMod {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen.go

    				z.Files[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Files", za0001)
    					return
    				}
    			}
    		case "MaxSize":
    			z.MaxSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "MaxSize")
    				return
    			}
    		case "MetadataOnly":
    			z.MetadataOnly, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "MetadataOnly")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  9. src/runtime/asm_386.s

    // of constant-sized-frame functions to encode a few bits of size in the pc.
    // Caution: ugly multiline assembly macros in your future!
    
    #define DISPATCH(NAME,MAXSIZE)		\
    	CMPL	CX, $MAXSIZE;		\
    	JA	3(PC);			\
    	MOVL	$NAME(SB), AX;		\
    	JMP	AX
    // Note: can't just "JMP NAME(SB)" - bad inlining results.
    
    TEXT ·reflectcall(SB), NOSPLIT, $0-28
    	MOVL	frameSize+20(FP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. pkg/log/config.go

    			useJSON.Store(false)
    		}
    	}
    
    	var rotaterSink zapcore.WriteSyncer
    	if options.RotateOutputPath != "" {
    		rotaterSink = zapcore.AddSync(&lumberjack.Logger{
    			Filename:   options.RotateOutputPath,
    			MaxSize:    options.RotationMaxSize,
    			MaxBackups: options.RotationMaxBackups,
    			MaxAge:     options.RotationMaxAge,
    		})
    	}
    
    	errSink, closeErrorSink, err := zap.Open(options.ErrorOutputPaths...)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top