Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for emberA (0.16 sec)

  1. src/cmd/cgo/doc.go

    	possibly version in the dynamic library, and the optional "<library>"
    	names the specific library where the symbol should be found.
    
    	On AIX, the library pattern is slightly different. It must be
    	"lib.a/obj.o" with obj.o the member of this library exporting
    	this symbol.
    
    	In the <remote>, # or @ can be used to introduce a symbol version.
    
    	Examples:
    	//go:cgo_import_dynamic puts
    	//go:cgo_import_dynamic puts puts#GLIBC_2.2.5
    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)
  2. src/cmd/cgo/ast.go

    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    		context = ctxExpr
    	}
    	if context == ctxEmbedType {
    		error_(sel.Pos(), "cannot embed C type")
    	}
    	goname := sel.Sel.Name
    	if goname == "errno" {
    		error_(sel.Pos(), "cannot refer to errno directly; see documentation")
    		return
    	}
    	if goname == "_CMalloc" {
    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)
  3. doc/go1.17_spec.html

    }
    </pre>
    
    <p>
    An interface type <code>T</code> may not embed itself
    or any interface type that embeds <code>T</code>, recursively.
    </p>
    
    <pre>
    // illegal: Bad cannot embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 cannot embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    </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)
  4. src/cmd/cgo/gcc.go

    			// flag to disable the warning. Yes, really good diagnostics, clang.
    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    			// Clang embeds prototypes for some builtin functions,
    			// like malloc and calloc, but all size_t parameters are
    			// incorrectly typed unsigned long. We work around that
    			// by disabling the builtin functions (this is safe as
    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. doc/go_spec.html

    	f Float                 // illegal
    }
    </pre>
    
    <p>
    An interface type <code>T</code> may not embed a type element
    that is, contains, or embeds <code>T</code>, directly or indirectly.
    </p>
    
    <pre>
    // illegal: Bad may not embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 may not embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	}
    	numEntries, err := strconv.ParseInt(nextToken(), 10, 0) // Intentionally parse as native int
    	if err != nil || numEntries < 0 || int(2*numEntries) < int(numEntries) {
    		return nil, ErrHeader
    	}
    
    	// Parse for all member entries.
    	// numEntries is trusted after this since a potential attacker must have
    	// committed resources proportional to what this library used.
    	if err := feedTokens(2 * numEntries); 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)
Back to top