Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Depends (0.2 sec)

  1. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "124"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    // This is line 123. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir, err := os.MkdirTemp("", "TestAddr2Line")
    	if err != nil {
    		t.Fatal("TempDir failed: ", err)
    	}
    	defer os.RemoveAll(tmpDir)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	CompressedSize64 uint64
    
    	// UncompressedSize64 is the uncompressed size of the file in bytes.
    	UncompressedSize64 uint64
    
    	Extra         []byte
    	ExternalAttrs uint32 // Meaning depends on CreatorVersion
    }
    
    // FileInfo returns an fs.FileInfo for the [FileHeader].
    func (h *FileHeader) FileInfo() fs.FileInfo {
    	return headerFileInfo{h}
    }
    
    // headerFileInfo implements [fs.FileInfo].
    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)
  3. src/cmd/cgo/doc.go

    	void
    	_cgo_gcc_Cfunc_sin(void *v)
    	{
    		struct {
    			double p0;
    			double r;
    		} __attribute__((__packed__)) *a = v;
    		a->r = sin(a->p0);
    	}
    
    What happens at link time depends on whether the final binary is linked
    using the internal or external mode. If other packages are compiled in
    "external only" mode, then the final link will be an external one.
    Otherwise the link will be an internal one.
    
    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)
  4. doc/godebug.md

    which are tied to a specific release.
    -->
    
    ## Introduction {#intro}
    
    Go's emphasis on backwards compatibility is one of its key strengths.
    There are, however, times when we cannot maintain complete compatibility.
    If code depends on buggy (including insecure) behavior,
    then fixing the bug will break that code.
    New features can also have similar impacts:
    enabling the HTTP/2 use by the HTTP client broke programs
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    <code>t.m</code> is invoked.
    </li>
    
    <li>
    A variable, function, or method <code>x</code> depends on a variable
    <code>y</code> if <code>x</code>'s initialization expression or body
    (for functions and methods) contains a reference to <code>y</code>
    or to a function or method that depends on <code>y</code>.
    </li>
    </ul>
    
    <p>
    For example, given the declarations
    </p>
    
    <pre>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    // slice, map, or chan (only). Like new, the first argument is a type, not a
    // value. Unlike new, make's return type is the same as the type of its
    // argument, not a pointer to it. The specification of the result depends on
    // the type:
    //
    //	Slice: The size specifies the length. The capacity of the slice is
    //	equal to its length. A second integer argument may be provided to
    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)
  7. doc/asm.html

    high bit is set is rejected.
    </p>
    
    <h3 id="symbols">Symbols</h3>
    
    <p>
    Some symbols, such as <code>R1</code> or <code>LR</code>,
    are predefined and refer to registers.
    The exact set depends on the architecture.
    </p>
    
    <p>
    There are four predeclared symbols that refer to pseudo-registers.
    These are not real registers, but rather virtual registers maintained by
    the toolchain, such as a frame pointer.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    				return unicode.ToTitle(r)
    			}
    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)
  9. src/cmd/cgo/gcc.go

    		// See golang.org/issue/6563.
    		pos := (*r.Expr).Pos()
    		if x, ok := expr.(*ast.Ident); ok {
    			expr = &ast.Ident{NamePos: pos, Name: x.Name}
    		}
    
    		// Change AST, because some later processing depends on it,
    		// and also because -godefs mode still prints the AST.
    		old := *r.Expr
    		*r.Expr = expr
    
    		// Record source-level edit for cgo output.
    		if !r.Done {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    //	w.importDir["vendor/golang.org/x/net/route"] = "<goroot>/src/vendor/golang.org/x/net/route"
    //
    // Since the set of packages that exist depends on context, the result of
    // loadImports also depends on context. However, to improve test running time
    // the configuration for each environment is cached across runs.
    func (w *Walker) loadImports() {
    	if w.context == nil {
    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)
Back to top