Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for maxsize (0.17 sec)

  1. src/runtime/asm_amd64.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)		\
    	CMPQ	CX, $MAXSIZE;		\
    	JA	3(PC);			\
    	MOVQ	$NAME(SB), AX;		\
    	JMP	AX
    // Note: can't just "JMP NAME(SB)" - bad inlining results.
    
    TEXT ·reflectcall(SB), NOSPLIT, $0-48
    	MOVLQZX frameSize+32(FP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/internal/modfetch/coderepo.go

    		return err
    	}
    	defer os.Remove(f.Name())
    	defer f.Close()
    	maxSize := int64(codehost.MaxZipFile)
    	lr := &io.LimitedReader{R: dl, N: maxSize + 1}
    	if _, err := io.Copy(f, lr); err != nil {
    		dl.Close()
    		return err
    	}
    	dl.Close()
    	if lr.N <= 0 {
    		return fmt.Errorf("downloaded zip file too large")
    	}
    	size := (maxSize + 1) - lr.N
    	if _, err := f.Seek(0, 0); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = Math.max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = Math.max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (1)
Back to top