Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Parker (0.17 sec)

  1. src/bytes/bytes.go

    	n := len(b) * count
    
    	if len(b) == 0 {
    		return []byte{}
    	}
    
    	// Past a certain chunk size it is counterproductive to use
    	// 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
    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)
  2. src/archive/zip/zip_test.go

    }
    
    func TestZip64EdgeCase(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	// Test a zip file with uncompressed size 0xFFFFFFFF.
    	// That's the magic marker for a 64-bit file, so even though
    	// it fits in a 32-bit field we must use the 64-bit field.
    	// Go 1.5 and earlier got this wrong,
    	// writing an invalid zip file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. doc/go_spec.html

    If both <code>n</code> and <code>m</code> are provided and are constant, then
    <code>n</code> must be no larger than <code>m</code>.
    For slices and channels, if <code>n</code> is negative or larger than <code>m</code> at run time,
    a <a href="#Run_time_panics">run-time panic</a> occurs.
    </p>
    
    <pre>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    		return data[0 : len(data)-1]
    	}
    	return data
    }
    
    // ScanLines is a split function for a [Scanner] that returns each line of
    // text, stripped of any trailing end-of-line marker. The returned line may
    // be empty. The end-of-line marker is one optional carriage return followed
    // by one mandatory newline. In regular expression notation, it is `\r?\n`.
    // The last non-empty line of input will be returned even if it has no
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. doc/asm.html

    </p>
    
    <p>
    A data symbol marked with the <code>NOPTR</code> flag (see above)
    is treated as containing no pointers to runtime-allocated data.
    A data symbol with the <code>RODATA</code> flag
    is allocated in read-only memory and is therefore treated
    as implicitly marked <code>NOPTR</code>.
    A data symbol with a total size smaller than a pointer
    is also treated as implicitly marked <code>NOPTR</code>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    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)
  7. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		actual := LastIndexByte([]byte(test.a), test.b[0])
    		if actual != test.i {
    			t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i)
    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    	if testing.Short() {
    		n = 128
    	}
    	b := make([]byte, n)
    	for i := 0; i < n; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    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)
  10. src/cmd/cgo/doc.go

    decide which.
    
    The obvious thing for cgo to do is to process the preamble, expanding
    #includes and processing the corresponding C code. That would require
    a full C parser and type checker that was also aware of any extensions
    known to the system compiler (for example, all the GNU C extensions) as
    well as the system-specific header locations and system-specific
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top