Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for special (0.23 sec)

  1. src/builtin/builtin.go

    //	slice = append(slice, anotherSlice...)
    //
    // As a special case, it is legal to append a string to a byte slice, like this:
    //
    //	slice = append([]byte("hello "), "world"...)
    func append(slice []Type, elems ...Type) []Type
    
    // The copy built-in function copies elements from a source slice into a
    // destination slice. (As a special case, it also will copy bytes from a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	name := tok.String()
    	if tok.ScanToken == scanner.Ident && !p.atStartOfRegister(name) {
    		switch p.arch.Family {
    		case sys.ARM64:
    			// arm64 special operands.
    			if opd := arch.GetARM64SpecialOperand(name); opd != arm64.SPOP_END {
    				a.Type = obj.TYPE_SPECIAL
    				a.Offset = int64(opd)
    				break
    			}
    			fallthrough
    		default:
    			// We have a symbol. Parse $sym±offset(symkind)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    // upper case, giving priority to the special casing rules.
    func ToUpperSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToUpper, s)
    }
    
    // ToLowerSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    // lower case, giving priority to the special casing rules.
    func ToLowerSpecial(c unicode.SpecialCase, s []byte) []byte {
    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)
  4. src/cmd/cgo/doc.go

    The C type void* is represented by Go's unsafe.Pointer.
    The C types __int128_t and __uint128_t are represented by [16]byte.
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr.  See the Special
    cases section below.
    
    To access a struct, union, or enum type directly, prefix it with
    struct_, union_, or enum_, as in C.struct_stat.
    
    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)
  5. src/cmd/asm/internal/asm/asm.go

    		return
    	case 1:
    		target = &a[0]
    	case 2:
    		// Special 2-operand jumps.
    		if p.arch.Family == sys.ARM64 && arch.IsARM64ADR(op) {
    			// ADR label, R. Label is in From.
    			target = &a[0]
    			prog.To = a[1]
    			targetAddr = &prog.From
    		} else {
    			target = &a[1]
    			prog.From = a[0]
    		}
    	case 3:
    		if p.arch.Family == sys.PPC64 {
    			// Special 3-operand jumps.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	{"oofofoofooo", "f", 2},
    	{"oofofoofooo", "foo", 4},
    	{"barfoobarfoo", "foo", 3},
    	{"foo", "", 0},
    	{"foo", "o", 1},
    	{"abcABCabc", "A", 3},
    	// cases with one byte strings - test IndexByte and special case in Index()
    	{"", "a", -1},
    	{"x", "a", -1},
    	{"x", "x", 0},
    	{"abc", "a", 0},
    	{"abc", "b", 1},
    	{"abc", "c", 2},
    	{"abc", "x", -1},
    	{"barfoobarfooyyyzzzyyyzzzyyyzzzyyyxxxzzzyyy", "x", 33},
    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)
  7. src/archive/tar/common.go

    	c_ISDIR  = 040000  // Directory
    	c_ISFIFO = 010000  // FIFO
    	c_ISREG  = 0100000 // Regular file
    	c_ISLNK  = 0120000 // Symbolic link
    	c_ISBLK  = 060000  // Block special file
    	c_ISCHR  = 020000  // Character special file
    	c_ISSOCK = 0140000 // Socket
    )
    
    // FileInfoHeader creates a partially-populated [Header] from fi.
    // If fi describes a symlink, FileInfoHeader records link as the link target.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. src/archive/tar/reader.go

    		hdr, rawHdr, err := tr.readHeader()
    		if err != nil {
    			return nil, err
    		}
    		if err := tr.handleRegularFile(hdr); err != nil {
    			return nil, err
    		}
    		format.mayOnlyBe(hdr.Format)
    
    		// Check for PAX/GNU special headers and files.
    		switch hdr.Typeflag {
    		case TypeXHeader, TypeXGlobalHeader:
    			format.mayOnlyBe(FormatPAX)
    			paxHdrs, err = parsePAX(tr)
    			if err != nil {
    				return nil, err
    			}
    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)
  9. src/cmd/api/main_test.go

    			}
    			err := dec.Decode(&pkg)
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				log.Fatalf("go list: invalid output: %v", err)
    			}
    
    			// - Package "unsafe" contains special signatures requiring
    			//   extra care when printing them - ignore since it is not
    			//   going to change w/o a language change.
    			// - Internal and vendored packages do not contribute to our
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    	// However, if the strings require multibyte UTF-8 encoding and is a
    	// valid UTF-8 string, then we set the UTF-8 bit.
    	//
    	// For the case, where the user explicitly wants to specify the encoding
    	// as UTF-8, they will need to set the flag bit themselves.
    	utf8Valid1, utf8Require1 := detectUTF8(fh.Name)
    	utf8Valid2, utf8Require2 := detectUTF8(fh.Comment)
    	switch {
    	case fh.NonUTF8:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top