Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for sset (0.17 sec)

  1. src/cmd/cgo/ast.go

    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64), const SYS_PSET_ASSIGN = 414
    pkg syscall (netbsd-arm64), const SYS_PSET_ASSIGN ideal-int
    pkg syscall (netbsd-arm64), const SYS__PSET_BIND = 415
    pkg syscall (netbsd-arm64), const SYS__PSET_BIND ideal-int
    pkg syscall (netbsd-arm64), const SYS_PSET_CREATE = 412
    pkg syscall (netbsd-arm64), const SYS_PSET_CREATE ideal-int
    pkg syscall (netbsd-arm64), const SYS_PSET_DESTROY = 413
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, type Config struct, Importer Importer
    pkg go/types, type Config struct, Sizes Sizes
    pkg go/types, type Const struct
    pkg go/types, type Error struct
    pkg go/types, type Error struct, Fset *token.FileSet
    pkg go/types, type Error struct, Msg string
    pkg go/types, type Error struct, Pos token.Pos
    pkg go/types, type Error struct, Soft bool
    pkg go/types, type Func struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			t.Go = c.goVoidPtr
    			t.C.Set("void*")
    			dq := dt.Type
    			for {
    				if d, ok := dq.(*dwarf.QualType); ok {
    					t.C.Set(d.Qual + " " + t.C.String())
    					dq = d.Type
    				} else {
    					break
    				}
    			}
    			break
    		}
    
    		// Placeholder initialization; completed in FinishType.
    		t.Go = &ast.StarExpr{}
    		t.C.Set("<incomplete>*")
    		key := dt.Type.String()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. misc/ios/README

    To run the standard library tests, run all.bash as usual, but with the compiler
    set to the clang wrapper that invokes clang for iOS. For example, this command runs
     all.bash on the iOS emulator:
    
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
    
    If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC
    can be set on the command line. For example,
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/godefs.go

    				id.Name = gofmt(def)
    			}
    		}
    	}
    
    	conf.Fprint(&buf, fset, f.AST)
    
    	return buf.String()
    }
    
    var gofmtBuf strings.Builder
    
    // gofmt returns the gofmt-formatted string for an AST node.
    func gofmt(n interface{}) string {
    	gofmtBuf.Reset()
    	err := printer.Fprint(&gofmtBuf, fset, n)
    	if err != nil {
    		return "<" + err.Error() + ">"
    	}
    	return gofmtBuf.String()
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. src/bufio/example_test.go

    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use CompressedSize64 instead.
    	CompressedSize uint32
    
    	// UncompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use UncompressedSize64 instead.
    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)
  10. src/README.vendor

    Maintaining vendor directories
    ==============================
    
    Before updating vendor directories, ensure that module mode is enabled.
    Make sure that GO111MODULE is not set in the environment, or that it is
    set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.
    
    Requirements may be added, updated, and removed with 'go get'.
    The vendor directory may be updated with 'go mod vendor'.
    A typical sequence might be:
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top