Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for unchecked (0.34 sec)

  1. src/cmd/cgo/ast.go

    				}
    				cg := s.Doc
    				if cg == nil && len(decl.Specs) == 1 {
    					cg = decl.Doc
    				}
    				if cg != nil {
    					if strings.ContainsAny(abspath, "\r\n") {
    						// This should have been checked when the file path was first resolved,
    						// but we double check here just to be sure.
    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    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

    called by C code may take a Go pointer but it must preserve the property
    that the Go memory to which it points (and the Go memory to which that
    memory points, and so on) is pinned.
    
    These rules are checked dynamically at runtime. The checking is
    controlled by the cgocheck setting of the GODEBUG environment
    variable. The default setting is GODEBUG=cgocheck=1, which implements
    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/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    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)
  4. src/cmd/cgo/internal/test/callback_windows.go

    		t.Skip("skipping for non-gc toolchain")
    	}
    	if runtime.GOARCH != "amd64" {
    		// TODO: support SEH on other architectures.
    		t.Skip("skipping on non-amd64")
    	}
    	// Only frames in the test package are checked.
    	want := []string{
    		"test._Cfunc_backtrace",
    		"test.testCallbackCallersSEH.func1.1",
    		"test.testCallbackCallersSEH.func1",
    		"test.goCallback",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/endtoend_test.go

    		if output[0] == "" {
    			// spurious blank caused by Split on "\n"
    			output = output[1:]
    			continue
    		}
    		t.Errorf("unexpected output: %q", output[0])
    		output = output[1:]
    	}
    
    	// Checked printing.
    	// Now check machine code layout.
    
    	top := pList.Firstpc
    	var text *obj.LSym
    	ok = true
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		t.Errorf(format, args...)
    		ok = false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. .gitignore

    /src/unicode/maketables
    /src/time/tzdata/zzipdata.go
    /test.out
    /test/garbage/*.out
    /test/pass.out
    /test/run.out
    /test/times.out
    
    # This file includes artifacts of Go build that should not be checked in.
    # For files created by specific development environment (e.g. editor),
    # use alternative ways to exclude files from git.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 22 19:44:52 GMT 2023
    - 958 bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    		file    string    // Test input file
    		headers []*Header // Expected output headers
    		chksums []string  // MD5 checksum of files, leave as nil if not checked
    		err     error     // Expected error to occur
    	}{{
    		file: "testdata/gnu.tar",
    		headers: []*Header{{
    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    			Gid:      5000,
    			Size:     5,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64.s

    	FMOVD	0x8008(R1), F2		// FMOVD	32776(R1), F2		// 3b204091620740fd
    	FMOVD	0x1006ff8(R1), F2	// FMOVD	16805880(R1), F2	// 3bfc7f9162ff7ffd
    
    // very large or unaligned offset uses constant pool.
    // the encoding cannot be checked as the address of the constant pool is unknown.
    // here we only test that they can be assembled.
    	MOVB	R1, 0x1000000(R2)	// MOVB		R1, 16777216(R2)
    	MOVB	R1, 0x44332211(R2)	// MOVB		R1, 1144201745(R2)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  9. .gitattributes

    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings, and so they are checked in with CRLF endings, with a test
    # in test/winbatch.go to catch problems. (See golang.org/issue/37791.)
    #
    # We'll prevent accidental CRLF line endings from entering the repo
    # via the git-codereview gofmt checks and tests.
    #
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 08 15:31:43 GMT 2020
    - 639 bytes
    - Viewed (0)
  10. doc/go_mem.html

    	g()
    }
    </pre>
    
    <p>
    it can happen that <code>g</code> prints <code>2</code> and then <code>0</code>.
    </p>
    
    <p>
    This fact invalidates a few common idioms.
    </p>
    
    <p>
    Double-checked locking is an attempt to avoid the overhead of synchronization.
    For example, the <code>twoprint</code> program might be
    incorrectly written as:
    </p>
    
    <pre>
    var a string
    var done bool
    
    func setup() {
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top