Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for border (0.15 sec)

  1. src/arena/arena.go

    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/archive/zip/fuzz_test.go

    			}
    			files = append(files, file{header: &f.FileHeader, content: content})
    			if _, err := r.Open(f.Name); err != nil {
    				continue
    			}
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    			return
    		}
    
    		w := NewWriter(io.Discard)
    		for _, f := range files {
    			ww, err := w.CreateHeader(f.header)
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/archive/tar/fuzz_test.go

    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    			return
    		}
    
    		out := bytes.NewBuffer(nil)
    		w := NewWriter(out)
    		for _, f := range files {
    			if err := w.WriteHeader(f.header); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue1435.go

    					foundAThread = true
    					break
    				}
    				if filter == "Groups:" && strings.HasPrefix(line, "Groups:\t") {
    					// https://github.com/golang/go/issues/46145
    					// Containers don't reliably output this line in sorted order so manually sort and compare that.
    					a := strings.Split(line[8:], " ")
    					sort.Strings(a)
    					got := strings.Join(a, " ")
    					if got == expected[8:] {
    						foundAThread = true
    						break
    					}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  6. PATENTS

    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    implementation.  If you or your agent or exclusive licensee institute or
    order or agree to the institution of patent litigation against any
    entity (including a cross-claim or counterclaim in a lawsuit) alleging
    that this implementation of Go or any code incorporated within this
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  7. doc/README.md

    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/bytes/compare_test.go

    	if Compare(b, b) != 0 {
    		t.Error("b != b")
    	}
    	if Compare(b, b[:1]) != 1 {
    		t.Error("b > b[:1] failed")
    	}
    }
    
    func TestCompareBytes(t *testing.T) {
    	lengths := make([]int, 0) // lengths to test in ascending order
    	for i := 0; i <= 128; i++ {
    		lengths = append(lengths, i)
    	}
    	lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097)
    
    	if !testing.Short() {
    		lengths = append(lengths, 65535, 65536, 65537, 99999)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex.go

    )
    
    // IsRegisterShift reports whether the token is one of the ARM register shift operators.
    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top