Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for couldn (0.21 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    	cxx, err := exec.Command("go", "env", "CXX").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go env CXX failed: %s", err)
    	}
    	args, err := quoted.Split(string(cxx))
    	if err != nil {
    		t.Skipf("could not parse 'go env CXX' output %q: %s", string(cxx), err)
    	}
    	if len(args) == 0 {
    		t.Skip("no C++ compiler")
    	}
    	testenv.MustHaveExecPath(t, string(args[0]))
    }
    
    var (
    	swigOnce sync.Once
    	haveSwig bool
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/all.bat

    reserved.
    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if exist make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    ...
    Batch File
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 19 14:36:22 GMT 2023
    - 543 bytes
    - Viewed (0)
  3. src/arena/arena.go

    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    package arena
    
    import (
    	"internal/reflectlite"
    	"unsafe"
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/api/api_test.go

    			ok:        true,
    			out:       "",
    		},
    
    		// Test that a feature required on a subset of ports is implicitly satisfied
    		// by the same feature being implemented on all ports. That is, it shouldn't
    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l.
    To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression
    matching the new flags. To disallow flags that would otherwise be allowed,
    set CGO_CFLAGS_DISALLOW to a regular expression matching arguments
    that must be disallowed. In both cases the regular expression must match
    a full argument: to allow -mfoo=bar, use CGO_CFLAGS_ALLOW='-mfoo.*',
    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)
  6. src/archive/zip/reader_test.go

    		0xff, 0xff, 0xff, 0x20, 0x00,
    	}
    	defer func() {
    		if r := recover(); r != nil {
    			t.Fatalf("NewReader panicked: %s", r)
    		}
    	}()
    	// Previously, this would trigger a panic as we attempt to read from
    	// an io.SectionReader which would access a slice at a negative offset
    	// as the section reader offset & size were < 0.
    	NewReader(bytes.NewReader(data), int64(len(data))+1875)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    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)
  8. src/bufio/bufio_test.go

    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            27,
    			want:         26,
    			wantErr:      io.EOF,
    			wantBuffered: 0,
    		},
    		// Any error from filling shouldn't show up until we
    		// get past the valid bytes. Here we return 5 valid bytes at the same time
    		// as an error, but test that we don't see the error from Discard.
    		{
    			name: "fill error, discard less",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    case bool, string:
    	printString("type is bool or string")  // type of i is type of x (interface{})
    default:
    	printString("don't know the type")     // type of i is type of x (interface{})
    }
    </pre>
    
    <p>
    could be rewritten:
    </p>
    
    <pre>
    v := x  // x is evaluated exactly once
    if v == nil {
    	i := v                                 // type of i is type of x (interface{})
    	printString("x is nil")
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg debug/dwarf, type LineEntry struct
    pkg debug/dwarf, type LineEntry struct, Address uint64
    pkg debug/dwarf, type LineEntry struct, BasicBlock bool
    pkg debug/dwarf, type LineEntry struct, Column int
    pkg debug/dwarf, type LineEntry struct, Discriminator int
    pkg debug/dwarf, type LineEntry struct, EndSequence bool
    pkg debug/dwarf, type LineEntry struct, EpilogueBegin bool
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top