Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Look (0.15 sec)

  1. src/cmd/asm/internal/lex/input.go

    	peek            bool
    	peekToken       ScanToken
    	peekText        string
    }
    
    // NewInput returns an Input from the given path.
    func NewInput(name string) *Input {
    	return &Input{
    		// include directories: look in source dir, then -I directories.
    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	}
    	return s
    }
    
    // TrimSpace returns a subslice of s by slicing off all leading and
    // trailing white space, as defined by Unicode.
    func TrimSpace(s []byte) []byte {
    	// Fast path for ASCII: look for the first ASCII non-space byte
    	start := 0
    	for ; start < len(s); start++ {
    		c := s[start]
    		if c >= utf8.RuneSelf {
    			// If we run into a non-ASCII byte, fall back to the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	// already have the sizes from the central directory so we can
    	// just ignore these.
    
    	return nil
    }
    
    func readDirectoryEnd(r io.ReaderAt, size int64) (dir *directoryEnd, baseOffset int64, err error) {
    	// look for directoryEndSignature in the last 1k, then in the last 65k
    	var buf []byte
    	var directoryEndOffset int64
    	for i, bLen := range []int64{1024, 65 * 1024} {
    		if bLen > size {
    			bLen = size
    		}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. doc/asm.html

    </p>
    
    <p>
    The assembler program is a way to parse a description of that
    semi-abstract instruction set and turn it into instructions to be
    input to the linker.
    If you want to see what the instructions look like in assembly for a given architecture, say amd64, there
    are many examples in the sources of the standard library, in packages such as
    <a href="/pkg/runtime/"><code>runtime</code></a> and
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	// Two different parses: once with comments, once without.
    	// The printer is not good enough at printing comments in the
    	// right place when we start editing the AST behind its back,
    	// so we use ast1 to look for the doc comments on import "C"
    	// and on exported functions, and we use ast2 for translating
    	// and reprinting.
    	// In cgo mode, we ignore ast2 and just apply edits directly
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    	// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
    
    Will be expanded to:
    
    	// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
    
    When the Go tool sees that one or more Go files use the special import
    "C", it will look for other non-Go files in the directory and compile
    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. misc/cgo/gmp/gmp.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    parser and processed by godoc—but it is not compiled directly by gc.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    		log.Panicf("no source in tree for import %q (from import %s in %s): %v", name, fromPath, fromDir, err)
    	}
    
    	context := w.context
    	if context == nil {
    		context = &build.Default
    	}
    
    	// Look in cache.
    	// If we've already done an import with the same set
    	// of relevant tags, reuse the result.
    	var key string
    	if usePkgCache {
    		if tags, ok := pkgTags[dir]; ok {
    			key = tagKey(dir, context, tags)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    	// We used to look at specific warning or error messages here, but that tied the
    	// behavior too closely to specific versions of the compilers.
    	// Instead, arrange that we can infer what we need from only the presence or absence
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    	deviceGopath := deviceGotmp + "/gopath"
    	defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up.
    
    	// Determine the package by examining the current working
    	// directory, which will look something like
    	// "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
    	// We extract everything after the $GOROOT or $GOPATH to run on the
    	// same relative directory on the target device.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top