Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for more (0.17 sec)

  1. src/cmd/cgo/doc.go

    linker in external linking mode.
    
    By default, cmd/link will decide the linking mode as follows: if the only
    packages using cgo are those on a list of known standard library
    packages (net, os/user, runtime/cgo), cmd/link will use internal linking
    mode. Otherwise, there are non-standard cgo packages involved, and cmd/link
    will use external linking mode. The first rule means that a build of
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/arena/arena.go

    // arena it may have been allocated from, returning the copy. If it was not
    // allocated from an arena, it is returned untouched. This function is useful
    // to more easily let an arena-allocated value out-live its arena.
    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    func Clone[T any](s T) T {
    	return runtime_arena_heapify(s).(T)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    language version 1.17, in October 2021, before the introduction of generics.
    It is provided for historical interest.
    The current reference manual can be found <a href="/doc/go_spec.html">here</a>.
    For more information and other documents, see <a href="/">go.dev</a>.
    </p>
    
    <p>
    Go is a general-purpose language designed with systems programming
    in mind. It is strongly typed and garbage-collected and has explicit
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips64.s

    	BREAK	R1, (R1)
    
    //
    // RET
    //
    //	LRETRN	comma // asm doesn't support the trailing comma.
    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err)
    	}
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || err == nil {
    		t.Errorf("expected no more lines: %x %s", line, err)
    	}
    }
    
    func TestReadAfterLines(t *testing.T) {
    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg syscall (openbsd-amd64-cgo), type Termios struct, Ospeed int32
    pkg syscall (openbsd-amd64-cgo), type Timespec struct, Sec int64
    pkg syscall (windows-386), const ERROR_MORE_DATA = 234
    pkg syscall (windows-386), const ERROR_MORE_DATA Errno
    pkg syscall (windows-386), const ERROR_NETNAME_DELETED = 64
    pkg syscall (windows-386), const ERROR_NETNAME_DELETED Errno
    pkg syscall (windows-386), const IOC_VENDOR = 402653184
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/buildid_linux.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // Test that we have no more than one build ID.  In the past we used
    // to generate a separate build ID for each package using cgo, and the
    // linker concatenated them all.  We don't want that--we only want
    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg encoding/base64, method (Encoding) WithPadding(int32) *Encoding
    pkg encoding/base64, var RawStdEncoding *Encoding
    pkg encoding/base64, var RawURLEncoding *Encoding
    pkg encoding/json, method (*Decoder) More() bool
    pkg encoding/json, method (*Decoder) Token() (Token, error)
    pkg encoding/json, method (Delim) String() string
    pkg encoding/json, type Delim int32
    pkg encoding/json, type Token interface {}
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    			return
    		}
    	}
    }
    
    func testFileMode(t *testing.T, f *File, want fs.FileMode) {
    	mode := f.Mode()
    	if want == 0 {
    		t.Errorf("%s mode: got %v, want none", f.Name, mode)
    	} else if mode != want {
    		t.Errorf("%s mode: want %v, got %v", f.Name, want, mode)
    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top