Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for claire (0.15 sec)

  1. src/cmd/cgo/ast.go

    				continue
    			}
    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    					// Replace "C" with _ "unsafe", to keep program valid.
    					// (Deleting import statement or clause is not safe if it is followed
    					// in the source by an explicit semicolon.)
    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    			}
    		}
    	}
    
    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. src/cmd/cgo/doc.go

    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    	// #cgo pkg-config: png cairo
    	// #include <png.h>
    	import "C"
    
    The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable.
    
    For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l.
    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)
  3. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // symRefAttrs parses an optional function symbol attribute clause for
    // the function symbol 'name', logging an error for a malformed
    // attribute clause if 'issueError' is true. The return value is a
    // (boolean, ABI) pair indicating that the named symbol is either
    // static or a particular ABI specification.
    //
    // The expected form of the attribute clause is:
    //
    // empty,           yielding (false, obj.ABI0)
    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)
  4. src/archive/tar/writer.go

    //
    // Calling Write on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [ErrWriteTooLong]) regardless
    // of what the [Header.Size] claims.
    func (tw *Writer) Write(b []byte) (int, error) {
    	if tw.err != nil {
    		return 0, tw.err
    	}
    	n, err := tw.curr.Write(b)
    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // are read back as NUL-bytes.
    //
    // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [io.EOF]) regardless of what
    // the [Header.Size] claims.
    func (tr *Reader) Read(b []byte) (int, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    	n, err := tr.curr.Read(b)
    	if err != nil && err != io.EOF {
    		tr.err = err
    	}
    	return n, 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