Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for home (0.17 sec)

  1. src/archive/zip/testdata/readme.zip

    /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install.html). You should also add the Go binary directory $GOROOT/bin to your shell's path. For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile: export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin See doc/install.html for more details....
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.8K bytes
    - Viewed (0)
  2. src/archive/tar/example_test.go

    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_c.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  4. misc/chrome/gophertool/gopher.js

    function urlForInput(t) {
        if (!t) {
            return null;
        }
    
        if (numericRE.test(t)) {
            if (t < 150000) {
                // We could use the golang.org/cl/ handler here, but
                // avoid some redirect latency and go right there, since
                // one is easy. (no server-side mapping)
                return "https://github.com/golang/go/issues/" + t;
            }
            return "https://golang.org/cl/" + t;
        }
    
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    		if sw.pos < dataStart { // In a hole fragment
    			bf := b[:min(int64(len(b)), dataStart-sw.pos)]
    			nf, err = zeroWriter{}.Write(bf)
    		} else { // In a data fragment
    			bf := b[:min(int64(len(b)), dataEnd-sw.pos)]
    			nf, err = sw.fw.Write(bf)
    		}
    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)
  6. src/builtin/builtin.go

    //	String: the number of bytes in v.
    //	Channel: the number of elements queued (unread) in the channel buffer;
    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    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. src/cmd/asm/internal/lex/input.go

    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    a <a href="#Conversions">conversion</a> with a result that is a constant, or
    the result value of some built-in functions such as
    <code>min</code> or <code>max</code> applied to constant arguments,
    <code>unsafe.Sizeof</code> applied to <a href="#Package_unsafe">certain values</a>,
    <code>cap</code> or <code>len</code> applied to
    <a href="#Length_and_capacity">some expressions</a>,
    <code>real</code> and <code>imag</code> applied to a complex constant
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    	for i := 0; i < len(s); i++ {
    		r := s[i]
    		setBits |= r
    		isSpace := int(asciiSpace[r])
    		n += wasSpace & ^isSpace
    		wasSpace = isSpace
    	}
    
    	if setBits >= utf8.RuneSelf {
    		// Some runes in the input slice are not ASCII.
    		return FieldsFunc(s, unicode.IsSpace)
    	}
    
    	// ASCII fast path
    	a := make([][]byte, n)
    	na := 0
    	fieldStart := 0
    	i := 0
    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)
  10. src/archive/tar/testdata/gnu-nil-sparse-hole.tar

    Joe Tsai <******@****.***> 1503105518 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 23 22:38:45 GMT 2017
    - 1.5K bytes
    - Viewed (0)
Back to top