Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for Sizes (0.04 sec)

  1. src/os/dir_windows.go

    	// the FILE_ID_BOTH_DIR_INFO structure is 105 bytes, so dirBufSize
    	// should not be set below 1024 bytes (512+105+safety buffer).
    	// Windows 8.1 and earlier only works with buffer sizes up to 64 kB.
    	dirBufSize = 64 * 1024 // 64kB
    )
    
    var dirBufPool = sync.Pool{
    	New: func() any {
    		// The buffer must be at least a block long.
    		buf := make([]byte, dirBufSize)
    		return &buf
    	},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/go/types/const.go

    		x.val = constant.MakeUnknown()
    	}
    }
    
    // representableConst reports whether x can be represented as
    // value of the given basic type and for the configuration
    // provided (only needed for int/uint sizes).
    //
    // If rounded != nil, *rounded is set to the rounded value of x for
    // representable floating-point and complex values, and to an Int
    // value for integer values; it is left alone otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/strconv/atoi.go

    // underscore characters are permitted as defined by the Go syntax for
    // [integer literals].
    //
    // The bitSize argument specifies the integer type
    // that the result must fit into. Bit sizes 0, 8, 16, 32, and 64
    // correspond to int, int8, int16, int32, and int64.
    // If bitSize is below 0 or above 64, an error is returned.
    //
    // The errors that ParseInt returns have concrete type [*NumError]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. cmd/erasure-decode.go

    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    			if err != nil {
    				switch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/internal/trace/internal/testgen/go122/trace.go

    		panic(err.Error())
    	}
    }
    
    // Trace represents an execution trace for testing.
    //
    // It does a little bit of work to ensure that the produced trace is valid,
    // just for convenience. It mainly tracks batches and batch sizes (so they're
    // trivially correct), tracks strings and stacks, and makes sure emitted string
    // and stack batches are valid. That last part can be controlled by a few options.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top