Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Onot (0.13 sec)

  1. src/cmd/cgo/godefs.go

    	"%\n", "% ",
    	"&\n", "& ",
    	"|\n", "| ",
    	"^\n", "^ ",
    	"<\n", "< ",
    	">\n", "> ",
    	"=\n", "= ",
    	"!\n", "! ", // not possible in gofmt today
    	"(\n", "(",
    	"[\n", "[", // not possible in gofmt today
    	"{\n", "{",
    	",\n", ",",
    	".\n", ". ",
    	":\n", ": ", // not possible in gofmt today
    
    	"\n", ";",
    )
    
    // gofmtLine returns the gofmt-formatted string for an AST node,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	end, baseOffset, err := readDirectoryEnd(rdr, size)
    	if err != nil {
    		return err
    	}
    	r.r = rdr
    	r.baseOffset = baseOffset
    	// Since the number of directory records is not validated, it is not
    	// safe to preallocate r.File without first checking that the specified
    	// number of files is reasonable, since a malformed archive may
    	// indicate it contains up to 1 << 128 - 1 files. Since each file has a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. lib/time/mkzip.go

    		return nil
    	})
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := zw.Close(); err != nil {
    		log.Fatal(err)
    	}
    	if len(seen) == 0 {
    		log.Fatalf("did not find any files to add")
    	}
    	if !seen["US/Eastern"] {
    		log.Fatalf("did not find US/Eastern to add")
    	}
    	if err := os.WriteFile(args[0], zb.Bytes(), 0666); err != nil {
    		log.Fatal(err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    	// NonUTF8 indicates that Name and Comment are not encoded in UTF-8.
    	//
    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)
  5. src/cmd/addr2line/addr2line_test.go

    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		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) {
    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)
  6. src/bufio/scan.go

    // immediately stops the scanning.
    //
    // Otherwise, the [Scanner] advances the input. If the token is not nil,
    // the [Scanner] returns it to the user. If the token is nil, the
    // Scanner reads more data and continues scanning; if there is no more
    // data--if atEOF was true--the [Scanner] returns. If the data does not
    // yet hold a complete token, for instance if it has no newline while
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/gcc68255.go

    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/gcc68255"
    )
    
    func testGCC68255(t *testing.T) {
    	if !gcc68255.F() {
    		t.Error("C global variable was not initialized")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 361 bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    	{"12\u0e50\u0e52hello34\u0e50\u0e51", not(isDigit), 8, 12},
    
    	// tests of invalid UTF-8
    	{"\x801", isDigit, 1, 1},
    	{"\x80abc", isDigit, -1, -1},
    	{"\xc0a\xc0", isValidRune, 1, 1},
    	{"\xc0a\xc0", not(isValidRune), 0, 2},
    	{"\xc0☺\xc0", not(isValidRune), 0, 4},
    	{"\xc0☺\xc0\xc0", not(isValidRune), 0, 5},
    	{"ab\xc0a\xc0cd", not(isValidRune), 2, 4},
    	{"a\xe0\x80cd", not(isValidRune), 1, 2},
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. misc/cgo/gmp/fib.go

    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  10. src/archive/tar/format.go

    	//	http://pubs.opengroup.org/onlinepubs/009695399/utilities/pax.html
    	FormatPAX
    
    	// FormatGNU represents the GNU header format.
    	//
    	// The GNU header format is older than the USTAR and PAX standards and
    	// is not compatible with them. The GNU format supports
    	// arbitrary file sizes, filenames of arbitrary encoding and length,
    	// sparse files, and other features.
    	//
    	// It is recommended that PAX be chosen over GNU unless the target
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top