Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for Sets (0.15 sec)

  1. src/cmd/cgo/gcc.go

    		}
    	case *dwarf.StructType:
    		for _, f := range dt.Field {
    			p.recordTypedefs1(f.Type, pos, visited)
    		}
    	}
    }
    
    // prepareNames finalizes the Kind field of not-type names and sets
    // the mangled name of all names.
    func (p *Package) prepareNames(f *File) {
    	for _, n := range f.Name {
    		if n.Kind == "not-type" {
    			if n.Define == "" {
    				n.Kind = "var"
    			} else {
    				n.Kind = "macro"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	b.WriteString("z")
    	if err := b.Flush(); err != nil {
    		t.Error("WriteString", err)
    	}
    	s := "01234567890abcdefghijklmnopqrstuvwxyz"
    	if buf.String() != s {
    		t.Errorf("WriteString wants %q gets %q", s, buf.String())
    	}
    }
    
    func TestWriteStringStringWriter(t *testing.T) {
    	const BufSize = 8
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("1234")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    // can only read the following logical data section. It will properly handle
    // special headers that contain no data section.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/endtoend_test.go

    		}
    
    		// Canonicalize spacing in printed form.
    		// First field is opcode, then tab, then arguments separated by spaces.
    		// Canonicalize spaces after commas first.
    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    		nest := 0
    		for i := 0; i < len(printed); i++ {
    			c := printed[i]
    			switch c {
    			case '{', '[':
    				nest++
    			case '}', ']':
    				nest--
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/bytes/compare_test.go

    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    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)
Back to top