Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for limit (0.14 sec)

  1. src/bytes/buffer_test.go

    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, byte(0), io.EOF)
    		}
    	}
    }
    
    func TestLargeStringWrites(t *testing.T) {
    	var buf Buffer
    	limit := 30
    	if testing.Short() {
    		limit = 9
    	}
    	for i := 3; i < limit; i += 3 {
    		s := fillString(t, "TestLargeWrites (1)", &buf, "", 5, testString)
    		empty(t, "TestLargeStringWrites (2)", &buf, s, make([]byte, len(testString)/i))
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    			// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
    			const wasmMinDataAddr = 4096 + 8192;
    			if (offset >= wasmMinDataAddr) {
    				throw new Error("total length of command line and environment variables exceeds limit");
    			}
    
    			this._inst.exports.run(argc, argv);
    			if (this.exited) {
    				this._resolveExitPromise();
    			}
    			await this._exitPromise;
    		}
    
    		_resume() {
    			if (this.exited) {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. doc/godebug.md

    [`jstmpllitinterp` setting](/pkg/html/template#hdr-Security_Model).
    This behavior was backported to Go 1.19.8+ and Go 1.20.3+.
    
    Go 1.21 introduced a limit on the maximum number of MIME headers and multipart
    forms, controlled by the
    [`multipartmaxheaders` and `multipartmaxparts` settings](/pkg/mime/multipart#hdr-Limits)
    respectively.
    This behavior was backported to Go 1.19.8+ and Go 1.20.3+.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    	if mode&0200 == 0 {
    		h.ExternalAttrs |= msdosReadOnly
    	}
    }
    
    // isZip64 reports whether the file size exceeds the 32 bit limit
    func (h *FileHeader) isZip64() bool {
    	return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max
    }
    
    func (h *FileHeader) hasDataDescriptor() bool {
    	return h.Flags&0x8 != 0
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/archive/tar/format.go

    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    // nearest block edge where 0 <= n < blockSize.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    	// larger chunks as the source of the write, as when the source
    	// is too large we are basically just thrashing the CPU D-cache.
    	// So if the result length is larger than an empirically-found
    	// limit (8KB), we stop growing the source string once the limit
    	// is reached and keep reusing the same source string - that
    	// should therefore be always resident in the L1 cache - until we
    	// have completed the construction of the result.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. api/except.txt

    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_LIMIT = 536
    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_LIMIT ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_GET = 535
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_GET ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_LIMIT = 534
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_LIMIT ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_RIGHTS_GET = 515
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  8. doc/go_mem.html

    goroutines coordinate using the <code>limit</code> channel to ensure
    that at most three are running work functions at a time.
    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    func main() {
    	for _, w := range work {
    		go func(w func()) {
    			limit &lt;- 1
    			w()
    			&lt;-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. api/go1.19.txt

    pkg html/template, type FuncMap = template.FuncMap #46121
    pkg net/http, method (*MaxBytesError) Error() string #30715
    pkg net/http, type MaxBytesError struct #30715
    pkg net/http, type MaxBytesError struct, Limit int64 #30715
    pkg net/url, func JoinPath(string, ...string) (string, error) #47005
    pkg net/url, method (*URL) JoinPath(...string) *URL #47005
    pkg net/url, type URL struct, OmitHost bool #46059
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
Back to top